RTEMS 4.11
Annotated Report
Tue Sep 20 07:22:40 2011

0200a474 <IMFS_Set_handlers>:                                         
{                                                                     
  IMFS_jnode_t    *node = loc->node_access;                           
  IMFS_fs_info_t  *fs_info;                                           
                                                                      
  fs_info = loc->mt_entry->fs_info;                                   
  switch( node->type ) {                                              
 200a474:	c4 02 00 00 	ld  [ %o0 ], %g2                               
)                                                                     
{                                                                     
  IMFS_jnode_t    *node = loc->node_access;                           
  IMFS_fs_info_t  *fs_info;                                           
                                                                      
  fs_info = loc->mt_entry->fs_info;                                   
 200a478:	c2 02 20 10 	ld  [ %o0 + 0x10 ], %g1                        
  switch( node->type ) {                                              
 200a47c:	c4 00 a0 4c 	ld  [ %g2 + 0x4c ], %g2                        
 200a480:	84 00 bf ff 	add  %g2, -1, %g2                              
 200a484:	80 a0 a0 06 	cmp  %g2, 6                                    
 200a488:	18 80 00 14 	bgu  200a4d8 <IMFS_Set_handlers+0x64>          <== NEVER TAKEN
 200a48c:	c2 00 60 34 	ld  [ %g1 + 0x34 ], %g1                        
 200a490:	85 28 a0 02 	sll  %g2, 2, %g2                               
 200a494:	07 00 80 28 	sethi  %hi(0x200a000), %g3                     
 200a498:	86 10 e3 f8 	or  %g3, 0x3f8, %g3	! 200a3f8 <IMFS_create_root_node+0x40>
 200a49c:	c4 00 c0 02 	ld  [ %g3 + %g2 ], %g2                         
 200a4a0:	81 c0 80 00 	jmp  %g2                                       
 200a4a4:	01 00 00 00 	nop                                            
    case IMFS_DIRECTORY:                                              
      loc->handlers = fs_info->directory_handlers;                    
 200a4a8:	10 80 00 0b 	b  200a4d4 <IMFS_Set_handlers+0x60>            
 200a4ac:	c2 00 60 0c 	ld  [ %g1 + 0xc ], %g1                         
      break;                                                          
    case IMFS_DEVICE:                                                 
      loc->handlers = &IMFS_device_handlers;                          
 200a4b0:	03 00 80 66 	sethi  %hi(0x2019800), %g1                     
 200a4b4:	10 80 00 08 	b  200a4d4 <IMFS_Set_handlers+0x60>            
 200a4b8:	82 10 60 6c 	or  %g1, 0x6c, %g1	! 201986c <IMFS_device_handlers>
      break;                                                          
    case IMFS_SYM_LINK:                                               
    case IMFS_HARD_LINK:                                              
      loc->handlers = &IMFS_link_handlers;                            
 200a4bc:	03 00 80 66 	sethi  %hi(0x2019800), %g1                     
 200a4c0:	10 80 00 05 	b  200a4d4 <IMFS_Set_handlers+0x60>            
 200a4c4:	82 10 60 dc 	or  %g1, 0xdc, %g1	! 20198dc <IMFS_link_handlers>
      break;                                                          
    case IMFS_LINEAR_FILE:                                            
      loc->handlers = fs_info->memfile_handlers;                      
      break;                                                          
    case IMFS_MEMORY_FILE:                                            
      loc->handlers = fs_info->memfile_handlers;                      
 200a4c8:	10 80 00 03 	b  200a4d4 <IMFS_Set_handlers+0x60>            
 200a4cc:	c2 00 60 08 	ld  [ %g1 + 8 ], %g1                           
      break;                                                          
    case IMFS_FIFO:                                                   
      loc->handlers = fs_info->fifo_handlers;                         
 200a4d0:	c2 00 60 10 	ld  [ %g1 + 0x10 ], %g1                        
 200a4d4:	c2 22 20 08 	st  %g1, [ %o0 + 8 ]                           
      break;                                                          
  }                                                                   
                                                                      
  return 0;                                                           
}                                                                     
 200a4d8:	81 c3 e0 08 	retl                                           
 200a4dc:	90 10 20 00 	clr  %o0                                       
                                                                      

0200a28c <IMFS_create_node>: IMFS_jnode_types_t type, const char *name, mode_t mode, const IMFS_types_union *info ) {
 200a28c:	9d e3 bf a0 	save  %sp, -96, %sp                            
 200a290:	82 10 00 18 	mov  %i0, %g1                                  
 200a294:	92 10 00 1a 	mov  %i2, %o1                                  
  IMFS_fs_info_t      *fs_info;                                       
                                                                      
  /*                                                                  
   *  MUST have a parent node to call this routine.                   
   */                                                                 
  if ( parent_loc == NULL )                                           
 200a298:	80 a0 60 00 	cmp  %g1, 0                                    
 200a29c:	02 80 00 45 	be  200a3b0 <IMFS_create_node+0x124>           <== NEVER TAKEN
 200a2a0:	b0 10 20 00 	clr  %i0                                       
    return NULL;                                                      
                                                                      
  parent = parent_loc->node_access;                                   
 200a2a4:	e0 00 40 00 	ld  [ %g1 ], %l0                               
  fs_info = parent_loc->mt_entry->fs_info;                            
 200a2a8:	c2 00 60 10 	ld  [ %g1 + 0x10 ], %g1                        
                                                                      
  /*                                                                  
   *  Reject creation of FIFOs if support is disabled.                
   */                                                                 
  if ( type == IMFS_FIFO &&                                           
 200a2ac:	80 a6 60 07 	cmp  %i1, 7                                    
 200a2b0:	12 80 00 08 	bne  200a2d0 <IMFS_create_node+0x44>           
 200a2b4:	fa 00 60 34 	ld  [ %g1 + 0x34 ], %i5                        
 200a2b8:	c4 07 60 10 	ld  [ %i5 + 0x10 ], %g2                        
 200a2bc:	03 00 80 65 	sethi  %hi(0x2019400), %g1                     
 200a2c0:	82 10 63 e4 	or  %g1, 0x3e4, %g1	! 20197e4 <rtems_filesystem_handlers_default>
 200a2c4:	80 a0 80 01 	cmp  %g2, %g1                                  
 200a2c8:	02 80 00 3a 	be  200a3b0 <IMFS_create_node+0x124>           
 200a2cc:	01 00 00 00 	nop                                            
    return NULL;                                                      
                                                                      
  /*                                                                  
   *  Allocate filesystem node and fill in basic information          
   */                                                                 
  node  = IMFS_allocate_node( type, name, mode & ~rtems_filesystem_umask );
 200a2d0:	03 00 80 6a 	sethi  %hi(0x201a800), %g1                     
 200a2d4:	c2 00 62 3c 	ld  [ %g1 + 0x23c ], %g1	! 201aa3c <rtems_current_user_env>
 200a2d8:	90 10 00 19 	mov  %i1, %o0                                  
 200a2dc:	d4 00 60 2c 	ld  [ %g1 + 0x2c ], %o2                        
 200a2e0:	7f ff ff d1 	call  200a224 <IMFS_allocate_node>             
 200a2e4:	94 2e c0 0a 	andn  %i3, %o2, %o2                            
  if ( !node )                                                        
 200a2e8:	b0 92 20 00 	orcc  %o0, 0, %i0                              
 200a2ec:	02 80 00 31 	be  200a3b0 <IMFS_create_node+0x124>           
 200a2f0:	80 a6 60 01 	cmp  %i1, 1                                    
    return NULL;                                                      
                                                                      
  /*                                                                  
   *  Set the type specific information                               
   */                                                                 
  if ( type == IMFS_DIRECTORY ) {                                     
 200a2f4:	12 80 00 08 	bne  200a314 <IMFS_create_node+0x88>           
 200a2f8:	80 a6 60 03 	cmp  %i1, 3                                    
RTEMS_INLINE_ROUTINE void _Chain_Initialize_empty(                    
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
 200a2fc:	82 06 20 50 	add  %i0, 0x50, %g1                            
 200a300:	84 06 20 54 	add  %i0, 0x54, %g2                            
                                                                      
  head->next = tail;                                                  
  head->previous = NULL;                                              
 200a304:	c0 26 20 54 	clr  [ %i0 + 0x54 ]                            
)                                                                     
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
                                                                      
  head->next = tail;                                                  
 200a308:	c4 26 20 50 	st  %g2, [ %i0 + 0x50 ]                        
  head->previous = NULL;                                              
  tail->previous = head;                                              
 200a30c:	10 80 00 21 	b  200a390 <IMFS_create_node+0x104>            
 200a310:	c2 26 20 58 	st  %g1, [ %i0 + 0x58 ]                        
    rtems_chain_initialize_empty(&node->info.directory.Entries);      
  } else if ( type == IMFS_HARD_LINK ) {                              
 200a314:	22 80 00 06 	be,a   200a32c <IMFS_create_node+0xa0>         
 200a318:	c2 07 00 00 	ld  [ %i4 ], %g1                               
    node->info.hard_link.link_node = info->hard_link.link_node;       
  } else if ( type == IMFS_SYM_LINK ) {                               
 200a31c:	80 a6 60 04 	cmp  %i1, 4                                    
 200a320:	12 80 00 05 	bne  200a334 <IMFS_create_node+0xa8>           
 200a324:	80 a6 60 02 	cmp  %i1, 2                                    
    node->info.sym_link.name = info->sym_link.name;                   
 200a328:	c2 07 00 00 	ld  [ %i4 ], %g1                               
 200a32c:	10 80 00 19 	b  200a390 <IMFS_create_node+0x104>            
 200a330:	c2 26 20 50 	st  %g1, [ %i0 + 0x50 ]                        
  } else if ( type == IMFS_DEVICE ) {                                 
 200a334:	12 80 00 07 	bne  200a350 <IMFS_create_node+0xc4>           
 200a338:	80 a6 60 06 	cmp  %i1, 6                                    
    node->info.device.major = info->device.major;                     
 200a33c:	c2 07 00 00 	ld  [ %i4 ], %g1                               
 200a340:	c2 26 20 50 	st  %g1, [ %i0 + 0x50 ]                        
    node->info.device.minor = info->device.minor;                     
 200a344:	c2 07 20 04 	ld  [ %i4 + 4 ], %g1                           
 200a348:	10 80 00 12 	b  200a390 <IMFS_create_node+0x104>            
 200a34c:	c2 26 20 54 	st  %g1, [ %i0 + 0x54 ]                        
  } else if ( type == IMFS_LINEAR_FILE ) {                            
 200a350:	12 80 00 06 	bne  200a368 <IMFS_create_node+0xdc>           
 200a354:	80 a6 60 05 	cmp  %i1, 5                                    
    node->info.linearfile.size      = 0;                              
 200a358:	c0 26 20 50 	clr  [ %i0 + 0x50 ]                            
 200a35c:	c0 26 20 54 	clr  [ %i0 + 0x54 ]                            
    node->info.linearfile.direct    = 0;                              
 200a360:	10 80 00 0c 	b  200a390 <IMFS_create_node+0x104>            
 200a364:	c0 26 20 58 	clr  [ %i0 + 0x58 ]                            
  } else if ( type == IMFS_MEMORY_FILE ) {                            
 200a368:	12 80 00 08 	bne  200a388 <IMFS_create_node+0xfc>           
 200a36c:	80 a6 60 07 	cmp  %i1, 7                                    
      node->info.file.size            = 0;                            
 200a370:	c0 26 20 50 	clr  [ %i0 + 0x50 ]                            
 200a374:	c0 26 20 54 	clr  [ %i0 + 0x54 ]                            
      node->info.file.indirect        = 0;                            
 200a378:	c0 26 20 58 	clr  [ %i0 + 0x58 ]                            
      node->info.file.doubly_indirect = 0;                            
 200a37c:	c0 26 20 5c 	clr  [ %i0 + 0x5c ]                            
      node->info.file.triply_indirect = 0;                            
 200a380:	10 80 00 04 	b  200a390 <IMFS_create_node+0x104>            
 200a384:	c0 26 20 60 	clr  [ %i0 + 0x60 ]                            
  } else if ( type == IMFS_FIFO ) {                                   
 200a388:	22 80 00 02 	be,a   200a390 <IMFS_create_node+0x104>        <== ALWAYS TAKEN
 200a38c:	c0 26 20 50 	clr  [ %i0 + 0x50 ]                            
                                                                      
  /*                                                                  
   *  This node MUST have a parent, so put it in that directory list. 
   */                                                                 
  node->Parent = parent;                                              
  node->st_ino = ++fs_info->ino_count;                                
 200a390:	c2 07 60 04 	ld  [ %i5 + 4 ], %g1                           
  }                                                                   
                                                                      
  /*                                                                  
   *  This node MUST have a parent, so put it in that directory list. 
   */                                                                 
  node->Parent = parent;                                              
 200a394:	e0 26 20 08 	st  %l0, [ %i0 + 8 ]                           
  node->st_ino = ++fs_info->ino_count;                                
 200a398:	82 00 60 01 	inc  %g1                                       
 200a39c:	c2 27 60 04 	st  %g1, [ %i5 + 4 ]                           
 200a3a0:	c2 26 20 38 	st  %g1, [ %i0 + 0x38 ]                        
 200a3a4:	90 04 20 50 	add  %l0, 0x50, %o0                            
 200a3a8:	7f ff f2 bd 	call  2006e9c <_Chain_Append>                  
 200a3ac:	92 10 00 18 	mov  %i0, %o1                                  
                                                                      
  rtems_chain_append( &parent->info.directory.Entries, &node->Node ); 
                                                                      
  return node;                                                        
}                                                                     
 200a3b0:	81 c7 e0 08 	ret                                            
 200a3b4:	81 e8 00 00 	restore                                        
                                                                      

0200a570 <IMFS_eval_path>: const char *pathname, /* IN */ size_t pathnamelen, /* IN */ int flags, /* IN */ rtems_filesystem_location_info_t *pathloc /* IN/OUT */ ) {
 200a570:	9d e3 bf 70 	save  %sp, -144, %sp                           
 200a574:	f2 27 a0 48 	st  %i1, [ %fp + 0x48 ]                        
  int               i = 0;                                            
 200a578:	c0 27 bf f8 	clr  [ %fp + -8 ]                              
  IMFS_token_types  type = IMFS_CURRENT_DIR;                          
  char              token[ IMFS_NAME_MAX + 1 ];                       
  IMFS_jnode_t     *node;                                             
  int               result;                                           
                                                                      
  if ( !rtems_libio_is_valid_perms( flags ) ) {                       
 200a57c:	80 8e bf f8 	btst  -8, %i2                                  
 200a580:	02 80 00 06 	be  200a598 <IMFS_eval_path+0x28>              <== ALWAYS TAKEN
 200a584:	ba 10 00 18 	mov  %i0, %i5                                  
    rtems_set_errno_and_return_minus_one( EIO );                      
 200a588:	40 00 0d db 	call  200dcf4 <__errno>                        <== NOT EXECUTED
 200a58c:	01 00 00 00 	nop                                            <== NOT EXECUTED
 200a590:	10 80 00 19 	b  200a5f4 <IMFS_eval_path+0x84>               <== NOT EXECUTED
 200a594:	82 10 20 05 	mov  5, %g1	! 5 <PROM_START+0x5>               <== NOT EXECUTED
  /*                                                                  
   *  This was filled in by the caller and is valid in the            
   *  mount table.                                                    
   */                                                                 
                                                                      
  node = pathloc->node_access;                                        
 200a598:	f8 06 c0 00 	ld  [ %i3 ], %i4                               
  rtems_filesystem_location_info_t  *pathloc       /* IN/OUT */       
                   )                                                  
{                                                                     
  int               i = 0;                                            
  int               len;                                              
  IMFS_token_types  type = IMFS_CURRENT_DIR;                          
 200a59c:	a0 10 20 01 	mov  1, %l0                                    
                                                                      
  /*                                                                  
   *  Evaluate all tokens until we are done or an error occurs.       
   */                                                                 
                                                                      
  while( (type != IMFS_NO_MORE_PATH) && (type != IMFS_INVALID_TOKEN) ) {
 200a5a0:	10 80 00 8d 	b  200a7d4 <IMFS_eval_path+0x264>              
 200a5a4:	33 00 80 6a 	sethi  %hi(0x201a800), %i1                     
                                                                      
    type = IMFS_get_token( &pathname[i], pathnamelen, token, &len );  
 200a5a8:	d2 07 a0 48 	ld  [ %fp + 0x48 ], %o1                        
 200a5ac:	90 07 40 08 	add  %i5, %o0, %o0                             
 200a5b0:	94 07 bf d0 	add  %fp, -48, %o2                             
 200a5b4:	40 00 02 25 	call  200ae48 <IMFS_get_token>                 
 200a5b8:	96 07 bf fc 	add  %fp, -4, %o3                              
    pathnamelen -= len;                                               
 200a5bc:	c2 07 bf fc 	ld  [ %fp + -4 ], %g1                          
 200a5c0:	c4 07 a0 48 	ld  [ %fp + 0x48 ], %g2                        
 200a5c4:	84 20 80 01 	sub  %g2, %g1, %g2                             
 200a5c8:	c4 27 a0 48 	st  %g2, [ %fp + 0x48 ]                        
    i += len;                                                         
 200a5cc:	c4 07 bf f8 	ld  [ %fp + -8 ], %g2                          
 200a5d0:	82 00 80 01 	add  %g2, %g1, %g1                             
 200a5d4:	c2 27 bf f8 	st  %g1, [ %fp + -8 ]                          
                                                                      
    if ( !pathloc->node_access )                                      
 200a5d8:	c2 06 c0 00 	ld  [ %i3 ], %g1                               
 200a5dc:	80 a0 60 00 	cmp  %g1, 0                                    
 200a5e0:	12 80 00 08 	bne  200a600 <IMFS_eval_path+0x90>             <== ALWAYS TAKEN
 200a5e4:	a0 10 00 08 	mov  %o0, %l0                                  
      rtems_set_errno_and_return_minus_one( ENOENT );                 
 200a5e8:	40 00 0d c3 	call  200dcf4 <__errno>                        
 200a5ec:	01 00 00 00 	nop                                            
 200a5f0:	82 10 20 02 	mov  2, %g1	! 2 <PROM_START+0x2>               
 200a5f4:	c2 22 00 00 	st  %g1, [ %o0 ]                               
 200a5f8:	81 c7 e0 08 	ret                                            
 200a5fc:	91 e8 3f ff 	restore  %g0, -1, %o0                          
                                                                      
    /*                                                                
     * I cannot move out of this directory without execute permission.
     */                                                               
    if ( type != IMFS_NO_MORE_PATH )                                  
 200a600:	80 a2 20 00 	cmp  %o0, 0                                    
 200a604:	02 80 00 10 	be  200a644 <IMFS_eval_path+0xd4>              
 200a608:	80 a4 20 03 	cmp  %l0, 3                                    
      if ( node->type == IMFS_DIRECTORY )                             
 200a60c:	c2 07 20 4c 	ld  [ %i4 + 0x4c ], %g1                        
 200a610:	80 a0 60 01 	cmp  %g1, 1                                    
 200a614:	12 80 00 0c 	bne  200a644 <IMFS_eval_path+0xd4>             
 200a618:	80 a4 20 03 	cmp  %l0, 3                                    
        if ( !IMFS_evaluate_permission( pathloc, RTEMS_LIBIO_PERMS_SEARCH ) )
 200a61c:	90 10 00 1b 	mov  %i3, %o0                                  
 200a620:	7f ff ff b0 	call  200a4e0 <IMFS_evaluate_permission>       
 200a624:	92 10 20 01 	mov  1, %o1                                    
 200a628:	80 a2 20 00 	cmp  %o0, 0                                    
 200a62c:	12 80 00 06 	bne  200a644 <IMFS_eval_path+0xd4>             
 200a630:	80 a4 20 03 	cmp  %l0, 3                                    
          rtems_set_errno_and_return_minus_one( EACCES );             
 200a634:	40 00 0d b0 	call  200dcf4 <__errno>                        
 200a638:	01 00 00 00 	nop                                            
 200a63c:	10 bf ff ee 	b  200a5f4 <IMFS_eval_path+0x84>               
 200a640:	82 10 20 0d 	mov  0xd, %g1	! d <PROM_START+0xd>             
                                                                      
    node = pathloc->node_access;                                      
                                                                      
    switch( type ) {                                                  
 200a644:	02 80 00 1c 	be  200a6b4 <IMFS_eval_path+0x144>             
 200a648:	f8 06 c0 00 	ld  [ %i3 ], %i4                               
 200a64c:	80 a4 20 04 	cmp  %l0, 4                                    
 200a650:	02 80 00 5d 	be  200a7c4 <IMFS_eval_path+0x254>             
 200a654:	80 a4 20 02 	cmp  %l0, 2                                    
 200a658:	12 80 00 60 	bne  200a7d8 <IMFS_eval_path+0x268>            
 200a65c:	80 a4 20 04 	cmp  %l0, 4                                    
      case IMFS_UP_DIR:                                               
        /*                                                            
         *  Am I at the root of all filesystems? (chroot'ed?)         
         */                                                           
                                                                      
        if ( pathloc->node_access == rtems_filesystem_root.node_access )
 200a660:	c2 06 62 3c 	ld  [ %i1 + 0x23c ], %g1                       
 200a664:	c2 00 60 18 	ld  [ %g1 + 0x18 ], %g1                        
 200a668:	80 a7 00 01 	cmp  %i4, %g1                                  
 200a66c:	02 80 00 5b 	be  200a7d8 <IMFS_eval_path+0x268>             
 200a670:	80 a4 20 04 	cmp  %l0, 4                                    
                                                                      
static inline bool rtems_filesystem_is_root_location(                 
  const rtems_filesystem_location_info_t *loc                         
)                                                                     
{                                                                     
  return loc->mt_entry->mt_fs_root.node_access == loc->node_access;   
 200a674:	d2 06 e0 10 	ld  [ %i3 + 0x10 ], %o1                        
                                                                      
        /*                                                            
         *  Am I at the root of this mounted filesystem?              
         */                                                           
                                                                      
        if ( rtems_filesystem_is_root_location( pathloc ) ) {         
 200a678:	c2 02 60 1c 	ld  [ %o1 + 0x1c ], %g1                        
 200a67c:	80 a0 40 1c 	cmp  %g1, %i4                                  
 200a680:	32 80 00 05 	bne,a   200a694 <IMFS_eval_path+0x124>         
 200a684:	f8 07 20 08 	ld  [ %i4 + 8 ], %i4                           
           */                                                         
                                                                      
          if ( pathloc->node_access == rtems_filesystem_root.node_access ) {
            break;       /* Throw out the .. in this case */          
          } else {                                                    
            *pathloc = pathloc->mt_entry->mt_point_node;              
 200a688:	90 10 00 1b 	mov  %i3, %o0                                  
 200a68c:	10 80 00 5f 	b  200a808 <IMFS_eval_path+0x298>              
 200a690:	92 02 60 08 	add  %o1, 8, %o1                               
                                               pathnamelen+len,       
                                               flags,pathloc);        
          }                                                           
        } else {                                                      
                                                                      
          if ( !node->Parent )                                        
 200a694:	80 a7 20 00 	cmp  %i4, 0                                    
 200a698:	32 80 00 4f 	bne,a   200a7d4 <IMFS_eval_path+0x264>         
 200a69c:	f8 26 c0 00 	st  %i4, [ %i3 ]                               
            rtems_set_errno_and_return_minus_one( ENOENT );           
 200a6a0:	40 00 0d 95 	call  200dcf4 <__errno>                        
 200a6a4:	b0 10 3f ff 	mov  -1, %i0                                   
 200a6a8:	e0 22 00 00 	st  %l0, [ %o0 ]                               
 200a6ac:	81 c7 e0 08 	ret                                            
 200a6b0:	81 e8 00 00 	restore                                        
                                                                      
      case IMFS_NAME:                                                 
        /*                                                            
         *  If we are at a link follow it.                            
         */                                                           
        if ( node->type == IMFS_HARD_LINK ) {                         
 200a6b4:	c2 07 20 4c 	ld  [ %i4 + 0x4c ], %g1                        
 200a6b8:	80 a0 60 03 	cmp  %g1, 3                                    
 200a6bc:	12 80 00 07 	bne  200a6d8 <IMFS_eval_path+0x168>            
 200a6c0:	80 a0 60 04 	cmp  %g1, 4                                    
          IMFS_evaluate_hard_link( pathloc, 0 );                      
 200a6c4:	90 10 00 1b 	mov  %i3, %o0                                  
 200a6c8:	7f ff ff 97 	call  200a524 <IMFS_evaluate_hard_link>        
 200a6cc:	92 10 20 00 	clr  %o1                                       
          node = pathloc->node_access;                                
 200a6d0:	10 80 00 0b 	b  200a6fc <IMFS_eval_path+0x18c>              
 200a6d4:	f8 06 c0 00 	ld  [ %i3 ], %i4                               
           * It would be a design error if we evaluated the link and  
           * was broken.                                              
           */                                                         
          IMFS_assert( node );                                        
                                                                      
        } else if ( node->type == IMFS_SYM_LINK ) {                   
 200a6d8:	32 80 00 0a 	bne,a   200a700 <IMFS_eval_path+0x190>         
 200a6dc:	c2 07 20 4c 	ld  [ %i4 + 0x4c ], %g1                        
          result = IMFS_evaluate_sym_link( pathloc, 0 );              
 200a6e0:	90 10 00 1b 	mov  %i3, %o0                                  
 200a6e4:	40 00 00 67 	call  200a880 <IMFS_evaluate_sym_link>         
 200a6e8:	92 10 20 00 	clr  %o1                                       
                                                                      
          /*                                                          
           *  In contrast to a hard link, it is possible to have a broken
           *  symbolic link.                                          
           */                                                         
          node = pathloc->node_access;                                
 200a6ec:	f8 06 c0 00 	ld  [ %i3 ], %i4                               
          if ( result == -1 )                                         
 200a6f0:	80 a2 3f ff 	cmp  %o0, -1                                   
 200a6f4:	02 80 00 61 	be  200a878 <IMFS_eval_path+0x308>             <== NEVER TAKEN
 200a6f8:	b0 10 00 08 	mov  %o0, %i0                                  
        }                                                             
                                                                      
        /*                                                            
         *  Only a directory can be decended into.                    
         */                                                           
        if ( node->type != IMFS_DIRECTORY )                           
 200a6fc:	c2 07 20 4c 	ld  [ %i4 + 0x4c ], %g1                        
 200a700:	80 a0 60 01 	cmp  %g1, 1                                    
 200a704:	22 80 00 06 	be,a   200a71c <IMFS_eval_path+0x1ac>          
 200a708:	90 10 00 1c 	mov  %i4, %o0                                  
          rtems_set_errno_and_return_minus_one( ENOTDIR );            
 200a70c:	40 00 0d 7a 	call  200dcf4 <__errno>                        
 200a710:	01 00 00 00 	nop                                            
 200a714:	10 bf ff b8 	b  200a5f4 <IMFS_eval_path+0x84>               
 200a718:	82 10 20 14 	mov  0x14, %g1	! 14 <PROM_START+0x14>          
                                                                      
        /*                                                            
         *  Find the token name in the current node.                  
         */                                                           
        node = IMFS_find_match_in_dir( node, token );                 
 200a71c:	40 00 01 ac 	call  200adcc <IMFS_find_match_in_dir>         
 200a720:	92 07 bf d0 	add  %fp, -48, %o1                             
        if ( !node )                                                  
 200a724:	b8 92 20 00 	orcc  %o0, 0, %i4                              
 200a728:	02 bf ff b0 	be  200a5e8 <IMFS_eval_path+0x78>              
 200a72c:	01 00 00 00 	nop                                            
         *  file system and not the IMFS. For example the IMFS length is
         *  limited. If the token is a parent directory move back up otherwise
         *  set loc to the new fs root node and let them finish evaluating the
         *  path.                                                     
         */                                                           
        if (( node->type == IMFS_DIRECTORY ) && ( node->info.directory.mt_fs != NULL )) {
 200a730:	c2 07 20 4c 	ld  [ %i4 + 0x4c ], %g1                        
 200a734:	80 a0 60 01 	cmp  %g1, 1                                    
 200a738:	32 80 00 27 	bne,a   200a7d4 <IMFS_eval_path+0x264>         
 200a73c:	f8 26 c0 00 	st  %i4, [ %i3 ]                               
 200a740:	c2 07 20 5c 	ld  [ %i4 + 0x5c ], %g1                        
 200a744:	80 a0 60 00 	cmp  %g1, 0                                    
 200a748:	02 80 00 1d 	be  200a7bc <IMFS_eval_path+0x24c>             
 200a74c:	90 10 00 1d 	mov  %i5, %o0                                  
          IMFS_skip_separator( pathname, &pathnamelen, &i);           
 200a750:	92 07 a0 48 	add  %fp, 0x48, %o1                            
 200a754:	7f ff ff 30 	call  200a414 <IMFS_skip_separator>            
 200a758:	94 07 bf f8 	add  %fp, -8, %o2                              
          if ((pathname[i] != '.') || (pathname[i + 1] != '.')) {     
 200a75c:	c2 07 bf f8 	ld  [ %fp + -8 ], %g1                          
 200a760:	c4 4f 40 01 	ldsb  [ %i5 + %g1 ], %g2                       
 200a764:	80 a0 a0 2e 	cmp  %g2, 0x2e                                 
 200a768:	12 80 00 06 	bne  200a780 <IMFS_eval_path+0x210>            
 200a76c:	b0 07 40 01 	add  %i5, %g1, %i0                             
 200a770:	c4 4e 20 01 	ldsb  [ %i0 + 1 ], %g2                         
 200a774:	80 a0 a0 2e 	cmp  %g2, 0x2e                                 
 200a778:	22 80 00 0c 	be,a   200a7a8 <IMFS_eval_path+0x238>          
 200a77c:	82 00 60 02 	add  %g1, 2, %g1                               
            *pathloc = node->info.directory.mt_fs->mt_fs_root;        
 200a780:	d2 07 20 5c 	ld  [ %i4 + 0x5c ], %o1                        
 200a784:	90 10 00 1b 	mov  %i3, %o0                                  
 200a788:	92 02 60 1c 	add  %o1, 0x1c, %o1                            
 200a78c:	40 00 0f b6 	call  200e664 <memcpy>                         
 200a790:	94 10 20 14 	mov  0x14, %o2                                 
            return (*pathloc->ops->evalpath_h)( &pathname[i],         
 200a794:	c2 06 e0 0c 	ld  [ %i3 + 0xc ], %g1                         
 200a798:	90 10 00 18 	mov  %i0, %o0                                  
 200a79c:	c2 00 40 00 	ld  [ %g1 ], %g1                               
 200a7a0:	10 80 00 24 	b  200a830 <IMFS_eval_path+0x2c0>              
 200a7a4:	d2 07 a0 48 	ld  [ %fp + 0x48 ], %o1                        
                                                pathnamelen,          
                                                flags, pathloc );     
          }                                                           
          i += 2;                                                     
          pathnamelen -= 2;                                           
          node = node->Parent;                                        
 200a7a8:	f8 07 20 08 	ld  [ %i4 + 8 ], %i4                           
            *pathloc = node->info.directory.mt_fs->mt_fs_root;        
            return (*pathloc->ops->evalpath_h)( &pathname[i],         
                                                pathnamelen,          
                                                flags, pathloc );     
          }                                                           
          i += 2;                                                     
 200a7ac:	c2 27 bf f8 	st  %g1, [ %fp + -8 ]                          
          pathnamelen -= 2;                                           
 200a7b0:	c2 07 a0 48 	ld  [ %fp + 0x48 ], %g1                        
 200a7b4:	82 00 7f fe 	add  %g1, -2, %g1                              
 200a7b8:	c2 27 a0 48 	st  %g1, [ %fp + 0x48 ]                        
                                                                      
        /*                                                            
         *  Set the node access to the point we have found.           
         */                                                           
        pathloc->node_access = node;                                  
        break;                                                        
 200a7bc:	10 80 00 06 	b  200a7d4 <IMFS_eval_path+0x264>              
 200a7c0:	f8 26 c0 00 	st  %i4, [ %i3 ]                               
      case IMFS_NO_MORE_PATH:                                         
      case IMFS_CURRENT_DIR:                                          
        break;                                                        
                                                                      
      case IMFS_INVALID_TOKEN:                                        
        rtems_set_errno_and_return_minus_one( ENAMETOOLONG );         
 200a7c4:	40 00 0d 4c 	call  200dcf4 <__errno>                        
 200a7c8:	01 00 00 00 	nop                                            
 200a7cc:	10 bf ff 8a 	b  200a5f4 <IMFS_eval_path+0x84>               
 200a7d0:	82 10 20 5b 	mov  0x5b, %g1	! 5b <PROM_START+0x5b>          
                                                                      
  /*                                                                  
   *  Evaluate all tokens until we are done or an error occurs.       
   */                                                                 
                                                                      
  while( (type != IMFS_NO_MORE_PATH) && (type != IMFS_INVALID_TOKEN) ) {
 200a7d4:	80 a4 20 04 	cmp  %l0, 4                                    
 200a7d8:	02 80 00 04 	be  200a7e8 <IMFS_eval_path+0x278>             <== NEVER TAKEN
 200a7dc:	80 a4 20 00 	cmp  %l0, 0                                    
 200a7e0:	32 bf ff 72 	bne,a   200a5a8 <IMFS_eval_path+0x38>          
 200a7e4:	d0 07 bf f8 	ld  [ %fp + -8 ], %o0                          
   *  new fs root node and let let the mounted filesystem set the handlers.
   *                                                                  
   *  NOTE: The behavior of stat() on a mount point appears to be questionable.
   */                                                                 
                                                                      
  if ( node->type == IMFS_DIRECTORY ) {                               
 200a7e8:	c2 07 20 4c 	ld  [ %i4 + 0x4c ], %g1                        
 200a7ec:	80 a0 60 01 	cmp  %g1, 1                                    
 200a7f0:	12 80 00 15 	bne  200a844 <IMFS_eval_path+0x2d4>            
 200a7f4:	90 10 00 1b 	mov  %i3, %o0                                  
    if ( node->info.directory.mt_fs != NULL ) {                       
 200a7f8:	d2 07 20 5c 	ld  [ %i4 + 0x5c ], %o1                        
 200a7fc:	80 a2 60 00 	cmp  %o1, 0                                    
 200a800:	02 80 00 11 	be  200a844 <IMFS_eval_path+0x2d4>             <== ALWAYS TAKEN
 200a804:	92 02 60 1c 	add  %o1, 0x1c, %o1                            
      *pathloc = node->info.directory.mt_fs->mt_fs_root;              
 200a808:	40 00 0f 97 	call  200e664 <memcpy>                         
 200a80c:	94 10 20 14 	mov  0x14, %o2                                 
      return (*pathloc->ops->evalpath_h)( &pathname[i-len],           
 200a810:	c2 06 e0 0c 	ld  [ %i3 + 0xc ], %g1                         
 200a814:	c4 07 bf fc 	ld  [ %fp + -4 ], %g2                          
 200a818:	d0 07 bf f8 	ld  [ %fp + -8 ], %o0                          
 200a81c:	d2 07 a0 48 	ld  [ %fp + 0x48 ], %o1                        
 200a820:	c2 00 40 00 	ld  [ %g1 ], %g1                               
 200a824:	90 22 00 02 	sub  %o0, %g2, %o0                             
 200a828:	92 00 80 09 	add  %g2, %o1, %o1                             
 200a82c:	90 07 40 08 	add  %i5, %o0, %o0                             
 200a830:	94 10 00 1a 	mov  %i2, %o2                                  
 200a834:	9f c0 40 00 	call  %g1                                      
 200a838:	96 10 00 1b 	mov  %i3, %o3                                  
 200a83c:	81 c7 e0 08 	ret                                            
 200a840:	91 e8 00 08 	restore  %g0, %o0, %o0                         
                                          flags, pathloc );           
    } else {                                                          
      result = IMFS_Set_handlers( pathloc );                          
    }                                                                 
  } else {                                                            
    result = IMFS_Set_handlers( pathloc );                            
 200a844:	7f ff ff 0c 	call  200a474 <IMFS_Set_handlers>              
 200a848:	01 00 00 00 	nop                                            
                                                                      
  /*                                                                  
   * Verify we have the correct permissions for this node.            
   */                                                                 
                                                                      
  if ( !IMFS_evaluate_permission( pathloc, flags ) )                  
 200a84c:	92 10 00 1a 	mov  %i2, %o1                                  
                                          flags, pathloc );           
    } else {                                                          
      result = IMFS_Set_handlers( pathloc );                          
    }                                                                 
  } else {                                                            
    result = IMFS_Set_handlers( pathloc );                            
 200a850:	b0 10 00 08 	mov  %o0, %i0                                  
                                                                      
  /*                                                                  
   * Verify we have the correct permissions for this node.            
   */                                                                 
                                                                      
  if ( !IMFS_evaluate_permission( pathloc, flags ) )                  
 200a854:	7f ff ff 23 	call  200a4e0 <IMFS_evaluate_permission>       
 200a858:	90 10 00 1b 	mov  %i3, %o0                                  
 200a85c:	80 a2 20 00 	cmp  %o0, 0                                    
 200a860:	12 80 00 06 	bne  200a878 <IMFS_eval_path+0x308>            
 200a864:	01 00 00 00 	nop                                            
    rtems_set_errno_and_return_minus_one( EACCES );                   
 200a868:	40 00 0d 23 	call  200dcf4 <__errno>                        
 200a86c:	b0 10 3f ff 	mov  -1, %i0	! ffffffff <RAM_END+0xfdbfffff>   
 200a870:	82 10 20 0d 	mov  0xd, %g1                                  
 200a874:	c2 22 00 00 	st  %g1, [ %o0 ]                               
                                                                      
  return result;                                                      
}                                                                     
 200a878:	81 c7 e0 08 	ret                                            
 200a87c:	81 e8 00 00 	restore                                        
                                                                      

0200a9c0 <IMFS_evaluate_for_make>: int IMFS_evaluate_for_make( const char *path, /* IN */ rtems_filesystem_location_info_t *pathloc, /* IN/OUT */ const char **name /* OUT */ ) {
 200a9c0:	9d e3 bf 70 	save  %sp, -144, %sp                           
                                                                      
  /*                                                                  
   * This was filled in by the caller and is valid in the             
   * mount table.                                                     
   */                                                                 
  node = pathloc->node_access;                                        
 200a9c4:	f8 06 40 00 	ld  [ %i1 ], %i4                               
  const char                         *path,       /* IN     */        
  rtems_filesystem_location_info_t   *pathloc,    /* IN/OUT */        
  const char                        **name        /* OUT    */        
                           )                                          
{                                                                     
  int               i = 0;                                            
 200a9c8:	c0 27 bf f4 	clr  [ %fp + -12 ]                             
  node = pathloc->node_access;                                        
                                                                      
  /*                                                                  
   * Get the path length.                                             
   */                                                                 
  pathlen = strlen( path );                                           
 200a9cc:	90 10 00 18 	mov  %i0, %o0                                  
 200a9d0:	40 00 12 61 	call  200f354 <strlen>                         
 200a9d4:	ba 10 00 18 	mov  %i0, %i5                                  
      case IMFS_UP_DIR:                                               
        /*                                                            
         *  Am I at the root of all filesystems? (chroot'ed?)         
         */                                                           
                                                                      
        if ( pathloc->node_access == rtems_filesystem_root.node_access )
 200a9d8:	37 00 80 6a 	sethi  %hi(0x201a800), %i3                     
  node = pathloc->node_access;                                        
                                                                      
  /*                                                                  
   * Get the path length.                                             
   */                                                                 
  pathlen = strlen( path );                                           
 200a9dc:	d0 27 bf fc 	st  %o0, [ %fp + -4 ]                          
   *  Evaluate all tokens until we are done or an error occurs.       
   */                                                                 
                                                                      
  while( !done ) {                                                    
                                                                      
    type = IMFS_get_token( &path[i], pathlen, token, &len );          
 200a9e0:	d0 07 bf f4 	ld  [ %fp + -12 ], %o0                         
 200a9e4:	d2 07 bf fc 	ld  [ %fp + -4 ], %o1                          
 200a9e8:	90 07 40 08 	add  %i5, %o0, %o0                             
 200a9ec:	94 07 bf d0 	add  %fp, -48, %o2                             
 200a9f0:	40 00 01 16 	call  200ae48 <IMFS_get_token>                 
 200a9f4:	96 07 bf f8 	add  %fp, -8, %o3                              
    pathlen -= len;                                                   
 200a9f8:	c2 07 bf f8 	ld  [ %fp + -8 ], %g1                          
 200a9fc:	c4 07 bf fc 	ld  [ %fp + -4 ], %g2                          
 200aa00:	84 20 80 01 	sub  %g2, %g1, %g2                             
 200aa04:	c4 27 bf fc 	st  %g2, [ %fp + -4 ]                          
    i +=  len;                                                        
 200aa08:	c4 07 bf f4 	ld  [ %fp + -12 ], %g2                         
 200aa0c:	82 00 80 01 	add  %g2, %g1, %g1                             
 200aa10:	c2 27 bf f4 	st  %g1, [ %fp + -12 ]                         
                                                                      
    if ( !pathloc->node_access )                                      
 200aa14:	c2 06 40 00 	ld  [ %i1 ], %g1                               
 200aa18:	80 a0 60 00 	cmp  %g1, 0                                    
 200aa1c:	02 80 00 99 	be  200ac80 <IMFS_evaluate_for_make+0x2c0>     <== NEVER TAKEN
 200aa20:	b0 10 00 08 	mov  %o0, %i0                                  
                                                                      
    /*                                                                
     * I cannot move out of this directory without execute permission.
     */                                                               
                                                                      
    if ( type != IMFS_NO_MORE_PATH )                                  
 200aa24:	80 a2 20 00 	cmp  %o0, 0                                    
 200aa28:	02 80 00 10 	be  200aa68 <IMFS_evaluate_for_make+0xa8>      
 200aa2c:	80 a6 20 02 	cmp  %i0, 2                                    
      if ( node->type == IMFS_DIRECTORY )                             
 200aa30:	c2 07 20 4c 	ld  [ %i4 + 0x4c ], %g1                        
 200aa34:	80 a0 60 01 	cmp  %g1, 1                                    
 200aa38:	12 80 00 0c 	bne  200aa68 <IMFS_evaluate_for_make+0xa8>     
 200aa3c:	80 a6 20 02 	cmp  %i0, 2                                    
        if ( !IMFS_evaluate_permission( pathloc, RTEMS_LIBIO_PERMS_SEARCH ) )
 200aa40:	90 10 00 19 	mov  %i1, %o0                                  
 200aa44:	7f ff fe a7 	call  200a4e0 <IMFS_evaluate_permission>       
 200aa48:	92 10 20 01 	mov  1, %o1                                    
 200aa4c:	80 a2 20 00 	cmp  %o0, 0                                    
 200aa50:	12 80 00 06 	bne  200aa68 <IMFS_evaluate_for_make+0xa8>     
 200aa54:	80 a6 20 02 	cmp  %i0, 2                                    
          rtems_set_errno_and_return_minus_one( EACCES );             
 200aa58:	40 00 0c a7 	call  200dcf4 <__errno>                        
 200aa5c:	01 00 00 00 	nop                                            
 200aa60:	10 80 00 9d 	b  200acd4 <IMFS_evaluate_for_make+0x314>      
 200aa64:	82 10 20 0d 	mov  0xd, %g1	! d <PROM_START+0xd>             
                                                                      
    node = pathloc->node_access;                                      
                                                                      
    switch( type ) {                                                  
 200aa68:	02 80 00 0f 	be  200aaa4 <IMFS_evaluate_for_make+0xe4>      
 200aa6c:	f8 06 40 00 	ld  [ %i1 ], %i4                               
 200aa70:	80 a6 20 02 	cmp  %i0, 2                                    
 200aa74:	18 80 00 07 	bgu  200aa90 <IMFS_evaluate_for_make+0xd0>     
 200aa78:	80 a6 20 03 	cmp  %i0, 3                                    
 200aa7c:	80 a6 20 00 	cmp  %i0, 0                                    
 200aa80:	02 80 00 6e 	be  200ac38 <IMFS_evaluate_for_make+0x278>     
 200aa84:	01 00 00 00 	nop                                            
   *  Evaluate all tokens until we are done or an error occurs.       
   */                                                                 
                                                                      
  while( !done ) {                                                    
                                                                      
    type = IMFS_get_token( &path[i], pathlen, token, &len );          
 200aa88:	10 bf ff d7 	b  200a9e4 <IMFS_evaluate_for_make+0x24>       
 200aa8c:	d0 07 bf f4 	ld  [ %fp + -12 ], %o0                         
        if ( !IMFS_evaluate_permission( pathloc, RTEMS_LIBIO_PERMS_SEARCH ) )
          rtems_set_errno_and_return_minus_one( EACCES );             
                                                                      
    node = pathloc->node_access;                                      
                                                                      
    switch( type ) {                                                  
 200aa90:	02 80 00 21 	be  200ab14 <IMFS_evaluate_for_make+0x154>     
 200aa94:	80 a6 20 04 	cmp  %i0, 4                                    
 200aa98:	32 bf ff d3 	bne,a   200a9e4 <IMFS_evaluate_for_make+0x24>  <== NEVER TAKEN
 200aa9c:	d0 07 bf f4 	ld  [ %fp + -12 ], %o0                         <== NOT EXECUTED
 200aaa0:	30 80 00 6a 	b,a   200ac48 <IMFS_evaluate_for_make+0x288>   
      case IMFS_UP_DIR:                                               
        /*                                                            
         *  Am I at the root of all filesystems? (chroot'ed?)         
         */                                                           
                                                                      
        if ( pathloc->node_access == rtems_filesystem_root.node_access )
 200aaa4:	c2 06 e2 3c 	ld  [ %i3 + 0x23c ], %g1                       
 200aaa8:	c2 00 60 18 	ld  [ %g1 + 0x18 ], %g1                        
 200aaac:	80 a7 00 01 	cmp  %i4, %g1                                  
 200aab0:	02 bf ff cd 	be  200a9e4 <IMFS_evaluate_for_make+0x24>      
 200aab4:	d0 07 bf f4 	ld  [ %fp + -12 ], %o0                         
 200aab8:	d2 06 60 10 	ld  [ %i1 + 0x10 ], %o1                        
                                                                      
        /*                                                            
         * Am I at the root of this mounted filesystem?               
         */                                                           
                                                                      
        if ( rtems_filesystem_is_root_location( pathloc ) ) {         
 200aabc:	c2 02 60 1c 	ld  [ %o1 + 0x1c ], %g1                        
 200aac0:	80 a0 40 1c 	cmp  %g1, %i4                                  
 200aac4:	32 80 00 0d 	bne,a   200aaf8 <IMFS_evaluate_for_make+0x138> 
 200aac8:	f8 07 20 08 	ld  [ %i4 + 8 ], %i4                           
                                                                      
          if ( pathloc->node_access == rtems_filesystem_root.node_access ) {
            break;                                                    
                                                                      
          } else {                                                    
            *pathloc = pathloc->mt_entry->mt_point_node;              
 200aacc:	90 10 00 19 	mov  %i1, %o0                                  
 200aad0:	92 02 60 08 	add  %o1, 8, %o1                               
 200aad4:	40 00 0e e4 	call  200e664 <memcpy>                         
 200aad8:	94 10 20 14 	mov  0x14, %o2                                 
            return (*pathloc->ops->evalformake_h)( &path[i-len], pathloc, name );
 200aadc:	c2 06 60 0c 	ld  [ %i1 + 0xc ], %g1                         
 200aae0:	c4 07 bf f8 	ld  [ %fp + -8 ], %g2                          
 200aae4:	d0 07 bf f4 	ld  [ %fp + -12 ], %o0                         
 200aae8:	c2 00 60 04 	ld  [ %g1 + 4 ], %g1                           
 200aaec:	90 22 00 02 	sub  %o0, %g2, %o0                             
 200aaf0:	10 80 00 46 	b  200ac08 <IMFS_evaluate_for_make+0x248>      
 200aaf4:	90 07 40 08 	add  %i5, %o0, %o0                             
          }                                                           
        } else {                                                      
                                                                      
          if ( !node->Parent )                                        
 200aaf8:	80 a7 20 00 	cmp  %i4, 0                                    
 200aafc:	32 bf ff b9 	bne,a   200a9e0 <IMFS_evaluate_for_make+0x20>  
 200ab00:	f8 26 40 00 	st  %i4, [ %i1 ]                               
            rtems_set_errno_and_return_minus_one( ENOENT );           
 200ab04:	40 00 0c 7c 	call  200dcf4 <__errno>                        
 200ab08:	01 00 00 00 	nop                                            
 200ab0c:	10 80 00 73 	b  200acd8 <IMFS_evaluate_for_make+0x318>      
 200ab10:	f0 22 00 00 	st  %i0, [ %o0 ]                               
        pathloc->node_access = node;                                  
        break;                                                        
                                                                      
      case IMFS_NAME:                                                 
                                                                      
        if ( node->type == IMFS_HARD_LINK ) {                         
 200ab14:	c2 07 20 4c 	ld  [ %i4 + 0x4c ], %g1                        
 200ab18:	80 a0 60 03 	cmp  %g1, 3                                    
 200ab1c:	12 80 00 0a 	bne  200ab44 <IMFS_evaluate_for_make+0x184>    
 200ab20:	80 a0 60 04 	cmp  %g1, 4                                    
                                                                      
          result = IMFS_evaluate_link( pathloc, 0 );                  
 200ab24:	90 10 00 19 	mov  %i1, %o0                                  
 200ab28:	7f ff ff 78 	call  200a908 <IMFS_evaluate_link>             
 200ab2c:	92 10 20 00 	clr  %o1                                       
          if ( result == -1 )                                         
 200ab30:	80 a2 3f ff 	cmp  %o0, -1                                   
 200ab34:	12 80 00 0c 	bne  200ab64 <IMFS_evaluate_for_make+0x1a4>    <== ALWAYS TAKEN
 200ab38:	b0 10 00 08 	mov  %o0, %i0                                  
 200ab3c:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 200ab40:	81 e8 00 00 	restore                                        <== NOT EXECUTED
            return -1;                                                
                                                                      
        } else if ( node->type == IMFS_SYM_LINK ) {                   
 200ab44:	32 80 00 09 	bne,a   200ab68 <IMFS_evaluate_for_make+0x1a8> 
 200ab48:	d0 06 40 00 	ld  [ %i1 ], %o0                               
                                                                      
          result = IMFS_evaluate_link( pathloc, 0 );                  
 200ab4c:	90 10 00 19 	mov  %i1, %o0                                  
 200ab50:	7f ff ff 6e 	call  200a908 <IMFS_evaluate_link>             
 200ab54:	92 10 20 00 	clr  %o1                                       
                                                                      
          if ( result == -1 )                                         
 200ab58:	80 a2 3f ff 	cmp  %o0, -1                                   
 200ab5c:	02 bf ff f8 	be  200ab3c <IMFS_evaluate_for_make+0x17c>     <== NEVER TAKEN
 200ab60:	b0 10 00 08 	mov  %o0, %i0                                  
            return -1;                                                
        }                                                             
                                                                      
        node = pathloc->node_access;                                  
 200ab64:	d0 06 40 00 	ld  [ %i1 ], %o0                               
        if ( !node )                                                  
 200ab68:	80 a2 20 00 	cmp  %o0, 0                                    
 200ab6c:	02 80 00 57 	be  200acc8 <IMFS_evaluate_for_make+0x308>     <== NEVER TAKEN
 200ab70:	01 00 00 00 	nop                                            
                                                                      
        /*                                                            
         * Only a directory can be decended into.                     
         */                                                           
                                                                      
        if ( node->type != IMFS_DIRECTORY )                           
 200ab74:	c2 02 20 4c 	ld  [ %o0 + 0x4c ], %g1                        
 200ab78:	80 a0 60 01 	cmp  %g1, 1                                    
 200ab7c:	12 80 00 53 	bne  200acc8 <IMFS_evaluate_for_make+0x308>    
 200ab80:	01 00 00 00 	nop                                            
                                                                      
        /*                                                            
         * Find the token name in the present location.               
         */                                                           
                                                                      
        node = IMFS_find_match_in_dir( node, token );                 
 200ab84:	40 00 00 92 	call  200adcc <IMFS_find_match_in_dir>         
 200ab88:	92 07 bf d0 	add  %fp, -48, %o1                             
        /*                                                            
         * If there is no node we have found the name of the node we  
         * wish to create.                                            
         */                                                           
                                                                      
        if ( ! node )                                                 
 200ab8c:	b8 92 20 00 	orcc  %o0, 0, %i4                              
 200ab90:	02 80 00 32 	be  200ac58 <IMFS_evaluate_for_make+0x298>     
 200ab94:	c2 07 bf f8 	ld  [ %fp + -8 ], %g1                          
          done = true;                                                
        else {                                                        
        if (( node->type == IMFS_DIRECTORY ) && ( node->info.directory.mt_fs != NULL )) {
 200ab98:	c2 07 20 4c 	ld  [ %i4 + 0x4c ], %g1                        
 200ab9c:	80 a0 60 01 	cmp  %g1, 1                                    
 200aba0:	32 bf ff 90 	bne,a   200a9e0 <IMFS_evaluate_for_make+0x20>  
 200aba4:	f8 26 40 00 	st  %i4, [ %i1 ]                               
 200aba8:	c2 07 20 5c 	ld  [ %i4 + 0x5c ], %g1                        
 200abac:	80 a0 60 00 	cmp  %g1, 0                                    
 200abb0:	02 80 00 20 	be  200ac30 <IMFS_evaluate_for_make+0x270>     
 200abb4:	90 10 00 1d 	mov  %i5, %o0                                  
            IMFS_skip_separator( path, &pathlen, &i);                 
 200abb8:	92 07 bf fc 	add  %fp, -4, %o1                              
 200abbc:	7f ff fe 16 	call  200a414 <IMFS_skip_separator>            
 200abc0:	94 07 bf f4 	add  %fp, -12, %o2                             
            if ((path[i] != '.') || (path[i + 1] != '.')) {           
 200abc4:	c2 07 bf f4 	ld  [ %fp + -12 ], %g1                         
 200abc8:	c4 4f 40 01 	ldsb  [ %i5 + %g1 ], %g2                       
 200abcc:	80 a0 a0 2e 	cmp  %g2, 0x2e                                 
 200abd0:	12 80 00 06 	bne  200abe8 <IMFS_evaluate_for_make+0x228>    
 200abd4:	b0 07 40 01 	add  %i5, %g1, %i0                             
 200abd8:	c4 4e 20 01 	ldsb  [ %i0 + 1 ], %g2                         
 200abdc:	80 a0 a0 2e 	cmp  %g2, 0x2e                                 
 200abe0:	02 80 00 0f 	be  200ac1c <IMFS_evaluate_for_make+0x25c>     <== ALWAYS TAKEN
 200abe4:	82 00 60 02 	add  %g1, 2, %g1                               
              *pathloc = node->info.directory.mt_fs->mt_fs_root;      
 200abe8:	d2 07 20 5c 	ld  [ %i4 + 0x5c ], %o1                        
 200abec:	90 10 00 19 	mov  %i1, %o0                                  
 200abf0:	92 02 60 1c 	add  %o1, 0x1c, %o1                            
 200abf4:	40 00 0e 9c 	call  200e664 <memcpy>                         
 200abf8:	94 10 20 14 	mov  0x14, %o2                                 
              return (*pathloc->ops->evalformake_h)( &path[i],        
 200abfc:	c2 06 60 0c 	ld  [ %i1 + 0xc ], %g1                         
 200ac00:	90 10 00 18 	mov  %i0, %o0                                  
 200ac04:	c2 00 60 04 	ld  [ %g1 + 4 ], %g1                           
 200ac08:	92 10 00 19 	mov  %i1, %o1                                  
 200ac0c:	9f c0 40 00 	call  %g1                                      
 200ac10:	94 10 00 1a 	mov  %i2, %o2                                  
 200ac14:	81 c7 e0 08 	ret                                            
 200ac18:	91 e8 00 08 	restore  %g0, %o0, %o0                         
                                                     pathloc,         
                                                     name );          
            }                                                         
            i += 2;                                                   
            pathlen -= 2;                                             
            node = node->Parent;                                      
 200ac1c:	f8 07 20 08 	ld  [ %i4 + 8 ], %i4                           
              *pathloc = node->info.directory.mt_fs->mt_fs_root;      
              return (*pathloc->ops->evalformake_h)( &path[i],        
                                                     pathloc,         
                                                     name );          
            }                                                         
            i += 2;                                                   
 200ac20:	c2 27 bf f4 	st  %g1, [ %fp + -12 ]                         
            pathlen -= 2;                                             
 200ac24:	c2 07 bf fc 	ld  [ %fp + -4 ], %g1                          
 200ac28:	82 00 7f fe 	add  %g1, -2, %g1                              
 200ac2c:	c2 27 bf fc 	st  %g1, [ %fp + -4 ]                          
            node = node->Parent;                                      
          }                                                           
          pathloc->node_access = node;                                
 200ac30:	10 bf ff 6c 	b  200a9e0 <IMFS_evaluate_for_make+0x20>       
 200ac34:	f8 26 40 00 	st  %i4, [ %i1 ]                               
        }                                                             
        break;                                                        
                                                                      
      case IMFS_NO_MORE_PATH:                                         
        rtems_set_errno_and_return_minus_one( EEXIST );               
 200ac38:	40 00 0c 2f 	call  200dcf4 <__errno>                        
 200ac3c:	01 00 00 00 	nop                                            
 200ac40:	10 80 00 25 	b  200acd4 <IMFS_evaluate_for_make+0x314>      
 200ac44:	82 10 20 11 	mov  0x11, %g1	! 11 <PROM_START+0x11>          
        break;                                                        
                                                                      
      case IMFS_INVALID_TOKEN:                                        
        rtems_set_errno_and_return_minus_one( ENAMETOOLONG );         
 200ac48:	40 00 0c 2b 	call  200dcf4 <__errno>                        
 200ac4c:	01 00 00 00 	nop                                            
 200ac50:	10 80 00 21 	b  200acd4 <IMFS_evaluate_for_make+0x314>      
 200ac54:	82 10 20 5b 	mov  0x5b, %g1	! 5b <PROM_START+0x5b>          
      case IMFS_CURRENT_DIR:                                          
        break;                                                        
    }                                                                 
  }                                                                   
                                                                      
  *name = &path[ i - len ];                                           
 200ac58:	c4 07 bf f4 	ld  [ %fp + -12 ], %g2                         
 200ac5c:	82 20 80 01 	sub  %g2, %g1, %g1                             
 200ac60:	82 07 40 01 	add  %i5, %g1, %g1                             
  /*                                                                  
   * We have evaluated the path as far as we can.                     
   * Verify there is not any invalid stuff at the end of the name.    
   */                                                                 
                                                                      
  for( ; path[i] != '\0'; i++) {                                      
 200ac64:	10 80 00 0d 	b  200ac98 <IMFS_evaluate_for_make+0x2d8>      
 200ac68:	c2 26 80 00 	st  %g1, [ %i2 ]                               
    if ( !IMFS_is_separator( path[ i ] ) )                            
 200ac6c:	7f ff e4 1b 	call  2003cd8 <rtems_filesystem_is_separator>  
 200ac70:	01 00 00 00 	nop                                            
 200ac74:	80 a2 20 00 	cmp  %o0, 0                                    
 200ac78:	32 80 00 06 	bne,a   200ac90 <IMFS_evaluate_for_make+0x2d0> 
 200ac7c:	c2 07 bf f4 	ld  [ %fp + -12 ], %g1                         
      rtems_set_errno_and_return_minus_one( ENOENT );                 
 200ac80:	40 00 0c 1d 	call  200dcf4 <__errno>                        
 200ac84:	01 00 00 00 	nop                                            
 200ac88:	10 80 00 13 	b  200acd4 <IMFS_evaluate_for_make+0x314>      
 200ac8c:	82 10 20 02 	mov  2, %g1	! 2 <PROM_START+0x2>               
  /*                                                                  
   * We have evaluated the path as far as we can.                     
   * Verify there is not any invalid stuff at the end of the name.    
   */                                                                 
                                                                      
  for( ; path[i] != '\0'; i++) {                                      
 200ac90:	82 00 60 01 	inc  %g1                                       
 200ac94:	c2 27 bf f4 	st  %g1, [ %fp + -12 ]                         
 200ac98:	c2 07 bf f4 	ld  [ %fp + -12 ], %g1                         
 200ac9c:	d0 4f 40 01 	ldsb  [ %i5 + %g1 ], %o0                       
 200aca0:	80 a2 20 00 	cmp  %o0, 0                                    
 200aca4:	12 bf ff f2 	bne  200ac6c <IMFS_evaluate_for_make+0x2ac>    
 200aca8:	01 00 00 00 	nop                                            
                                                                      
  /*                                                                  
   * Verify we can execute and write to this directory.               
   */                                                                 
                                                                      
  result = IMFS_Set_handlers( pathloc );                              
 200acac:	7f ff fd f2 	call  200a474 <IMFS_Set_handlers>              
 200acb0:	90 10 00 19 	mov  %i1, %o0                                  
                                                                      
  /*                                                                  
   * The returned node must be a directory                            
   */                                                                 
  node = pathloc->node_access;                                        
  if ( node->type != IMFS_DIRECTORY )                                 
 200acb4:	c2 06 40 00 	ld  [ %i1 ], %g1                               
 200acb8:	c2 00 60 4c 	ld  [ %g1 + 0x4c ], %g1                        
 200acbc:	80 a0 60 01 	cmp  %g1, 1                                    
 200acc0:	02 80 00 08 	be  200ace0 <IMFS_evaluate_for_make+0x320>     <== ALWAYS TAKEN
 200acc4:	b0 10 00 08 	mov  %o0, %i0                                  
    rtems_set_errno_and_return_minus_one( ENOTDIR );                  
 200acc8:	40 00 0c 0b 	call  200dcf4 <__errno>                        
 200accc:	01 00 00 00 	nop                                            
 200acd0:	82 10 20 14 	mov  0x14, %g1	! 14 <PROM_START+0x14>          
 200acd4:	c2 22 00 00 	st  %g1, [ %o0 ]                               
 200acd8:	81 c7 e0 08 	ret                                            
 200acdc:	91 e8 3f ff 	restore  %g0, -1, %o0                          
                                                                      
  /*                                                                  
   * We must have Write and execute permission on the returned node.  
   */                                                                 
                                                                      
  if ( !IMFS_evaluate_permission( pathloc, RTEMS_LIBIO_PERMS_WX ) )   
 200ace0:	90 10 00 19 	mov  %i1, %o0                                  
 200ace4:	7f ff fd ff 	call  200a4e0 <IMFS_evaluate_permission>       
 200ace8:	92 10 20 03 	mov  3, %o1                                    
 200acec:	80 a2 20 00 	cmp  %o0, 0                                    
 200acf0:	12 80 00 06 	bne  200ad08 <IMFS_evaluate_for_make+0x348>    
 200acf4:	01 00 00 00 	nop                                            
    rtems_set_errno_and_return_minus_one( EACCES );                   
 200acf8:	40 00 0b ff 	call  200dcf4 <__errno>                        
 200acfc:	b0 10 3f ff 	mov  -1, %i0	! ffffffff <RAM_END+0xfdbfffff>   
 200ad00:	82 10 20 0d 	mov  0xd, %g1                                  
 200ad04:	c2 22 00 00 	st  %g1, [ %o0 ]                               
                                                                      
  return result;                                                      
}                                                                     
 200ad08:	81 c7 e0 08 	ret                                            
 200ad0c:	81 e8 00 00 	restore                                        
                                                                      

0200a4e0 <IMFS_evaluate_permission>: */ int IMFS_evaluate_permission( rtems_filesystem_location_info_t *node, int flags ) {
 200a4e0:	9d e3 bf a0 	save  %sp, -96, %sp                            
  uid_t         st_uid;                                               
  gid_t         st_gid;                                               
  IMFS_jnode_t *jnode;                                                
  int           flags_to_test;                                        
                                                                      
  if ( !rtems_libio_is_valid_perms( flags ) )                         
 200a4e4:	80 8e 7f f8 	btst  -8, %i1                                  
 200a4e8:	22 80 00 08 	be,a   200a508 <IMFS_evaluate_permission+0x28> <== ALWAYS TAKEN
 200a4ec:	c2 06 00 00 	ld  [ %i0 ], %g1                               
    rtems_set_errno_and_return_minus_one( EPERM );                    
 200a4f0:	40 00 0e 01 	call  200dcf4 <__errno>                        <== NOT EXECUTED
 200a4f4:	b0 10 3f ff 	mov  -1, %i0                                   <== NOT EXECUTED
 200a4f8:	82 10 20 01 	mov  1, %g1                                    <== NOT EXECUTED
 200a4fc:	c2 22 00 00 	st  %g1, [ %o0 ]                               <== NOT EXECUTED
 200a500:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 200a504:	81 e8 00 00 	restore                                        <== NOT EXECUTED
   */                                                                 
                                                                      
  flags_to_test = flags;                                              
                                                                      
  if ( st_uid == jnode->st_uid )                                      
    flags_to_test <<= 6;                                              
 200a508:	b3 2e 60 06 	sll  %i1, 6, %i1                               
                                                                      
  /*                                                                  
   * If all of the flags are set we have permission                   
   * to do this.                                                      
   */                                                                 
  if ( ( flags_to_test & jnode->st_mode) == flags_to_test )           
 200a50c:	c2 00 60 30 	ld  [ %g1 + 0x30 ], %g1                        
    return 1;                                                         
 200a510:	b2 2e 40 01 	andn  %i1, %g1, %i1                            
 200a514:	80 a0 00 19 	cmp  %g0, %i1                                  
 200a518:	b0 60 3f ff 	subx  %g0, -1, %i0                             
                                                                      
  return 0;                                                           
}                                                                     
 200a51c:	81 c7 e0 08 	ret                                            
 200a520:	81 e8 00 00 	restore                                        
                                                                      

020034f4 <IMFS_fifo_lseek>: rtems_off64_t IMFS_fifo_lseek( rtems_libio_t *iop, rtems_off64_t offset, int whence ) {
 20034f4:	9d e3 bf a0 	save  %sp, -96, %sp                            
  off_t err = pipe_lseek(LIBIO2PIPE(iop), offset, whence, iop);       
 20034f8:	c2 06 20 1c 	ld  [ %i0 + 0x1c ], %g1                        
 20034fc:	92 10 00 19 	mov  %i1, %o1                                  
 2003500:	d0 00 60 50 	ld  [ %g1 + 0x50 ], %o0                        
 2003504:	98 10 00 18 	mov  %i0, %o4                                  
 2003508:	94 10 00 1a 	mov  %i2, %o2                                  
 200350c:	40 00 27 7a 	call  200d2f4 <pipe_lseek>                     
 2003510:	96 10 00 1b 	mov  %i3, %o3                                  
 2003514:	b1 3a 20 1f 	sra  %o0, 0x1f, %i0                            
  IMFS_FIFO_RETURN(err);                                              
 2003518:	80 a6 20 00 	cmp  %i0, 0                                    
 200351c:	16 80 00 08 	bge  200353c <IMFS_fifo_lseek+0x48>            <== NEVER TAKEN
 2003520:	b2 10 00 08 	mov  %o0, %i1                                  
 2003524:	40 00 2f 7d 	call  200f318 <__errno>                        
 2003528:	31 3f ff ff 	sethi  %hi(0xfffffc00), %i0                    
 200352c:	82 20 00 19 	neg  %i1, %g1                                  
 2003530:	c2 22 00 00 	st  %g1, [ %o0 ]                               
 2003534:	b0 16 23 ff 	or  %i0, 0x3ff, %i0                            
 2003538:	b2 10 00 18 	mov  %i0, %i1                                  
}                                                                     
 200353c:	81 c7 e0 08 	ret                                            
 2003540:	81 e8 00 00 	restore                                        
                                                                      

02003544 <IMFS_fifo_write>: ssize_t IMFS_fifo_write( rtems_libio_t *iop, const void *buffer, size_t count ) {
 2003544:	9d e3 bf 98 	save  %sp, -104, %sp                           
  IMFS_jnode_t *jnode = iop->pathinfo.node_access;                    
 2003548:	fa 06 20 1c 	ld  [ %i0 + 0x1c ], %i5                        
ssize_t IMFS_fifo_write(                                              
  rtems_libio_t *iop,                                                 
  const void    *buffer,                                              
  size_t         count                                                
)                                                                     
{                                                                     
 200354c:	96 10 00 18 	mov  %i0, %o3                                  
  IMFS_jnode_t *jnode = iop->pathinfo.node_access;                    
                                                                      
  int err = pipe_write(JNODE2PIPE(jnode), buffer, count, iop);        
 2003550:	d0 07 60 50 	ld  [ %i5 + 0x50 ], %o0                        
 2003554:	92 10 00 19 	mov  %i1, %o1                                  
 2003558:	40 00 26 e0 	call  200d0d8 <pipe_write>                     
 200355c:	94 10 00 1a 	mov  %i2, %o2                                  
  if (err > 0) {                                                      
 2003560:	b0 92 20 00 	orcc  %o0, 0, %i0                              
 2003564:	04 80 00 09 	ble  2003588 <IMFS_fifo_write+0x44>            
 2003568:	90 07 bf f8 	add  %fp, -8, %o0                              
    IMFS_mtime_ctime_update(jnode);                                   
 200356c:	40 00 04 18 	call  20045cc <gettimeofday>                   
 2003570:	92 10 20 00 	clr  %o1                                       
 2003574:	c2 07 bf f8 	ld  [ %fp + -8 ], %g1                          
 2003578:	c2 27 60 44 	st  %g1, [ %i5 + 0x44 ]                        
 200357c:	c2 27 60 48 	st  %g1, [ %i5 + 0x48 ]                        
 2003580:	81 c7 e0 08 	ret                                            
 2003584:	81 e8 00 00 	restore                                        
  }                                                                   
                                                                      
  IMFS_FIFO_RETURN(err);                                              
 2003588:	80 a6 20 00 	cmp  %i0, 0                                    
 200358c:	02 80 00 06 	be  20035a4 <IMFS_fifo_write+0x60>             <== NEVER TAKEN
 2003590:	01 00 00 00 	nop                                            
 2003594:	40 00 2f 61 	call  200f318 <__errno>                        
 2003598:	b0 20 00 18 	neg  %i0                                       
 200359c:	f0 22 00 00 	st  %i0, [ %o0 ]                               
 20035a0:	b0 10 3f ff 	mov  -1, %i0                                   
}                                                                     
 20035a4:	81 c7 e0 08 	ret                                            
 20035a8:	81 e8 00 00 	restore                                        
                                                                      

0200adcc <IMFS_find_match_in_dir>: IMFS_jnode_t *IMFS_find_match_in_dir( IMFS_jnode_t *directory, char *name ) {
 200adcc:	9d e3 bf a0 	save  %sp, -96, %sp                            
                                                                      
  /*                                                                  
   *  Check for "." and ".."                                          
   */                                                                 
                                                                      
  if ( !strcmp( name, dotname ) )                                     
 200add0:	13 00 80 66 	sethi  %hi(0x2019800), %o1                     
 200add4:	90 10 00 19 	mov  %i1, %o0                                  
 200add8:	40 00 0f 6e 	call  200eb90 <strcmp>                         
 200addc:	92 12 60 50 	or  %o1, 0x50, %o1                             
 200ade0:	80 a2 20 00 	cmp  %o0, 0                                    
 200ade4:	02 80 00 09 	be  200ae08 <IMFS_find_match_in_dir+0x3c>      <== NEVER TAKEN
 200ade8:	90 10 00 19 	mov  %i1, %o0                                  
    return directory;                                                 
                                                                      
  if ( !strcmp( name, dotdotname ) )                                  
 200adec:	13 00 80 66 	sethi  %hi(0x2019800), %o1                     
 200adf0:	40 00 0f 68 	call  200eb90 <strcmp>                         
 200adf4:	92 12 60 58 	or  %o1, 0x58, %o1	! 2019858 <dotdotname>      
 200adf8:	80 a2 20 00 	cmp  %o0, 0                                    
 200adfc:	32 80 00 05 	bne,a   200ae10 <IMFS_find_match_in_dir+0x44>  <== ALWAYS TAKEN
 200ae00:	fa 06 20 50 	ld  [ %i0 + 0x50 ], %i5                        
    return directory->Parent;                                         
 200ae04:	f0 06 20 08 	ld  [ %i0 + 8 ], %i0                           <== NOT EXECUTED
 200ae08:	81 c7 e0 08 	ret                                            
 200ae0c:	81 e8 00 00 	restore                                        
                                                                      
  the_chain = &directory->info.directory.Entries;                     
                                                                      
  for ( the_node = rtems_chain_first( the_chain );                    
 200ae10:	10 80 00 08 	b  200ae30 <IMFS_find_match_in_dir+0x64>       
 200ae14:	b0 06 20 54 	add  %i0, 0x54, %i0                            
        !rtems_chain_is_tail( the_chain, the_node );                  
        the_node = the_node->next ) {                                 
                                                                      
    the_jnode = (IMFS_jnode_t *) the_node;                            
                                                                      
    if ( !strcmp( name, the_jnode->name ) )                           
 200ae18:	40 00 0f 5e 	call  200eb90 <strcmp>                         
 200ae1c:	92 07 60 0c 	add  %i5, 0xc, %o1                             
 200ae20:	80 a2 20 00 	cmp  %o0, 0                                    
 200ae24:	22 bf ff f9 	be,a   200ae08 <IMFS_find_match_in_dir+0x3c>   
 200ae28:	b0 10 00 1d 	mov  %i5, %i0                                  
                                                                      
  the_chain = &directory->info.directory.Entries;                     
                                                                      
  for ( the_node = rtems_chain_first( the_chain );                    
        !rtems_chain_is_tail( the_chain, the_node );                  
        the_node = the_node->next ) {                                 
 200ae2c:	fa 07 40 00 	ld  [ %i5 ], %i5                               
  if ( !strcmp( name, dotdotname ) )                                  
    return directory->Parent;                                         
                                                                      
  the_chain = &directory->info.directory.Entries;                     
                                                                      
  for ( the_node = rtems_chain_first( the_chain );                    
 200ae30:	80 a7 40 18 	cmp  %i5, %i0                                  
 200ae34:	12 bf ff f9 	bne  200ae18 <IMFS_find_match_in_dir+0x4c>     
 200ae38:	90 10 00 19 	mov  %i1, %o0                                  
 200ae3c:	b0 10 20 00 	clr  %i0                                       
    if ( !strcmp( name, the_jnode->name ) )                           
      return the_jnode;                                               
  }                                                                   
                                                                      
  return 0;                                                           
}                                                                     
 200ae40:	81 c7 e0 08 	ret                                            
 200ae44:	81 e8 00 00 	restore                                        
                                                                      

0200ad10 <IMFS_fsunmount>: ((IMFS_jnode_t *)( rtems_chain_head( jnode_get_control( jnode ) )->next)) int IMFS_fsunmount( rtems_filesystem_mount_table_entry_t *temp_mt_entry ) {
 200ad10:	9d e3 bf 88 	save  %sp, -120, %sp                           
    * Traverse tree that starts at the mt_fs_root and deallocate memory
    * associated memory space                                         
    */                                                                
                                                                      
   jnode = (IMFS_jnode_t *)temp_mt_entry->mt_fs_root.node_access;     
   loc = temp_mt_entry->mt_fs_root;                                   
 200ad14:	94 10 20 14 	mov  0x14, %o2                                 
   /*                                                                 
    * Traverse tree that starts at the mt_fs_root and deallocate memory
    * associated memory space                                         
    */                                                                
                                                                      
   jnode = (IMFS_jnode_t *)temp_mt_entry->mt_fs_root.node_access;     
 200ad18:	fa 06 20 1c 	ld  [ %i0 + 0x1c ], %i5                        
   loc = temp_mt_entry->mt_fs_root;                                   
 200ad1c:	b8 07 bf ec 	add  %fp, -20, %i4                             
 200ad20:	92 06 20 1c 	add  %i0, 0x1c, %o1                            
 200ad24:	40 00 0e 50 	call  200e664 <memcpy>                         
 200ad28:	90 10 00 1c 	mov  %i4, %o0                                  
 200ad2c:	c0 26 20 1c 	clr  [ %i0 + 0x1c ]                            
    */                                                                
                                                                      
   temp_mt_entry->mt_fs_root.node_access = NULL;                      
                                                                      
   do {                                                               
     next = jnode->Parent;                                            
 200ad30:	f0 07 60 08 	ld  [ %i5 + 8 ], %i0                           
     loc.node_access = (void *)jnode;                                 
 200ad34:	fa 27 bf ec 	st  %i5, [ %fp + -20 ]                         
     IMFS_Set_handlers( &loc );                                       
 200ad38:	7f ff fd cf 	call  200a474 <IMFS_Set_handlers>              
 200ad3c:	90 10 00 1c 	mov  %i4, %o0                                  
                                                                      
     if ( jnode->type != IMFS_DIRECTORY ) {                           
 200ad40:	c2 07 60 4c 	ld  [ %i5 + 0x4c ], %g1                        
 200ad44:	80 a0 60 01 	cmp  %g1, 1                                    
 200ad48:	32 80 00 08 	bne,a   200ad68 <IMFS_fsunmount+0x58>          
 200ad4c:	90 10 20 00 	clr  %o0                                       
        result = IMFS_unlink( NULL, &loc );                           
        if (result != 0)                                              
          return -1;                                                  
        jnode = next;                                                 
     } else if ( jnode_has_no_children( jnode ) ) {                   
 200ad50:	c4 07 60 50 	ld  [ %i5 + 0x50 ], %g2                        
RTEMS_INLINE_ROUTINE bool _Chain_Is_empty(                            
  const Chain_Control *the_chain                                      
)                                                                     
{                                                                     
  return _Chain_Immutable_first( the_chain )                          
    == _Chain_Immutable_tail( the_chain );                            
 200ad54:	82 07 60 54 	add  %i5, 0x54, %g1                            
 200ad58:	80 a0 80 01 	cmp  %g2, %g1                                  
 200ad5c:	12 80 00 09 	bne  200ad80 <IMFS_fsunmount+0x70>             
 200ad60:	80 a7 60 00 	cmp  %i5, 0                                    
        result = IMFS_unlink( NULL, &loc );                           
 200ad64:	90 10 20 00 	clr  %o0                                       
 200ad68:	7f ff de 59 	call  20026cc <IMFS_unlink>                    
 200ad6c:	92 10 00 1c 	mov  %i4, %o1                                  
        if (result != 0)                                              
 200ad70:	80 a2 20 00 	cmp  %o0, 0                                    
 200ad74:	12 80 00 12 	bne  200adbc <IMFS_fsunmount+0xac>             <== NEVER TAKEN
 200ad78:	ba 10 00 18 	mov  %i0, %i5                                  
          return -1;                                                  
        jnode = next;                                                 
     }                                                                
     if ( jnode != NULL ) {                                           
 200ad7c:	80 a7 60 00 	cmp  %i5, 0                                    
 200ad80:	02 80 00 11 	be  200adc4 <IMFS_fsunmount+0xb4>              
 200ad84:	01 00 00 00 	nop                                            
       if ( jnode->type == IMFS_DIRECTORY ) {                         
 200ad88:	c2 07 60 4c 	ld  [ %i5 + 0x4c ], %g1                        
 200ad8c:	80 a0 60 01 	cmp  %g1, 1                                    
 200ad90:	32 bf ff e9 	bne,a   200ad34 <IMFS_fsunmount+0x24>          <== NEVER TAKEN
 200ad94:	f0 07 60 08 	ld  [ %i5 + 8 ], %i0                           <== NOT EXECUTED
 */                                                                   
RTEMS_INLINE_ROUTINE const Chain_Node *_Chain_Immutable_first(        
  const Chain_Control *the_chain                                      
)                                                                     
{                                                                     
  return _Chain_Immutable_head( the_chain )->next;                    
 200ad98:	c2 07 60 50 	ld  [ %i5 + 0x50 ], %g1                        
RTEMS_INLINE_ROUTINE bool _Chain_Is_empty(                            
  const Chain_Control *the_chain                                      
)                                                                     
{                                                                     
  return _Chain_Immutable_first( the_chain )                          
    == _Chain_Immutable_tail( the_chain );                            
 200ad9c:	84 07 60 54 	add  %i5, 0x54, %g2                            
         if ( jnode_has_children( jnode ) )                           
 200ada0:	80 a0 40 02 	cmp  %g1, %g2                                  
 200ada4:	02 bf ff e3 	be  200ad30 <IMFS_fsunmount+0x20>              
 200ada8:	80 a0 60 00 	cmp  %g1, 0                                    
           jnode = jnode_get_first_child( jnode );                    
       }                                                              
     }                                                                
   } while (jnode != NULL);                                           
 200adac:	12 bf ff e1 	bne  200ad30 <IMFS_fsunmount+0x20>             <== ALWAYS TAKEN
 200adb0:	ba 10 00 01 	mov  %g1, %i5                                  
                                                                      
   return 0;                                                          
 200adb4:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 200adb8:	91 e8 20 00 	restore  %g0, 0, %o0                           <== NOT EXECUTED
          return -1;                                                  
        jnode = next;                                                 
     } else if ( jnode_has_no_children( jnode ) ) {                   
        result = IMFS_unlink( NULL, &loc );                           
        if (result != 0)                                              
          return -1;                                                  
 200adbc:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 200adc0:	91 e8 3f ff 	restore  %g0, -1, %o0                          <== NOT EXECUTED
       }                                                              
     }                                                                
   } while (jnode != NULL);                                           
                                                                      
   return 0;                                                          
}                                                                     
 200adc4:	81 c7 e0 08 	ret                                            
 200adc8:	91 e8 20 00 	restore  %g0, 0, %o0                           
                                                                      

0200ae48 <IMFS_get_token>: const char *path, int pathlen, char *token, int *token_len ) {
 200ae48:	9d e3 bf a0 	save  %sp, -96, %sp                            
  register int i = 0;                                                 
 200ae4c:	ba 10 20 00 	clr  %i5                                       
                                                                      
  /*                                                                  
   *  Copy a name into token.  (Remember NULL is a token.)            
   */                                                                 
  c = path[i];                                                        
  while ( (!IMFS_is_separator(c)) && (i < pathlen) && (i <= IMFS_NAME_MAX) ) {
 200ae50:	10 80 00 06 	b  200ae68 <IMFS_get_token+0x20>               
 200ae54:	f8 0e 00 00 	ldub  [ %i0 ], %i4                             
                                                                      
     token[i] = c;                                                    
                                                                      
     if ( i == IMFS_NAME_MAX )                                        
 200ae58:	02 80 00 32 	be  200af20 <IMFS_get_token+0xd8>              
 200ae5c:	f8 2e 80 1d 	stb  %i4, [ %i2 + %i5 ]                        
       return IMFS_INVALID_TOKEN;                                     
                                                                      
     if ( !IMFS_is_valid_name_char(c) )                               
       type = IMFS_INVALID_TOKEN;                                     
                                                                      
     c = path [++i];                                                  
 200ae60:	ba 07 60 01 	inc  %i5                                       
 200ae64:	f8 0e 00 1d 	ldub  [ %i0 + %i5 ], %i4                       
                                                                      
  /*                                                                  
   *  Copy a name into token.  (Remember NULL is a token.)            
   */                                                                 
  c = path[i];                                                        
  while ( (!IMFS_is_separator(c)) && (i < pathlen) && (i <= IMFS_NAME_MAX) ) {
 200ae68:	91 2f 20 18 	sll  %i4, 0x18, %o0                            
 200ae6c:	7f ff e3 9b 	call  2003cd8 <rtems_filesystem_is_separator>  
 200ae70:	91 3a 20 18 	sra  %o0, 0x18, %o0                            
 200ae74:	80 a2 20 00 	cmp  %o0, 0                                    
 200ae78:	12 80 00 04 	bne  200ae88 <IMFS_get_token+0x40>             
 200ae7c:	80 a7 40 19 	cmp  %i5, %i1                                  
 200ae80:	06 bf ff f6 	bl  200ae58 <IMFS_get_token+0x10>              <== ALWAYS TAKEN
 200ae84:	80 a7 60 20 	cmp  %i5, 0x20                                 
                                                                      
  /*                                                                  
   *  Copy a seperator into token.                                    
   */                                                                 
                                                                      
  if ( i == 0 ) {                                                     
 200ae88:	80 a7 60 00 	cmp  %i5, 0                                    
 200ae8c:	12 80 00 0e 	bne  200aec4 <IMFS_get_token+0x7c>             
 200ae90:	82 06 80 1d 	add  %i2, %i5, %g1                             
    token[i] = c;                                                     
 200ae94:	f8 2e 80 00 	stb  %i4, [ %i2 ]                              
                                                                      
    if ( (token[i] != '\0') && pathlen ) {                            
 200ae98:	b9 2f 20 18 	sll  %i4, 0x18, %i4                            
 200ae9c:	80 a7 20 00 	cmp  %i4, 0                                    
 200aea0:	02 80 00 07 	be  200aebc <IMFS_get_token+0x74>              
 200aea4:	ba 10 20 00 	clr  %i5                                       
      i++;                                                            
      type = IMFS_CURRENT_DIR;                                        
 200aea8:	b0 10 20 01 	mov  1, %i0                                    
   */                                                                 
                                                                      
  if ( i == 0 ) {                                                     
    token[i] = c;                                                     
                                                                      
    if ( (token[i] != '\0') && pathlen ) {                            
 200aeac:	80 a6 60 00 	cmp  %i1, 0                                    
 200aeb0:	12 80 00 0a 	bne  200aed8 <IMFS_get_token+0x90>             
 200aeb4:	ba 10 20 01 	mov  1, %i5                                    
 200aeb8:	ba 10 20 00 	clr  %i5                                       
      i++;                                                            
      type = IMFS_CURRENT_DIR;                                        
    } else {                                                          
      type = IMFS_NO_MORE_PATH;                                       
 200aebc:	10 80 00 07 	b  200aed8 <IMFS_get_token+0x90>               
 200aec0:	b0 10 20 00 	clr  %i0                                       
    }                                                                 
  } else if (token[ i-1 ] != '\0') {                                  
 200aec4:	c2 48 7f ff 	ldsb  [ %g1 + -1 ], %g1                        
 200aec8:	80 a0 60 00 	cmp  %g1, 0                                    
 200aecc:	02 80 00 03 	be  200aed8 <IMFS_get_token+0x90>              <== NEVER TAKEN
 200aed0:	b0 10 20 03 	mov  3, %i0                                    
    token[i] = '\0';                                                  
 200aed4:	c0 2e 80 1d 	clrb  [ %i2 + %i5 ]                            
  /*                                                                  
   *  If we copied something that was not a seperator see if          
   *  it was a special name.                                          
   */                                                                 
                                                                      
  if ( type == IMFS_NAME ) {                                          
 200aed8:	80 a6 20 03 	cmp  %i0, 3                                    
 200aedc:	12 80 00 0f 	bne  200af18 <IMFS_get_token+0xd0>             
 200aee0:	fa 26 c0 00 	st  %i5, [ %i3 ]                               
    if ( strcmp( token, "..") == 0 )                                  
 200aee4:	90 10 00 1a 	mov  %i2, %o0                                  
 200aee8:	13 00 80 66 	sethi  %hi(0x2019800), %o1                     
 200aeec:	40 00 0f 29 	call  200eb90 <strcmp>                         
 200aef0:	92 12 60 60 	or  %o1, 0x60, %o1	! 2019860 <dotdotname+0x8>  
 200aef4:	80 a2 20 00 	cmp  %o0, 0                                    
 200aef8:	02 80 00 0c 	be  200af28 <IMFS_get_token+0xe0>              
 200aefc:	90 10 00 1a 	mov  %i2, %o0                                  
      type = IMFS_UP_DIR;                                             
    else if ( strcmp( token, "." ) == 0 )                             
 200af00:	13 00 80 66 	sethi  %hi(0x2019800), %o1                     
 200af04:	40 00 0f 23 	call  200eb90 <strcmp>                         
 200af08:	92 12 60 68 	or  %o1, 0x68, %o1	! 2019868 <dotdotname+0x10> 
 200af0c:	80 a2 20 00 	cmp  %o0, 0                                    
 200af10:	22 80 00 02 	be,a   200af18 <IMFS_get_token+0xd0>           
 200af14:	b0 10 20 01 	mov  1, %i0                                    
 200af18:	81 c7 e0 08 	ret                                            
 200af1c:	81 e8 00 00 	restore                                        
  while ( (!IMFS_is_separator(c)) && (i < pathlen) && (i <= IMFS_NAME_MAX) ) {
                                                                      
     token[i] = c;                                                    
                                                                      
     if ( i == IMFS_NAME_MAX )                                        
       return IMFS_INVALID_TOKEN;                                     
 200af20:	81 c7 e0 08 	ret                                            
 200af24:	91 e8 20 04 	restore  %g0, 4, %o0                           
 200af28:	b0 10 20 02 	mov  2, %i0                                    
    else if ( strcmp( token, "." ) == 0 )                             
      type = IMFS_CURRENT_DIR;                                        
  }                                                                   
                                                                      
  return type;                                                        
}                                                                     
 200af2c:	81 c7 e0 08 	ret                                            
 200af30:	81 e8 00 00 	restore                                        
                                                                      

020022e0 <IMFS_initialize_support>: const rtems_filesystem_operations_table *op_table, const rtems_filesystem_file_handlers_r *memfile_handlers, const rtems_filesystem_file_handlers_r *directory_handlers, const rtems_filesystem_file_handlers_r *fifo_handlers ) {
 20022e0:	9d e3 bf a0 	save  %sp, -96, %sp                            
  IMFS_jnode_t                          *jnode;                       
                                                                      
  /*                                                                  
   * determine/check value for imfs_memfile_bytes_per_block           
   */                                                                 
  IMFS_determine_bytes_per_block(&imfs_memfile_bytes_per_block,       
 20022e4:	03 00 80 6a 	sethi  %hi(0x201a800), %g1                     
 20022e8:	c2 00 61 54 	ld  [ %g1 + 0x154 ], %g1	! 201a954 <imfs_rq_memfile_bytes_per_block>
 20022ec:	86 10 20 06 	mov  6, %g3                                    
  int bit_mask;                                                       
                                                                      
  /*                                                                  
   * check, whether requested bytes per block is valid                
   */                                                                 
  for (bit_mask = 16; !is_valid && (bit_mask <= 512); bit_mask <<= 1) {
 20022f0:	84 10 20 10 	mov  0x10, %g2                                 
    if (bit_mask == requested_bytes_per_block) {                      
 20022f4:	80 a0 80 01 	cmp  %g2, %g1                                  
 20022f8:	22 80 00 08 	be,a   2002318 <IMFS_initialize_support+0x38>  
 20022fc:	05 00 80 6c 	sethi  %hi(0x201b000), %g2                     
      is_valid = true;                                                
      break;                                                          
    }                                                                 
    if(bit_mask > requested_bytes_per_block)                          
 2002300:	14 80 00 04 	bg  2002310 <IMFS_initialize_support+0x30>     
 2002304:	86 80 ff ff 	addcc  %g3, -1, %g3                            
  int bit_mask;                                                       
                                                                      
  /*                                                                  
   * check, whether requested bytes per block is valid                
   */                                                                 
  for (bit_mask = 16; !is_valid && (bit_mask <= 512); bit_mask <<= 1) {
 2002308:	12 bf ff fb 	bne  20022f4 <IMFS_initialize_support+0x14>    <== ALWAYS TAKEN
 200230c:	85 28 a0 01 	sll  %g2, 1, %g2                               
    if(bit_mask > requested_bytes_per_block)                          
      break;                                                          
  }                                                                   
  *dest_bytes_per_block = ((is_valid)                                 
			   ? requested_bytes_per_block                                     
			   : default_bytes_per_block);                                     
 2002310:	82 10 20 80 	mov  0x80, %g1                                 
      break;                                                          
    }                                                                 
    if(bit_mask > requested_bytes_per_block)                          
      break;                                                          
  }                                                                   
  *dest_bytes_per_block = ((is_valid)                                 
 2002314:	05 00 80 6c 	sethi  %hi(0x201b000), %g2                     
  /*                                                                  
   *  Create the root node                                            
   *                                                                  
   *  NOTE: UNIX root is 755 and owned by root/root (0/0).            
   */                                                                 
  temp_mt_entry->mt_fs_root.node_access      = IMFS_create_root_node();
 2002318:	40 00 20 28 	call  200a3b8 <IMFS_create_root_node>          
 200231c:	c2 20 a0 cc 	st  %g1, [ %g2 + 0xcc ]	! 201b0cc <imfs_memfile_bytes_per_block>
  temp_mt_entry->mt_fs_root.handlers         = directory_handlers;    
  temp_mt_entry->mt_fs_root.ops              = op_table;              
  temp_mt_entry->pathconf_limits_and_options = IMFS_LIMITS_AND_OPTIONS;
 2002320:	94 10 20 30 	mov  0x30, %o2                                 
  /*                                                                  
   *  Create the root node                                            
   *                                                                  
   *  NOTE: UNIX root is 755 and owned by root/root (0/0).            
   */                                                                 
  temp_mt_entry->mt_fs_root.node_access      = IMFS_create_root_node();
 2002324:	d0 26 20 1c 	st  %o0, [ %i0 + 0x1c ]                        
 2002328:	ba 10 00 08 	mov  %o0, %i5                                  
  temp_mt_entry->mt_fs_root.handlers         = directory_handlers;    
 200232c:	f6 26 20 24 	st  %i3, [ %i0 + 0x24 ]                        
  temp_mt_entry->mt_fs_root.ops              = op_table;              
 2002330:	f2 26 20 28 	st  %i1, [ %i0 + 0x28 ]                        
  temp_mt_entry->pathconf_limits_and_options = IMFS_LIMITS_AND_OPTIONS;
 2002334:	90 06 20 38 	add  %i0, 0x38, %o0                            
 2002338:	13 00 80 66 	sethi  %hi(0x2019800), %o1                     
 200233c:	40 00 30 ca 	call  200e664 <memcpy>                         
 2002340:	92 12 60 1c 	or  %o1, 0x1c, %o1	! 201981c <IMFS_LIMITS_AND_OPTIONS>
                                                                      
  /*                                                                  
   * Create custom file system data.                                  
   */                                                                 
  fs_info = calloc( 1, sizeof( IMFS_fs_info_t ) );                    
 2002344:	90 10 20 01 	mov  1, %o0                                    
 2002348:	40 00 01 a2 	call  20029d0 <calloc>                         
 200234c:	92 10 20 14 	mov  0x14, %o1                                 
  if ( !fs_info ) {                                                   
 2002350:	80 a2 20 00 	cmp  %o0, 0                                    
 2002354:	12 80 00 0a 	bne  200237c <IMFS_initialize_support+0x9c>    
 2002358:	03 00 80 6c 	sethi  %hi(0x201b000), %g1                     
    free(temp_mt_entry->mt_fs_root.node_access);                      
 200235c:	40 00 02 9e 	call  2002dd4 <free>                           
 2002360:	90 10 00 1d 	mov  %i5, %o0                                  
    rtems_set_errno_and_return_minus_one(ENOMEM);                     
 2002364:	40 00 2e 64 	call  200dcf4 <__errno>                        
 2002368:	b0 10 3f ff 	mov  -1, %i0                                   
 200236c:	82 10 20 0c 	mov  0xc, %g1                                  
 2002370:	c2 22 00 00 	st  %g1, [ %o0 ]                               
 2002374:	81 c7 e0 08 	ret                                            
 2002378:	81 e8 00 00 	restore                                        
                                                                      
  /*                                                                  
   * Set st_ino for the root to 1.                                    
   */                                                                 
                                                                      
  fs_info->instance              = imfs_instance++;                   
 200237c:	c4 00 60 d0 	ld  [ %g1 + 0xd0 ], %g2                        
  fs_info = calloc( 1, sizeof( IMFS_fs_info_t ) );                    
  if ( !fs_info ) {                                                   
    free(temp_mt_entry->mt_fs_root.node_access);                      
    rtems_set_errno_and_return_minus_one(ENOMEM);                     
  }                                                                   
  temp_mt_entry->fs_info = fs_info;                                   
 2002380:	d0 26 20 34 	st  %o0, [ %i0 + 0x34 ]                        
                                                                      
  /*                                                                  
   * Set st_ino for the root to 1.                                    
   */                                                                 
                                                                      
  fs_info->instance              = imfs_instance++;                   
 2002384:	c4 22 00 00 	st  %g2, [ %o0 ]                               
  fs_info->ino_count             = 1;                                 
  fs_info->memfile_handlers      = memfile_handlers;                  
 2002388:	f4 22 20 08 	st  %i2, [ %o0 + 8 ]                           
                                                                      
  /*                                                                  
   * Set st_ino for the root to 1.                                    
   */                                                                 
                                                                      
  fs_info->instance              = imfs_instance++;                   
 200238c:	84 00 a0 01 	inc  %g2                                       
  fs_info->ino_count             = 1;                                 
  fs_info->memfile_handlers      = memfile_handlers;                  
  fs_info->directory_handlers    = directory_handlers;                
 2002390:	f6 22 20 0c 	st  %i3, [ %o0 + 0xc ]                         
                                                                      
  /*                                                                  
   * Set st_ino for the root to 1.                                    
   */                                                                 
                                                                      
  fs_info->instance              = imfs_instance++;                   
 2002394:	c4 20 60 d0 	st  %g2, [ %g1 + 0xd0 ]                        
  fs_info->ino_count             = 1;                                 
  fs_info->memfile_handlers      = memfile_handlers;                  
  fs_info->directory_handlers    = directory_handlers;                
  fs_info->fifo_handlers         = fifo_handlers;                     
 2002398:	f8 22 20 10 	st  %i4, [ %o0 + 0x10 ]                        
  /*                                                                  
   * Set st_ino for the root to 1.                                    
   */                                                                 
                                                                      
  fs_info->instance              = imfs_instance++;                   
  fs_info->ino_count             = 1;                                 
 200239c:	82 10 20 01 	mov  1, %g1                                    
 20023a0:	c2 22 20 04 	st  %g1, [ %o0 + 4 ]                           
  fs_info->memfile_handlers      = memfile_handlers;                  
  fs_info->directory_handlers    = directory_handlers;                
  fs_info->fifo_handlers         = fifo_handlers;                     
                                                                      
  jnode = temp_mt_entry->mt_fs_root.node_access;                      
  jnode->st_ino = fs_info->ino_count;                                 
 20023a4:	c2 27 60 38 	st  %g1, [ %i5 + 0x38 ]                        
                                                                      
  return 0;                                                           
}                                                                     
 20023a8:	81 c7 e0 08 	ret                                            
 20023ac:	91 e8 20 00 	restore  %g0, 0, %o0                           
                                                                      

0200cd24 <IMFS_memfile_extend>: */ MEMFILE_STATIC int IMFS_memfile_extend( IMFS_jnode_t *the_jnode, off_t new_length ) {
 200cd24:	9d e3 bf 98 	save  %sp, -104, %sp                           
    IMFS_assert( the_jnode->type == IMFS_MEMORY_FILE );               
                                                                      
  /*                                                                  
   *  Verify new file size is supported                               
   */                                                                 
  if ( new_length >= IMFS_MEMFILE_MAXIMUM_SIZE )                      
 200cd28:	03 00 80 6c 	sethi  %hi(0x201b000), %g1                     
 200cd2c:	fa 00 60 cc 	ld  [ %g1 + 0xcc ], %i5	! 201b0cc <imfs_memfile_bytes_per_block>
 200cd30:	b9 37 60 02 	srl  %i5, 2, %i4                               
 200cd34:	92 10 00 1c 	mov  %i4, %o1                                  
 200cd38:	40 00 27 2f 	call  20169f4 <.umul>                          
 200cd3c:	90 07 20 01 	add  %i4, 1, %o0                               
 200cd40:	92 10 00 1c 	mov  %i4, %o1                                  
 200cd44:	40 00 27 2c 	call  20169f4 <.umul>                          
 200cd48:	90 02 20 01 	inc  %o0                                       
 200cd4c:	92 10 00 1d 	mov  %i5, %o1                                  
 200cd50:	40 00 27 29 	call  20169f4 <.umul>                          
 200cd54:	90 02 3f ff 	add  %o0, -1, %o0                              
 200cd58:	82 10 20 00 	clr  %g1                                       
 200cd5c:	80 a0 40 19 	cmp  %g1, %i1                                  
 200cd60:	34 80 00 0b 	bg,a   200cd8c <IMFS_memfile_extend+0x68>      
 200cd64:	f8 06 20 50 	ld  [ %i0 + 0x50 ], %i4                        
 200cd68:	80 a0 40 19 	cmp  %g1, %i1                                  
 200cd6c:	12 80 00 04 	bne  200cd7c <IMFS_memfile_extend+0x58>        <== NEVER TAKEN
 200cd70:	80 a2 00 1a 	cmp  %o0, %i2                                  
 200cd74:	38 80 00 06 	bgu,a   200cd8c <IMFS_memfile_extend+0x68>     
 200cd78:	f8 06 20 50 	ld  [ %i0 + 0x50 ], %i4                        
    rtems_set_errno_and_return_minus_one( EINVAL );                   
 200cd7c:	40 00 03 de 	call  200dcf4 <__errno>                        
 200cd80:	01 00 00 00 	nop                                            
 200cd84:	10 80 00 29 	b  200ce28 <IMFS_memfile_extend+0x104>         
 200cd88:	82 10 20 16 	mov  0x16, %g1	! 16 <PROM_START+0x16>          
                                                                      
  /*                                                                  
   *  Verify new file size is actually larger than current size       
   */                                                                 
  if ( new_length <= the_jnode->info.file.size )                      
 200cd8c:	80 a6 40 1c 	cmp  %i1, %i4                                  
 200cd90:	14 80 00 07 	bg  200cdac <IMFS_memfile_extend+0x88>         <== NEVER TAKEN
 200cd94:	e0 06 20 54 	ld  [ %i0 + 0x54 ], %l0                        
 200cd98:	80 a6 40 1c 	cmp  %i1, %i4                                  
 200cd9c:	12 80 00 37 	bne  200ce78 <IMFS_memfile_extend+0x154>       
 200cda0:	80 a6 80 10 	cmp  %i2, %l0                                  
 200cda4:	08 80 00 35 	bleu  200ce78 <IMFS_memfile_extend+0x154>      
 200cda8:	01 00 00 00 	nop                                            
    return 0;                                                         
                                                                      
  /*                                                                  
   *  Calculate the number of range of blocks to allocate             
   */                                                                 
  new_blocks = new_length / IMFS_MEMFILE_BYTES_PER_BLOCK;             
 200cdac:	b7 3f 60 1f 	sra  %i5, 0x1f, %i3                            
 200cdb0:	96 10 00 1d 	mov  %i5, %o3                                  
 200cdb4:	94 10 00 1b 	mov  %i3, %o2                                  
 200cdb8:	90 10 00 19 	mov  %i1, %o0                                  
 200cdbc:	40 00 28 a0 	call  201703c <__divdi3>                       
 200cdc0:	92 10 00 1a 	mov  %i2, %o1                                  
  old_blocks = the_jnode->info.file.size / IMFS_MEMFILE_BYTES_PER_BLOCK;
 200cdc4:	90 10 00 1c 	mov  %i4, %o0                                  
 200cdc8:	96 10 00 1d 	mov  %i5, %o3                                  
    return 0;                                                         
                                                                      
  /*                                                                  
   *  Calculate the number of range of blocks to allocate             
   */                                                                 
  new_blocks = new_length / IMFS_MEMFILE_BYTES_PER_BLOCK;             
 200cdcc:	a2 10 00 09 	mov  %o1, %l1                                  
  old_blocks = the_jnode->info.file.size / IMFS_MEMFILE_BYTES_PER_BLOCK;
 200cdd0:	94 10 00 1b 	mov  %i3, %o2                                  
 200cdd4:	40 00 28 9a 	call  201703c <__divdi3>                       
 200cdd8:	92 10 00 10 	mov  %l0, %o1                                  
 200cddc:	b8 10 00 09 	mov  %o1, %i4                                  
                                                                      
  /*                                                                  
   *  Now allocate each of those blocks.                              
   */                                                                 
  for ( block=old_blocks ; block<=new_blocks ; block++ ) {            
 200cde0:	10 80 00 15 	b  200ce34 <IMFS_memfile_extend+0x110>         
 200cde4:	ba 10 00 09 	mov  %o1, %i5                                  
    if ( IMFS_memfile_addblock( the_jnode, block ) ) {                
 200cde8:	7f ff ff 48 	call  200cb08 <IMFS_memfile_addblock>          
 200cdec:	92 10 00 1d 	mov  %i5, %o1                                  
 200cdf0:	80 a2 20 00 	cmp  %o0, 0                                    
 200cdf4:	22 80 00 10 	be,a   200ce34 <IMFS_memfile_extend+0x110>     
 200cdf8:	ba 07 60 01 	inc  %i5                                       
       for ( ; block>=old_blocks ; block-- ) {                        
 200cdfc:	10 80 00 06 	b  200ce14 <IMFS_memfile_extend+0xf0>          
 200ce00:	80 a7 40 1c 	cmp  %i5, %i4                                  
         IMFS_memfile_remove_block( the_jnode, block );               
 200ce04:	90 10 00 18 	mov  %i0, %o0                                  
 200ce08:	7f ff ff bb 	call  200ccf4 <IMFS_memfile_remove_block>      
 200ce0c:	ba 07 7f ff 	add  %i5, -1, %i5                              
  /*                                                                  
   *  Now allocate each of those blocks.                              
   */                                                                 
  for ( block=old_blocks ; block<=new_blocks ; block++ ) {            
    if ( IMFS_memfile_addblock( the_jnode, block ) ) {                
       for ( ; block>=old_blocks ; block-- ) {                        
 200ce10:	80 a7 40 1c 	cmp  %i5, %i4                                  
 200ce14:	1a bf ff fc 	bcc  200ce04 <IMFS_memfile_extend+0xe0>        
 200ce18:	92 10 00 1d 	mov  %i5, %o1                                  
         IMFS_memfile_remove_block( the_jnode, block );               
       }                                                              
       rtems_set_errno_and_return_minus_one( ENOSPC );                
 200ce1c:	40 00 03 b6 	call  200dcf4 <__errno>                        
 200ce20:	01 00 00 00 	nop                                            
 200ce24:	82 10 20 1c 	mov  0x1c, %g1	! 1c <PROM_START+0x1c>          
 200ce28:	c2 22 00 00 	st  %g1, [ %o0 ]                               
 200ce2c:	81 c7 e0 08 	ret                                            
 200ce30:	91 e8 3f ff 	restore  %g0, -1, %o0                          
  old_blocks = the_jnode->info.file.size / IMFS_MEMFILE_BYTES_PER_BLOCK;
                                                                      
  /*                                                                  
   *  Now allocate each of those blocks.                              
   */                                                                 
  for ( block=old_blocks ; block<=new_blocks ; block++ ) {            
 200ce34:	80 a7 40 11 	cmp  %i5, %l1                                  
 200ce38:	08 bf ff ec 	bleu  200cde8 <IMFS_memfile_extend+0xc4>       
 200ce3c:	90 10 00 18 	mov  %i0, %o0                                  
  }                                                                   
                                                                      
  /*                                                                  
   *  Set the new length of the file.                                 
   */                                                                 
  the_jnode->info.file.size = new_length;                             
 200ce40:	f2 26 20 50 	st  %i1, [ %i0 + 0x50 ]                        
 200ce44:	f4 26 20 54 	st  %i2, [ %i0 + 0x54 ]                        
                                                                      
  IMFS_update_ctime(the_jnode);                                       
 200ce48:	92 10 20 00 	clr  %o1                                       
 200ce4c:	7f ff d8 0c 	call  2002e7c <gettimeofday>                   
 200ce50:	90 07 bf f8 	add  %fp, -8, %o0                              
 200ce54:	c2 07 bf f8 	ld  [ %fp + -8 ], %g1                          
  IMFS_update_mtime(the_jnode);                                       
 200ce58:	90 07 bf f8 	add  %fp, -8, %o0                              
  /*                                                                  
   *  Set the new length of the file.                                 
   */                                                                 
  the_jnode->info.file.size = new_length;                             
                                                                      
  IMFS_update_ctime(the_jnode);                                       
 200ce5c:	c2 26 20 48 	st  %g1, [ %i0 + 0x48 ]                        
  IMFS_update_mtime(the_jnode);                                       
 200ce60:	7f ff d8 07 	call  2002e7c <gettimeofday>                   
 200ce64:	92 10 20 00 	clr  %o1                                       
 200ce68:	c2 07 bf f8 	ld  [ %fp + -8 ], %g1                          
 200ce6c:	c2 26 20 44 	st  %g1, [ %i0 + 0x44 ]                        
  return 0;                                                           
 200ce70:	81 c7 e0 08 	ret                                            
 200ce74:	91 e8 20 00 	restore  %g0, 0, %o0                           
}                                                                     
 200ce78:	81 c7 e0 08 	ret                                            
 200ce7c:	91 e8 20 00 	restore  %g0, 0, %o0                           
                                                                      

0200c67c <IMFS_memfile_get_block_pointer>: #endif IMFS_jnode_t *the_jnode, unsigned int block, int malloc_it ) {
 200c67c:	9d e3 bf a0 	save  %sp, -96, %sp                            
  my_block = block;                                                   
                                                                      
  /*                                                                  
   *  Is the block number in the simple indirect portion?             
   */                                                                 
  if ( my_block <= LAST_INDIRECT ) {                                  
 200c680:	03 00 80 6c 	sethi  %hi(0x201b000), %g1                     
 200c684:	f8 00 60 cc 	ld  [ %g1 + 0xcc ], %i4	! 201b0cc <imfs_memfile_bytes_per_block>
 200c688:	b9 37 20 02 	srl  %i4, 2, %i4                               
 200c68c:	82 07 3f ff 	add  %i4, -1, %g1                              
 200c690:	80 a6 40 01 	cmp  %i1, %g1                                  
 200c694:	18 80 00 18 	bgu  200c6f4 <IMFS_memfile_get_block_pointer+0x78>
 200c698:	ba 10 00 18 	mov  %i0, %i5                                  
    p = info->indirect;                                               
                                                                      
    if ( malloc_it ) {                                                
 200c69c:	80 a6 a0 00 	cmp  %i2, 0                                    
 200c6a0:	02 80 00 0f 	be  200c6dc <IMFS_memfile_get_block_pointer+0x60>
 200c6a4:	c2 06 20 58 	ld  [ %i0 + 0x58 ], %g1                        
                                                                      
      if ( !p ) {                                                     
 200c6a8:	80 a0 60 00 	cmp  %g1, 0                                    
 200c6ac:	32 80 00 09 	bne,a   200c6d0 <IMFS_memfile_get_block_pointer+0x54>
 200c6b0:	f0 07 60 58 	ld  [ %i5 + 0x58 ], %i0                        
        p = memfile_alloc_block();                                    
 200c6b4:	7f ff ff e5 	call  200c648 <memfile_alloc_block>            
 200c6b8:	b0 10 20 00 	clr  %i0                                       
        if ( !p )                                                     
 200c6bc:	80 a2 20 00 	cmp  %o0, 0                                    
 200c6c0:	02 80 00 8a 	be  200c8e8 <IMFS_memfile_get_block_pointer+0x26c><== NEVER TAKEN
 200c6c4:	01 00 00 00 	nop                                            
           return 0;                                                  
        info->indirect = p;                                           
 200c6c8:	d0 27 60 58 	st  %o0, [ %i5 + 0x58 ]                        
      }                                                               
      return &info->indirect[ my_block ];                             
 200c6cc:	f0 07 60 58 	ld  [ %i5 + 0x58 ], %i0                        
 200c6d0:	b3 2e 60 02 	sll  %i1, 2, %i1                               
 200c6d4:	81 c7 e0 08 	ret                                            
 200c6d8:	91 ee 00 19 	restore  %i0, %i1, %o0                         
    }                                                                 
                                                                      
    if ( !p )                                                         
 200c6dc:	80 a0 60 00 	cmp  %g1, 0                                    
 200c6e0:	02 80 00 82 	be  200c8e8 <IMFS_memfile_get_block_pointer+0x26c><== NEVER TAKEN
 200c6e4:	b0 10 20 00 	clr  %i0                                       
      return 0;                                                       
                                                                      
    return &info->indirect[ my_block ];                               
 200c6e8:	b3 2e 60 02 	sll  %i1, 2, %i1                               
 200c6ec:	81 c7 e0 08 	ret                                            
 200c6f0:	91 e8 40 19 	restore  %g1, %i1, %o0                         
                                                                      
  /*                                                                  
   *  Is the block number in the doubly indirect portion?             
   */                                                                 
                                                                      
  if ( my_block <= LAST_DOUBLY_INDIRECT ) {                           
 200c6f4:	90 07 20 01 	add  %i4, 1, %o0                               
 200c6f8:	40 00 28 bf 	call  20169f4 <.umul>                          
 200c6fc:	92 10 00 1c 	mov  %i4, %o1                                  
 200c700:	82 02 3f ff 	add  %o0, -1, %g1                              
 200c704:	80 a6 40 01 	cmp  %i1, %g1                                  
 200c708:	18 80 00 2f 	bgu  200c7c4 <IMFS_memfile_get_block_pointer+0x148>
 200c70c:	b6 10 00 08 	mov  %o0, %i3                                  
    my_block -= FIRST_DOUBLY_INDIRECT;                                
 200c710:	b2 26 40 1c 	sub  %i1, %i4, %i1                             
                                                                      
    singly = my_block % IMFS_MEMFILE_BLOCK_SLOTS;                     
 200c714:	92 10 00 1c 	mov  %i4, %o1                                  
 200c718:	40 00 29 9d 	call  2016d8c <.urem>                          
 200c71c:	90 10 00 19 	mov  %i1, %o0                                  
    doubly = my_block / IMFS_MEMFILE_BLOCK_SLOTS;                     
 200c720:	92 10 00 1c 	mov  %i4, %o1                                  
   */                                                                 
                                                                      
  if ( my_block <= LAST_DOUBLY_INDIRECT ) {                           
    my_block -= FIRST_DOUBLY_INDIRECT;                                
                                                                      
    singly = my_block % IMFS_MEMFILE_BLOCK_SLOTS;                     
 200c724:	b6 10 00 08 	mov  %o0, %i3                                  
    doubly = my_block / IMFS_MEMFILE_BLOCK_SLOTS;                     
 200c728:	40 00 28 ed 	call  2016adc <.udiv>                          
 200c72c:	90 10 00 19 	mov  %i1, %o0                                  
                                                                      
    p = info->doubly_indirect;                                        
    if ( malloc_it ) {                                                
 200c730:	80 a6 a0 00 	cmp  %i2, 0                                    
                                                                      
  if ( my_block <= LAST_DOUBLY_INDIRECT ) {                           
    my_block -= FIRST_DOUBLY_INDIRECT;                                
                                                                      
    singly = my_block % IMFS_MEMFILE_BLOCK_SLOTS;                     
    doubly = my_block / IMFS_MEMFILE_BLOCK_SLOTS;                     
 200c734:	b8 10 00 08 	mov  %o0, %i4                                  
                                                                      
    p = info->doubly_indirect;                                        
    if ( malloc_it ) {                                                
 200c738:	02 80 00 18 	be  200c798 <IMFS_memfile_get_block_pointer+0x11c>
 200c73c:	d0 06 20 5c 	ld  [ %i0 + 0x5c ], %o0                        
                                                                      
      if ( !p ) {                                                     
 200c740:	80 a2 20 00 	cmp  %o0, 0                                    
 200c744:	32 80 00 08 	bne,a   200c764 <IMFS_memfile_get_block_pointer+0xe8>
 200c748:	b9 2f 20 02 	sll  %i4, 2, %i4                               
        p = memfile_alloc_block();                                    
 200c74c:	7f ff ff bf 	call  200c648 <memfile_alloc_block>            
 200c750:	b0 10 20 00 	clr  %i0                                       
        if ( !p )                                                     
 200c754:	80 a2 20 00 	cmp  %o0, 0                                    
 200c758:	02 80 00 64 	be  200c8e8 <IMFS_memfile_get_block_pointer+0x26c><== NEVER TAKEN
 200c75c:	b9 2f 20 02 	sll  %i4, 2, %i4                               
           return 0;                                                  
        info->doubly_indirect = p;                                    
 200c760:	d0 27 60 5c 	st  %o0, [ %i5 + 0x5c ]                        
      }                                                               
                                                                      
      p1 = (block_p *)p[ doubly ];                                    
 200c764:	ba 02 00 1c 	add  %o0, %i4, %i5                             
 200c768:	d0 02 00 1c 	ld  [ %o0 + %i4 ], %o0                         
      if ( !p1 ) {                                                    
 200c76c:	80 a2 20 00 	cmp  %o0, 0                                    
 200c770:	12 80 00 4f 	bne  200c8ac <IMFS_memfile_get_block_pointer+0x230>
 200c774:	b1 2e e0 02 	sll  %i3, 2, %i0                               
        p1 = memfile_alloc_block();                                   
 200c778:	7f ff ff b4 	call  200c648 <memfile_alloc_block>            
 200c77c:	b0 10 20 00 	clr  %i0                                       
        if ( !p1 )                                                    
 200c780:	80 a2 20 00 	cmp  %o0, 0                                    
 200c784:	02 80 00 59 	be  200c8e8 <IMFS_memfile_get_block_pointer+0x26c><== NEVER TAKEN
 200c788:	01 00 00 00 	nop                                            
           return 0;                                                  
        p[ doubly ] = (block_p) p1;                                   
 200c78c:	d0 27 40 00 	st  %o0, [ %i5 ]                               
      }                                                               
                                                                      
      return (block_p *)&p1[ singly ];                                
 200c790:	10 80 00 47 	b  200c8ac <IMFS_memfile_get_block_pointer+0x230>
 200c794:	b1 2e e0 02 	sll  %i3, 2, %i0                               
    }                                                                 
                                                                      
    if ( !p )                                                         
 200c798:	80 a2 20 00 	cmp  %o0, 0                                    
 200c79c:	02 80 00 53 	be  200c8e8 <IMFS_memfile_get_block_pointer+0x26c><== NEVER TAKEN
 200c7a0:	b0 10 20 00 	clr  %i0                                       
      return 0;                                                       
                                                                      
    p = (block_p *)p[ doubly ];                                       
 200c7a4:	b9 2f 20 02 	sll  %i4, 2, %i4                               
 200c7a8:	c2 02 00 1c 	ld  [ %o0 + %i4 ], %g1                         
    if ( !p )                                                         
 200c7ac:	80 a0 60 00 	cmp  %g1, 0                                    
 200c7b0:	02 80 00 4e 	be  200c8e8 <IMFS_memfile_get_block_pointer+0x26c><== NEVER TAKEN
 200c7b4:	01 00 00 00 	nop                                            
      return 0;                                                       
                                                                      
    return (block_p *)&p[ singly ];                                   
 200c7b8:	b1 2e e0 02 	sll  %i3, 2, %i0                               
 200c7bc:	81 c7 e0 08 	ret                                            
 200c7c0:	91 e8 40 18 	restore  %g1, %i0, %o0                         
  }                                                                   
                                                                      
  /*                                                                  
   *  Is the block number in the triply indirect portion?             
   */                                                                 
  if ( my_block <= LAST_TRIPLY_INDIRECT ) {                           
 200c7c4:	90 02 20 01 	inc  %o0                                       
 200c7c8:	40 00 28 8b 	call  20169f4 <.umul>                          
 200c7cc:	92 10 00 1c 	mov  %i4, %o1                                  
 200c7d0:	90 02 3f ff 	add  %o0, -1, %o0                              
 200c7d4:	80 a6 40 08 	cmp  %i1, %o0                                  
 200c7d8:	18 80 00 44 	bgu  200c8e8 <IMFS_memfile_get_block_pointer+0x26c><== NEVER TAKEN
 200c7dc:	b0 10 20 00 	clr  %i0                                       
    my_block -= FIRST_TRIPLY_INDIRECT;                                
 200c7e0:	b2 26 40 1b 	sub  %i1, %i3, %i1                             
                                                                      
    singly = my_block % IMFS_MEMFILE_BLOCK_SLOTS;                     
 200c7e4:	92 10 00 1c 	mov  %i4, %o1                                  
 200c7e8:	40 00 29 69 	call  2016d8c <.urem>                          
 200c7ec:	90 10 00 19 	mov  %i1, %o0                                  
    doubly = my_block / IMFS_MEMFILE_BLOCK_SLOTS;                     
 200c7f0:	92 10 00 1c 	mov  %i4, %o1                                  
   *  Is the block number in the triply indirect portion?             
   */                                                                 
  if ( my_block <= LAST_TRIPLY_INDIRECT ) {                           
    my_block -= FIRST_TRIPLY_INDIRECT;                                
                                                                      
    singly = my_block % IMFS_MEMFILE_BLOCK_SLOTS;                     
 200c7f4:	a0 10 00 08 	mov  %o0, %l0                                  
    doubly = my_block / IMFS_MEMFILE_BLOCK_SLOTS;                     
 200c7f8:	40 00 28 b9 	call  2016adc <.udiv>                          
 200c7fc:	90 10 00 19 	mov  %i1, %o0                                  
    triply = doubly / IMFS_MEMFILE_BLOCK_SLOTS;                       
 200c800:	92 10 00 1c 	mov  %i4, %o1                                  
 200c804:	40 00 28 b6 	call  2016adc <.udiv>                          
 200c808:	b2 10 00 08 	mov  %o0, %i1                                  
    doubly %= IMFS_MEMFILE_BLOCK_SLOTS;                               
 200c80c:	92 10 00 1c 	mov  %i4, %o1                                  
  if ( my_block <= LAST_TRIPLY_INDIRECT ) {                           
    my_block -= FIRST_TRIPLY_INDIRECT;                                
                                                                      
    singly = my_block % IMFS_MEMFILE_BLOCK_SLOTS;                     
    doubly = my_block / IMFS_MEMFILE_BLOCK_SLOTS;                     
    triply = doubly / IMFS_MEMFILE_BLOCK_SLOTS;                       
 200c810:	b6 10 00 08 	mov  %o0, %i3                                  
    doubly %= IMFS_MEMFILE_BLOCK_SLOTS;                               
 200c814:	40 00 29 5e 	call  2016d8c <.urem>                          
 200c818:	90 10 00 19 	mov  %i1, %o0                                  
                                                                      
    p = info->triply_indirect;                                        
                                                                      
    if ( malloc_it ) {                                                
 200c81c:	80 a6 a0 00 	cmp  %i2, 0                                    
    my_block -= FIRST_TRIPLY_INDIRECT;                                
                                                                      
    singly = my_block % IMFS_MEMFILE_BLOCK_SLOTS;                     
    doubly = my_block / IMFS_MEMFILE_BLOCK_SLOTS;                     
    triply = doubly / IMFS_MEMFILE_BLOCK_SLOTS;                       
    doubly %= IMFS_MEMFILE_BLOCK_SLOTS;                               
 200c820:	b8 10 00 08 	mov  %o0, %i4                                  
                                                                      
    p = info->triply_indirect;                                        
                                                                      
    if ( malloc_it ) {                                                
 200c824:	02 80 00 24 	be  200c8b4 <IMFS_memfile_get_block_pointer+0x238>
 200c828:	d0 07 60 60 	ld  [ %i5 + 0x60 ], %o0                        
      if ( !p ) {                                                     
 200c82c:	80 a2 20 00 	cmp  %o0, 0                                    
 200c830:	12 80 00 08 	bne  200c850 <IMFS_memfile_get_block_pointer+0x1d4>
 200c834:	b7 2e e0 02 	sll  %i3, 2, %i3                               
        p = memfile_alloc_block();                                    
 200c838:	7f ff ff 84 	call  200c648 <memfile_alloc_block>            
 200c83c:	01 00 00 00 	nop                                            
        if ( !p )                                                     
 200c840:	80 a2 20 00 	cmp  %o0, 0                                    
 200c844:	02 80 00 29 	be  200c8e8 <IMFS_memfile_get_block_pointer+0x26c><== NEVER TAKEN
 200c848:	01 00 00 00 	nop                                            
           return 0;                                                  
        info->triply_indirect = p;                                    
 200c84c:	d0 27 60 60 	st  %o0, [ %i5 + 0x60 ]                        
      }                                                               
                                                                      
      p1 = (block_p *) p[ triply ];                                   
 200c850:	ba 02 00 1b 	add  %o0, %i3, %i5                             
 200c854:	d0 02 00 1b 	ld  [ %o0 + %i3 ], %o0                         
      if ( !p1 ) {                                                    
 200c858:	80 a2 20 00 	cmp  %o0, 0                                    
 200c85c:	32 80 00 08 	bne,a   200c87c <IMFS_memfile_get_block_pointer+0x200>
 200c860:	b9 2f 20 02 	sll  %i4, 2, %i4                               
        p1 = memfile_alloc_block();                                   
 200c864:	7f ff ff 79 	call  200c648 <memfile_alloc_block>            
 200c868:	b0 10 20 00 	clr  %i0                                       
        if ( !p1 )                                                    
 200c86c:	80 a2 20 00 	cmp  %o0, 0                                    
 200c870:	02 80 00 1e 	be  200c8e8 <IMFS_memfile_get_block_pointer+0x26c><== NEVER TAKEN
 200c874:	b9 2f 20 02 	sll  %i4, 2, %i4                               
           return 0;                                                  
        p[ triply ] = (block_p) p1;                                   
 200c878:	d0 27 40 00 	st  %o0, [ %i5 ]                               
      }                                                               
                                                                      
      p2 = (block_p *)p1[ doubly ];                                   
 200c87c:	ba 02 00 1c 	add  %o0, %i4, %i5                             
 200c880:	d0 02 00 1c 	ld  [ %o0 + %i4 ], %o0                         
      if ( !p2 ) {                                                    
 200c884:	80 a2 20 00 	cmp  %o0, 0                                    
 200c888:	12 80 00 09 	bne  200c8ac <IMFS_memfile_get_block_pointer+0x230>
 200c88c:	b1 2c 20 02 	sll  %l0, 2, %i0                               
        p2 = memfile_alloc_block();                                   
 200c890:	7f ff ff 6e 	call  200c648 <memfile_alloc_block>            
 200c894:	b0 10 20 00 	clr  %i0                                       
        if ( !p2 )                                                    
 200c898:	80 a2 20 00 	cmp  %o0, 0                                    
 200c89c:	02 80 00 13 	be  200c8e8 <IMFS_memfile_get_block_pointer+0x26c><== NEVER TAKEN
 200c8a0:	01 00 00 00 	nop                                            
           return 0;                                                  
        p1[ doubly ] = (block_p) p2;                                  
 200c8a4:	d0 27 40 00 	st  %o0, [ %i5 ]                               
      }                                                               
      return (block_p *)&p2[ singly ];                                
 200c8a8:	b1 2c 20 02 	sll  %l0, 2, %i0                               
 200c8ac:	81 c7 e0 08 	ret                                            
 200c8b0:	91 ea 00 18 	restore  %o0, %i0, %o0                         
    }                                                                 
                                                                      
    if ( !p )                                                         
 200c8b4:	80 a2 20 00 	cmp  %o0, 0                                    
 200c8b8:	02 80 00 0c 	be  200c8e8 <IMFS_memfile_get_block_pointer+0x26c><== NEVER TAKEN
 200c8bc:	b7 2e e0 02 	sll  %i3, 2, %i3                               
      return 0;                                                       
                                                                      
    p1 = (block_p *) p[ triply ];                                     
 200c8c0:	c2 02 00 1b 	ld  [ %o0 + %i3 ], %g1                         
    if ( !p1 )                                                        
 200c8c4:	80 a0 60 00 	cmp  %g1, 0                                    
 200c8c8:	02 80 00 08 	be  200c8e8 <IMFS_memfile_get_block_pointer+0x26c><== NEVER TAKEN
 200c8cc:	b9 2f 20 02 	sll  %i4, 2, %i4                               
      return 0;                                                       
                                                                      
    p2 = (block_p *)p1[ doubly ];                                     
 200c8d0:	c2 00 40 1c 	ld  [ %g1 + %i4 ], %g1                         
    if ( !p2 )                                                        
 200c8d4:	80 a0 60 00 	cmp  %g1, 0                                    
 200c8d8:	02 80 00 04 	be  200c8e8 <IMFS_memfile_get_block_pointer+0x26c><== NEVER TAKEN
 200c8dc:	01 00 00 00 	nop                                            
      return 0;                                                       
                                                                      
    return (block_p *)&p2[ singly ];                                  
 200c8e0:	b1 2c 20 02 	sll  %l0, 2, %i0                               
 200c8e4:	b0 00 40 18 	add  %g1, %i0, %i0                             
                                                                      
  /*                                                                  
   *  This means the requested block number is out of range.          
   */                                                                 
  return 0;                                                           
}                                                                     
 200c8e8:	81 c7 e0 08 	ret                                            
 200c8ec:	81 e8 00 00 	restore                                        
                                                                      

0200c8f0 <IMFS_memfile_read>: IMFS_jnode_t *the_jnode, off_t start, unsigned char *destination, unsigned int length ) {
 200c8f0:	9d e3 bf 98 	save  %sp, -104, %sp                           
   *  Linear files (as created from a tar file are easier to handle   
   *  than block files).                                              
   */                                                                 
  my_length = length;                                                 
                                                                      
  if (the_jnode->type == IMFS_LINEAR_FILE) {                          
 200c8f4:	c2 06 20 4c 	ld  [ %i0 + 0x4c ], %g1                        
   IMFS_jnode_t    *the_jnode,                                        
   off_t            start,                                            
   unsigned char   *destination,                                      
   unsigned int     length                                            
)                                                                     
{                                                                     
 200c8f8:	ba 10 00 18 	mov  %i0, %i5                                  
 200c8fc:	a0 10 00 19 	mov  %i1, %l0                                  
   *  Linear files (as created from a tar file are easier to handle   
   *  than block files).                                              
   */                                                                 
  my_length = length;                                                 
                                                                      
  if (the_jnode->type == IMFS_LINEAR_FILE) {                          
 200c900:	80 a0 60 06 	cmp  %g1, 6                                    
 200c904:	12 80 00 1c 	bne  200c974 <IMFS_memfile_read+0x84>          
 200c908:	a2 10 00 1a 	mov  %i2, %l1                                  
    unsigned char  *file_ptr;                                         
                                                                      
    file_ptr = (unsigned char *)the_jnode->info.linearfile.direct;    
                                                                      
    if (my_length > (the_jnode->info.linearfile.size - start))        
 200c90c:	d8 1e 20 50 	ldd  [ %i0 + 0x50 ], %o4                       
 200c910:	82 10 20 00 	clr  %g1                                       
 200c914:	86 a3 40 1a 	subcc  %o5, %i2, %g3                           
 200c918:	84 63 00 19 	subx  %o4, %i1, %g2                            
 200c91c:	80 a0 40 02 	cmp  %g1, %g2                                  
 200c920:	14 80 00 07 	bg  200c93c <IMFS_memfile_read+0x4c>           <== NEVER TAKEN
 200c924:	d2 06 20 58 	ld  [ %i0 + 0x58 ], %o1                        
 200c928:	80 a0 40 02 	cmp  %g1, %g2                                  
 200c92c:	12 80 00 06 	bne  200c944 <IMFS_memfile_read+0x54>          <== NEVER TAKEN
 200c930:	80 a7 00 03 	cmp  %i4, %g3                                  
 200c934:	28 80 00 05 	bleu,a   200c948 <IMFS_memfile_read+0x58>      <== NEVER TAKEN
 200c938:	b0 10 00 1c 	mov  %i4, %i0                                  <== NOT EXECUTED
      my_length = the_jnode->info.linearfile.size - start;            
 200c93c:	10 80 00 03 	b  200c948 <IMFS_memfile_read+0x58>            
 200c940:	b0 23 40 11 	sub  %o5, %l1, %i0                             
                                                                      
  /*                                                                  
   *  Linear files (as created from a tar file are easier to handle   
   *  than block files).                                              
   */                                                                 
  my_length = length;                                                 
 200c944:	b0 10 00 1c 	mov  %i4, %i0                                  <== NOT EXECUTED
    file_ptr = (unsigned char *)the_jnode->info.linearfile.direct;    
                                                                      
    if (my_length > (the_jnode->info.linearfile.size - start))        
      my_length = the_jnode->info.linearfile.size - start;            
                                                                      
    memcpy(dest, &file_ptr[start], my_length);                        
 200c948:	92 02 40 11 	add  %o1, %l1, %o1                             
 200c94c:	94 10 00 18 	mov  %i0, %o2                                  
 200c950:	40 00 07 45 	call  200e664 <memcpy>                         
 200c954:	90 10 00 1b 	mov  %i3, %o0                                  
                                                                      
    IMFS_update_atime( the_jnode );                                   
 200c958:	90 07 bf f8 	add  %fp, -8, %o0                              
 200c95c:	7f ff d9 48 	call  2002e7c <gettimeofday>                   
 200c960:	92 10 20 00 	clr  %o1                                       
 200c964:	c2 07 bf f8 	ld  [ %fp + -8 ], %g1                          
 200c968:	c2 27 60 40 	st  %g1, [ %i5 + 0x40 ]                        
                                                                      
    return my_length;                                                 
 200c96c:	81 c7 e0 08 	ret                                            
 200c970:	81 e8 00 00 	restore                                        
  /*                                                                  
   *  If the last byte we are supposed to read is past the end of this
   *  in memory file, then shorten the length to read.                
   */                                                                 
  last_byte = start + length;                                         
  if ( last_byte > the_jnode->info.file.size )                        
 200c974:	c6 06 20 50 	ld  [ %i0 + 0x50 ], %g3                        
                                                                      
  /*                                                                  
   *  If the last byte we are supposed to read is past the end of this
   *  in memory file, then shorten the length to read.                
   */                                                                 
  last_byte = start + length;                                         
 200c978:	82 10 00 1a 	mov  %i2, %g1                                  
  if ( last_byte > the_jnode->info.file.size )                        
 200c97c:	88 10 20 00 	clr  %g4                                       
 200c980:	c4 06 20 54 	ld  [ %i0 + 0x54 ], %g2                        
 200c984:	80 a1 00 03 	cmp  %g4, %g3                                  
 200c988:	14 80 00 08 	bg  200c9a8 <IMFS_memfile_read+0xb8>           <== NEVER TAKEN
 200c98c:	b4 07 00 1a 	add  %i4, %i2, %i2                             
 200c990:	80 a1 00 03 	cmp  %g4, %g3                                  
 200c994:	32 80 00 07 	bne,a   200c9b0 <IMFS_memfile_read+0xc0>       <== NEVER TAKEN
 200c998:	03 00 80 6c 	sethi  %hi(0x201b000), %g1                     <== NOT EXECUTED
 200c99c:	80 a6 80 02 	cmp  %i2, %g2                                  
 200c9a0:	28 80 00 04 	bleu,a   200c9b0 <IMFS_memfile_read+0xc0>      
 200c9a4:	03 00 80 6c 	sethi  %hi(0x201b000), %g1                     
    my_length = the_jnode->info.file.size - start;                    
 200c9a8:	b8 20 80 01 	sub  %g2, %g1, %i4                             
   */                                                                 
                                                                      
  /*                                                                  
   *  Phase 1: possibly the last part of one block                    
   */                                                                 
  start_offset = start % IMFS_MEMFILE_BYTES_PER_BLOCK;                
 200c9ac:	03 00 80 6c 	sethi  %hi(0x201b000), %g1                     
 200c9b0:	f4 00 60 cc 	ld  [ %g1 + 0xcc ], %i2	! 201b0cc <imfs_memfile_bytes_per_block>
 200c9b4:	90 10 00 10 	mov  %l0, %o0                                  
 200c9b8:	b1 3e a0 1f 	sra  %i2, 0x1f, %i0                            
 200c9bc:	92 10 00 11 	mov  %l1, %o1                                  
 200c9c0:	94 10 00 18 	mov  %i0, %o2                                  
 200c9c4:	40 00 2a 84 	call  20173d4 <__moddi3>                       
 200c9c8:	96 10 00 1a 	mov  %i2, %o3                                  
  block = start / IMFS_MEMFILE_BYTES_PER_BLOCK;                       
 200c9cc:	90 10 00 10 	mov  %l0, %o0                                  
   */                                                                 
                                                                      
  /*                                                                  
   *  Phase 1: possibly the last part of one block                    
   */                                                                 
  start_offset = start % IMFS_MEMFILE_BYTES_PER_BLOCK;                
 200c9d0:	b2 10 00 09 	mov  %o1, %i1                                  
  block = start / IMFS_MEMFILE_BYTES_PER_BLOCK;                       
 200c9d4:	94 10 00 18 	mov  %i0, %o2                                  
 200c9d8:	92 10 00 11 	mov  %l1, %o1                                  
 200c9dc:	40 00 29 98 	call  201703c <__divdi3>                       
 200c9e0:	96 10 00 1a 	mov  %i2, %o3                                  
  unsigned int         last_byte;                                     
  unsigned int         copied;                                        
  unsigned int         start_offset;                                  
  unsigned char       *dest;                                          
                                                                      
  dest = destination;                                                 
 200c9e4:	a2 10 00 1b 	mov  %i3, %l1                                  
                                                                      
  /*                                                                  
   *  Phase 1: possibly the last part of one block                    
   */                                                                 
  start_offset = start % IMFS_MEMFILE_BYTES_PER_BLOCK;                
  block = start / IMFS_MEMFILE_BYTES_PER_BLOCK;                       
 200c9e8:	a0 10 00 09 	mov  %o1, %l0                                  
  if ( start_offset )  {                                              
 200c9ec:	80 a6 60 00 	cmp  %i1, 0                                    
 200c9f0:	02 80 00 14 	be  200ca40 <IMFS_memfile_read+0x150>          
 200c9f4:	b0 10 20 00 	clr  %i0                                       
    to_copy = IMFS_MEMFILE_BYTES_PER_BLOCK - start_offset;            
    if ( to_copy > my_length )                                        
      to_copy = my_length;                                            
    block_ptr = IMFS_memfile_get_block_pointer( the_jnode, block, 0 );
 200c9f8:	90 10 00 1d 	mov  %i5, %o0                                  
 200c9fc:	7f ff ff 20 	call  200c67c <IMFS_memfile_get_block_pointer> 
 200ca00:	94 10 20 00 	clr  %o2                                       
    if ( !block_ptr )                                                 
 200ca04:	80 a2 20 00 	cmp  %o0, 0                                    
 200ca08:	02 bf ff d9 	be  200c96c <IMFS_memfile_read+0x7c>           <== NEVER TAKEN
 200ca0c:	b4 26 80 19 	sub  %i2, %i1, %i2                             
   *  Phase 1: possibly the last part of one block                    
   */                                                                 
  start_offset = start % IMFS_MEMFILE_BYTES_PER_BLOCK;                
  block = start / IMFS_MEMFILE_BYTES_PER_BLOCK;                       
  if ( start_offset )  {                                              
    to_copy = IMFS_MEMFILE_BYTES_PER_BLOCK - start_offset;            
 200ca10:	80 a7 00 1a 	cmp  %i4, %i2                                  
 200ca14:	08 80 00 03 	bleu  200ca20 <IMFS_memfile_read+0x130>        
 200ca18:	b0 10 00 1c 	mov  %i4, %i0                                  
 200ca1c:	b0 10 00 1a 	mov  %i2, %i0                                  
    if ( to_copy > my_length )                                        
      to_copy = my_length;                                            
    block_ptr = IMFS_memfile_get_block_pointer( the_jnode, block, 0 );
    if ( !block_ptr )                                                 
      return copied;                                                  
    memcpy( dest, &(*block_ptr)[ start_offset ], to_copy );           
 200ca20:	d2 02 00 00 	ld  [ %o0 ], %o1                               
 200ca24:	94 10 00 18 	mov  %i0, %o2                                  
 200ca28:	90 10 00 1b 	mov  %i3, %o0                                  
 200ca2c:	92 02 40 19 	add  %o1, %i1, %o1                             
 200ca30:	40 00 07 0d 	call  200e664 <memcpy>                         
 200ca34:	a2 06 c0 18 	add  %i3, %i0, %l1                             
    dest += to_copy;                                                  
    block++;                                                          
 200ca38:	a0 04 20 01 	inc  %l0                                       
    my_length -= to_copy;                                             
 200ca3c:	b8 27 00 18 	sub  %i4, %i0, %i4                             
  }                                                                   
                                                                      
  /*                                                                  
   *  Phase 2: all of zero of more blocks                             
   */                                                                 
  to_copy = IMFS_MEMFILE_BYTES_PER_BLOCK;                             
 200ca40:	35 00 80 6c 	sethi  %hi(0x201b000), %i2                     
  while ( my_length >= IMFS_MEMFILE_BYTES_PER_BLOCK ) {               
 200ca44:	10 80 00 0f 	b  200ca80 <IMFS_memfile_read+0x190>           
 200ca48:	f6 06 a0 cc 	ld  [ %i2 + 0xcc ], %i3	! 201b0cc <imfs_memfile_bytes_per_block>
    block_ptr = IMFS_memfile_get_block_pointer( the_jnode, block, 0 );
 200ca4c:	92 10 00 10 	mov  %l0, %o1                                  
 200ca50:	7f ff ff 0b 	call  200c67c <IMFS_memfile_get_block_pointer> 
 200ca54:	94 10 20 00 	clr  %o2                                       
    if ( !block_ptr )                                                 
 200ca58:	82 92 20 00 	orcc  %o0, 0, %g1                              
 200ca5c:	02 bf ff c4 	be  200c96c <IMFS_memfile_read+0x7c>           <== NEVER TAKEN
 200ca60:	90 10 00 11 	mov  %l1, %o0                                  
      return copied;                                                  
    memcpy( dest, &(*block_ptr)[ 0 ], to_copy );                      
 200ca64:	d2 00 40 00 	ld  [ %g1 ], %o1                               
 200ca68:	94 10 00 1b 	mov  %i3, %o2                                  
 200ca6c:	40 00 06 fe 	call  200e664 <memcpy>                         
 200ca70:	a2 04 40 1b 	add  %l1, %i3, %l1                             
    dest += to_copy;                                                  
    block++;                                                          
 200ca74:	a0 04 20 01 	inc  %l0                                       
    my_length -= to_copy;                                             
 200ca78:	b8 27 00 1b 	sub  %i4, %i3, %i4                             
    copied += to_copy;                                                
 200ca7c:	b0 06 00 1b 	add  %i0, %i3, %i0                             
                                                                      
  /*                                                                  
   *  Phase 2: all of zero of more blocks                             
   */                                                                 
  to_copy = IMFS_MEMFILE_BYTES_PER_BLOCK;                             
  while ( my_length >= IMFS_MEMFILE_BYTES_PER_BLOCK ) {               
 200ca80:	c2 06 a0 cc 	ld  [ %i2 + 0xcc ], %g1                        
 200ca84:	80 a7 00 01 	cmp  %i4, %g1                                  
 200ca88:	1a bf ff f1 	bcc  200ca4c <IMFS_memfile_read+0x15c>         
 200ca8c:	90 10 00 1d 	mov  %i5, %o0                                  
  /*                                                                  
   *  Phase 3: possibly the first part of one block                   
   */                                                                 
  IMFS_assert( my_length < IMFS_MEMFILE_BYTES_PER_BLOCK );            
                                                                      
  if ( my_length ) {                                                  
 200ca90:	80 a7 20 00 	cmp  %i4, 0                                    
 200ca94:	02 80 00 0e 	be  200cacc <IMFS_memfile_read+0x1dc>          
 200ca98:	90 07 bf f8 	add  %fp, -8, %o0                              
    block_ptr = IMFS_memfile_get_block_pointer( the_jnode, block, 0 );
 200ca9c:	90 10 00 1d 	mov  %i5, %o0                                  
 200caa0:	92 10 00 10 	mov  %l0, %o1                                  
 200caa4:	7f ff fe f6 	call  200c67c <IMFS_memfile_get_block_pointer> 
 200caa8:	94 10 20 00 	clr  %o2                                       
    if ( !block_ptr )                                                 
 200caac:	82 92 20 00 	orcc  %o0, 0, %g1                              
 200cab0:	02 bf ff af 	be  200c96c <IMFS_memfile_read+0x7c>           <== NEVER TAKEN
 200cab4:	90 10 00 11 	mov  %l1, %o0                                  
      return copied;                                                  
    memcpy( dest, &(*block_ptr)[ 0 ], my_length );                    
 200cab8:	d2 00 40 00 	ld  [ %g1 ], %o1                               
 200cabc:	94 10 00 1c 	mov  %i4, %o2                                  
 200cac0:	40 00 06 e9 	call  200e664 <memcpy>                         
 200cac4:	b0 07 00 18 	add  %i4, %i0, %i0                             
    copied += my_length;                                              
  }                                                                   
                                                                      
  IMFS_update_atime( the_jnode );                                     
 200cac8:	90 07 bf f8 	add  %fp, -8, %o0                              
 200cacc:	7f ff d8 ec 	call  2002e7c <gettimeofday>                   
 200cad0:	92 10 20 00 	clr  %o1                                       
 200cad4:	c2 07 bf f8 	ld  [ %fp + -8 ], %g1                          
 200cad8:	c2 27 60 40 	st  %g1, [ %i5 + 0x40 ]                        
                                                                      
  return copied;                                                      
}                                                                     
 200cadc:	81 c7 e0 08 	ret                                            
 200cae0:	81 e8 00 00 	restore                                        
                                                                      

0200cbc4 <IMFS_memfile_remove>: * is better to stick to simple, easy to understand algorithms. */ int IMFS_memfile_remove( IMFS_jnode_t *the_jnode ) {
 200cbc4:	9d e3 bf a0 	save  %sp, -96, %sp                            
                                                                      
  /*                                                                  
   *  Eventually this could be set smarter at each call to            
   *  memfile_free_blocks_in_table to greatly speed this up.          
   */                                                                 
  to_free = IMFS_MEMFILE_BLOCK_SLOTS;                                 
 200cbc8:	03 00 80 6c 	sethi  %hi(0x201b000), %g1                     
 200cbcc:	fa 00 60 cc 	ld  [ %g1 + 0xcc ], %i5	! 201b0cc <imfs_memfile_bytes_per_block>
   *    + doubly indirect                                             
   *    + triply indirect                                             
   */                                                                 
  info = &the_jnode->info.file;                                       
                                                                      
  if ( info->indirect ) {                                             
 200cbd0:	c2 06 20 58 	ld  [ %i0 + 0x58 ], %g1                        
 200cbd4:	80 a0 60 00 	cmp  %g1, 0                                    
 200cbd8:	02 80 00 05 	be  200cbec <IMFS_memfile_remove+0x28>         
 200cbdc:	bb 37 60 02 	srl  %i5, 2, %i5                               
    memfile_free_blocks_in_table( &info->indirect, to_free );         
 200cbe0:	90 06 20 58 	add  %i0, 0x58, %o0                            
 200cbe4:	7f ff ff e5 	call  200cb78 <memfile_free_blocks_in_table>   
 200cbe8:	92 10 00 1d 	mov  %i5, %o1                                  
  }                                                                   
                                                                      
  if ( info->doubly_indirect ) {                                      
 200cbec:	c2 06 20 5c 	ld  [ %i0 + 0x5c ], %g1                        
 200cbf0:	b8 10 20 00 	clr  %i4                                       
 200cbf4:	80 a0 60 00 	cmp  %g1, 0                                    
 200cbf8:	12 80 00 0d 	bne  200cc2c <IMFS_memfile_remove+0x68>        
 200cbfc:	37 00 80 6c 	sethi  %hi(0x201b000), %i3                     
    }                                                                 
    memfile_free_blocks_in_table( &info->doubly_indirect, to_free );  
                                                                      
  }                                                                   
                                                                      
  if ( info->triply_indirect ) {                                      
 200cc00:	10 80 00 15 	b  200cc54 <IMFS_memfile_remove+0x90>          
 200cc04:	c2 06 20 60 	ld  [ %i0 + 0x60 ], %g1                        
 *         a significant difference in the performance of this routine.
 *                                                                    
 *         Regardless until the IMFS implementation is proven, it     
 *         is better to stick to simple, easy to understand algorithms.
 */                                                                   
int IMFS_memfile_remove(                                              
 200cc08:	83 2f 20 02 	sll  %i4, 2, %g1                               
    memfile_free_blocks_in_table( &info->indirect, to_free );         
  }                                                                   
                                                                      
  if ( info->doubly_indirect ) {                                      
    for ( i=0 ; i<IMFS_MEMFILE_BLOCK_SLOTS ; i++ ) {                  
      if ( info->doubly_indirect[i] ) {                               
 200cc0c:	90 00 80 01 	add  %g2, %g1, %o0                             
 200cc10:	c2 00 80 01 	ld  [ %g2 + %g1 ], %g1                         
 200cc14:	80 a0 60 00 	cmp  %g1, 0                                    
 200cc18:	22 80 00 05 	be,a   200cc2c <IMFS_memfile_remove+0x68>      <== NEVER TAKEN
 200cc1c:	b8 07 20 01 	inc  %i4                                       <== NOT EXECUTED
        memfile_free_blocks_in_table(                                 
 200cc20:	7f ff ff d6 	call  200cb78 <memfile_free_blocks_in_table>   
 200cc24:	92 10 00 1d 	mov  %i5, %o1                                  
  if ( info->indirect ) {                                             
    memfile_free_blocks_in_table( &info->indirect, to_free );         
  }                                                                   
                                                                      
  if ( info->doubly_indirect ) {                                      
    for ( i=0 ; i<IMFS_MEMFILE_BLOCK_SLOTS ; i++ ) {                  
 200cc28:	b8 07 20 01 	inc  %i4                                       
 200cc2c:	c2 06 e0 cc 	ld  [ %i3 + 0xcc ], %g1                        
 200cc30:	83 30 60 02 	srl  %g1, 2, %g1                               
 200cc34:	80 a7 00 01 	cmp  %i4, %g1                                  
 200cc38:	2a bf ff f4 	bcs,a   200cc08 <IMFS_memfile_remove+0x44>     
 200cc3c:	c4 06 20 5c 	ld  [ %i0 + 0x5c ], %g2                        
      if ( info->doubly_indirect[i] ) {                               
        memfile_free_blocks_in_table(                                 
         (block_p **)&info->doubly_indirect[i], to_free );            
      }                                                               
    }                                                                 
    memfile_free_blocks_in_table( &info->doubly_indirect, to_free );  
 200cc40:	90 06 20 5c 	add  %i0, 0x5c, %o0                            
 200cc44:	7f ff ff cd 	call  200cb78 <memfile_free_blocks_in_table>   
 200cc48:	92 10 00 1d 	mov  %i5, %o1                                  
                                                                      
  }                                                                   
                                                                      
  if ( info->triply_indirect ) {                                      
 200cc4c:	c2 06 20 60 	ld  [ %i0 + 0x60 ], %g1                        
 200cc50:	b8 10 20 00 	clr  %i4                                       
 200cc54:	80 a0 60 00 	cmp  %g1, 0                                    
 200cc58:	12 80 00 1c 	bne  200ccc8 <IMFS_memfile_remove+0x104>       
 200cc5c:	33 00 80 6c 	sethi  %hi(0x201b000), %i1                     
    memfile_free_blocks_in_table(                                     
        (block_p **)&info->triply_indirect, to_free );                
  }                                                                   
                                                                      
  return 0;                                                           
}                                                                     
 200cc60:	81 c7 e0 08 	ret                                            
 200cc64:	91 e8 20 00 	restore  %g0, 0, %o0                           
 *         a significant difference in the performance of this routine.
 *                                                                    
 *         Regardless until the IMFS implementation is proven, it     
 *         is better to stick to simple, easy to understand algorithms.
 */                                                                   
int IMFS_memfile_remove(                                              
 200cc68:	a1 2f 20 02 	sll  %i4, 2, %l0                               
                                                                      
  }                                                                   
                                                                      
  if ( info->triply_indirect ) {                                      
    for ( i=0 ; i<IMFS_MEMFILE_BLOCK_SLOTS ; i++ ) {                  
      p = (block_p *) info->triply_indirect[i];                       
 200cc6c:	f6 00 40 10 	ld  [ %g1 + %l0 ], %i3                         
      if ( !p )  /* ensure we have a valid pointer */                 
 200cc70:	80 a6 e0 00 	cmp  %i3, 0                                    
 200cc74:	02 80 00 1b 	be  200cce0 <IMFS_memfile_remove+0x11c>        <== NEVER TAKEN
 200cc78:	90 06 20 60 	add  %i0, 0x60, %o0                            
 200cc7c:	10 80 00 09 	b  200cca0 <IMFS_memfile_remove+0xdc>          
 200cc80:	b4 10 20 00 	clr  %i2                                       
         break;                                                       
      for ( j=0 ; j<IMFS_MEMFILE_BLOCK_SLOTS ; j++ ) {                
        if ( p[j] ) {                                                 
 200cc84:	80 a0 60 00 	cmp  %g1, 0                                    
 200cc88:	02 80 00 04 	be  200cc98 <IMFS_memfile_remove+0xd4>         <== NEVER TAKEN
 200cc8c:	90 10 00 1b 	mov  %i3, %o0                                  
          memfile_free_blocks_in_table( (block_p **)&p[j], to_free);  
 200cc90:	7f ff ff ba 	call  200cb78 <memfile_free_blocks_in_table>   
 200cc94:	92 10 00 1d 	mov  %i5, %o1                                  
  if ( info->triply_indirect ) {                                      
    for ( i=0 ; i<IMFS_MEMFILE_BLOCK_SLOTS ; i++ ) {                  
      p = (block_p *) info->triply_indirect[i];                       
      if ( !p )  /* ensure we have a valid pointer */                 
         break;                                                       
      for ( j=0 ; j<IMFS_MEMFILE_BLOCK_SLOTS ; j++ ) {                
 200cc98:	b4 06 a0 01 	inc  %i2                                       
 200cc9c:	b6 06 e0 04 	add  %i3, 4, %i3                               
 200cca0:	c2 06 60 cc 	ld  [ %i1 + 0xcc ], %g1                        
 200cca4:	83 30 60 02 	srl  %g1, 2, %g1                               
 200cca8:	80 a6 80 01 	cmp  %i2, %g1                                  
 200ccac:	2a bf ff f6 	bcs,a   200cc84 <IMFS_memfile_remove+0xc0>     
 200ccb0:	c2 06 c0 00 	ld  [ %i3 ], %g1                               
        if ( p[j] ) {                                                 
          memfile_free_blocks_in_table( (block_p **)&p[j], to_free);  
        }                                                             
      }                                                               
      memfile_free_blocks_in_table(                                   
 200ccb4:	d0 06 20 60 	ld  [ %i0 + 0x60 ], %o0                        
 200ccb8:	92 10 00 1d 	mov  %i5, %o1                                  
 200ccbc:	90 02 00 10 	add  %o0, %l0, %o0                             
 200ccc0:	7f ff ff ae 	call  200cb78 <memfile_free_blocks_in_table>   
 200ccc4:	b8 07 20 01 	inc  %i4                                       
    memfile_free_blocks_in_table( &info->doubly_indirect, to_free );  
                                                                      
  }                                                                   
                                                                      
  if ( info->triply_indirect ) {                                      
    for ( i=0 ; i<IMFS_MEMFILE_BLOCK_SLOTS ; i++ ) {                  
 200ccc8:	c2 06 60 cc 	ld  [ %i1 + 0xcc ], %g1                        
 200cccc:	83 30 60 02 	srl  %g1, 2, %g1                               
 200ccd0:	80 a7 00 01 	cmp  %i4, %g1                                  
 200ccd4:	2a bf ff e5 	bcs,a   200cc68 <IMFS_memfile_remove+0xa4>     
 200ccd8:	c2 06 20 60 	ld  [ %i0 + 0x60 ], %g1                        
        }                                                             
      }                                                               
      memfile_free_blocks_in_table(                                   
        (block_p **)&info->triply_indirect[i], to_free );             
    }                                                                 
    memfile_free_blocks_in_table(                                     
 200ccdc:	90 06 20 60 	add  %i0, 0x60, %o0                            
 200cce0:	7f ff ff a6 	call  200cb78 <memfile_free_blocks_in_table>   
 200cce4:	92 10 00 1d 	mov  %i5, %o1                                  
        (block_p **)&info->triply_indirect, to_free );                
  }                                                                   
                                                                      
  return 0;                                                           
}                                                                     
 200cce8:	b0 10 20 00 	clr  %i0                                       
 200ccec:	81 c7 e0 08 	ret                                            
 200ccf0:	81 e8 00 00 	restore                                        
                                                                      

0200ce80 <IMFS_memfile_write>: IMFS_jnode_t *the_jnode, off_t start, const unsigned char *source, unsigned int length ) {
 200ce80:	9d e3 bf 98 	save  %sp, -104, %sp                           
   *  If the last byte we are supposed to write is past the end of this
   *  in memory file, then extend the length.                         
   */                                                                 
                                                                      
  last_byte = start + my_length;                                      
  if ( last_byte > the_jnode->info.file.size ) {                      
 200ce84:	c2 06 20 50 	ld  [ %i0 + 0x50 ], %g1                        
   IMFS_jnode_t          *the_jnode,                                  
   off_t                  start,                                      
   const unsigned char   *source,                                     
   unsigned int           length                                      
)                                                                     
{                                                                     
 200ce88:	ba 10 00 18 	mov  %i0, %i5                                  
   *  If the last byte we are supposed to write is past the end of this
   *  in memory file, then extend the length.                         
   */                                                                 
                                                                      
  last_byte = start + my_length;                                      
  if ( last_byte > the_jnode->info.file.size ) {                      
 200ce8c:	80 a0 60 00 	cmp  %g1, 0                                    
 200ce90:	06 80 00 09 	bl  200ceb4 <IMFS_memfile_write+0x34>          <== NEVER TAKEN
 200ce94:	94 07 00 1a 	add  %i4, %i2, %o2                             
 200ce98:	80 a0 60 00 	cmp  %g1, 0                                    
 200ce9c:	12 80 00 12 	bne  200cee4 <IMFS_memfile_write+0x64>         <== NEVER TAKEN
 200cea0:	03 00 80 6c 	sethi  %hi(0x201b000), %g1                     
 200cea4:	c2 06 20 54 	ld  [ %i0 + 0x54 ], %g1                        
 200cea8:	80 a0 40 0a 	cmp  %g1, %o2                                  
 200ceac:	1a 80 00 0e 	bcc  200cee4 <IMFS_memfile_write+0x64>         
 200ceb0:	03 00 80 6c 	sethi  %hi(0x201b000), %g1                     
    status = IMFS_memfile_extend( the_jnode, last_byte );             
 200ceb4:	90 10 00 1d 	mov  %i5, %o0                                  
 200ceb8:	7f ff ff 9b 	call  200cd24 <IMFS_memfile_extend>            
 200cebc:	92 10 20 00 	clr  %o1                                       
    if ( status )                                                     
 200cec0:	80 a2 20 00 	cmp  %o0, 0                                    
 200cec4:	02 80 00 08 	be  200cee4 <IMFS_memfile_write+0x64>          
 200cec8:	03 00 80 6c 	sethi  %hi(0x201b000), %g1                     
      rtems_set_errno_and_return_minus_one( ENOSPC );                 
 200cecc:	40 00 03 8a 	call  200dcf4 <__errno>                        
 200ced0:	b0 10 3f ff 	mov  -1, %i0                                   
 200ced4:	82 10 20 1c 	mov  0x1c, %g1                                 
 200ced8:	c2 22 00 00 	st  %g1, [ %o0 ]                               
 200cedc:	81 c7 e0 08 	ret                                            
 200cee0:	81 e8 00 00 	restore                                        
   */                                                                 
                                                                      
  /*                                                                  
   *  Phase 1: possibly the last part of one block                    
   */                                                                 
  start_offset = start % IMFS_MEMFILE_BYTES_PER_BLOCK;                
 200cee4:	e0 00 60 cc 	ld  [ %g1 + 0xcc ], %l0                        
 200cee8:	92 10 00 1a 	mov  %i2, %o1                                  
 200ceec:	b1 3c 20 1f 	sra  %l0, 0x1f, %i0                            
 200cef0:	96 10 00 10 	mov  %l0, %o3                                  
 200cef4:	94 10 00 18 	mov  %i0, %o2                                  
 200cef8:	40 00 29 37 	call  20173d4 <__moddi3>                       
 200cefc:	90 10 00 19 	mov  %i1, %o0                                  
  block = start / IMFS_MEMFILE_BYTES_PER_BLOCK;                       
 200cf00:	94 10 00 18 	mov  %i0, %o2                                  
   */                                                                 
                                                                      
  /*                                                                  
   *  Phase 1: possibly the last part of one block                    
   */                                                                 
  start_offset = start % IMFS_MEMFILE_BYTES_PER_BLOCK;                
 200cf04:	a2 10 00 09 	mov  %o1, %l1                                  
  block = start / IMFS_MEMFILE_BYTES_PER_BLOCK;                       
 200cf08:	90 10 00 19 	mov  %i1, %o0                                  
 200cf0c:	92 10 00 1a 	mov  %i2, %o1                                  
 200cf10:	40 00 28 4b 	call  201703c <__divdi3>                       
 200cf14:	96 10 00 10 	mov  %l0, %o3                                  
    status = IMFS_memfile_extend( the_jnode, last_byte );             
    if ( status )                                                     
      rtems_set_errno_and_return_minus_one( ENOSPC );                 
  }                                                                   
                                                                      
  copied = 0;                                                         
 200cf18:	b0 10 20 00 	clr  %i0                                       
  /*                                                                  
   *  Phase 1: possibly the last part of one block                    
   */                                                                 
  start_offset = start % IMFS_MEMFILE_BYTES_PER_BLOCK;                
  block = start / IMFS_MEMFILE_BYTES_PER_BLOCK;                       
  if ( start_offset )  {                                              
 200cf1c:	80 a4 60 00 	cmp  %l1, 0                                    
 200cf20:	02 80 00 14 	be  200cf70 <IMFS_memfile_write+0xf0>          
 200cf24:	b4 10 00 09 	mov  %o1, %i2                                  
    to_copy = IMFS_MEMFILE_BYTES_PER_BLOCK - start_offset;            
    if ( to_copy > my_length )                                        
      to_copy = my_length;                                            
    block_ptr = IMFS_memfile_get_block_pointer( the_jnode, block, 0 );
 200cf28:	90 10 00 1d 	mov  %i5, %o0                                  
 200cf2c:	7f ff fd d4 	call  200c67c <IMFS_memfile_get_block_pointer> 
 200cf30:	94 10 20 00 	clr  %o2                                       
    if ( !block_ptr )                                                 
 200cf34:	80 a2 20 00 	cmp  %o0, 0                                    
 200cf38:	02 80 00 36 	be  200d010 <IMFS_memfile_write+0x190>         <== NEVER TAKEN
 200cf3c:	01 00 00 00 	nop                                            
   *  Phase 1: possibly the last part of one block                    
   */                                                                 
  start_offset = start % IMFS_MEMFILE_BYTES_PER_BLOCK;                
  block = start / IMFS_MEMFILE_BYTES_PER_BLOCK;                       
  if ( start_offset )  {                                              
    to_copy = IMFS_MEMFILE_BYTES_PER_BLOCK - start_offset;            
 200cf40:	b0 24 00 11 	sub  %l0, %l1, %i0                             
 200cf44:	80 a6 00 1c 	cmp  %i0, %i4                                  
 200cf48:	38 80 00 02 	bgu,a   200cf50 <IMFS_memfile_write+0xd0>      
 200cf4c:	b0 10 00 1c 	mov  %i4, %i0                                  
        block,                                                        
        to_copy,                                                      
        src                                                           
      );                                                              
    #endif                                                            
    memcpy( &(*block_ptr)[ start_offset ], src, to_copy );            
 200cf50:	d0 02 00 00 	ld  [ %o0 ], %o0                               
 200cf54:	92 10 00 1b 	mov  %i3, %o1                                  
 200cf58:	90 02 00 11 	add  %o0, %l1, %o0                             
 200cf5c:	94 10 00 18 	mov  %i0, %o2                                  
 200cf60:	40 00 05 c1 	call  200e664 <memcpy>                         
 200cf64:	b6 06 c0 18 	add  %i3, %i0, %i3                             
    src += to_copy;                                                   
    block++;                                                          
 200cf68:	b4 06 a0 01 	inc  %i2                                       
    my_length -= to_copy;                                             
 200cf6c:	b8 27 00 18 	sub  %i4, %i0, %i4                             
                                                                      
  /*                                                                  
   *  Phase 2: all of zero of more blocks                             
   */                                                                 
                                                                      
  to_copy = IMFS_MEMFILE_BYTES_PER_BLOCK;                             
 200cf70:	21 00 80 6c 	sethi  %hi(0x201b000), %l0                     
  while ( my_length >= IMFS_MEMFILE_BYTES_PER_BLOCK ) {               
 200cf74:	10 80 00 0f 	b  200cfb0 <IMFS_memfile_write+0x130>          
 200cf78:	f2 04 20 cc 	ld  [ %l0 + 0xcc ], %i1	! 201b0cc <imfs_memfile_bytes_per_block>
    block_ptr = IMFS_memfile_get_block_pointer( the_jnode, block, 0 );
 200cf7c:	92 10 00 1a 	mov  %i2, %o1                                  
 200cf80:	7f ff fd bf 	call  200c67c <IMFS_memfile_get_block_pointer> 
 200cf84:	94 10 20 00 	clr  %o2                                       
    if ( !block_ptr )                                                 
 200cf88:	80 a2 20 00 	cmp  %o0, 0                                    
 200cf8c:	02 bf ff d4 	be  200cedc <IMFS_memfile_write+0x5c>          <== NEVER TAKEN
 200cf90:	92 10 00 1b 	mov  %i3, %o1                                  
      return copied;                                                  
    #if 0                                                             
      fprintf(stdout, "write %d in %d: %*s\n", to_copy, block, to_copy, src );
    #endif                                                            
    memcpy( &(*block_ptr)[ 0 ], src, to_copy );                       
 200cf94:	d0 02 00 00 	ld  [ %o0 ], %o0                               
 200cf98:	94 10 00 19 	mov  %i1, %o2                                  
 200cf9c:	40 00 05 b2 	call  200e664 <memcpy>                         
 200cfa0:	b6 06 c0 19 	add  %i3, %i1, %i3                             
    src += to_copy;                                                   
    block++;                                                          
 200cfa4:	b4 06 a0 01 	inc  %i2                                       
    my_length -= to_copy;                                             
 200cfa8:	b8 27 00 19 	sub  %i4, %i1, %i4                             
 *  IMFS_memfile_write                                                
 *                                                                    
 *  This routine writes the specified data buffer into the in memory  
 *  file pointed to by the_jnode.  The file is extended as needed.    
 */                                                                   
MEMFILE_STATIC ssize_t IMFS_memfile_write(                            
 200cfac:	b0 06 00 19 	add  %i0, %i1, %i0                             
  /*                                                                  
   *  Phase 2: all of zero of more blocks                             
   */                                                                 
                                                                      
  to_copy = IMFS_MEMFILE_BYTES_PER_BLOCK;                             
  while ( my_length >= IMFS_MEMFILE_BYTES_PER_BLOCK ) {               
 200cfb0:	c2 04 20 cc 	ld  [ %l0 + 0xcc ], %g1                        
 200cfb4:	80 a7 00 01 	cmp  %i4, %g1                                  
 200cfb8:	1a bf ff f1 	bcc  200cf7c <IMFS_memfile_write+0xfc>         
 200cfbc:	90 10 00 1d 	mov  %i5, %o0                                  
   *  Phase 3: possibly the first part of one block                   
   */                                                                 
  IMFS_assert( my_length < IMFS_MEMFILE_BYTES_PER_BLOCK );            
                                                                      
  to_copy = my_length;                                                
  if ( my_length ) {                                                  
 200cfc0:	80 a7 20 00 	cmp  %i4, 0                                    
 200cfc4:	02 80 00 0e 	be  200cffc <IMFS_memfile_write+0x17c>         
 200cfc8:	90 07 bf f8 	add  %fp, -8, %o0                              
    block_ptr = IMFS_memfile_get_block_pointer( the_jnode, block, 0 );
 200cfcc:	90 10 00 1d 	mov  %i5, %o0                                  
 200cfd0:	92 10 00 1a 	mov  %i2, %o1                                  
 200cfd4:	7f ff fd aa 	call  200c67c <IMFS_memfile_get_block_pointer> 
 200cfd8:	94 10 20 00 	clr  %o2                                       
    if ( !block_ptr )                                                 
 200cfdc:	80 a2 20 00 	cmp  %o0, 0                                    
 200cfe0:	02 bf ff bf 	be  200cedc <IMFS_memfile_write+0x5c>          <== NEVER TAKEN
 200cfe4:	92 10 00 1b 	mov  %i3, %o1                                  
      return copied;                                                  
    #if 0                                                             
    fprintf(stdout, "write %d in %d: %*s\n", to_copy, block, to_copy, src );
    #endif                                                            
    memcpy( &(*block_ptr)[ 0 ], src, my_length );                     
 200cfe8:	d0 02 00 00 	ld  [ %o0 ], %o0                               
 200cfec:	94 10 00 1c 	mov  %i4, %o2                                  
 200cff0:	40 00 05 9d 	call  200e664 <memcpy>                         
 200cff4:	b0 06 00 1c 	add  %i0, %i4, %i0                             
    my_length = 0;                                                    
    copied += to_copy;                                                
  }                                                                   
                                                                      
  IMFS_mtime_ctime_update( the_jnode );                               
 200cff8:	90 07 bf f8 	add  %fp, -8, %o0                              
 200cffc:	7f ff d7 a0 	call  2002e7c <gettimeofday>                   
 200d000:	92 10 20 00 	clr  %o1                                       
 200d004:	c2 07 bf f8 	ld  [ %fp + -8 ], %g1                          
 200d008:	c2 27 60 44 	st  %g1, [ %i5 + 0x44 ]                        
 200d00c:	c2 27 60 48 	st  %g1, [ %i5 + 0x48 ]                        
                                                                      
  return copied;                                                      
}                                                                     
 200d010:	81 c7 e0 08 	ret                                            
 200d014:	81 e8 00 00 	restore                                        
                                                                      

02002554 <IMFS_mount>: #include <rtems/seterr.h> int IMFS_mount( rtems_filesystem_mount_table_entry_t *mt_entry ) {
 2002554:	9d e3 bf a0 	save  %sp, -96, %sp                            
  IMFS_jnode_t  *node;                                                
                                                                      
  node = mt_entry->mt_point_node.node_access;                         
 2002558:	c2 06 20 08 	ld  [ %i0 + 8 ], %g1                           
                                                                      
  /*                                                                  
   *  Is the node that we are mounting onto a directory node ?        
   */                                                                 
                                                                      
  if ( node->type != IMFS_DIRECTORY )                                 
 200255c:	c4 00 60 4c 	ld  [ %g1 + 0x4c ], %g2                        
 2002560:	80 a0 a0 01 	cmp  %g2, 1                                    
 2002564:	22 80 00 08 	be,a   2002584 <IMFS_mount+0x30>               <== ALWAYS TAKEN
 2002568:	f0 20 60 5c 	st  %i0, [ %g1 + 0x5c ]                        
    rtems_set_errno_and_return_minus_one( ENOTDIR );                  
 200256c:	40 00 2d e2 	call  200dcf4 <__errno>                        <== NOT EXECUTED
 2002570:	b0 10 3f ff 	mov  -1, %i0                                   <== NOT EXECUTED
 2002574:	82 10 20 14 	mov  0x14, %g1                                 <== NOT EXECUTED
 2002578:	c2 22 00 00 	st  %g1, [ %o0 ]                               <== NOT EXECUTED
 200257c:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2002580:	81 e8 00 00 	restore                                        <== NOT EXECUTED
   *  the mounted file system.                                        
   */                                                                 
                                                                      
  node->info.directory.mt_fs = mt_entry;                              
  return 0;                                                           
}                                                                     
 2002584:	81 c7 e0 08 	ret                                            
 2002588:	91 e8 20 00 	restore  %g0, 0, %o0                           
                                                                      

02004e70 <IMFS_print_jnode>: * This routine prints the contents of the specified jnode. */ void IMFS_print_jnode( IMFS_jnode_t *the_jnode ) {
 2004e70:	9d e3 bf a0 	save  %sp, -96, %sp                            
  IMFS_assert( the_jnode );                                           
                                                                      
  fprintf(stdout, "%s", the_jnode->name );                            
 2004e74:	3b 00 80 88 	sethi  %hi(0x2022000), %i5                     
 2004e78:	c2 07 63 30 	ld  [ %i5 + 0x330 ], %g1	! 2022330 <_impure_ptr>
 2004e7c:	90 06 20 0c 	add  %i0, 0xc, %o0                             
 2004e80:	40 00 35 92 	call  20124c8 <fputs>                          
 2004e84:	d2 00 60 08 	ld  [ %g1 + 8 ], %o1                           
  switch( the_jnode->type ) {                                         
 2004e88:	f4 06 20 4c 	ld  [ %i0 + 0x4c ], %i2                        
 2004e8c:	82 06 bf ff 	add  %i2, -1, %g1                              
 2004e90:	80 a0 60 06 	cmp  %g1, 6                                    
 2004e94:	38 80 00 2f 	bgu,a   2004f50 <IMFS_print_jnode+0xe0>        <== NEVER TAKEN
 2004e98:	c2 07 63 30 	ld  [ %i5 + 0x330 ], %g1                       <== NOT EXECUTED
 2004e9c:	83 28 60 02 	sll  %g1, 2, %g1                               
 2004ea0:	05 00 80 13 	sethi  %hi(0x2004c00), %g2                     
 2004ea4:	84 10 a2 54 	or  %g2, 0x254, %g2	! 2004e54 <console_inbyte_nonblocking+0xb4>
 2004ea8:	c2 00 80 01 	ld  [ %g2 + %g1 ], %g1                         
 2004eac:	81 c0 40 00 	jmp  %g1                                       
 2004eb0:	01 00 00 00 	nop                                            
    case IMFS_DIRECTORY:                                              
      fprintf(stdout, "/" );                                          
 2004eb4:	c2 07 63 30 	ld  [ %i5 + 0x330 ], %g1                       
 2004eb8:	90 10 20 2f 	mov  0x2f, %o0                                 
 2004ebc:	40 00 35 4e 	call  20123f4 <fputc>                          
 2004ec0:	d2 00 60 08 	ld  [ %g1 + 8 ], %o1                           
      break;                                                          
 2004ec4:	10 80 00 27 	b  2004f60 <IMFS_print_jnode+0xf0>             
 2004ec8:	31 00 80 81 	sethi  %hi(0x2020400), %i0                     
                                                                      
    case IMFS_DEVICE:                                                 
      fprintf(stdout, " (device %" PRId32 ", %" PRId32 ")",           
 2004ecc:	c2 07 63 30 	ld  [ %i5 + 0x330 ], %g1                       
 2004ed0:	13 00 80 81 	sethi  %hi(0x2020400), %o1                     
 2004ed4:	d0 00 60 08 	ld  [ %g1 + 8 ], %o0                           
 2004ed8:	92 12 61 40 	or  %o1, 0x140, %o1                            
 2004edc:	10 80 00 08 	b  2004efc <IMFS_print_jnode+0x8c>             
 2004ee0:	d4 1e 20 50 	ldd  [ %i0 + 0x50 ], %o2                       
        the_jnode->info.device.major, the_jnode->info.device.minor ); 
      break;                                                          
                                                                      
    case IMFS_LINEAR_FILE:                                            
      fprintf(stdout, " (file %" PRId32 " %p)",                       
 2004ee4:	c2 07 63 30 	ld  [ %i5 + 0x330 ], %g1                       
 2004ee8:	d4 06 20 54 	ld  [ %i0 + 0x54 ], %o2                        
 2004eec:	d0 00 60 08 	ld  [ %g1 + 8 ], %o0                           
 2004ef0:	d6 06 20 58 	ld  [ %i0 + 0x58 ], %o3                        
 2004ef4:	13 00 80 81 	sethi  %hi(0x2020400), %o1                     
 2004ef8:	92 12 61 58 	or  %o1, 0x158, %o1	! 2020558 <rtems_filesystem_table+0x15d4>
 2004efc:	40 00 35 22 	call  2012384 <fprintf>                        
 2004f00:	31 00 80 81 	sethi  %hi(0x2020400), %i0                     
        (uint32_t)the_jnode->info.linearfile.size,                    
        the_jnode->info.linearfile.direct                             
      );                                                              
      break;                                                          
 2004f04:	30 80 00 17 	b,a   2004f60 <IMFS_print_jnode+0xf0>          
        the_jnode->info.file.indirect,                                
        the_jnode->info.file.doubly_indirect,                         
        the_jnode->info.file.triply_indirect                          
      );                                                              
#else                                                                 
      fprintf(stdout, " (file %" PRId32 ")",                          
 2004f08:	c2 07 63 30 	ld  [ %i5 + 0x330 ], %g1                       
 2004f0c:	d4 06 20 54 	ld  [ %i0 + 0x54 ], %o2                        
 2004f10:	d0 00 60 08 	ld  [ %g1 + 8 ], %o0                           
 2004f14:	13 00 80 81 	sethi  %hi(0x2020400), %o1                     
 2004f18:	40 00 35 1b 	call  2012384 <fprintf>                        
 2004f1c:	92 12 61 68 	or  %o1, 0x168, %o1	! 2020568 <rtems_filesystem_table+0x15e4>
        (uint32_t)the_jnode->info.file.size );                        
#endif                                                                
      break;                                                          
 2004f20:	10 80 00 10 	b  2004f60 <IMFS_print_jnode+0xf0>             
 2004f24:	31 00 80 81 	sethi  %hi(0x2020400), %i0                     
    case IMFS_HARD_LINK:                                              
      fprintf(stdout, " links not printed\n" );                       
      return;                                                         
                                                                      
    case IMFS_SYM_LINK:                                               
      fprintf(stdout, " links not printed\n" );                       
 2004f28:	31 00 80 81 	sethi  %hi(0x2020400), %i0                     
 2004f2c:	c2 07 63 30 	ld  [ %i5 + 0x330 ], %g1                       
 2004f30:	10 80 00 05 	b  2004f44 <IMFS_print_jnode+0xd4>             
 2004f34:	b0 16 21 78 	or  %i0, 0x178, %i0                            
      return;                                                         
                                                                      
    case IMFS_FIFO:                                                   
      fprintf(stdout, " FIFO not printed\n" );                        
 2004f38:	c2 07 63 30 	ld  [ %i5 + 0x330 ], %g1                       
 2004f3c:	31 00 80 81 	sethi  %hi(0x2020400), %i0                     
 2004f40:	b0 16 21 90 	or  %i0, 0x190, %i0	! 2020590 <rtems_filesystem_table+0x160c>
 2004f44:	f2 00 60 08 	ld  [ %g1 + 8 ], %i1                           
 2004f48:	40 00 35 60 	call  20124c8 <fputs>                          
 2004f4c:	81 e8 00 00 	restore                                        
      return;                                                         
                                                                      
    default:                                                          
      fprintf(stdout, " bad type %d\n", the_jnode->type );            
 2004f50:	33 00 80 81 	sethi  %hi(0x2020400), %i1                     <== NOT EXECUTED
 2004f54:	f0 00 60 08 	ld  [ %g1 + 8 ], %i0                           <== NOT EXECUTED
 2004f58:	40 00 35 0b 	call  2012384 <fprintf>                        <== NOT EXECUTED
 2004f5c:	93 ee 61 a8 	restore  %i1, 0x1a8, %o1                       <== NOT EXECUTED
      return;                                                         
  }                                                                   
  puts("");                                                           
 2004f60:	40 00 3c 45 	call  2014074 <puts>                           
 2004f64:	91 ee 20 f0 	restore  %i0, 0xf0, %o0                        
                                                                      

020025d4 <IMFS_rename>: rtems_filesystem_location_info_t *old_parent_loc, /* IN */ rtems_filesystem_location_info_t *old_loc, /* IN */ rtems_filesystem_location_info_t *new_parent_loc, /* IN */ const char *new_name /* IN */ ) {
 20025d4:	9d e3 bf 98 	save  %sp, -104, %sp                           
  IMFS_jnode_t *the_jnode;                                            
  IMFS_jnode_t *new_parent;                                           
                                                                      
  the_jnode = old_loc->node_access;                                   
 20025d8:	fa 06 40 00 	ld  [ %i1 ], %i5                               
                                                                      
  strncpy( the_jnode->name, new_name, IMFS_NAME_MAX );                
 20025dc:	92 10 00 1b 	mov  %i3, %o1                                  
 20025e0:	90 07 60 0c 	add  %i5, 0xc, %o0                             
 20025e4:	40 00 33 8d 	call  200f418 <strncpy>                        
 20025e8:	94 10 20 20 	mov  0x20, %o2                                 
                                                                      
  if ( the_jnode->Parent != NULL )                                    
 20025ec:	c2 07 60 08 	ld  [ %i5 + 8 ], %g1                           
 20025f0:	80 a0 60 00 	cmp  %g1, 0                                    
 20025f4:	22 80 00 05 	be,a   2002608 <IMFS_rename+0x34>              <== NEVER TAKEN
 20025f8:	d0 06 80 00 	ld  [ %i2 ], %o0                               <== NOT EXECUTED
 */                                                                   
RTEMS_INLINE_ROUTINE void rtems_chain_extract(                        
  rtems_chain_node *the_node                                          
)                                                                     
{                                                                     
  _Chain_Extract( the_node );                                         
 20025fc:	40 00 12 33 	call  2006ec8 <_Chain_Extract>                 
 2002600:	90 10 00 1d 	mov  %i5, %o0                                  
    rtems_chain_extract( (rtems_chain_node *) the_jnode );            
                                                                      
  new_parent = new_parent_loc->node_access;                           
 2002604:	d0 06 80 00 	ld  [ %i2 ], %o0                               
RTEMS_INLINE_ROUTINE void rtems_chain_append(                         
  rtems_chain_control *the_chain,                                     
  rtems_chain_node    *the_node                                       
)                                                                     
{                                                                     
  _Chain_Append( the_chain, the_node );                               
 2002608:	92 10 00 1d 	mov  %i5, %o1                                  
  the_jnode->Parent = new_parent;                                     
 200260c:	d0 27 60 08 	st  %o0, [ %i5 + 8 ]                           
 2002610:	40 00 12 23 	call  2006e9c <_Chain_Append>                  
 2002614:	90 02 20 50 	add  %o0, 0x50, %o0                            
  rtems_chain_append( &new_parent->info.directory.Entries, &the_jnode->Node );
                                                                      
  /*                                                                  
   * Update the time.                                                 
   */                                                                 
  IMFS_update_ctime( the_jnode );                                     
 2002618:	90 07 bf f8 	add  %fp, -8, %o0                              
 200261c:	40 00 02 18 	call  2002e7c <gettimeofday>                   
 2002620:	92 10 20 00 	clr  %o1                                       
 2002624:	c2 07 bf f8 	ld  [ %fp + -8 ], %g1                          
 2002628:	c2 27 60 48 	st  %g1, [ %i5 + 0x48 ]                        
                                                                      
  return 0;                                                           
}                                                                     
 200262c:	81 c7 e0 08 	ret                                            
 2002630:	91 e8 20 00 	restore  %g0, 0, %o0                           
                                                                      

0200a414 <IMFS_skip_separator>: static void IMFS_skip_separator ( const char *path, /* IN */ size_t *len, /* IN/OUT */ int *index /* IN/OUT */ ) {
 200a414:	9d e3 bf a0 	save  %sp, -96, %sp                            
  while ( IMFS_is_separator( path[*index] ) && path[*index] && *len ) {
 200a418:	10 80 00 07 	b  200a434 <IMFS_skip_separator+0x20>          
 200a41c:	c2 06 80 00 	ld  [ %i2 ], %g1                               
    ++(*index);                                                       
 200a420:	c2 26 80 00 	st  %g1, [ %i2 ]                               
    --(*len);                                                         
 200a424:	c2 06 40 00 	ld  [ %i1 ], %g1                               
 200a428:	82 00 7f ff 	add  %g1, -1, %g1                              
 200a42c:	c2 26 40 00 	st  %g1, [ %i1 ]                               
   const char *path,       /* IN     */                               
   size_t     *len,        /* IN/OUT */                               
   int        *index       /* IN/OUT */                               
)                                                                     
{                                                                     
  while ( IMFS_is_separator( path[*index] ) && path[*index] && *len ) {
 200a430:	c2 06 80 00 	ld  [ %i2 ], %g1                               
 200a434:	7f ff e6 29 	call  2003cd8 <rtems_filesystem_is_separator>  
 200a438:	d0 4e 00 01 	ldsb  [ %i0 + %g1 ], %o0                       
 200a43c:	80 a2 20 00 	cmp  %o0, 0                                    
 200a440:	02 80 00 0b 	be  200a46c <IMFS_skip_separator+0x58>         
 200a444:	01 00 00 00 	nop                                            
 200a448:	c2 06 80 00 	ld  [ %i2 ], %g1                               
 200a44c:	c4 4e 00 01 	ldsb  [ %i0 + %g1 ], %g2                       
 200a450:	80 a0 a0 00 	cmp  %g2, 0                                    
 200a454:	02 80 00 06 	be  200a46c <IMFS_skip_separator+0x58>         
 200a458:	01 00 00 00 	nop                                            
 200a45c:	c4 06 40 00 	ld  [ %i1 ], %g2                               
 200a460:	80 a0 a0 00 	cmp  %g2, 0                                    
 200a464:	12 bf ff ef 	bne  200a420 <IMFS_skip_separator+0xc>         <== ALWAYS TAKEN
 200a468:	82 00 60 01 	inc  %g1                                       
 200a46c:	81 c7 e0 08 	ret                                            
 200a470:	81 e8 00 00 	restore                                        
                                                                      

0200b038 <IMFS_stat>: int IMFS_stat( rtems_filesystem_location_info_t *loc, struct stat *buf ) {
 200b038:	9d e3 bf a0 	save  %sp, -96, %sp                            
  IMFS_fs_info_t *fs_info;                                            
  IMFS_jnode_t   *the_jnode;                                          
  IMFS_device_t  *io;                                                 
                                                                      
  the_jnode = loc->node_access;                                       
 200b03c:	c2 06 00 00 	ld  [ %i0 ], %g1                               
                                                                      
                                                                      
  switch ( the_jnode->type ) {                                        
 200b040:	c4 00 60 4c 	ld  [ %g1 + 0x4c ], %g2                        
 200b044:	84 00 bf fe 	add  %g2, -2, %g2                              
 200b048:	80 a0 a0 05 	cmp  %g2, 5                                    
 200b04c:	18 80 00 12 	bgu  200b094 <IMFS_stat+0x5c>                  <== NEVER TAKEN
 200b050:	85 28 a0 02 	sll  %g2, 2, %g2                               
 200b054:	07 00 80 2c 	sethi  %hi(0x200b000), %g3                     
 200b058:	86 10 e0 20 	or  %g3, 0x20, %g3	! 200b020 <IMFS_rmnod+0x24> 
 200b05c:	c4 00 c0 02 	ld  [ %g3 + %g2 ], %g2                         
 200b060:	81 c0 80 00 	jmp  %g2                                       
 200b064:	01 00 00 00 	nop                                            
                                                                      
    case IMFS_DEVICE:                                                 
      io           = &the_jnode->info.device;                         
      buf->st_rdev = rtems_filesystem_make_dev_t( io->major, io->minor );
 200b068:	c4 00 60 54 	ld  [ %g1 + 0x54 ], %g2                        
  rtems_device_minor_number _minor                                    
)                                                                     
{                                                                     
  union __rtems_dev_t temp;                                           
                                                                      
  temp.__overlay.major = _major;                                      
 200b06c:	c6 00 60 50 	ld  [ %g1 + 0x50 ], %g3                        
 200b070:	c4 26 60 1c 	st  %g2, [ %i1 + 0x1c ]                        
      break;                                                          
 200b074:	10 80 00 0e 	b  200b0ac <IMFS_stat+0x74>                    
 200b078:	c6 26 60 18 	st  %g3, [ %i1 + 0x18 ]                        
                                                                      
    case IMFS_LINEAR_FILE:                                            
    case IMFS_MEMORY_FILE:                                            
      buf->st_size = the_jnode->info.file.size;                       
 200b07c:	c4 18 60 50 	ldd  [ %g1 + 0x50 ], %g2                       
      break;                                                          
 200b080:	10 80 00 0b 	b  200b0ac <IMFS_stat+0x74>                    
 200b084:	c4 3e 60 20 	std  %g2, [ %i1 + 0x20 ]                       
    case IMFS_SYM_LINK:                                               
      buf->st_size = 0;                                               
      break;                                                          
                                                                      
    case IMFS_FIFO:                                                   
      buf->st_size = 0;                                               
 200b088:	c0 26 60 20 	clr  [ %i1 + 0x20 ]                            
      break;                                                          
 200b08c:	10 80 00 08 	b  200b0ac <IMFS_stat+0x74>                    
 200b090:	c0 26 60 24 	clr  [ %i1 + 0x24 ]                            
                                                                      
    default:                                                          
      rtems_set_errno_and_return_minus_one( ENOTSUP );                
 200b094:	40 00 0b 18 	call  200dcf4 <__errno>                        
 200b098:	b0 10 3f ff 	mov  -1, %i0                                   
 200b09c:	82 10 20 86 	mov  0x86, %g1                                 
 200b0a0:	c2 22 00 00 	st  %g1, [ %o0 ]                               
 200b0a4:	81 c7 e0 08 	ret                                            
 200b0a8:	81 e8 00 00 	restore                                        
                                                                      
  /*                                                                  
   * The device number of the IMFS is the major number and the minor is the
   * instance.                                                        
   */                                                                 
  fs_info = loc->mt_entry->fs_info;                                   
 200b0ac:	c4 06 20 10 	ld  [ %i0 + 0x10 ], %g2                        
 200b0b0:	07 00 00 3f 	sethi  %hi(0xfc00), %g3                        
  buf->st_dev =                                                       
    rtems_filesystem_make_dev_t( IMFS_DEVICE_MAJOR_NUMBER, fs_info->instance );
 200b0b4:	c4 00 a0 34 	ld  [ %g2 + 0x34 ], %g2                        
 200b0b8:	86 10 e3 fe 	or  %g3, 0x3fe, %g3                            
 200b0bc:	c4 00 80 00 	ld  [ %g2 ], %g2                               
  /*                                                                  
   * The device number of the IMFS is the major number and the minor is the
   * instance.                                                        
   */                                                                 
  fs_info = loc->mt_entry->fs_info;                                   
  buf->st_dev =                                                       
 200b0c0:	c4 26 60 04 	st  %g2, [ %i1 + 4 ]                           
    rtems_filesystem_make_dev_t( IMFS_DEVICE_MAJOR_NUMBER, fs_info->instance );
                                                                      
  buf->st_mode  = the_jnode->st_mode;                                 
 200b0c4:	c4 00 60 30 	ld  [ %g1 + 0x30 ], %g2                        
  /*                                                                  
   * The device number of the IMFS is the major number and the minor is the
   * instance.                                                        
   */                                                                 
  fs_info = loc->mt_entry->fs_info;                                   
  buf->st_dev =                                                       
 200b0c8:	c6 26 40 00 	st  %g3, [ %i1 ]                               
    rtems_filesystem_make_dev_t( IMFS_DEVICE_MAJOR_NUMBER, fs_info->instance );
                                                                      
  buf->st_mode  = the_jnode->st_mode;                                 
 200b0cc:	c4 26 60 0c 	st  %g2, [ %i1 + 0xc ]                         
  buf->st_nlink = the_jnode->st_nlink;                                
 200b0d0:	c4 10 60 34 	lduh  [ %g1 + 0x34 ], %g2                      
 200b0d4:	c4 36 60 10 	sth  %g2, [ %i1 + 0x10 ]                       
  buf->st_ino   = the_jnode->st_ino;                                  
 200b0d8:	c4 00 60 38 	ld  [ %g1 + 0x38 ], %g2                        
 200b0dc:	c4 26 60 08 	st  %g2, [ %i1 + 8 ]                           
  buf->st_uid   = the_jnode->st_uid;                                  
 200b0e0:	c4 10 60 3c 	lduh  [ %g1 + 0x3c ], %g2                      
 200b0e4:	c4 36 60 12 	sth  %g2, [ %i1 + 0x12 ]                       
  buf->st_gid   = the_jnode->st_gid;                                  
 200b0e8:	c4 10 60 3e 	lduh  [ %g1 + 0x3e ], %g2                      
 200b0ec:	c4 36 60 14 	sth  %g2, [ %i1 + 0x14 ]                       
                                                                      
  buf->st_atime = the_jnode->stat_atime;                              
 200b0f0:	c4 00 60 40 	ld  [ %g1 + 0x40 ], %g2                        
 200b0f4:	c4 26 60 28 	st  %g2, [ %i1 + 0x28 ]                        
  buf->st_mtime = the_jnode->stat_mtime;                              
 200b0f8:	c4 00 60 44 	ld  [ %g1 + 0x44 ], %g2                        
  buf->st_ctime = the_jnode->stat_ctime;                              
 200b0fc:	c2 00 60 48 	ld  [ %g1 + 0x48 ], %g1                        
  buf->st_ino   = the_jnode->st_ino;                                  
  buf->st_uid   = the_jnode->st_uid;                                  
  buf->st_gid   = the_jnode->st_gid;                                  
                                                                      
  buf->st_atime = the_jnode->stat_atime;                              
  buf->st_mtime = the_jnode->stat_mtime;                              
 200b100:	c4 26 60 30 	st  %g2, [ %i1 + 0x30 ]                        
  buf->st_ctime = the_jnode->stat_ctime;                              
 200b104:	c2 26 60 38 	st  %g1, [ %i1 + 0x38 ]                        
                                                                      
  buf->st_blksize = imfs_rq_memfile_bytes_per_block;                  
 200b108:	03 00 80 6a 	sethi  %hi(0x201a800), %g1                     
 200b10c:	c2 00 61 54 	ld  [ %g1 + 0x154 ], %g1	! 201a954 <imfs_rq_memfile_bytes_per_block>
 200b110:	c2 26 60 40 	st  %g1, [ %i1 + 0x40 ]                        
                                                                      
  return 0;                                                           
}                                                                     
 200b114:	81 c7 e0 08 	ret                                            
 200b118:	91 e8 20 00 	restore  %g0, 0, %o0                           
                                                                      

020026cc <IMFS_unlink>: int IMFS_unlink( rtems_filesystem_location_info_t *parentloc, /* IN */ rtems_filesystem_location_info_t *loc /* IN */ ) {
 20026cc:	9d e3 bf 80 	save  %sp, -128, %sp                           
  IMFS_jnode_t                      *node;                            
  rtems_filesystem_location_info_t   the_link;                        
  int                                result = 0;                      
                                                                      
  node = loc->node_access;                                            
 20026d0:	f8 06 40 00 	ld  [ %i1 ], %i4                               
  /*                                                                  
   * If this is the last last pointer to the node                     
   * free the node.                                                   
   */                                                                 
                                                                      
  if ( node->type == IMFS_HARD_LINK ) {                               
 20026d4:	c2 07 20 4c 	ld  [ %i4 + 0x4c ], %g1                        
 20026d8:	80 a0 60 03 	cmp  %g1, 3                                    
 20026dc:	12 80 00 29 	bne  2002780 <IMFS_unlink+0xb4>                
 20026e0:	ba 10 00 18 	mov  %i0, %i5                                  
                                                                      
    if ( !node->info.hard_link.link_node )                            
 20026e4:	f6 07 20 50 	ld  [ %i4 + 0x50 ], %i3                        
 20026e8:	80 a6 e0 00 	cmp  %i3, 0                                    
 20026ec:	12 80 00 08 	bne  200270c <IMFS_unlink+0x40>                <== ALWAYS TAKEN
 20026f0:	92 10 00 19 	mov  %i1, %o1                                  
      rtems_set_errno_and_return_minus_one( EINVAL );                 
 20026f4:	40 00 2d 80 	call  200dcf4 <__errno>                        <== NOT EXECUTED
 20026f8:	b0 10 3f ff 	mov  -1, %i0                                   <== NOT EXECUTED
 20026fc:	82 10 20 16 	mov  0x16, %g1                                 <== NOT EXECUTED
 2002700:	c2 22 00 00 	st  %g1, [ %o0 ]                               <== NOT EXECUTED
 2002704:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2002708:	81 e8 00 00 	restore                                        <== NOT EXECUTED
                                                                      
    the_link = *loc;                                                  
 200270c:	94 10 20 14 	mov  0x14, %o2                                 
 2002710:	40 00 2f d5 	call  200e664 <memcpy>                         
 2002714:	90 07 bf e4 	add  %fp, -28, %o0                             
    the_link.node_access = node->info.hard_link.link_node;            
    IMFS_Set_handlers( &the_link );                                   
 2002718:	90 07 bf e4 	add  %fp, -28, %o0                             
 200271c:	40 00 1f 56 	call  200a474 <IMFS_Set_handlers>              
 2002720:	f6 27 bf e4 	st  %i3, [ %fp + -28 ]                         
    /*                                                                
     *  If removing the last hard link to a node, then we need        
     *  to remove the node that is a link and the node itself.        
     */                                                               
                                                                      
    if ( node->info.hard_link.link_node->st_nlink == 1)               
 2002724:	c2 07 20 50 	ld  [ %i4 + 0x50 ], %g1                        
 2002728:	c4 10 60 34 	lduh  [ %g1 + 0x34 ], %g2                      
 200272c:	80 a0 a0 01 	cmp  %g2, 1                                    
 2002730:	12 80 00 0d 	bne  2002764 <IMFS_unlink+0x98>                
 2002734:	84 00 bf ff 	add  %g2, -1, %g2                              
    {                                                                 
        result = (*the_link.handlers->rmnod_h)( parentloc, &the_link );
 2002738:	c2 07 bf ec 	ld  [ %fp + -20 ], %g1                         
 200273c:	90 10 00 18 	mov  %i0, %o0                                  
 2002740:	c2 00 60 34 	ld  [ %g1 + 0x34 ], %g1                        
 2002744:	92 07 bf e4 	add  %fp, -28, %o1                             
 2002748:	9f c0 40 00 	call  %g1                                      
 200274c:	b0 10 3f ff 	mov  -1, %i0                                   
        if ( result != 0 )                                            
 2002750:	80 a2 20 00 	cmp  %o0, 0                                    
 2002754:	22 80 00 0c 	be,a   2002784 <IMFS_unlink+0xb8>              
 2002758:	c2 06 60 08 	ld  [ %i1 + 8 ], %g1                           
 200275c:	81 c7 e0 08 	ret                                            
 2002760:	81 e8 00 00 	restore                                        
            return -1;                                                
    }                                                                 
    else                                                              
    {                                                                 
        node->info.hard_link.link_node->st_nlink --;                  
        IMFS_update_ctime( node->info.hard_link.link_node );          
 2002764:	90 07 bf f8 	add  %fp, -8, %o0                              
        if ( result != 0 )                                            
            return -1;                                                
    }                                                                 
    else                                                              
    {                                                                 
        node->info.hard_link.link_node->st_nlink --;                  
 2002768:	c4 30 60 34 	sth  %g2, [ %g1 + 0x34 ]                       
        IMFS_update_ctime( node->info.hard_link.link_node );          
 200276c:	40 00 01 c4 	call  2002e7c <gettimeofday>                   
 2002770:	92 10 20 00 	clr  %o1                                       
 2002774:	c2 07 20 50 	ld  [ %i4 + 0x50 ], %g1                        
 2002778:	c4 07 bf f8 	ld  [ %fp + -8 ], %g2                          
 200277c:	c4 20 60 48 	st  %g2, [ %g1 + 0x48 ]                        
                                                                      
  /*                                                                  
   *  Now actually free the node we were asked to free.               
   */                                                                 
                                                                      
  result = (*loc->handlers->rmnod_h)( parentloc, loc );               
 2002780:	c2 06 60 08 	ld  [ %i1 + 8 ], %g1                           
 2002784:	90 10 00 1d 	mov  %i5, %o0                                  
 2002788:	c2 00 60 34 	ld  [ %g1 + 0x34 ], %g1                        
 200278c:	9f c0 40 00 	call  %g1                                      
 2002790:	92 10 00 19 	mov  %i1, %o1                                  
                                                                      
  return result;                                                      
}                                                                     
 2002794:	81 c7 e0 08 	ret                                            
 2002798:	91 e8 00 08 	restore  %g0, %o0, %o0                         
                                                                      

0200279c <IMFS_unmount>: #include <rtems/seterr.h> int IMFS_unmount( rtems_filesystem_mount_table_entry_t *mt_entry ) {
 200279c:	9d e3 bf a0 	save  %sp, -96, %sp                            
  IMFS_jnode_t  *node;                                                
                                                                      
  node = mt_entry->mt_point_node.node_access;                         
 20027a0:	c2 06 20 08 	ld  [ %i0 + 8 ], %g1                           
                                                                      
  /*                                                                  
   * Is the node that we are mounting onto a directory node ?         
   */                                                                 
                                                                      
  if ( node->type != IMFS_DIRECTORY )                                 
 20027a4:	c4 00 60 4c 	ld  [ %g1 + 0x4c ], %g2                        
 20027a8:	80 a0 a0 01 	cmp  %g2, 1                                    
 20027ac:	22 80 00 06 	be,a   20027c4 <IMFS_unmount+0x28>             <== ALWAYS TAKEN
 20027b0:	c4 00 60 5c 	ld  [ %g1 + 0x5c ], %g2                        
    rtems_set_errno_and_return_minus_one( ENOTDIR );                  
 20027b4:	40 00 2d 50 	call  200dcf4 <__errno>                        <== NOT EXECUTED
 20027b8:	01 00 00 00 	nop                                            <== NOT EXECUTED
 20027bc:	10 80 00 08 	b  20027dc <IMFS_unmount+0x40>                 <== NOT EXECUTED
 20027c0:	82 10 20 14 	mov  0x14, %g1	! 14 <PROM_START+0x14>          <== NOT EXECUTED
                                                                      
  /*                                                                  
   * Did the node indicate that there was a directory mounted here?   
   */                                                                 
                                                                      
  if ( node->info.directory.mt_fs == NULL )                           
 20027c4:	80 a0 a0 00 	cmp  %g2, 0                                    
 20027c8:	32 80 00 08 	bne,a   20027e8 <IMFS_unmount+0x4c>            <== ALWAYS TAKEN
 20027cc:	c0 20 60 5c 	clr  [ %g1 + 0x5c ]                            
    rtems_set_errno_and_return_minus_one( EINVAL );  /* XXX */        
 20027d0:	40 00 2d 49 	call  200dcf4 <__errno>                        <== NOT EXECUTED
 20027d4:	01 00 00 00 	nop                                            <== NOT EXECUTED
 20027d8:	82 10 20 16 	mov  0x16, %g1	! 16 <PROM_START+0x16>          <== NOT EXECUTED
 20027dc:	c2 22 00 00 	st  %g1, [ %o0 ]                               <== NOT EXECUTED
 20027e0:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 20027e4:	91 e8 3f ff 	restore  %g0, -1, %o0                          <== NOT EXECUTED
   */                                                                 
                                                                      
  node->info.directory.mt_fs = NULL;                                  
                                                                      
  return 0;                                                           
}                                                                     
 20027e8:	81 c7 e0 08 	ret                                            
 20027ec:	91 e8 20 00 	restore  %g0, 0, %o0                           
                                                                      

02001e84 <Stack_check_Dump_threads_usage>: static rtems_printk_plugin_t print_handler; void Stack_check_Dump_threads_usage( Thread_Control *the_thread ) {
 2001e84:	9d e3 bf 98 	save  %sp, -104, %sp                           
                                                                      
  /*                                                                  
   *  Obtain interrupt stack information                              
   */                                                                 
  #if (CPU_ALLOCATE_INTERRUPT_STACK == TRUE)                          
    if (the_thread == (Thread_Control *) -1) {                        
 2001e88:	80 a6 3f ff 	cmp  %i0, -1                                   
 2001e8c:	32 80 00 0a 	bne,a   2001eb4 <Stack_check_Dump_threads_usage+0x30>
 2001e90:	e0 06 21 40 	ld  [ %i0 + 0x140 ], %l0                       
      if (!Stack_check_Interrupt_stack.area)                          
 2001e94:	33 00 80 53 	sethi  %hi(0x2014c00), %i1                     
 2001e98:	b2 16 60 fc 	or  %i1, 0xfc, %i1	! 2014cfc <Stack_check_Interrupt_stack>
 2001e9c:	c2 06 60 04 	ld  [ %i1 + 4 ], %g1                           
        return;                                                       
      stack = &Stack_check_Interrupt_stack;                           
      the_thread = 0;                                                 
      current = 0;                                                    
 2001ea0:	a0 10 20 00 	clr  %l0                                       
  /*                                                                  
   *  Obtain interrupt stack information                              
   */                                                                 
  #if (CPU_ALLOCATE_INTERRUPT_STACK == TRUE)                          
    if (the_thread == (Thread_Control *) -1) {                        
      if (!Stack_check_Interrupt_stack.area)                          
 2001ea4:	80 a0 60 00 	cmp  %g1, 0                                    
 2001ea8:	12 80 00 04 	bne  2001eb8 <Stack_check_Dump_threads_usage+0x34><== ALWAYS TAKEN
 2001eac:	b0 10 20 00 	clr  %i0                                       
 2001eb0:	30 80 00 4f 	b,a   2001fec <Stack_check_Dump_threads_usage+0x168><== NOT EXECUTED
      the_thread = 0;                                                 
      current = 0;                                                    
    } else                                                            
  #endif                                                              
    {                                                                 
      stack  = &the_thread->Start.Initial_stack;                      
 2001eb4:	b2 06 20 b4 	add  %i0, 0xb4, %i1                            
      current = (void *)_CPU_Context_Get_SP( &the_thread->Registers );
    }                                                                 
                                                                      
  low  = Stack_check_usable_stack_start(stack);                       
 2001eb8:	c4 06 60 04 	ld  [ %i1 + 4 ], %g2                           
  size = Stack_check_usable_stack_size(stack);                        
 2001ebc:	f4 06 40 00 	ld  [ %i1 ], %i2                               
    /*                                                                
     * start at lower memory and find first word that does not        
     * match pattern                                                  
     */                                                               
                                                                      
    base += PATTERN_SIZE_WORDS;                                       
 2001ec0:	82 00 a0 20 	add  %g2, 0x20, %g1                            
      stack  = &the_thread->Start.Initial_stack;                      
      current = (void *)_CPU_Context_Get_SP( &the_thread->Registers );
    }                                                                 
                                                                      
  low  = Stack_check_usable_stack_start(stack);                       
  size = Stack_check_usable_stack_size(stack);                        
 2001ec4:	b4 06 bf f0 	add  %i2, -16, %i2                             
     * match pattern                                                  
     */                                                               
                                                                      
    base += PATTERN_SIZE_WORDS;                                       
    for (ebase = base + length; base < ebase; base++)                 
      if (*base != U32_PATTERN)                                       
 2001ec8:	07 29 69 69 	sethi  %hi(0xa5a5a400), %g3                    
     * start at lower memory and find first word that does not        
     * match pattern                                                  
     */                                                               
                                                                      
    base += PATTERN_SIZE_WORDS;                                       
    for (ebase = base + length; base < ebase; base++)                 
 2001ecc:	88 0e bf fc 	and  %i2, -4, %g4                              
      if (*base != U32_PATTERN)                                       
 2001ed0:	86 10 e1 a5 	or  %g3, 0x1a5, %g3                            
     * start at lower memory and find first word that does not        
     * match pattern                                                  
     */                                                               
                                                                      
    base += PATTERN_SIZE_WORDS;                                       
    for (ebase = base + length; base < ebase; base++)                 
 2001ed4:	10 80 00 06 	b  2001eec <Stack_check_Dump_threads_usage+0x68>
 2001ed8:	88 00 40 04 	add  %g1, %g4, %g4                             
      if (*base != U32_PATTERN)                                       
 2001edc:	80 a7 40 03 	cmp  %i5, %g3                                  
 2001ee0:	12 80 00 08 	bne  2001f00 <Stack_check_Dump_threads_usage+0x7c>
 2001ee4:	80 a0 60 00 	cmp  %g1, 0                                    
     * start at lower memory and find first word that does not        
     * match pattern                                                  
     */                                                               
                                                                      
    base += PATTERN_SIZE_WORDS;                                       
    for (ebase = base + length; base < ebase; base++)                 
 2001ee8:	82 00 60 04 	add  %g1, 4, %g1                               
 2001eec:	80 a0 40 04 	cmp  %g1, %g4                                  
 2001ef0:	2a bf ff fb 	bcs,a   2001edc <Stack_check_Dump_threads_usage+0x58><== ALWAYS TAKEN
 2001ef4:	fa 00 40 00 	ld  [ %g1 ], %i5                               
  high_water_mark = Stack_check_find_high_water_mark(low, size);      
                                                                      
  if ( high_water_mark )                                              
    used = Stack_check_Calculate_used( low, size, high_water_mark );  
  else                                                                
    used = 0;                                                         
 2001ef8:	10 80 00 07 	b  2001f14 <Stack_check_Dump_threads_usage+0x90><== NOT EXECUTED
 2001efc:	ba 10 20 00 	clr  %i5                                       <== NOT EXECUTED
  low  = Stack_check_usable_stack_start(stack);                       
  size = Stack_check_usable_stack_size(stack);                        
                                                                      
  high_water_mark = Stack_check_find_high_water_mark(low, size);      
                                                                      
  if ( high_water_mark )                                              
 2001f00:	02 80 00 05 	be  2001f14 <Stack_check_Dump_threads_usage+0x90><== NEVER TAKEN
 2001f04:	ba 10 20 00 	clr  %i5                                       
    {                                                                 
      stack  = &the_thread->Start.Initial_stack;                      
      current = (void *)_CPU_Context_Get_SP( &the_thread->Registers );
    }                                                                 
                                                                      
  low  = Stack_check_usable_stack_start(stack);                       
 2001f08:	ba 00 a0 10 	add  %g2, 0x10, %i5                            
  size = Stack_check_usable_stack_size(stack);                        
                                                                      
  high_water_mark = Stack_check_find_high_water_mark(low, size);      
                                                                      
  if ( high_water_mark )                                              
    used = Stack_check_Calculate_used( low, size, high_water_mark );  
 2001f0c:	ba 07 40 1a 	add  %i5, %i2, %i5                             
 2001f10:	ba 27 40 01 	sub  %i5, %g1, %i5                             
  else                                                                
    used = 0;                                                         
                                                                      
                                                                      
  #if (CPU_ALLOCATE_INTERRUPT_STACK == TRUE)                          
    if ( the_thread )                                                 
 2001f14:	80 a6 20 00 	cmp  %i0, 0                                    
 2001f18:	02 80 00 12 	be  2001f60 <Stack_check_Dump_threads_usage+0xdc>
 2001f1c:	03 00 80 52 	sethi  %hi(0x2014800), %g1                     
  #endif                                                              
    {                                                                 
      (*print_handler)(                                               
 2001f20:	f6 06 20 08 	ld  [ %i0 + 8 ], %i3                           
 2001f24:	f8 00 62 60 	ld  [ %g1 + 0x260 ], %i4                       
 2001f28:	03 00 80 52 	sethi  %hi(0x2014800), %g1                     
 2001f2c:	e2 00 62 64 	ld  [ %g1 + 0x264 ], %l1	! 2014a64 <print_context>
 2001f30:	94 07 bf f8 	add  %fp, -8, %o2                              
 2001f34:	90 10 00 1b 	mov  %i3, %o0                                  
 2001f38:	40 00 10 04 	call  2005f48 <rtems_object_get_name>          
 2001f3c:	92 10 20 05 	mov  5, %o1                                    
 2001f40:	13 00 80 4d 	sethi  %hi(0x2013400), %o1                     
 2001f44:	96 10 00 08 	mov  %o0, %o3                                  
 2001f48:	92 12 62 10 	or  %o1, 0x210, %o1                            
 2001f4c:	90 10 00 11 	mov  %l1, %o0                                  
 2001f50:	9f c7 00 00 	call  %i4                                      
 2001f54:	94 10 00 1b 	mov  %i3, %o2                                  
                                                                      
  (*print_handler)(                                                   
    print_context,                                                    
    " %010p - %010p %010p  %8" PRId32 "   ",                          
    stack->area,                                                      
    stack->area + stack->size - 1,                                    
 2001f58:	10 80 00 0a 	b  2001f80 <Stack_check_Dump_threads_usage+0xfc>
 2001f5c:	d4 06 60 04 	ld  [ %i1 + 4 ], %o2                           
        rtems_object_get_name( the_thread->Object.id, sizeof(name), name )
      );                                                              
    }                                                                 
    #if (CPU_ALLOCATE_INTERRUPT_STACK == TRUE)                        
      else {                                                          
        (*print_handler)( print_context, "0x%08" PRIx32 "  INTR", ~0 );
 2001f60:	05 00 80 52 	sethi  %hi(0x2014800), %g2                     
 2001f64:	c2 00 62 60 	ld  [ %g1 + 0x260 ], %g1                       
 2001f68:	d0 00 a2 64 	ld  [ %g2 + 0x264 ], %o0                       
 2001f6c:	13 00 80 4d 	sethi  %hi(0x2013400), %o1                     
 2001f70:	94 10 3f ff 	mov  -1, %o2                                   
 2001f74:	9f c0 40 00 	call  %g1                                      
 2001f78:	92 12 62 20 	or  %o1, 0x220, %o1                            
                                                                      
  (*print_handler)(                                                   
    print_context,                                                    
    " %010p - %010p %010p  %8" PRId32 "   ",                          
    stack->area,                                                      
    stack->area + stack->size - 1,                                    
 2001f7c:	d4 06 60 04 	ld  [ %i1 + 4 ], %o2                           
      else {                                                          
        (*print_handler)( print_context, "0x%08" PRIx32 "  INTR", ~0 );
      }                                                               
    #endif                                                            
                                                                      
  (*print_handler)(                                                   
 2001f80:	37 00 80 52 	sethi  %hi(0x2014800), %i3                     
 2001f84:	39 00 80 52 	sethi  %hi(0x2014800), %i4                     
    print_context,                                                    
    " %010p - %010p %010p  %8" PRId32 "   ",                          
    stack->area,                                                      
    stack->area + stack->size - 1,                                    
 2001f88:	d6 06 40 00 	ld  [ %i1 ], %o3                               
      else {                                                          
        (*print_handler)( print_context, "0x%08" PRIx32 "  INTR", ~0 );
      }                                                               
    #endif                                                            
                                                                      
  (*print_handler)(                                                   
 2001f8c:	c2 06 e2 60 	ld  [ %i3 + 0x260 ], %g1                       
 2001f90:	d0 07 22 64 	ld  [ %i4 + 0x264 ], %o0                       
    print_context,                                                    
    " %010p - %010p %010p  %8" PRId32 "   ",                          
    stack->area,                                                      
    stack->area + stack->size - 1,                                    
 2001f94:	96 02 ff ff 	add  %o3, -1, %o3                              
      else {                                                          
        (*print_handler)( print_context, "0x%08" PRIx32 "  INTR", ~0 );
      }                                                               
    #endif                                                            
                                                                      
  (*print_handler)(                                                   
 2001f98:	13 00 80 4d 	sethi  %hi(0x2013400), %o1                     
 2001f9c:	96 02 80 0b 	add  %o2, %o3, %o3                             
 2001fa0:	92 12 62 30 	or  %o1, 0x230, %o1                            
 2001fa4:	98 10 00 10 	mov  %l0, %o4                                  
 2001fa8:	9f c0 40 00 	call  %g1                                      
 2001fac:	9a 10 00 1a 	mov  %i2, %o5                                  
    stack->area + stack->size - 1,                                    
    current,                                                          
    size                                                              
  );                                                                  
                                                                      
  if (Stack_check_Initialized == 0) {                                 
 2001fb0:	03 00 80 52 	sethi  %hi(0x2014800), %g1                     
 2001fb4:	c2 00 62 5c 	ld  [ %g1 + 0x25c ], %g1	! 2014a5c <Stack_check_Initialized>
    (*print_handler)( print_context, "Unavailable\n" );               
 2001fb8:	d0 07 22 64 	ld  [ %i4 + 0x264 ], %o0                       
    stack->area + stack->size - 1,                                    
    current,                                                          
    size                                                              
  );                                                                  
                                                                      
  if (Stack_check_Initialized == 0) {                                 
 2001fbc:	80 a0 60 00 	cmp  %g1, 0                                    
 2001fc0:	12 80 00 07 	bne  2001fdc <Stack_check_Dump_threads_usage+0x158><== ALWAYS TAKEN
 2001fc4:	c2 06 e2 60 	ld  [ %i3 + 0x260 ], %g1                       
    (*print_handler)( print_context, "Unavailable\n" );               
 2001fc8:	13 00 80 4d 	sethi  %hi(0x2013400), %o1                     <== NOT EXECUTED
 2001fcc:	9f c0 40 00 	call  %g1                                      <== NOT EXECUTED
 2001fd0:	92 12 62 50 	or  %o1, 0x250, %o1	! 2013650 <rtems_filesystem_table+0x434><== NOT EXECUTED
 2001fd4:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2001fd8:	81 e8 00 00 	restore                                        <== NOT EXECUTED
  } else {                                                            
    (*print_handler)( print_context, "%8" PRId32 "\n", used );        
 2001fdc:	13 00 80 4d 	sethi  %hi(0x2013400), %o1                     
 2001fe0:	94 10 00 1d 	mov  %i5, %o2                                  
 2001fe4:	9f c0 40 00 	call  %g1                                      
 2001fe8:	92 12 62 60 	or  %o1, 0x260, %o1                            
 2001fec:	81 c7 e0 08 	ret                                            
 2001ff0:	81 e8 00 00 	restore                                        
                                                                      

02001ff4 <Stack_check_Initialize>: /* * Stack_check_Initialize */ void Stack_check_Initialize( void ) {
 2001ff4:	9d e3 bf a0 	save  %sp, -96, %sp                            
  static    uint32_t pattern[ 4 ] = {                                 
    0xFEEDF00D, 0x0BAD0D06,  /* FEED FOOD to  BAD DOG */              
    0xDEADF00D, 0x600D0D06   /* DEAD FOOD but GOOD DOG */             
  };                                                                  
                                                                      
  if ( Stack_check_Initialized )                                      
 2001ff8:	03 00 80 52 	sethi  %hi(0x2014800), %g1                     
 2001ffc:	c2 00 62 5c 	ld  [ %g1 + 0x25c ], %g1	! 2014a5c <Stack_check_Initialized>
 2002000:	80 a0 60 00 	cmp  %g1, 0                                    
 2002004:	12 80 00 21 	bne  2002088 <Stack_check_Initialize+0x94>     
 2002008:	05 00 80 53 	sethi  %hi(0x2014c00), %g2                     
  /*                                                                  
   * Dope the pattern and fill areas                                  
   */                                                                 
  p = Stack_check_Pattern.pattern;                                    
  for ( i = 0; i < PATTERN_SIZE_WORDS; i++ ) {                        
      p[i] = pattern[ i%4 ];                                          
 200200c:	07 3f bb 7c 	sethi  %hi(0xfeedf000), %g3                    
 2002010:	82 10 a0 ec 	or  %g2, 0xec, %g1                             
 2002014:	86 10 e0 0d 	or  %g3, 0xd, %g3                              
 2002018:	c6 20 a0 ec 	st  %g3, [ %g2 + 0xec ]                        
 200201c:	05 02 eb 43 	sethi  %hi(0xbad0c00), %g2                     
 2002020:	84 10 a1 06 	or  %g2, 0x106, %g2	! bad0d06 <RAM_END+0x96d0d06>
 2002024:	c4 20 60 04 	st  %g2, [ %g1 + 4 ]                           
 2002028:	05 37 ab 7c 	sethi  %hi(0xdeadf000), %g2                    
 200202c:	84 10 a0 0d 	or  %g2, 0xd, %g2	! deadf00d <RAM_END+0xdc6df00d>
 2002030:	c4 20 60 08 	st  %g2, [ %g1 + 8 ]                           
 2002034:	05 18 03 43 	sethi  %hi(0x600d0c00), %g2                    
 2002038:	84 10 a1 06 	or  %g2, 0x106, %g2	! 600d0d06 <RAM_END+0x5dcd0d06>
 200203c:	c4 20 60 0c 	st  %g2, [ %g1 + 0xc ]                         
  /*                                                                  
   * If appropriate, setup the interrupt stack for high water testing 
   * also.                                                            
   */                                                                 
  #if (CPU_ALLOCATE_INTERRUPT_STACK == TRUE)                          
    if (_CPU_Interrupt_stack_low && _CPU_Interrupt_stack_high) {      
 2002040:	03 00 80 54 	sethi  %hi(0x2015000), %g1                     
 2002044:	d0 00 61 00 	ld  [ %g1 + 0x100 ], %o0	! 2015100 <_Per_CPU_Information>
 2002048:	80 a2 20 00 	cmp  %o0, 0                                    
 200204c:	02 80 00 0c 	be  200207c <Stack_check_Initialize+0x88>      <== NEVER TAKEN
 2002050:	84 10 61 00 	or  %g1, 0x100, %g2                            
 2002054:	d4 00 a0 04 	ld  [ %g2 + 4 ], %o2                           
 2002058:	80 a2 a0 00 	cmp  %o2, 0                                    
 200205c:	02 80 00 08 	be  200207c <Stack_check_Initialize+0x88>      <== NEVER TAKEN
 2002060:	03 00 80 53 	sethi  %hi(0x2014c00), %g1                     
      Stack_check_Interrupt_stack.area = _CPU_Interrupt_stack_low;    
 2002064:	84 10 60 fc 	or  %g1, 0xfc, %g2	! 2014cfc <Stack_check_Interrupt_stack>
      Stack_check_Interrupt_stack.size = (char *) _CPU_Interrupt_stack_high -
 2002068:	94 22 80 08 	sub  %o2, %o0, %o2                             
   * If appropriate, setup the interrupt stack for high water testing 
   * also.                                                            
   */                                                                 
  #if (CPU_ALLOCATE_INTERRUPT_STACK == TRUE)                          
    if (_CPU_Interrupt_stack_low && _CPU_Interrupt_stack_high) {      
      Stack_check_Interrupt_stack.area = _CPU_Interrupt_stack_low;    
 200206c:	d0 20 a0 04 	st  %o0, [ %g2 + 4 ]                           
      Stack_check_Interrupt_stack.size = (char *) _CPU_Interrupt_stack_high -
 2002070:	d4 20 60 fc 	st  %o2, [ %g1 + 0xfc ]                        
                                  (char *) _CPU_Interrupt_stack_low;  
      Stack_check_Dope_stack(&Stack_check_Interrupt_stack);           
 2002074:	40 00 30 b7 	call  200e350 <memset>                         
 2002078:	92 10 20 a5 	mov  0xa5, %o1                                 
   }                                                                  
  #endif                                                              
                                                                      
  Stack_check_Initialized = 1;                                        
 200207c:	84 10 20 01 	mov  1, %g2                                    
 2002080:	03 00 80 52 	sethi  %hi(0x2014800), %g1                     
 2002084:	c4 20 62 5c 	st  %g2, [ %g1 + 0x25c ]	! 2014a5c <Stack_check_Initialized>
 2002088:	81 c7 e0 08 	ret                                            
 200208c:	81 e8 00 00 	restore                                        
                                                                      

020020f0 <Stack_check_report_blown_task>: Thread_Control *running, bool pattern_ok ) RTEMS_COMPILER_NO_RETURN_ATTRIBUTE; void Stack_check_report_blown_task(Thread_Control *running, bool pattern_ok) {
 20020f0:	9d e3 bf 80 	save  %sp, -128, %sp                           
  Stack_Control *stack = &running->Start.Initial_stack;               
  void          *pattern_area = Stack_check_Get_pattern(stack);       
  char           name[32];                                            
                                                                      
  printk("BLOWN STACK!!!\n");                                         
 20020f4:	11 00 80 4d 	sethi  %hi(0x2013400), %o0                     
) RTEMS_COMPILER_NO_RETURN_ATTRIBUTE;                                 
                                                                      
void Stack_check_report_blown_task(Thread_Control *running, bool pattern_ok)
{                                                                     
  Stack_Control *stack = &running->Start.Initial_stack;               
  void          *pattern_area = Stack_check_Get_pattern(stack);       
 20020f8:	fa 06 20 b8 	ld  [ %i0 + 0xb8 ], %i5                        
  char           name[32];                                            
                                                                      
  printk("BLOWN STACK!!!\n");                                         
 20020fc:	40 00 06 2d 	call  20039b0 <printk>                         
 2002100:	90 12 22 68 	or  %o0, 0x268, %o0                            
  printk("task control block: 0x%08" PRIxPTR "\n", running);          
 2002104:	92 10 00 18 	mov  %i0, %o1                                  
 2002108:	11 00 80 4d 	sethi  %hi(0x2013400), %o0                     
 200210c:	40 00 06 29 	call  20039b0 <printk>                         
 2002110:	90 12 22 78 	or  %o0, 0x278, %o0	! 2013678 <rtems_filesystem_table+0x45c>
  printk("task ID: 0x%08lx\n", (unsigned long) running->Object.id);   
 2002114:	d2 06 20 08 	ld  [ %i0 + 8 ], %o1                           
 2002118:	11 00 80 4d 	sethi  %hi(0x2013400), %o0                     
 200211c:	40 00 06 25 	call  20039b0 <printk>                         
 2002120:	90 12 22 98 	or  %o0, 0x298, %o0	! 2013698 <rtems_filesystem_table+0x47c>
  printk(                                                             
 2002124:	d2 06 20 0c 	ld  [ %i0 + 0xc ], %o1                         
 2002128:	11 00 80 4d 	sethi  %hi(0x2013400), %o0                     
 200212c:	40 00 06 21 	call  20039b0 <printk>                         
 2002130:	90 12 22 b0 	or  %o0, 0x2b0, %o0	! 20136b0 <rtems_filesystem_table+0x494>
    "task name: 0x%08" PRIx32 "\n",                                   
    running->Object.name.name_u32                                     
  );                                                                  
  printk(                                                             
 2002134:	d0 06 20 08 	ld  [ %i0 + 8 ], %o0                           
 2002138:	94 07 bf e0 	add  %fp, -32, %o2                             
 200213c:	40 00 0f 83 	call  2005f48 <rtems_object_get_name>          
 2002140:	92 10 20 20 	mov  0x20, %o1                                 
 2002144:	92 10 00 08 	mov  %o0, %o1                                  
 2002148:	11 00 80 4d 	sethi  %hi(0x2013400), %o0                     
 200214c:	40 00 06 19 	call  20039b0 <printk>                         
 2002150:	90 12 22 c8 	or  %o0, 0x2c8, %o0	! 20136c8 <rtems_filesystem_table+0x4ac>
  );                                                                  
  printk(                                                             
    "task stack area (%lu Bytes): 0x%08" PRIxPTR " .. 0x%08" PRIxPTR "\n",
    (unsigned long) stack->size,                                      
    stack->area,                                                      
    ((char *) stack->area + stack->size)                              
 2002154:	d4 06 20 b8 	ld  [ %i0 + 0xb8 ], %o2                        
 2002158:	d2 06 20 b4 	ld  [ %i0 + 0xb4 ], %o1                        
  );                                                                  
  printk(                                                             
    "task name string: %s\n",                                         
    rtems_object_get_name(running->Object.id, sizeof(name), name)     
  );                                                                  
  printk(                                                             
 200215c:	11 00 80 4d 	sethi  %hi(0x2013400), %o0                     
 2002160:	96 02 80 09 	add  %o2, %o1, %o3                             
 2002164:	40 00 06 13 	call  20039b0 <printk>                         
 2002168:	90 12 22 e0 	or  %o0, 0x2e0, %o0                            
    "task stack area (%lu Bytes): 0x%08" PRIxPTR " .. 0x%08" PRIxPTR "\n",
    (unsigned long) stack->size,                                      
    stack->area,                                                      
    ((char *) stack->area + stack->size)                              
  );                                                                  
  if (!pattern_ok) {                                                  
 200216c:	80 a6 60 00 	cmp  %i1, 0                                    
 2002170:	12 80 00 07 	bne  200218c <Stack_check_report_blown_task+0x9c><== NEVER TAKEN
 2002174:	11 00 80 4d 	sethi  %hi(0x2013400), %o0                     
    printk(                                                           
 2002178:	92 10 20 10 	mov  0x10, %o1                                 
 200217c:	90 12 23 18 	or  %o0, 0x318, %o0                            
 2002180:	94 07 60 08 	add  %i5, 8, %o2                               
 2002184:	40 00 06 0b 	call  20039b0 <printk>                         
 2002188:	96 07 60 18 	add  %i5, 0x18, %o3                            
          rtems_configuration_get_user_multiprocessing_table()->node  
      );                                                              
    }                                                                 
  #endif                                                              
                                                                      
  rtems_fatal_error_occurred(0x81);                                   
 200218c:	40 00 11 a4 	call  200681c <rtems_fatal_error_occurred>     
 2002190:	90 10 20 81 	mov  0x81, %o0                                 
                                                                      

0200fbf4 <_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 ) {
 200fbf4:	9d e3 bf a0 	save  %sp, -96, %sp                            
  size_t message_buffering_required = 0;                              
  size_t allocated_message_size;                                      
                                                                      
  the_message_queue->maximum_pending_messages   = maximum_pending_messages;
 200fbf8:	f4 26 20 44 	st  %i2, [ %i0 + 0x44 ]                        
  the_message_queue->number_of_pending_messages = 0;                  
 200fbfc:	c0 26 20 48 	clr  [ %i0 + 0x48 ]                            
  the_message_queue->maximum_message_size       = maximum_message_size;
 200fc00:	f6 26 20 4c 	st  %i3, [ %i0 + 0x4c ]                        
  /*                                                                  
   *  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)) {              
 200fc04:	80 8e e0 03 	btst  3, %i3                                   
 200fc08:	02 80 00 07 	be  200fc24 <_CORE_message_queue_Initialize+0x30>
 200fc0c:	ba 10 00 1b 	mov  %i3, %i5                                  
    allocated_message_size += sizeof(uint32_t);                       
 200fc10:	ba 06 e0 04 	add  %i3, 4, %i5                               
    allocated_message_size &= ~(sizeof(uint32_t) - 1);                
 200fc14:	ba 0f 7f fc 	and  %i5, -4, %i5                              
  }                                                                   
                                                                      
  if (allocated_message_size < maximum_message_size)                  
 200fc18:	80 a7 40 1b 	cmp  %i5, %i3                                  
 200fc1c:	0a 80 00 24 	bcs  200fcac <_CORE_message_queue_Initialize+0xb8><== NEVER TAKEN
 200fc20:	b8 10 20 00 	clr  %i4                                       
                                                                      
  /*                                                                  
   *  Calculate how much total memory is required for message buffering and
   *  check for overflow on the multiplication.                       
   */                                                                 
  if ( !size_t_mult32_with_overflow(                                  
 200fc24:	ba 07 60 10 	add  %i5, 0x10, %i5                            
  size_t  a,                                                          
  size_t  b,                                                          
  size_t *c                                                           
)                                                                     
{                                                                     
  long long x = (long long)a*b;                                       
 200fc28:	90 10 20 00 	clr  %o0                                       
 200fc2c:	92 10 00 1a 	mov  %i2, %o1                                  
 200fc30:	94 10 20 00 	clr  %o2                                       
 200fc34:	96 10 00 1d 	mov  %i5, %o3                                  
 200fc38:	40 00 3e fc 	call  201f828 <__muldi3>                       
 200fc3c:	b8 10 20 00 	clr  %i4                                       
                                                                      
  if ( x > SIZE_MAX )                                                 
 200fc40:	80 a2 20 00 	cmp  %o0, 0                                    
 200fc44:	34 80 00 1b 	bg,a   200fcb0 <_CORE_message_queue_Initialize+0xbc>
 200fc48:	b0 0f 20 01 	and  %i4, 1, %i0                               
                                                                      
  /*                                                                  
   *  Attempt to allocate the message memory                          
   */                                                                 
  the_message_queue->message_buffers = (CORE_message_queue_Buffer *)  
     _Workspace_Allocate( message_buffering_required );               
 200fc4c:	40 00 0c 15 	call  2012ca0 <_Workspace_Allocate>            
 200fc50:	90 10 00 09 	mov  %o1, %o0                                  
    return false;                                                     
                                                                      
  /*                                                                  
   *  Attempt to allocate the message memory                          
   */                                                                 
  the_message_queue->message_buffers = (CORE_message_queue_Buffer *)  
 200fc54:	d0 26 20 5c 	st  %o0, [ %i0 + 0x5c ]                        
     _Workspace_Allocate( message_buffering_required );               
                                                                      
  if (the_message_queue->message_buffers == 0)                        
 200fc58:	80 a2 20 00 	cmp  %o0, 0                                    
 200fc5c:	02 80 00 14 	be  200fcac <_CORE_message_queue_Initialize+0xb8><== NEVER TAKEN
 200fc60:	92 10 00 08 	mov  %o0, %o1                                  
                                                                      
  /*                                                                  
   *  Initialize the pool of inactive messages, pending messages,     
   *  and set of waiting threads.                                     
   */                                                                 
  _Chain_Initialize (                                                 
 200fc64:	90 06 20 60 	add  %i0, 0x60, %o0                            
 200fc68:	94 10 00 1a 	mov  %i2, %o2                                  
 200fc6c:	40 00 13 f9 	call  2014c50 <_Chain_Initialize>              
 200fc70:	96 10 00 1d 	mov  %i5, %o3                                  
RTEMS_INLINE_ROUTINE void _Chain_Initialize_empty(                    
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
 200fc74:	82 06 20 50 	add  %i0, 0x50, %g1                            
                                                                      
  head->next = tail;                                                  
  head->previous = NULL;                                              
  tail->previous = head;                                              
 200fc78:	c2 26 20 58 	st  %g1, [ %i0 + 0x58 ]                        
    allocated_message_size + sizeof( CORE_message_queue_Buffer_control )
  );                                                                  
                                                                      
  _Chain_Initialize_empty( &the_message_queue->Pending_messages );    
                                                                      
  _Thread_queue_Initialize(                                           
 200fc7c:	c2 06 40 00 	ld  [ %i1 ], %g1                               
RTEMS_INLINE_ROUTINE void _Chain_Initialize_empty(                    
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
 200fc80:	84 06 20 54 	add  %i0, 0x54, %g2                            
 200fc84:	82 18 60 01 	xor  %g1, 1, %g1                               
 200fc88:	80 a0 00 01 	cmp  %g0, %g1                                  
                                                                      
  head->next = tail;                                                  
 200fc8c:	c4 26 20 50 	st  %g2, [ %i0 + 0x50 ]                        
  head->previous = NULL;                                              
 200fc90:	c0 26 20 54 	clr  [ %i0 + 0x54 ]                            
 200fc94:	90 10 00 18 	mov  %i0, %o0                                  
 200fc98:	92 60 3f ff 	subx  %g0, -1, %o1                             
 200fc9c:	94 10 20 80 	mov  0x80, %o2                                 
 200fca0:	96 10 20 06 	mov  6, %o3                                    
 200fca4:	40 00 09 ab 	call  2012350 <_Thread_queue_Initialize>       
 200fca8:	b8 10 20 01 	mov  1, %i4                                    
    STATES_WAITING_FOR_MESSAGE,                                       
    CORE_MESSAGE_QUEUE_STATUS_TIMEOUT                                 
  );                                                                  
                                                                      
  return true;                                                        
}                                                                     
 200fcac:	b0 0f 20 01 	and  %i4, 1, %i0                               
 200fcb0:	81 c7 e0 08 	ret                                            
 200fcb4:	81 e8 00 00 	restore                                        
                                                                      

020072a8 <_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 ) {
 20072a8:	9d e3 bf a0 	save  %sp, -96, %sp                            
  ISR_Level       level;                                              
  CORE_semaphore_Status status;                                       
                                                                      
  status = CORE_SEMAPHORE_STATUS_SUCCESSFUL;                          
                                                                      
  if ( (the_thread = _Thread_queue_Dequeue(&the_semaphore->Wait_queue)) ) {
 20072ac:	90 10 00 18 	mov  %i0, %o0                                  
 20072b0:	40 00 07 47 	call  2008fcc <_Thread_queue_Dequeue>          
 20072b4:	ba 10 00 18 	mov  %i0, %i5                                  
 20072b8:	80 a2 20 00 	cmp  %o0, 0                                    
 20072bc:	12 80 00 0e 	bne  20072f4 <_CORE_semaphore_Surrender+0x4c>  
 20072c0:	b0 10 20 00 	clr  %i0                                       
    if ( !_Objects_Is_local_id( the_thread->Object.id ) )             
      (*api_semaphore_mp_support) ( the_thread, id );                 
#endif                                                                
                                                                      
  } else {                                                            
    _ISR_Disable( level );                                            
 20072c4:	7f ff eb ae 	call  200217c <sparc_disable_interrupts>       
 20072c8:	01 00 00 00 	nop                                            
      if ( the_semaphore->count < the_semaphore->Attributes.maximum_count )
 20072cc:	c2 07 60 48 	ld  [ %i5 + 0x48 ], %g1                        
 20072d0:	c4 07 60 40 	ld  [ %i5 + 0x40 ], %g2                        
 20072d4:	80 a0 40 02 	cmp  %g1, %g2                                  
 20072d8:	1a 80 00 05 	bcc  20072ec <_CORE_semaphore_Surrender+0x44>  <== NEVER TAKEN
 20072dc:	b0 10 20 04 	mov  4, %i0                                    
        the_semaphore->count += 1;                                    
 20072e0:	82 00 60 01 	inc  %g1                                       
{                                                                     
  Thread_Control *the_thread;                                         
  ISR_Level       level;                                              
  CORE_semaphore_Status status;                                       
                                                                      
  status = CORE_SEMAPHORE_STATUS_SUCCESSFUL;                          
 20072e4:	b0 10 20 00 	clr  %i0                                       
#endif                                                                
                                                                      
  } else {                                                            
    _ISR_Disable( level );                                            
      if ( the_semaphore->count < the_semaphore->Attributes.maximum_count )
        the_semaphore->count += 1;                                    
 20072e8:	c2 27 60 48 	st  %g1, [ %i5 + 0x48 ]                        
      else                                                            
        status = CORE_SEMAPHORE_MAXIMUM_COUNT_EXCEEDED;               
    _ISR_Enable( level );                                             
 20072ec:	7f ff eb a8 	call  200218c <sparc_enable_interrupts>        
 20072f0:	01 00 00 00 	nop                                            
  }                                                                   
                                                                      
  return status;                                                      
}                                                                     
 20072f4:	81 c7 e0 08 	ret                                            
 20072f8:	81 e8 00 00 	restore                                        
                                                                      

02006028 <_Event_Surrender>: */ void _Event_Surrender( Thread_Control *the_thread ) {
 2006028:	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 ];               
 200602c:	f8 06 21 58 	ld  [ %i0 + 0x158 ], %i4                       
                                                                      
  option_set = (rtems_option) the_thread->Wait.option;                
 2006030:	f6 06 20 30 	ld  [ %i0 + 0x30 ], %i3                        
                                                                      
  _ISR_Disable( level );                                              
 2006034:	7f ff f0 52 	call  200217c <sparc_disable_interrupts>       
 2006038:	ba 10 00 18 	mov  %i0, %i5                                  
 200603c:	b0 10 00 08 	mov  %o0, %i0                                  
  pending_events  = api->pending_events;                              
 2006040:	c4 07 00 00 	ld  [ %i4 ], %g2                               
  event_condition = (rtems_event_set) the_thread->Wait.count;         
 2006044:	c6 07 60 24 	ld  [ %i5 + 0x24 ], %g3                        
  seized_events = _Event_sets_Get( pending_events, event_condition ); 
                                                                      
  /*                                                                  
   *  No events were seized in this operation                         
   */                                                                 
  if ( _Event_sets_Is_empty( seized_events ) ) {                      
 2006048:	82 88 c0 02 	andcc  %g3, %g2, %g1                           
 200604c:	02 80 00 43 	be  2006158 <_Event_Surrender+0x130>           
 2006050:	01 00 00 00 	nop                                            
                                                                      
  /*                                                                  
   *  If we are in an ISR and sending to the current thread, then     
   *  we have a critical section issue to deal with.                  
   */                                                                 
  if ( _ISR_Is_in_progress() &&                                       
 2006054:	09 00 80 6d 	sethi  %hi(0x201b400), %g4                     
 2006058:	88 11 23 50 	or  %g4, 0x350, %g4	! 201b750 <_Per_CPU_Information>
 200605c:	f2 01 20 08 	ld  [ %g4 + 8 ], %i1                           
 2006060:	80 a6 60 00 	cmp  %i1, 0                                    
 2006064:	22 80 00 1d 	be,a   20060d8 <_Event_Surrender+0xb0>         
 2006068:	c8 07 60 10 	ld  [ %i5 + 0x10 ], %g4                        
 200606c:	c8 01 20 0c 	ld  [ %g4 + 0xc ], %g4                         
 2006070:	80 a7 40 04 	cmp  %i5, %g4                                  
 2006074:	32 80 00 19 	bne,a   20060d8 <_Event_Surrender+0xb0>        
 2006078:	c8 07 60 10 	ld  [ %i5 + 0x10 ], %g4                        
       _Thread_Is_executing( the_thread ) &&                          
       ((_Event_Sync_state == THREAD_BLOCKING_OPERATION_TIMEOUT) ||   
 200607c:	09 00 80 6d 	sethi  %hi(0x201b400), %g4                     
 2006080:	f2 01 23 b0 	ld  [ %g4 + 0x3b0 ], %i1	! 201b7b0 <_Event_Sync_state>
  /*                                                                  
   *  If we are in an ISR and sending to the current thread, then     
   *  we have a critical section issue to deal with.                  
   */                                                                 
  if ( _ISR_Is_in_progress() &&                                       
       _Thread_Is_executing( the_thread ) &&                          
 2006084:	80 a6 60 02 	cmp  %i1, 2                                    
 2006088:	02 80 00 07 	be  20060a4 <_Event_Surrender+0x7c>            <== NEVER TAKEN
 200608c:	80 a0 40 03 	cmp  %g1, %g3                                  
       ((_Event_Sync_state == THREAD_BLOCKING_OPERATION_TIMEOUT) ||   
        (_Event_Sync_state == THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED)) ) {
 2006090:	c8 01 23 b0 	ld  [ %g4 + 0x3b0 ], %g4                       
   *  If we are in an ISR and sending to the current thread, then     
   *  we have a critical section issue to deal with.                  
   */                                                                 
  if ( _ISR_Is_in_progress() &&                                       
       _Thread_Is_executing( the_thread ) &&                          
       ((_Event_Sync_state == THREAD_BLOCKING_OPERATION_TIMEOUT) ||   
 2006094:	80 a1 20 01 	cmp  %g4, 1                                    
 2006098:	32 80 00 10 	bne,a   20060d8 <_Event_Surrender+0xb0>        
 200609c:	c8 07 60 10 	ld  [ %i5 + 0x10 ], %g4                        
        (_Event_Sync_state == THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED)) ) {
    if ( seized_events == event_condition || _Options_Is_any(option_set) ) {
 20060a0:	80 a0 40 03 	cmp  %g1, %g3                                  
 20060a4:	02 80 00 04 	be  20060b4 <_Event_Surrender+0x8c>            
 20060a8:	80 8e e0 02 	btst  2, %i3                                   
 20060ac:	02 80 00 2b 	be  2006158 <_Event_Surrender+0x130>           <== NEVER TAKEN
 20060b0:	01 00 00 00 	nop                                            
RTEMS_INLINE_ROUTINE rtems_event_set _Event_sets_Clear(               
 rtems_event_set the_event_set,                                       
 rtems_event_set the_mask                                             
)                                                                     
{                                                                     
   return ( the_event_set & ~(the_mask) );                            
 20060b4:	84 28 80 01 	andn  %g2, %g1, %g2                            
      api->pending_events = _Event_sets_Clear( pending_events,seized_events );
 20060b8:	c4 27 00 00 	st  %g2, [ %i4 ]                               
      the_thread->Wait.count = 0;                                     
      *(rtems_event_set *)the_thread->Wait.return_argument = seized_events;
 20060bc:	c4 07 60 28 	ld  [ %i5 + 0x28 ], %g2                        
       _Thread_Is_executing( the_thread ) &&                          
       ((_Event_Sync_state == THREAD_BLOCKING_OPERATION_TIMEOUT) ||   
        (_Event_Sync_state == THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED)) ) {
    if ( seized_events == event_condition || _Options_Is_any(option_set) ) {
      api->pending_events = _Event_sets_Clear( pending_events,seized_events );
      the_thread->Wait.count = 0;                                     
 20060c0:	c0 27 60 24 	clr  [ %i5 + 0x24 ]                            
      *(rtems_event_set *)the_thread->Wait.return_argument = seized_events;
 20060c4:	c2 20 80 00 	st  %g1, [ %g2 ]                               
      _Event_Sync_state = THREAD_BLOCKING_OPERATION_SATISFIED;        
 20060c8:	84 10 20 03 	mov  3, %g2                                    
 20060cc:	03 00 80 6d 	sethi  %hi(0x201b400), %g1                     
 20060d0:	c4 20 63 b0 	st  %g2, [ %g1 + 0x3b0 ]	! 201b7b0 <_Event_Sync_state>
 20060d4:	30 80 00 21 	b,a   2006158 <_Event_Surrender+0x130>         
  }                                                                   
                                                                      
  /*                                                                  
   *  Otherwise, this is a normal send to another thread              
   */                                                                 
  if ( _States_Is_waiting_for_event( the_thread->current_state ) ) {  
 20060d8:	80 89 21 00 	btst  0x100, %g4                               
 20060dc:	02 80 00 1f 	be  2006158 <_Event_Surrender+0x130>           
 20060e0:	80 a0 40 03 	cmp  %g1, %g3                                  
    if ( seized_events == event_condition || _Options_Is_any( option_set ) ) {
 20060e4:	02 80 00 04 	be  20060f4 <_Event_Surrender+0xcc>            
 20060e8:	80 8e e0 02 	btst  2, %i3                                   
 20060ec:	02 80 00 1b 	be  2006158 <_Event_Surrender+0x130>           <== NEVER TAKEN
 20060f0:	01 00 00 00 	nop                                            
 20060f4:	84 28 80 01 	andn  %g2, %g1, %g2                            
      api->pending_events = _Event_sets_Clear( pending_events, seized_events );
 20060f8:	c4 27 00 00 	st  %g2, [ %i4 ]                               
      the_thread->Wait.count = 0;                                     
      *(rtems_event_set *)the_thread->Wait.return_argument = seized_events;
 20060fc:	c4 07 60 28 	ld  [ %i5 + 0x28 ], %g2                        
   *  Otherwise, this is a normal send to another thread              
   */                                                                 
  if ( _States_Is_waiting_for_event( the_thread->current_state ) ) {  
    if ( seized_events == event_condition || _Options_Is_any( option_set ) ) {
      api->pending_events = _Event_sets_Clear( pending_events, seized_events );
      the_thread->Wait.count = 0;                                     
 2006100:	c0 27 60 24 	clr  [ %i5 + 0x24 ]                            
      *(rtems_event_set *)the_thread->Wait.return_argument = seized_events;
 2006104:	c2 20 80 00 	st  %g1, [ %g2 ]                               
                                                                      
      _ISR_Flash( level );                                            
 2006108:	7f ff f0 21 	call  200218c <sparc_enable_interrupts>        
 200610c:	90 10 00 18 	mov  %i0, %o0                                  
 2006110:	7f ff f0 1b 	call  200217c <sparc_disable_interrupts>       
 2006114:	01 00 00 00 	nop                                            
                                                                      
      if ( !_Watchdog_Is_active( &the_thread->Timer ) ) {             
 2006118:	c2 07 60 50 	ld  [ %i5 + 0x50 ], %g1                        
 200611c:	80 a0 60 02 	cmp  %g1, 2                                    
 2006120:	02 80 00 06 	be  2006138 <_Event_Surrender+0x110>           
 2006124:	82 10 20 03 	mov  3, %g1                                    
        _ISR_Enable( level );                                         
 2006128:	7f ff f0 19 	call  200218c <sparc_enable_interrupts>        
 200612c:	33 04 00 ff 	sethi  %hi(0x1003fc00), %i1                    
                                                                      
RTEMS_INLINE_ROUTINE void _Thread_Unblock (                           
  Thread_Control *the_thread                                          
)                                                                     
{                                                                     
  _Thread_Clear_state( the_thread, STATES_BLOCKED );                  
 2006130:	10 80 00 08 	b  2006150 <_Event_Surrender+0x128>            
 2006134:	b2 16 63 f8 	or  %i1, 0x3f8, %i1	! 1003fff8 <RAM_END+0xdc3fff8>
RTEMS_INLINE_ROUTINE void _Watchdog_Deactivate(                       
  Watchdog_Control *the_watchdog                                      
)                                                                     
{                                                                     
                                                                      
  the_watchdog->state = WATCHDOG_REMOVE_IT;                           
 2006138:	c2 27 60 50 	st  %g1, [ %i5 + 0x50 ]                        
        _Thread_Unblock( the_thread );                                
      } else {                                                        
        _Watchdog_Deactivate( &the_thread->Timer );                   
        _ISR_Enable( level );                                         
 200613c:	7f ff f0 14 	call  200218c <sparc_enable_interrupts>        
 2006140:	33 04 00 ff 	sethi  %hi(0x1003fc00), %i1                    
        (void) _Watchdog_Remove( &the_thread->Timer );                
 2006144:	40 00 0e 8f 	call  2009b80 <_Watchdog_Remove>               
 2006148:	90 07 60 48 	add  %i5, 0x48, %o0                            
 200614c:	b2 16 63 f8 	or  %i1, 0x3f8, %i1                            
 2006150:	40 00 09 ed 	call  2008904 <_Thread_Clear_state>            
 2006154:	91 e8 00 1d 	restore  %g0, %i5, %o0                         
        _Thread_Unblock( the_thread );                                
      }                                                               
      return;                                                         
    }                                                                 
  }                                                                   
  _ISR_Enable( level );                                               
 2006158:	7f ff f0 0d 	call  200218c <sparc_enable_interrupts>        
 200615c:	81 e8 00 00 	restore                                        
                                                                      

02006160 <_Event_Timeout>: void _Event_Timeout( Objects_Id id, void *ignored ) {
 2006160:	9d e3 bf 98 	save  %sp, -104, %sp                           
  Thread_Control    *the_thread;                                      
  Objects_Locations  location;                                        
  ISR_Level          level;                                           
                                                                      
  the_thread = _Thread_Get( id, &location );                          
 2006164:	90 10 00 18 	mov  %i0, %o0                                  
 2006168:	40 00 0a d5 	call  2008cbc <_Thread_Get>                    
 200616c:	92 07 bf fc 	add  %fp, -4, %o1                              
  switch ( location ) {                                               
 2006170:	c2 07 bf fc 	ld  [ %fp + -4 ], %g1                          
 2006174:	80 a0 60 00 	cmp  %g1, 0                                    
 2006178:	12 80 00 1d 	bne  20061ec <_Event_Timeout+0x8c>             <== NEVER TAKEN
 200617c:	ba 10 00 08 	mov  %o0, %i5                                  
       *                                                              
       *  If it is not satisfied, then it is "nothing happened" and   
       *  this is the "timeout" transition.  After a request is satisfied,
       *  a timeout is not allowed to occur.                          
       */                                                             
      _ISR_Disable( level );                                          
 2006180:	7f ff ef ff 	call  200217c <sparc_disable_interrupts>       
 2006184:	01 00 00 00 	nop                                            
                                                                      
RTEMS_INLINE_ROUTINE bool _Thread_Is_executing (                      
  const Thread_Control *the_thread                                    
)                                                                     
{                                                                     
  return ( the_thread == _Thread_Executing );                         
 2006188:	03 00 80 6d 	sethi  %hi(0x201b400), %g1                     
            return;                                                   
          }                                                           
        #endif                                                        
                                                                      
        the_thread->Wait.count = 0;                                   
        if ( _Thread_Is_executing( the_thread ) ) {                   
 200618c:	c2 00 63 5c 	ld  [ %g1 + 0x35c ], %g1	! 201b75c <_Per_CPU_Information+0xc>
 2006190:	80 a7 40 01 	cmp  %i5, %g1                                  
 2006194:	12 80 00 09 	bne  20061b8 <_Event_Timeout+0x58>             
 2006198:	c0 27 60 24 	clr  [ %i5 + 0x24 ]                            
          if ( _Event_Sync_state == THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED )
 200619c:	03 00 80 6d 	sethi  %hi(0x201b400), %g1                     
 20061a0:	c4 00 63 b0 	ld  [ %g1 + 0x3b0 ], %g2	! 201b7b0 <_Event_Sync_state>
 20061a4:	80 a0 a0 01 	cmp  %g2, 1                                    
 20061a8:	32 80 00 05 	bne,a   20061bc <_Event_Timeout+0x5c>          
 20061ac:	82 10 20 06 	mov  6, %g1                                    
            _Event_Sync_state = THREAD_BLOCKING_OPERATION_TIMEOUT;    
 20061b0:	84 10 20 02 	mov  2, %g2                                    
 20061b4:	c4 20 63 b0 	st  %g2, [ %g1 + 0x3b0 ]                       
        }                                                             
                                                                      
        the_thread->Wait.return_code = RTEMS_TIMEOUT;                 
 20061b8:	82 10 20 06 	mov  6, %g1                                    
 20061bc:	c2 27 60 34 	st  %g1, [ %i5 + 0x34 ]                        
      _ISR_Enable( level );                                           
 20061c0:	7f ff ef f3 	call  200218c <sparc_enable_interrupts>        
 20061c4:	01 00 00 00 	nop                                            
                                                                      
RTEMS_INLINE_ROUTINE void _Thread_Unblock (                           
  Thread_Control *the_thread                                          
)                                                                     
{                                                                     
  _Thread_Clear_state( the_thread, STATES_BLOCKED );                  
 20061c8:	90 10 00 1d 	mov  %i5, %o0                                  
 20061cc:	13 04 00 ff 	sethi  %hi(0x1003fc00), %o1                    
 20061d0:	40 00 09 cd 	call  2008904 <_Thread_Clear_state>            
 20061d4:	92 12 63 f8 	or  %o1, 0x3f8, %o1	! 1003fff8 <RAM_END+0xdc3fff8>
   *                                                                  
   * This routine decrements the thread dispatch level.               
   */                                                                 
  RTEMS_INLINE_ROUTINE uint32_t _Thread_Dispatch_decrement_disable_level(void)
  {                                                                   
    _Thread_Dispatch_disable_level--;                                 
 20061d8:	03 00 80 6d 	sethi  %hi(0x201b400), %g1                     
 20061dc:	c4 00 61 20 	ld  [ %g1 + 0x120 ], %g2	! 201b520 <_Thread_Dispatch_disable_level>
 20061e0:	84 00 bf ff 	add  %g2, -1, %g2                              
 20061e4:	c4 20 61 20 	st  %g2, [ %g1 + 0x120 ]                       
    return _Thread_Dispatch_disable_level;                            
 20061e8:	c2 00 61 20 	ld  [ %g1 + 0x120 ], %g1                       
 20061ec:	81 c7 e0 08 	ret                                            
 20061f0:	81 e8 00 00 	restore                                        
                                                                      

0200bccc <_Heap_Extend>: Heap_Control *heap, void *extend_area_begin_ptr, uintptr_t extend_area_size, uintptr_t *extended_size_ptr ) {
 200bccc:	9d e3 bf 98 	save  %sp, -104, %sp                           
  Heap_Block *start_block = first_block;                              
  Heap_Block *merge_below_block = NULL;                               
  Heap_Block *merge_above_block = NULL;                               
  Heap_Block *link_below_block = NULL;                                
  Heap_Block *link_above_block = NULL;                                
  Heap_Block *extend_first_block = NULL;                              
 200bcd0:	c0 27 bf f8 	clr  [ %fp + -8 ]                              
  Heap_Block *extend_last_block = NULL;                               
 200bcd4:	c0 27 bf fc 	clr  [ %fp + -4 ]                              
  uintptr_t const page_size = heap->page_size;                        
  uintptr_t const min_block_size = heap->min_block_size;              
  uintptr_t const extend_area_begin = (uintptr_t) extend_area_begin_ptr;
  uintptr_t const extend_area_end = extend_area_begin + extend_area_size;
 200bcd8:	ba 06 40 1a 	add  %i1, %i2, %i5                             
  uintptr_t extend_area_size,                                         
  uintptr_t *extended_size_ptr                                        
)                                                                     
{                                                                     
  Heap_Statistics *const stats = &heap->stats;                        
  Heap_Block *const first_block = heap->first_block;                  
 200bcdc:	e0 06 20 20 	ld  [ %i0 + 0x20 ], %l0                        
  Heap_Block *merge_above_block = NULL;                               
  Heap_Block *link_below_block = NULL;                                
  Heap_Block *link_above_block = NULL;                                
  Heap_Block *extend_first_block = NULL;                              
  Heap_Block *extend_last_block = NULL;                               
  uintptr_t const page_size = heap->page_size;                        
 200bce0:	e2 06 20 10 	ld  [ %i0 + 0x10 ], %l1                        
  uintptr_t const min_block_size = heap->min_block_size;              
 200bce4:	d6 06 20 14 	ld  [ %i0 + 0x14 ], %o3                        
  uintptr_t const extend_area_begin = (uintptr_t) extend_area_begin_ptr;
  uintptr_t const extend_area_end = extend_area_begin + extend_area_size;
  uintptr_t const free_size = stats->free_size;                       
 200bce8:	e4 06 20 30 	ld  [ %i0 + 0x30 ], %l2                        
  uintptr_t extend_first_block_size = 0;                              
  uintptr_t extended_size = 0;                                        
  bool extend_area_ok = false;                                        
                                                                      
  if ( extend_area_end < extend_area_begin ) {                        
 200bcec:	80 a7 40 19 	cmp  %i5, %i1                                  
 200bcf0:	0a 80 00 9f 	bcs  200bf6c <_Heap_Extend+0x2a0>              
 200bcf4:	b8 10 20 00 	clr  %i4                                       
    return false;                                                     
  }                                                                   
                                                                      
  extend_area_ok = _Heap_Get_first_and_last_block(                    
 200bcf8:	90 10 00 19 	mov  %i1, %o0                                  
 200bcfc:	92 10 00 1a 	mov  %i2, %o1                                  
 200bd00:	94 10 00 11 	mov  %l1, %o2                                  
 200bd04:	98 07 bf f8 	add  %fp, -8, %o4                              
 200bd08:	7f ff ed 3b 	call  20071f4 <_Heap_Get_first_and_last_block> 
 200bd0c:	9a 07 bf fc 	add  %fp, -4, %o5                              
    page_size,                                                        
    min_block_size,                                                   
    &extend_first_block,                                              
    &extend_last_block                                                
  );                                                                  
  if (!extend_area_ok ) {                                             
 200bd10:	80 8a 20 ff 	btst  0xff, %o0                                
 200bd14:	02 80 00 96 	be  200bf6c <_Heap_Extend+0x2a0>               
 200bd18:	b4 10 00 10 	mov  %l0, %i2                                  
 200bd1c:	aa 10 20 00 	clr  %l5                                       
 200bd20:	ac 10 20 00 	clr  %l6                                       
 200bd24:	b8 10 20 00 	clr  %i4                                       
 200bd28:	a8 10 20 00 	clr  %l4                                       
 200bd2c:	c2 06 20 18 	ld  [ %i0 + 0x18 ], %g1                        
      (uintptr_t) start_block : heap->area_begin;                     
    uintptr_t const sub_area_end = start_block->prev_size;            
    Heap_Block *const end_block =                                     
      _Heap_Block_of_alloc_area( sub_area_end, page_size );           
                                                                      
    if (                                                              
 200bd30:	80 a0 40 1d 	cmp  %g1, %i5                                  
 200bd34:	1a 80 00 05 	bcc  200bd48 <_Heap_Extend+0x7c>               
 200bd38:	e6 06 80 00 	ld  [ %i2 ], %l3                               
 200bd3c:	80 a6 40 13 	cmp  %i1, %l3                                  
 200bd40:	2a 80 00 8b 	bcs,a   200bf6c <_Heap_Extend+0x2a0>           
 200bd44:	b8 10 20 00 	clr  %i4                                       
      sub_area_end > extend_area_begin && extend_area_end > sub_area_begin
    ) {                                                               
      return false;                                                   
    }                                                                 
                                                                      
    if ( extend_area_end == sub_area_begin ) {                        
 200bd48:	80 a7 40 01 	cmp  %i5, %g1                                  
 200bd4c:	02 80 00 06 	be  200bd64 <_Heap_Extend+0x98>                
 200bd50:	80 a7 40 13 	cmp  %i5, %l3                                  
      merge_below_block = start_block;                                
    } else if ( extend_area_end < sub_area_end ) {                    
 200bd54:	2a 80 00 05 	bcs,a   200bd68 <_Heap_Extend+0x9c>            
 200bd58:	ac 10 00 1a 	mov  %i2, %l6                                  
 200bd5c:	10 80 00 04 	b  200bd6c <_Heap_Extend+0xa0>                 
 200bd60:	90 10 00 13 	mov  %l3, %o0                                  
 200bd64:	a8 10 00 1a 	mov  %i2, %l4                                  
 200bd68:	90 10 00 13 	mov  %l3, %o0                                  
 200bd6c:	40 00 15 fd 	call  2011560 <.urem>                          
 200bd70:	92 10 00 11 	mov  %l1, %o1                                  
 200bd74:	ae 04 ff f8 	add  %l3, -8, %l7                              
      link_below_block = start_block;                                 
    }                                                                 
                                                                      
    if ( sub_area_end == extend_area_begin ) {                        
 200bd78:	80 a4 c0 19 	cmp  %l3, %i1                                  
 200bd7c:	12 80 00 05 	bne  200bd90 <_Heap_Extend+0xc4>               
 200bd80:	90 25 c0 08 	sub  %l7, %o0, %o0                             
      start_block->prev_size = extend_area_end;                       
 200bd84:	fa 26 80 00 	st  %i5, [ %i2 ]                               
RTEMS_INLINE_ROUTINE Heap_Block *_Heap_Block_of_alloc_area(           
  uintptr_t alloc_begin,                                              
  uintptr_t page_size                                                 
)                                                                     
{                                                                     
  return (Heap_Block *) (_Heap_Align_down( alloc_begin, page_size )   
 200bd88:	10 80 00 04 	b  200bd98 <_Heap_Extend+0xcc>                 
 200bd8c:	b8 10 00 08 	mov  %o0, %i4                                  
                                                                      
      merge_above_block = end_block;                                  
    } else if ( sub_area_end < extend_area_begin ) {                  
 200bd90:	2a 80 00 02 	bcs,a   200bd98 <_Heap_Extend+0xcc>            
 200bd94:	aa 10 00 08 	mov  %o0, %l5                                  
    - HEAP_BLOCK_HEADER_SIZE);                                        
}                                                                     
                                                                      
RTEMS_INLINE_ROUTINE uintptr_t _Heap_Block_size( const Heap_Block *block )
{                                                                     
  return block->size_and_flag & ~HEAP_PREV_BLOCK_USED;                
 200bd98:	f4 02 20 04 	ld  [ %o0 + 4 ], %i2                           
 200bd9c:	b4 0e bf fe 	and  %i2, -2, %i2                              
RTEMS_INLINE_ROUTINE Heap_Block *_Heap_Block_at(                      
  const Heap_Block *block,                                            
  uintptr_t offset                                                    
)                                                                     
{                                                                     
  return (Heap_Block *) ((uintptr_t) block + offset);                 
 200bda0:	b4 06 80 08 	add  %i2, %o0, %i2                             
      link_above_block = end_block;                                   
    }                                                                 
                                                                      
    start_block = _Heap_Block_at( end_block, _Heap_Block_size( end_block ) );
  } while ( start_block != first_block );                             
 200bda4:	80 a6 80 10 	cmp  %i2, %l0                                  
 200bda8:	12 bf ff e2 	bne  200bd30 <_Heap_Extend+0x64>               
 200bdac:	82 10 00 1a 	mov  %i2, %g1                                  
                                                                      
  if ( extend_area_begin < heap->area_begin ) {                       
 200bdb0:	c2 06 20 18 	ld  [ %i0 + 0x18 ], %g1                        
 200bdb4:	80 a6 40 01 	cmp  %i1, %g1                                  
 200bdb8:	3a 80 00 04 	bcc,a   200bdc8 <_Heap_Extend+0xfc>            
 200bdbc:	c2 06 20 1c 	ld  [ %i0 + 0x1c ], %g1                        
    heap->area_begin = extend_area_begin;                             
 200bdc0:	10 80 00 05 	b  200bdd4 <_Heap_Extend+0x108>                
 200bdc4:	f2 26 20 18 	st  %i1, [ %i0 + 0x18 ]                        
  } else if ( heap->area_end < extend_area_end ) {                    
 200bdc8:	80 a0 40 1d 	cmp  %g1, %i5                                  
 200bdcc:	2a 80 00 02 	bcs,a   200bdd4 <_Heap_Extend+0x108>           
 200bdd0:	fa 26 20 1c 	st  %i5, [ %i0 + 0x1c ]                        
    heap->area_end = extend_area_end;                                 
  }                                                                   
                                                                      
  extend_first_block_size =                                           
    (uintptr_t) extend_last_block - (uintptr_t) extend_first_block;   
 200bdd4:	c4 07 bf f8 	ld  [ %fp + -8 ], %g2                          
 200bdd8:	c2 07 bf fc 	ld  [ %fp + -4 ], %g1                          
                                                                      
  extend_first_block->prev_size = extend_area_end;                    
 200bddc:	fa 20 80 00 	st  %i5, [ %g2 ]                               
    heap->area_begin = extend_area_begin;                             
  } else if ( heap->area_end < extend_area_end ) {                    
    heap->area_end = extend_area_end;                                 
  }                                                                   
                                                                      
  extend_first_block_size =                                           
 200bde0:	86 20 40 02 	sub  %g1, %g2, %g3                             
    (uintptr_t) extend_last_block - (uintptr_t) extend_first_block;   
                                                                      
  extend_first_block->prev_size = extend_area_end;                    
  extend_first_block->size_and_flag =                                 
    extend_first_block_size | HEAP_PREV_BLOCK_USED;                   
 200bde4:	88 10 e0 01 	or  %g3, 1, %g4                                
  _Heap_Protection_block_initialize( heap, extend_first_block );      
                                                                      
  extend_last_block->prev_size = extend_first_block_size;             
 200bde8:	c6 20 40 00 	st  %g3, [ %g1 ]                               
                                                                      
  extend_first_block_size =                                           
    (uintptr_t) extend_last_block - (uintptr_t) extend_first_block;   
                                                                      
  extend_first_block->prev_size = extend_area_end;                    
  extend_first_block->size_and_flag =                                 
 200bdec:	c8 20 a0 04 	st  %g4, [ %g2 + 4 ]                           
                                                                      
  extend_last_block->prev_size = extend_first_block_size;             
  extend_last_block->size_and_flag = 0;                               
  _Heap_Protection_block_initialize( heap, extend_last_block );       
                                                                      
  if ( (uintptr_t) extend_first_block < (uintptr_t) heap->first_block ) {
 200bdf0:	c6 06 20 20 	ld  [ %i0 + 0x20 ], %g3                        
 200bdf4:	80 a0 c0 02 	cmp  %g3, %g2                                  
 200bdf8:	08 80 00 04 	bleu  200be08 <_Heap_Extend+0x13c>             
 200bdfc:	c0 20 60 04 	clr  [ %g1 + 4 ]                               
    heap->first_block = extend_first_block;                           
 200be00:	10 80 00 06 	b  200be18 <_Heap_Extend+0x14c>                
 200be04:	c4 26 20 20 	st  %g2, [ %i0 + 0x20 ]                        
  } else if ( (uintptr_t) extend_last_block > (uintptr_t) heap->last_block ) {
 200be08:	c4 06 20 24 	ld  [ %i0 + 0x24 ], %g2                        
 200be0c:	80 a0 80 01 	cmp  %g2, %g1                                  
 200be10:	2a 80 00 02 	bcs,a   200be18 <_Heap_Extend+0x14c>           
 200be14:	c2 26 20 24 	st  %g1, [ %i0 + 0x24 ]                        
    heap->last_block = extend_last_block;                             
  }                                                                   
                                                                      
  if ( merge_below_block != NULL ) {                                  
 200be18:	80 a5 20 00 	cmp  %l4, 0                                    
 200be1c:	02 80 00 14 	be  200be6c <_Heap_Extend+0x1a0>               
 200be20:	b2 06 60 08 	add  %i1, 8, %i1                               
  Heap_Control *heap,                                                 
  uintptr_t extend_area_begin,                                        
  Heap_Block *first_block                                             
)                                                                     
{                                                                     
  uintptr_t const page_size = heap->page_size;                        
 200be24:	f4 06 20 10 	ld  [ %i0 + 0x10 ], %i2                        
RTEMS_INLINE_ROUTINE uintptr_t _Heap_Align_up(                        
  uintptr_t value,                                                    
  uintptr_t alignment                                                 
)                                                                     
{                                                                     
  uintptr_t remainder = value % alignment;                            
 200be28:	92 10 00 1a 	mov  %i2, %o1                                  
 200be2c:	40 00 15 cd 	call  2011560 <.urem>                          
 200be30:	90 10 00 19 	mov  %i1, %o0                                  
                                                                      
  if ( remainder != 0 ) {                                             
 200be34:	80 a2 20 00 	cmp  %o0, 0                                    
 200be38:	02 80 00 04 	be  200be48 <_Heap_Extend+0x17c>               
 200be3c:	c2 05 00 00 	ld  [ %l4 ], %g1                               
    return value - remainder + alignment;                             
 200be40:	b2 06 40 1a 	add  %i1, %i2, %i1                             
 200be44:	b2 26 40 08 	sub  %i1, %o0, %i1                             
  uintptr_t const new_first_block_alloc_begin =                       
    _Heap_Align_up( extend_area_begin + HEAP_BLOCK_HEADER_SIZE, page_size );
  uintptr_t const new_first_block_begin =                             
 200be48:	92 06 7f f8 	add  %i1, -8, %o1                              
  uintptr_t const first_block_begin = (uintptr_t) first_block;        
  uintptr_t const new_first_block_size =                              
    first_block_begin - new_first_block_begin;                        
  Heap_Block *const new_first_block = (Heap_Block *) new_first_block_begin;
                                                                      
  new_first_block->prev_size = first_block->prev_size;                
 200be4c:	c2 26 7f f8 	st  %g1, [ %i1 + -8 ]                          
  uintptr_t const new_first_block_alloc_begin =                       
    _Heap_Align_up( extend_area_begin + HEAP_BLOCK_HEADER_SIZE, page_size );
  uintptr_t const new_first_block_begin =                             
    new_first_block_alloc_begin - HEAP_BLOCK_HEADER_SIZE;             
  uintptr_t const first_block_begin = (uintptr_t) first_block;        
  uintptr_t const new_first_block_size =                              
 200be50:	82 25 00 09 	sub  %l4, %o1, %g1                             
    first_block_begin - new_first_block_begin;                        
  Heap_Block *const new_first_block = (Heap_Block *) new_first_block_begin;
                                                                      
  new_first_block->prev_size = first_block->prev_size;                
  new_first_block->size_and_flag = new_first_block_size | HEAP_PREV_BLOCK_USED;
 200be54:	82 10 60 01 	or  %g1, 1, %g1                                
                                                                      
  _Heap_Free_block( heap, new_first_block );                          
 200be58:	90 10 00 18 	mov  %i0, %o0                                  
 200be5c:	7f ff ff 92 	call  200bca4 <_Heap_Free_block>               
 200be60:	c2 22 60 04 	st  %g1, [ %o1 + 4 ]                           
      link_below_block,                                               
      extend_last_block                                               
    );                                                                
  }                                                                   
                                                                      
  if ( merge_above_block != NULL ) {                                  
 200be64:	10 80 00 08 	b  200be84 <_Heap_Extend+0x1b8>                
 200be68:	80 a7 20 00 	cmp  %i4, 0                                    
    heap->last_block = extend_last_block;                             
  }                                                                   
                                                                      
  if ( merge_below_block != NULL ) {                                  
    _Heap_Merge_below( heap, extend_area_begin, merge_below_block );  
  } else if ( link_below_block != NULL ) {                            
 200be6c:	80 a5 a0 00 	cmp  %l6, 0                                    
 200be70:	02 80 00 04 	be  200be80 <_Heap_Extend+0x1b4>               
 200be74:	ac 25 80 01 	sub  %l6, %g1, %l6                             
{                                                                     
  uintptr_t const last_block_begin = (uintptr_t) last_block;          
  uintptr_t const link_begin = (uintptr_t) link;                      
                                                                      
  last_block->size_and_flag =                                         
    (link_begin - last_block_begin) | HEAP_PREV_BLOCK_USED;           
 200be78:	ac 15 a0 01 	or  %l6, 1, %l6                                
)                                                                     
{                                                                     
  uintptr_t const last_block_begin = (uintptr_t) last_block;          
  uintptr_t const link_begin = (uintptr_t) link;                      
                                                                      
  last_block->size_and_flag =                                         
 200be7c:	ec 20 60 04 	st  %l6, [ %g1 + 4 ]                           
      link_below_block,                                               
      extend_last_block                                               
    );                                                                
  }                                                                   
                                                                      
  if ( merge_above_block != NULL ) {                                  
 200be80:	80 a7 20 00 	cmp  %i4, 0                                    
 200be84:	02 80 00 15 	be  200bed8 <_Heap_Extend+0x20c>               
 200be88:	ba 07 7f f8 	add  %i5, -8, %i5                              
RTEMS_INLINE_ROUTINE uintptr_t _Heap_Align_down(                      
  uintptr_t value,                                                    
  uintptr_t alignment                                                 
)                                                                     
{                                                                     
  return value - (value % alignment);                                 
 200be8c:	d2 06 20 10 	ld  [ %i0 + 0x10 ], %o1                        
  uintptr_t extend_area_end                                           
)                                                                     
{                                                                     
  uintptr_t const page_size = heap->page_size;                        
  uintptr_t const last_block_begin = (uintptr_t) last_block;          
  uintptr_t const last_block_new_size = _Heap_Align_down(             
 200be90:	ba 27 40 1c 	sub  %i5, %i4, %i5                             
 200be94:	40 00 15 b3 	call  2011560 <.urem>                          
 200be98:	90 10 00 1d 	mov  %i5, %o0                                  
  );                                                                  
  Heap_Block *const new_last_block =                                  
    _Heap_Block_at( last_block, last_block_new_size );                
                                                                      
  new_last_block->size_and_flag =                                     
    (last_block->size_and_flag - last_block_new_size)                 
 200be9c:	c4 07 20 04 	ld  [ %i4 + 4 ], %g2                           
 200bea0:	ba 27 40 08 	sub  %i5, %o0, %i5                             
    page_size                                                         
  );                                                                  
  Heap_Block *const new_last_block =                                  
    _Heap_Block_at( last_block, last_block_new_size );                
                                                                      
  new_last_block->size_and_flag =                                     
 200bea4:	82 07 40 1c 	add  %i5, %i4, %g1                             
    (last_block->size_and_flag - last_block_new_size)                 
 200bea8:	84 20 80 1d 	sub  %g2, %i5, %g2                             
      | HEAP_PREV_BLOCK_USED;                                         
 200beac:	84 10 a0 01 	or  %g2, 1, %g2                                
    page_size                                                         
  );                                                                  
  Heap_Block *const new_last_block =                                  
    _Heap_Block_at( last_block, last_block_new_size );                
                                                                      
  new_last_block->size_and_flag =                                     
 200beb0:	c4 20 60 04 	st  %g2, [ %g1 + 4 ]                           
RTEMS_INLINE_ROUTINE void _Heap_Block_set_size(                       
  Heap_Block *block,                                                  
  uintptr_t size                                                      
)                                                                     
{                                                                     
  uintptr_t flag = block->size_and_flag & HEAP_PREV_BLOCK_USED;       
 200beb4:	c2 07 20 04 	ld  [ %i4 + 4 ], %g1                           
    (last_block->size_and_flag - last_block_new_size)                 
      | HEAP_PREV_BLOCK_USED;                                         
                                                                      
  _Heap_Block_set_size( last_block, last_block_new_size );            
                                                                      
  _Heap_Free_block( heap, last_block );                               
 200beb8:	90 10 00 18 	mov  %i0, %o0                                  
 200bebc:	82 08 60 01 	and  %g1, 1, %g1                               
 200bec0:	92 10 00 1c 	mov  %i4, %o1                                  
                                                                      
  block->size_and_flag = size | flag;                                 
 200bec4:	ba 17 40 01 	or  %i5, %g1, %i5                              
 200bec8:	7f ff ff 77 	call  200bca4 <_Heap_Free_block>               
 200becc:	fa 27 20 04 	st  %i5, [ %i4 + 4 ]                           
      extend_first_block,                                             
      extend_last_block                                               
    );                                                                
  }                                                                   
                                                                      
  if ( merge_below_block == NULL && merge_above_block == NULL ) {     
 200bed0:	10 80 00 0f 	b  200bf0c <_Heap_Extend+0x240>                
 200bed4:	80 a7 20 00 	cmp  %i4, 0                                    
    );                                                                
  }                                                                   
                                                                      
  if ( merge_above_block != NULL ) {                                  
    _Heap_Merge_above( heap, merge_above_block, extend_area_end );    
  } else if ( link_above_block != NULL ) {                            
 200bed8:	80 a5 60 00 	cmp  %l5, 0                                    
 200bedc:	02 80 00 0b 	be  200bf08 <_Heap_Extend+0x23c>               
 200bee0:	c4 07 bf f8 	ld  [ %fp + -8 ], %g2                          
RTEMS_INLINE_ROUTINE void _Heap_Block_set_size(                       
  Heap_Block *block,                                                  
  uintptr_t size                                                      
)                                                                     
{                                                                     
  uintptr_t flag = block->size_and_flag & HEAP_PREV_BLOCK_USED;       
 200bee4:	c6 05 60 04 	ld  [ %l5 + 4 ], %g3                           
    _Heap_Link_above(                                                 
 200bee8:	c2 07 bf fc 	ld  [ %fp + -4 ], %g1                          
 200beec:	86 08 e0 01 	and  %g3, 1, %g3                               
)                                                                     
{                                                                     
  uintptr_t const link_begin = (uintptr_t) link;                      
  uintptr_t const first_block_begin = (uintptr_t) first_block;        
                                                                      
  _Heap_Block_set_size( link, first_block_begin - link_begin );       
 200bef0:	84 20 80 15 	sub  %g2, %l5, %g2                             
                                                                      
  block->size_and_flag = size | flag;                                 
 200bef4:	84 10 c0 02 	or  %g3, %g2, %g2                              
 200bef8:	c4 25 60 04 	st  %g2, [ %l5 + 4 ]                           
                                                                      
  last_block->size_and_flag |= HEAP_PREV_BLOCK_USED;                  
 200befc:	c4 00 60 04 	ld  [ %g1 + 4 ], %g2                           
 200bf00:	84 10 a0 01 	or  %g2, 1, %g2                                
 200bf04:	c4 20 60 04 	st  %g2, [ %g1 + 4 ]                           
      extend_first_block,                                             
      extend_last_block                                               
    );                                                                
  }                                                                   
                                                                      
  if ( merge_below_block == NULL && merge_above_block == NULL ) {     
 200bf08:	80 a7 20 00 	cmp  %i4, 0                                    
 200bf0c:	32 80 00 09 	bne,a   200bf30 <_Heap_Extend+0x264>           
 200bf10:	c2 06 20 24 	ld  [ %i0 + 0x24 ], %g1                        
 200bf14:	80 a5 20 00 	cmp  %l4, 0                                    
 200bf18:	32 80 00 06 	bne,a   200bf30 <_Heap_Extend+0x264>           
 200bf1c:	c2 06 20 24 	ld  [ %i0 + 0x24 ], %g1                        
    _Heap_Free_block( heap, extend_first_block );                     
 200bf20:	d2 07 bf f8 	ld  [ %fp + -8 ], %o1                          
 200bf24:	7f ff ff 60 	call  200bca4 <_Heap_Free_block>               
 200bf28:	90 10 00 18 	mov  %i0, %o0                                  
 */                                                                   
RTEMS_INLINE_ROUTINE void _Heap_Set_last_block_size( Heap_Control *heap )
{                                                                     
  _Heap_Block_set_size(                                               
    heap->last_block,                                                 
    (uintptr_t) heap->first_block - (uintptr_t) heap->last_block      
 200bf2c:	c2 06 20 24 	ld  [ %i0 + 0x24 ], %g1                        
 * This feature will be used to terminate the scattered heap area list.  See
 * also _Heap_Extend().                                               
 */                                                                   
RTEMS_INLINE_ROUTINE void _Heap_Set_last_block_size( Heap_Control *heap )
{                                                                     
  _Heap_Block_set_size(                                               
 200bf30:	c4 06 20 20 	ld  [ %i0 + 0x20 ], %g2                        
RTEMS_INLINE_ROUTINE void _Heap_Block_set_size(                       
  Heap_Block *block,                                                  
  uintptr_t size                                                      
)                                                                     
{                                                                     
  uintptr_t flag = block->size_and_flag & HEAP_PREV_BLOCK_USED;       
 200bf34:	c6 00 60 04 	ld  [ %g1 + 4 ], %g3                           
 * This feature will be used to terminate the scattered heap area list.  See
 * also _Heap_Extend().                                               
 */                                                                   
RTEMS_INLINE_ROUTINE void _Heap_Set_last_block_size( Heap_Control *heap )
{                                                                     
  _Heap_Block_set_size(                                               
 200bf38:	84 20 80 01 	sub  %g2, %g1, %g2                             
RTEMS_INLINE_ROUTINE void _Heap_Block_set_size(                       
  Heap_Block *block,                                                  
  uintptr_t size                                                      
)                                                                     
{                                                                     
  uintptr_t flag = block->size_and_flag & HEAP_PREV_BLOCK_USED;       
 200bf3c:	86 08 e0 01 	and  %g3, 1, %g3                               
                                                                      
  block->size_and_flag = size | flag;                                 
 200bf40:	84 10 c0 02 	or  %g3, %g2, %g2                              
 200bf44:	c4 20 60 04 	st  %g2, [ %g1 + 4 ]                           
  }                                                                   
                                                                      
  _Heap_Set_last_block_size( heap );                                  
                                                                      
  extended_size = stats->free_size - free_size;                       
 200bf48:	c2 06 20 30 	ld  [ %i0 + 0x30 ], %g1                        
  stats->size += extended_size;                                       
                                                                      
  if ( extended_size_ptr != NULL )                                    
    *extended_size_ptr = extended_size;                               
                                                                      
  return true;                                                        
 200bf4c:	b8 10 20 01 	mov  1, %i4                                    
    _Heap_Free_block( heap, extend_first_block );                     
  }                                                                   
                                                                      
  _Heap_Set_last_block_size( heap );                                  
                                                                      
  extended_size = stats->free_size - free_size;                       
 200bf50:	a4 20 40 12 	sub  %g1, %l2, %l2                             
                                                                      
  /* Statistics */                                                    
  stats->size += extended_size;                                       
 200bf54:	c2 06 20 2c 	ld  [ %i0 + 0x2c ], %g1                        
                                                                      
  if ( extended_size_ptr != NULL )                                    
 200bf58:	80 a6 e0 00 	cmp  %i3, 0                                    
  _Heap_Set_last_block_size( heap );                                  
                                                                      
  extended_size = stats->free_size - free_size;                       
                                                                      
  /* Statistics */                                                    
  stats->size += extended_size;                                       
 200bf5c:	82 00 40 12 	add  %g1, %l2, %g1                             
                                                                      
  if ( extended_size_ptr != NULL )                                    
 200bf60:	02 80 00 03 	be  200bf6c <_Heap_Extend+0x2a0>               <== NEVER TAKEN
 200bf64:	c2 26 20 2c 	st  %g1, [ %i0 + 0x2c ]                        
 200bf68:	e4 26 c0 00 	st  %l2, [ %i3 ]                               
    *extended_size_ptr = extended_size;                               
                                                                      
  return true;                                                        
}                                                                     
 200bf6c:	b0 0f 20 01 	and  %i4, 1, %i0                               
 200bf70:	81 c7 e0 08 	ret                                            
 200bf74:	81 e8 00 00 	restore                                        
                                                                      

0200c0dc <_Heap_Free>: return do_free; } #endif bool _Heap_Free( Heap_Control *heap, void *alloc_begin_ptr ) {
 200c0dc:	9d e3 bf a0 	save  %sp, -96, %sp                            
   * If NULL return true so a free on NULL is considered a valid release. This
   * is a special case that could be handled by the in heap check how-ever that
   * would result in false being returned which is wrong.             
   */                                                                 
  if ( alloc_begin_ptr == NULL ) {                                    
    return true;                                                      
 200c0e0:	88 10 20 01 	mov  1, %g4                                    
  /*                                                                  
   * If NULL return true so a free on NULL is considered a valid release. This
   * is a special case that could be handled by the in heap check how-ever that
   * would result in false being returned which is wrong.             
   */                                                                 
  if ( alloc_begin_ptr == NULL ) {                                    
 200c0e4:	80 a6 60 00 	cmp  %i1, 0                                    
 200c0e8:	02 80 00 77 	be  200c2c4 <_Heap_Free+0x1e8>                 
 200c0ec:	90 10 00 19 	mov  %i1, %o0                                  
 200c0f0:	d2 06 20 10 	ld  [ %i0 + 0x10 ], %o1                        
 200c0f4:	40 00 2b 26 	call  2016d8c <.urem>                          
 200c0f8:	ba 06 7f f8 	add  %i1, -8, %i5                              
RTEMS_INLINE_ROUTINE bool _Heap_Is_block_in_heap(                     
  const Heap_Control *heap,                                           
  const Heap_Block *block                                             
)                                                                     
{                                                                     
  return (uintptr_t) block >= (uintptr_t) heap->first_block           
 200c0fc:	da 06 20 20 	ld  [ %i0 + 0x20 ], %o5                        
  uintptr_t alloc_begin,                                              
  uintptr_t page_size                                                 
)                                                                     
{                                                                     
  return (Heap_Block *) (_Heap_Align_down( alloc_begin, page_size )   
    - HEAP_BLOCK_HEADER_SIZE);                                        
 200c100:	ba 27 40 08 	sub  %i5, %o0, %i5                             
  const Heap_Control *heap,                                           
  const Heap_Block *block                                             
)                                                                     
{                                                                     
  return (uintptr_t) block >= (uintptr_t) heap->first_block           
    && (uintptr_t) block <= (uintptr_t) heap->last_block;             
 200c104:	80 a7 40 0d 	cmp  %i5, %o5                                  
 200c108:	0a 80 00 05 	bcs  200c11c <_Heap_Free+0x40>                 
 200c10c:	82 10 20 00 	clr  %g1                                       
 200c110:	c2 06 20 24 	ld  [ %i0 + 0x24 ], %g1                        
 200c114:	80 a0 40 1d 	cmp  %g1, %i5                                  
 200c118:	82 60 3f ff 	subx  %g0, -1, %g1                             
  }                                                                   
                                                                      
  alloc_begin = (uintptr_t) alloc_begin_ptr;                          
  block = _Heap_Block_of_alloc_area( alloc_begin, heap->page_size );  
                                                                      
  if ( !_Heap_Is_block_in_heap( heap, block ) ) {                     
 200c11c:	80 a0 60 00 	cmp  %g1, 0                                    
 200c120:	02 80 00 69 	be  200c2c4 <_Heap_Free+0x1e8>                 
 200c124:	88 10 20 00 	clr  %g4                                       
  --stats->used_blocks;                                               
  ++stats->frees;                                                     
  stats->free_size += block_size;                                     
                                                                      
  return( true );                                                     
}                                                                     
 200c128:	d6 07 60 04 	ld  [ %i5 + 4 ], %o3                           
    - HEAP_BLOCK_HEADER_SIZE);                                        
}                                                                     
                                                                      
RTEMS_INLINE_ROUTINE uintptr_t _Heap_Block_size( const Heap_Block *block )
{                                                                     
  return block->size_and_flag & ~HEAP_PREV_BLOCK_USED;                
 200c12c:	84 0a ff fe 	and  %o3, -2, %g2                              
RTEMS_INLINE_ROUTINE Heap_Block *_Heap_Block_at(                      
  const Heap_Block *block,                                            
  uintptr_t offset                                                    
)                                                                     
{                                                                     
  return (Heap_Block *) ((uintptr_t) block + offset);                 
 200c130:	82 00 80 1d 	add  %g2, %i5, %g1                             
  const Heap_Control *heap,                                           
  const Heap_Block *block                                             
)                                                                     
{                                                                     
  return (uintptr_t) block >= (uintptr_t) heap->first_block           
    && (uintptr_t) block <= (uintptr_t) heap->last_block;             
 200c134:	80 a0 40 0d 	cmp  %g1, %o5                                  
 200c138:	0a 80 00 05 	bcs  200c14c <_Heap_Free+0x70>                 <== NEVER TAKEN
 200c13c:	86 10 20 00 	clr  %g3                                       
 200c140:	c6 06 20 24 	ld  [ %i0 + 0x24 ], %g3                        
 200c144:	80 a0 c0 01 	cmp  %g3, %g1                                  
 200c148:	86 60 3f ff 	subx  %g0, -1, %g3                             
  _Heap_Protection_block_check( heap, block );                        
                                                                      
  block_size = _Heap_Block_size( block );                             
  next_block = _Heap_Block_at( block, block_size );                   
                                                                      
  if ( !_Heap_Is_block_in_heap( heap, next_block ) ) {                
 200c14c:	80 a0 e0 00 	cmp  %g3, 0                                    
 200c150:	02 80 00 5d 	be  200c2c4 <_Heap_Free+0x1e8>                 <== NEVER TAKEN
 200c154:	88 10 20 00 	clr  %g4                                       
  --stats->used_blocks;                                               
  ++stats->frees;                                                     
  stats->free_size += block_size;                                     
                                                                      
  return( true );                                                     
}                                                                     
 200c158:	de 00 60 04 	ld  [ %g1 + 4 ], %o7                           
    return false;                                                     
  }                                                                   
                                                                      
  _Heap_Protection_block_check( heap, next_block );                   
                                                                      
  if ( !_Heap_Is_prev_used( next_block ) ) {                          
 200c15c:	80 8b e0 01 	btst  1, %o7                                   
 200c160:	02 80 00 59 	be  200c2c4 <_Heap_Free+0x1e8>                 
 200c164:	9e 0b ff fe 	and  %o7, -2, %o7                              
  if ( !_Heap_Protection_determine_block_free( heap, block ) ) {      
    return true;                                                      
  }                                                                   
                                                                      
  next_block_size = _Heap_Block_size( next_block );                   
  next_is_free = next_block != heap->last_block                       
 200c168:	c8 06 20 24 	ld  [ %i0 + 0x24 ], %g4                        
    && !_Heap_Is_prev_used( _Heap_Block_at( next_block, next_block_size ));
 200c16c:	80 a0 40 04 	cmp  %g1, %g4                                  
 200c170:	02 80 00 07 	be  200c18c <_Heap_Free+0xb0>                  
 200c174:	98 10 20 00 	clr  %o4                                       
  --stats->used_blocks;                                               
  ++stats->frees;                                                     
  stats->free_size += block_size;                                     
                                                                      
  return( true );                                                     
}                                                                     
 200c178:	86 00 40 0f 	add  %g1, %o7, %g3                             
  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;                 
 200c17c:	c6 00 e0 04 	ld  [ %g3 + 4 ], %g3                           
 200c180:	86 08 e0 01 	and  %g3, 1, %g3                               
    return true;                                                      
  }                                                                   
                                                                      
  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 ));
 200c184:	80 a0 00 03 	cmp  %g0, %g3                                  
 200c188:	98 60 3f ff 	subx  %g0, -1, %o4                             
                                                                      
  if ( !_Heap_Is_prev_used( block ) ) {                               
 200c18c:	80 8a e0 01 	btst  1, %o3                                   
 200c190:	12 80 00 25 	bne  200c224 <_Heap_Free+0x148>                
 200c194:	80 8b 20 ff 	btst  0xff, %o4                                
    uintptr_t const prev_size = block->prev_size;                     
 200c198:	d6 07 40 00 	ld  [ %i5 ], %o3                               
RTEMS_INLINE_ROUTINE Heap_Block *_Heap_Block_at(                      
  const Heap_Block *block,                                            
  uintptr_t offset                                                    
)                                                                     
{                                                                     
  return (Heap_Block *) ((uintptr_t) block + offset);                 
 200c19c:	86 27 40 0b 	sub  %i5, %o3, %g3                             
  const Heap_Control *heap,                                           
  const Heap_Block *block                                             
)                                                                     
{                                                                     
  return (uintptr_t) block >= (uintptr_t) heap->first_block           
    && (uintptr_t) block <= (uintptr_t) heap->last_block;             
 200c1a0:	80 a0 c0 0d 	cmp  %g3, %o5                                  
 200c1a4:	0a 80 00 04 	bcs  200c1b4 <_Heap_Free+0xd8>                 <== NEVER TAKEN
 200c1a8:	94 10 20 00 	clr  %o2                                       
 200c1ac:	80 a1 00 03 	cmp  %g4, %g3                                  
 200c1b0:	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 ) ) {              
 200c1b4:	80 a2 a0 00 	cmp  %o2, 0                                    
 200c1b8:	02 80 00 43 	be  200c2c4 <_Heap_Free+0x1e8>                 <== NEVER TAKEN
 200c1bc:	88 10 20 00 	clr  %g4                                       
  block->size_and_flag = size | flag;                                 
}                                                                     
                                                                      
RTEMS_INLINE_ROUTINE bool _Heap_Is_prev_used( const Heap_Block *block )
{                                                                     
  return block->size_and_flag & HEAP_PREV_BLOCK_USED;                 
 200c1c0:	da 00 e0 04 	ld  [ %g3 + 4 ], %o5                           
      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) ) {                        
 200c1c4:	80 8b 60 01 	btst  1, %o5                                   
 200c1c8:	02 80 00 3f 	be  200c2c4 <_Heap_Free+0x1e8>                 <== NEVER TAKEN
 200c1cc:	80 8b 20 ff 	btst  0xff, %o4                                
      _HAssert( false );                                              
      return( false );                                                
    }                                                                 
                                                                      
    if ( next_is_free ) {       /* coalesce both */                   
 200c1d0:	02 80 00 0e 	be  200c208 <_Heap_Free+0x12c>                 
 200c1d4:	88 00 80 0b 	add  %g2, %o3, %g4                             
      uintptr_t const size = block_size + prev_size + next_block_size;
 200c1d8:	9e 01 00 0f 	add  %g4, %o7, %o7                             
  return _Heap_Free_list_tail(heap)->prev;                            
}                                                                     
                                                                      
RTEMS_INLINE_ROUTINE void _Heap_Free_list_remove( Heap_Block *block ) 
{                                                                     
  Heap_Block *next = block->next;                                     
 200c1dc:	c8 00 60 08 	ld  [ %g1 + 8 ], %g4                           
  Heap_Block *prev = block->prev;                                     
 200c1e0:	c2 00 60 0c 	ld  [ %g1 + 0xc ], %g1                         
                                                                      
  prev->next = next;                                                  
 200c1e4:	c8 20 60 08 	st  %g4, [ %g1 + 8 ]                           
  next->prev = prev;                                                  
 200c1e8:	c2 21 20 0c 	st  %g1, [ %g4 + 0xc ]                         
      _Heap_Free_list_remove( next_block );                           
      stats->free_blocks -= 1;                                        
 200c1ec:	c2 06 20 38 	ld  [ %i0 + 0x38 ], %g1                        
 200c1f0:	82 00 7f ff 	add  %g1, -1, %g1                              
 200c1f4:	c2 26 20 38 	st  %g1, [ %i0 + 0x38 ]                        
      prev_block->size_and_flag = size | HEAP_PREV_BLOCK_USED;        
      next_block = _Heap_Block_at( prev_block, size );                
      _HAssert(!_Heap_Is_prev_used( next_block));                     
      next_block->prev_size = size;                                   
 200c1f8:	de 23 c0 03 	st  %o7, [ %o7 + %g3 ]                         
                                                                      
    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;        
 200c1fc:	82 13 e0 01 	or  %o7, 1, %g1                                
 200c200:	10 80 00 27 	b  200c29c <_Heap_Free+0x1c0>                  
 200c204:	c2 20 e0 04 	st  %g1, [ %g3 + 4 ]                           
      next_block = _Heap_Block_at( prev_block, size );                
      _HAssert(!_Heap_Is_prev_used( next_block));                     
      next_block->prev_size = size;                                   
    } else {                      /* coalesce prev */                 
      uintptr_t const size = block_size + prev_size;                  
      prev_block->size_and_flag = size | HEAP_PREV_BLOCK_USED;        
 200c208:	9e 11 20 01 	or  %g4, 1, %o7                                
 200c20c:	de 20 e0 04 	st  %o7, [ %g3 + 4 ]                           
      next_block->size_and_flag &= ~HEAP_PREV_BLOCK_USED;             
 200c210:	c6 00 60 04 	ld  [ %g1 + 4 ], %g3                           
      next_block->prev_size = size;                                   
 200c214:	c8 20 80 1d 	st  %g4, [ %g2 + %i5 ]                         
      _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;             
 200c218:	86 08 ff fe 	and  %g3, -2, %g3                              
 200c21c:	10 80 00 20 	b  200c29c <_Heap_Free+0x1c0>                  
 200c220:	c6 20 60 04 	st  %g3, [ %g1 + 4 ]                           
      next_block->prev_size = size;                                   
    }                                                                 
  } else if ( next_is_free ) {    /* coalesce next */                 
 200c224:	22 80 00 0d 	be,a   200c258 <_Heap_Free+0x17c>              
 200c228:	c6 06 20 08 	ld  [ %i0 + 8 ], %g3                           
RTEMS_INLINE_ROUTINE void _Heap_Free_list_replace(                    
  Heap_Block *old_block,                                              
  Heap_Block *new_block                                               
)                                                                     
{                                                                     
  Heap_Block *next = old_block->next;                                 
 200c22c:	c8 00 60 08 	ld  [ %g1 + 8 ], %g4                           
  Heap_Block *prev = old_block->prev;                                 
 200c230:	c2 00 60 0c 	ld  [ %g1 + 0xc ], %g1                         
                                                                      
  new_block->next = next;                                             
 200c234:	c8 27 60 08 	st  %g4, [ %i5 + 8 ]                           
  new_block->prev = prev;                                             
 200c238:	c2 27 60 0c 	st  %g1, [ %i5 + 0xc ]                         
    uintptr_t const size = block_size + next_block_size;              
 200c23c:	86 03 c0 02 	add  %o7, %g2, %g3                             
                                                                      
  next->prev = new_block;                                             
  prev->next = new_block;                                             
 200c240:	fa 20 60 08 	st  %i5, [ %g1 + 8 ]                           
  Heap_Block *prev = old_block->prev;                                 
                                                                      
  new_block->next = next;                                             
  new_block->prev = prev;                                             
                                                                      
  next->prev = new_block;                                             
 200c244:	fa 21 20 0c 	st  %i5, [ %g4 + 0xc ]                         
    _Heap_Free_list_replace( next_block, block );                     
    block->size_and_flag = size | HEAP_PREV_BLOCK_USED;               
 200c248:	82 10 e0 01 	or  %g3, 1, %g1                                
    next_block  = _Heap_Block_at( block, size );                      
    next_block->prev_size = size;                                     
 200c24c:	c6 20 c0 1d 	st  %g3, [ %g3 + %i5 ]                         
      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;               
 200c250:	10 80 00 13 	b  200c29c <_Heap_Free+0x1c0>                  
 200c254:	c2 27 60 04 	st  %g1, [ %i5 + 4 ]                           
)                                                                     
{                                                                     
  Heap_Block *next = block_before->next;                              
                                                                      
  new_block->next = next;                                             
  new_block->prev = block_before;                                     
 200c258:	f0 27 60 0c 	st  %i0, [ %i5 + 0xc ]                         
  Heap_Block *new_block                                               
)                                                                     
{                                                                     
  Heap_Block *next = block_before->next;                              
                                                                      
  new_block->next = next;                                             
 200c25c:	c6 27 60 08 	st  %g3, [ %i5 + 8 ]                           
  new_block->prev = block_before;                                     
  block_before->next = new_block;                                     
  next->prev = new_block;                                             
 200c260:	fa 20 e0 0c 	st  %i5, [ %g3 + 0xc ]                         
    next_block->prev_size = size;                                     
  } else {                        /* no coalesce */                   
    /* Add 'block' to the head of the free blocks list as it tends to 
       produce less fragmentation than adding to the tail. */         
    _Heap_Free_list_insert_after( _Heap_Free_list_head( heap), block );
    block->size_and_flag = block_size | HEAP_PREV_BLOCK_USED;         
 200c264:	86 10 a0 01 	or  %g2, 1, %g3                                
 200c268:	c6 27 60 04 	st  %g3, [ %i5 + 4 ]                           
    next_block->size_and_flag &= ~HEAP_PREV_BLOCK_USED;               
 200c26c:	c6 00 60 04 	ld  [ %g1 + 4 ], %g3                           
    next_block->prev_size = block_size;                               
 200c270:	c4 20 80 1d 	st  %g2, [ %g2 + %i5 ]                         
  } 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;               
 200c274:	86 08 ff fe 	and  %g3, -2, %g3                              
 200c278:	c6 20 60 04 	st  %g3, [ %g1 + 4 ]                           
    next_block->prev_size = block_size;                               
                                                                      
    /* Statistics */                                                  
    ++stats->free_blocks;                                             
 200c27c:	c2 06 20 38 	ld  [ %i0 + 0x38 ], %g1                        
    if ( stats->max_free_blocks < stats->free_blocks ) {              
 200c280:	c6 06 20 3c 	ld  [ %i0 + 0x3c ], %g3                        
    block->size_and_flag = block_size | HEAP_PREV_BLOCK_USED;         
    next_block->size_and_flag &= ~HEAP_PREV_BLOCK_USED;               
    next_block->prev_size = block_size;                               
                                                                      
    /* Statistics */                                                  
    ++stats->free_blocks;                                             
 200c284:	82 00 60 01 	inc  %g1                                       
{                                                                     
  Heap_Block *next = block_before->next;                              
                                                                      
  new_block->next = next;                                             
  new_block->prev = block_before;                                     
  block_before->next = new_block;                                     
 200c288:	fa 26 20 08 	st  %i5, [ %i0 + 8 ]                           
    if ( stats->max_free_blocks < stats->free_blocks ) {              
 200c28c:	80 a0 c0 01 	cmp  %g3, %g1                                  
 200c290:	1a 80 00 03 	bcc  200c29c <_Heap_Free+0x1c0>                
 200c294:	c2 26 20 38 	st  %g1, [ %i0 + 0x38 ]                        
      stats->max_free_blocks = stats->free_blocks;                    
 200c298:	c2 26 20 3c 	st  %g1, [ %i0 + 0x3c ]                        
    }                                                                 
  }                                                                   
                                                                      
  /* Statistics */                                                    
  --stats->used_blocks;                                               
 200c29c:	c2 06 20 40 	ld  [ %i0 + 0x40 ], %g1                        
  ++stats->frees;                                                     
  stats->free_size += block_size;                                     
                                                                      
  return( true );                                                     
 200c2a0:	88 10 20 01 	mov  1, %g4                                    
      stats->max_free_blocks = stats->free_blocks;                    
    }                                                                 
  }                                                                   
                                                                      
  /* Statistics */                                                    
  --stats->used_blocks;                                               
 200c2a4:	82 00 7f ff 	add  %g1, -1, %g1                              
 200c2a8:	c2 26 20 40 	st  %g1, [ %i0 + 0x40 ]                        
  ++stats->frees;                                                     
 200c2ac:	c2 06 20 50 	ld  [ %i0 + 0x50 ], %g1                        
 200c2b0:	82 00 60 01 	inc  %g1                                       
 200c2b4:	c2 26 20 50 	st  %g1, [ %i0 + 0x50 ]                        
  stats->free_size += block_size;                                     
 200c2b8:	c2 06 20 30 	ld  [ %i0 + 0x30 ], %g1                        
 200c2bc:	84 00 40 02 	add  %g1, %g2, %g2                             
 200c2c0:	c4 26 20 30 	st  %g2, [ %i0 + 0x30 ]                        
                                                                      
  return( true );                                                     
}                                                                     
 200c2c4:	b0 09 20 01 	and  %g4, 1, %i0                               
 200c2c8:	81 c7 e0 08 	ret                                            
 200c2cc:	81 e8 00 00 	restore                                        
                                                                      

0201885c <_Heap_Size_of_alloc_area>: bool _Heap_Size_of_alloc_area( Heap_Control *heap, void *alloc_begin_ptr, uintptr_t *alloc_size ) {
 201885c:	9d e3 bf a0 	save  %sp, -96, %sp                            
RTEMS_INLINE_ROUTINE uintptr_t _Heap_Align_down(                      
  uintptr_t value,                                                    
  uintptr_t alignment                                                 
)                                                                     
{                                                                     
  return value - (value % alignment);                                 
 2018860:	d2 06 20 10 	ld  [ %i0 + 0x10 ], %o1                        
 2018864:	7f ff f9 4a 	call  2016d8c <.urem>                          
 2018868:	90 10 00 19 	mov  %i1, %o0                                  
RTEMS_INLINE_ROUTINE bool _Heap_Is_block_in_heap(                     
  const Heap_Control *heap,                                           
  const Heap_Block *block                                             
)                                                                     
{                                                                     
  return (uintptr_t) block >= (uintptr_t) heap->first_block           
 201886c:	c6 06 20 20 	ld  [ %i0 + 0x20 ], %g3                        
RTEMS_INLINE_ROUTINE uintptr_t _Heap_Align_down(                      
  uintptr_t value,                                                    
  uintptr_t alignment                                                 
)                                                                     
{                                                                     
  return value - (value % alignment);                                 
 2018870:	ba 06 7f f8 	add  %i1, -8, %i5                              
  uintptr_t alloc_begin,                                              
  uintptr_t page_size                                                 
)                                                                     
{                                                                     
  return (Heap_Block *) (_Heap_Align_down( alloc_begin, page_size )   
    - HEAP_BLOCK_HEADER_SIZE);                                        
 2018874:	90 27 40 08 	sub  %i5, %o0, %o0                             
  const Heap_Control *heap,                                           
  const Heap_Block *block                                             
)                                                                     
{                                                                     
  return (uintptr_t) block >= (uintptr_t) heap->first_block           
    && (uintptr_t) block <= (uintptr_t) heap->last_block;             
 2018878:	80 a2 00 03 	cmp  %o0, %g3                                  
 201887c:	0a 80 00 05 	bcs  2018890 <_Heap_Size_of_alloc_area+0x34>   
 2018880:	84 10 20 00 	clr  %g2                                       
 2018884:	c2 06 20 24 	ld  [ %i0 + 0x24 ], %g1                        
 2018888:	80 a0 40 08 	cmp  %g1, %o0                                  
 201888c:	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 ) ) {                     
 2018890:	80 a0 a0 00 	cmp  %g2, 0                                    
 2018894:	02 80 00 15 	be  20188e8 <_Heap_Size_of_alloc_area+0x8c>    
 2018898:	82 10 20 00 	clr  %g1                                       
    - HEAP_BLOCK_HEADER_SIZE);                                        
}                                                                     
                                                                      
RTEMS_INLINE_ROUTINE uintptr_t _Heap_Block_size( const Heap_Block *block )
{                                                                     
  return block->size_and_flag & ~HEAP_PREV_BLOCK_USED;                
 201889c:	fa 02 20 04 	ld  [ %o0 + 4 ], %i5                           
 20188a0:	ba 0f 7f fe 	and  %i5, -2, %i5                              
RTEMS_INLINE_ROUTINE Heap_Block *_Heap_Block_at(                      
  const Heap_Block *block,                                            
  uintptr_t offset                                                    
)                                                                     
{                                                                     
  return (Heap_Block *) ((uintptr_t) block + offset);                 
 20188a4:	ba 07 40 08 	add  %i5, %o0, %i5                             
  const Heap_Control *heap,                                           
  const Heap_Block *block                                             
)                                                                     
{                                                                     
  return (uintptr_t) block >= (uintptr_t) heap->first_block           
    && (uintptr_t) block <= (uintptr_t) heap->last_block;             
 20188a8:	80 a7 40 03 	cmp  %i5, %g3                                  
 20188ac:	0a 80 00 05 	bcs  20188c0 <_Heap_Size_of_alloc_area+0x64>   <== NEVER TAKEN
 20188b0:	84 10 20 00 	clr  %g2                                       
 20188b4:	c2 06 20 24 	ld  [ %i0 + 0x24 ], %g1                        
 20188b8:	80 a0 40 1d 	cmp  %g1, %i5                                  
 20188bc:	84 60 3f ff 	subx  %g0, -1, %g2                             
  }                                                                   
                                                                      
  block_size = _Heap_Block_size( block );                             
  next_block = _Heap_Block_at( block, block_size );                   
                                                                      
  if (                                                                
 20188c0:	80 a0 a0 00 	cmp  %g2, 0                                    
 20188c4:	02 80 00 09 	be  20188e8 <_Heap_Size_of_alloc_area+0x8c>    <== NEVER TAKEN
 20188c8:	82 10 20 00 	clr  %g1                                       
  block->size_and_flag = size | flag;                                 
}                                                                     
                                                                      
RTEMS_INLINE_ROUTINE bool _Heap_Is_prev_used( const Heap_Block *block )
{                                                                     
  return block->size_and_flag & HEAP_PREV_BLOCK_USED;                 
 20188cc:	c4 07 60 04 	ld  [ %i5 + 4 ], %g2                           
    !_Heap_Is_block_in_heap( heap, next_block )                       
      || !_Heap_Is_prev_used( next_block )                            
 20188d0:	80 88 a0 01 	btst  1, %g2                                   
 20188d4:	02 80 00 05 	be  20188e8 <_Heap_Size_of_alloc_area+0x8c>    <== NEVER TAKEN
 20188d8:	ba 27 40 19 	sub  %i5, %i1, %i5                             
    return false;                                                     
  }                                                                   
                                                                      
  *alloc_size = (uintptr_t) next_block + HEAP_ALLOC_BONUS - alloc_begin;
                                                                      
  return true;                                                        
 20188dc:	82 10 20 01 	mov  1, %g1                                    
      || !_Heap_Is_prev_used( next_block )                            
  ) {                                                                 
    return false;                                                     
  }                                                                   
                                                                      
  *alloc_size = (uintptr_t) next_block + HEAP_ALLOC_BONUS - alloc_begin;
 20188e0:	ba 07 60 04 	add  %i5, 4, %i5                               
 20188e4:	fa 26 80 00 	st  %i5, [ %i2 ]                               
                                                                      
  return true;                                                        
}                                                                     
 20188e8:	b0 08 60 01 	and  %g1, 1, %i0                               
 20188ec:	81 c7 e0 08 	ret                                            
 20188f0:	81 e8 00 00 	restore                                        
                                                                      

020080f0 <_Heap_Walk>: bool _Heap_Walk( Heap_Control *heap, int source, bool dump ) {
 20080f0:	9d e3 bf 80 	save  %sp, -128, %sp                           
  uintptr_t const min_block_size = heap->min_block_size;              
  Heap_Block *const first_block = heap->first_block;                  
  Heap_Block *const last_block = heap->last_block;                    
  Heap_Block *block = first_block;                                    
  Heap_Walk_printer printer = dump ?                                  
    _Heap_Walk_print : _Heap_Walk_print_nothing;                      
 20080f4:	3b 00 80 20 	sethi  %hi(0x2008000), %i5                     
  Heap_Control *heap,                                                 
  int source,                                                         
  bool dump                                                           
)                                                                     
{                                                                     
  uintptr_t const page_size = heap->page_size;                        
 20080f8:	f8 06 20 10 	ld  [ %i0 + 0x10 ], %i4                        
  uintptr_t const min_block_size = heap->min_block_size;              
 20080fc:	e0 06 20 14 	ld  [ %i0 + 0x14 ], %l0                        
  Heap_Block *const first_block = heap->first_block;                  
 2008100:	f6 06 20 20 	ld  [ %i0 + 0x20 ], %i3                        
  Heap_Block *const last_block = heap->last_block;                    
 2008104:	e2 06 20 24 	ld  [ %i0 + 0x24 ], %l1                        
  Heap_Block *block = first_block;                                    
  Heap_Walk_printer printer = dump ?                                  
    _Heap_Walk_print : _Heap_Walk_print_nothing;                      
 2008108:	80 a6 a0 00 	cmp  %i2, 0                                    
 200810c:	02 80 00 04 	be  200811c <_Heap_Walk+0x2c>                  
 2008110:	ba 17 60 9c 	or  %i5, 0x9c, %i5                             
 2008114:	3b 00 80 20 	sethi  %hi(0x2008000), %i5                     
 2008118:	ba 17 60 a4 	or  %i5, 0xa4, %i5	! 20080a4 <_Heap_Walk_print>
                                                                      
  if ( !_System_state_Is_up( _System_state_Get() ) ) {                
 200811c:	03 00 80 5d 	sethi  %hi(0x2017400), %g1                     
 2008120:	c4 00 60 44 	ld  [ %g1 + 0x44 ], %g2	! 2017444 <_System_state_Current>
 2008124:	80 a0 a0 03 	cmp  %g2, 3                                    
 2008128:	12 80 01 24 	bne  20085b8 <_Heap_Walk+0x4c8>                
 200812c:	82 10 20 01 	mov  1, %g1                                    
  Heap_Block *const first_free_block = _Heap_Free_list_first( heap ); 
  Heap_Block *const last_free_block = _Heap_Free_list_last( heap );   
  Heap_Block *const first_block = heap->first_block;                  
  Heap_Block *const last_block = heap->last_block;                    
                                                                      
  (*printer)(                                                         
 2008130:	c2 06 20 1c 	ld  [ %i0 + 0x1c ], %g1                        
 2008134:	da 06 20 18 	ld  [ %i0 + 0x18 ], %o5                        
 2008138:	c2 23 a0 5c 	st  %g1, [ %sp + 0x5c ]                        
 200813c:	f6 23 a0 60 	st  %i3, [ %sp + 0x60 ]                        
 2008140:	e2 23 a0 64 	st  %l1, [ %sp + 0x64 ]                        
 2008144:	c2 06 20 08 	ld  [ %i0 + 8 ], %g1                           
 2008148:	90 10 00 19 	mov  %i1, %o0                                  
 200814c:	c2 23 a0 68 	st  %g1, [ %sp + 0x68 ]                        
 2008150:	c2 06 20 0c 	ld  [ %i0 + 0xc ], %g1                         
 2008154:	92 10 20 00 	clr  %o1                                       
 2008158:	c2 23 a0 6c 	st  %g1, [ %sp + 0x6c ]                        
 200815c:	15 00 80 52 	sethi  %hi(0x2014800), %o2                     
 2008160:	96 10 00 1c 	mov  %i4, %o3                                  
 2008164:	94 12 a1 f8 	or  %o2, 0x1f8, %o2                            
 2008168:	9f c7 40 00 	call  %i5                                      
 200816c:	98 10 00 10 	mov  %l0, %o4                                  
    heap->area_begin, heap->area_end,                                 
    first_block, last_block,                                          
    first_free_block, last_free_block                                 
  );                                                                  
                                                                      
  if ( page_size == 0 ) {                                             
 2008170:	80 a7 20 00 	cmp  %i4, 0                                    
 2008174:	12 80 00 07 	bne  2008190 <_Heap_Walk+0xa0>                 
 2008178:	80 8f 20 07 	btst  7, %i4                                   
    (*printer)( source, true, "page size is zero\n" );                
 200817c:	15 00 80 52 	sethi  %hi(0x2014800), %o2                     
 2008180:	90 10 00 19 	mov  %i1, %o0                                  
 2008184:	92 10 20 01 	mov  1, %o1                                    
 2008188:	10 80 00 32 	b  2008250 <_Heap_Walk+0x160>                  
 200818c:	94 12 a2 90 	or  %o2, 0x290, %o2                            
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if ( !_Addresses_Is_aligned( (void *) page_size ) ) {               
 2008190:	22 80 00 08 	be,a   20081b0 <_Heap_Walk+0xc0>               
 2008194:	90 10 00 10 	mov  %l0, %o0                                  
    (*printer)(                                                       
 2008198:	15 00 80 52 	sethi  %hi(0x2014800), %o2                     
 200819c:	90 10 00 19 	mov  %i1, %o0                                  
 20081a0:	92 10 20 01 	mov  1, %o1                                    
 20081a4:	94 12 a2 a8 	or  %o2, 0x2a8, %o2                            
 20081a8:	10 80 01 0b 	b  20085d4 <_Heap_Walk+0x4e4>                  
 20081ac:	96 10 00 1c 	mov  %i4, %o3                                  
RTEMS_INLINE_ROUTINE bool _Heap_Is_aligned(                           
  uintptr_t value,                                                    
  uintptr_t alignment                                                 
)                                                                     
{                                                                     
  return (value % alignment) == 0;                                    
 20081b0:	7f ff e6 4c 	call  2001ae0 <.urem>                          
 20081b4:	92 10 00 1c 	mov  %i4, %o1                                  
    );                                                                
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if ( !_Heap_Is_aligned( min_block_size, page_size ) ) {             
 20081b8:	80 a2 20 00 	cmp  %o0, 0                                    
 20081bc:	22 80 00 08 	be,a   20081dc <_Heap_Walk+0xec>               
 20081c0:	90 06 e0 08 	add  %i3, 8, %o0                               
    (*printer)(                                                       
 20081c4:	15 00 80 52 	sethi  %hi(0x2014800), %o2                     
 20081c8:	90 10 00 19 	mov  %i1, %o0                                  
 20081cc:	92 10 20 01 	mov  1, %o1                                    
 20081d0:	94 12 a2 c8 	or  %o2, 0x2c8, %o2                            
 20081d4:	10 80 01 00 	b  20085d4 <_Heap_Walk+0x4e4>                  
 20081d8:	96 10 00 10 	mov  %l0, %o3                                  
 20081dc:	7f ff e6 41 	call  2001ae0 <.urem>                          
 20081e0:	92 10 00 1c 	mov  %i4, %o1                                  
    );                                                                
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if (                                                                
 20081e4:	80 a2 20 00 	cmp  %o0, 0                                    
 20081e8:	22 80 00 08 	be,a   2008208 <_Heap_Walk+0x118>              
 20081ec:	c2 06 e0 04 	ld  [ %i3 + 4 ], %g1                           
    !_Heap_Is_aligned( _Heap_Alloc_area_of_block( first_block ), page_size )
  ) {                                                                 
    (*printer)(                                                       
 20081f0:	15 00 80 52 	sethi  %hi(0x2014800), %o2                     
 20081f4:	90 10 00 19 	mov  %i1, %o0                                  
 20081f8:	92 10 20 01 	mov  1, %o1                                    
 20081fc:	94 12 a2 f0 	or  %o2, 0x2f0, %o2                            
 2008200:	10 80 00 f5 	b  20085d4 <_Heap_Walk+0x4e4>                  
 2008204:	96 10 00 1b 	mov  %i3, %o3                                  
    );                                                                
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if ( !_Heap_Is_prev_used( first_block ) ) {                         
 2008208:	80 88 60 01 	btst  1, %g1                                   
 200820c:	32 80 00 07 	bne,a   2008228 <_Heap_Walk+0x138>             
 2008210:	f4 04 60 04 	ld  [ %l1 + 4 ], %i2                           
    (*printer)(                                                       
 2008214:	15 00 80 52 	sethi  %hi(0x2014800), %o2                     
 2008218:	90 10 00 19 	mov  %i1, %o0                                  
 200821c:	92 10 20 01 	mov  1, %o1                                    
 2008220:	10 80 00 0c 	b  2008250 <_Heap_Walk+0x160>                  
 2008224:	94 12 a3 28 	or  %o2, 0x328, %o2                            
    - HEAP_BLOCK_HEADER_SIZE);                                        
}                                                                     
                                                                      
RTEMS_INLINE_ROUTINE uintptr_t _Heap_Block_size( const Heap_Block *block )
{                                                                     
  return block->size_and_flag & ~HEAP_PREV_BLOCK_USED;                
 2008228:	b4 0e bf fe 	and  %i2, -2, %i2                              
RTEMS_INLINE_ROUTINE Heap_Block *_Heap_Block_at(                      
  const Heap_Block *block,                                            
  uintptr_t offset                                                    
)                                                                     
{                                                                     
  return (Heap_Block *) ((uintptr_t) block + offset);                 
 200822c:	b4 04 40 1a 	add  %l1, %i2, %i2                             
  block->size_and_flag = size | flag;                                 
}                                                                     
                                                                      
RTEMS_INLINE_ROUTINE bool _Heap_Is_prev_used( const Heap_Block *block )
{                                                                     
  return block->size_and_flag & HEAP_PREV_BLOCK_USED;                 
 2008230:	c2 06 a0 04 	ld  [ %i2 + 4 ], %g1                           
    );                                                                
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if ( _Heap_Is_free( last_block ) ) {                                
 2008234:	80 88 60 01 	btst  1, %g1                                   
 2008238:	12 80 00 0a 	bne  2008260 <_Heap_Walk+0x170>                
 200823c:	80 a6 80 1b 	cmp  %i2, %i3                                  
    (*printer)(                                                       
 2008240:	15 00 80 52 	sethi  %hi(0x2014800), %o2                     
 2008244:	90 10 00 19 	mov  %i1, %o0                                  
 2008248:	92 10 20 01 	mov  1, %o1                                    
 200824c:	94 12 a3 58 	or  %o2, 0x358, %o2                            
 2008250:	9f c7 40 00 	call  %i5                                      
 2008254:	01 00 00 00 	nop                                            
  if ( !_System_state_Is_up( _System_state_Get() ) ) {                
    return true;                                                      
  }                                                                   
                                                                      
  if ( !_Heap_Walk_check_control( source, printer, heap ) ) {         
    return false;                                                     
 2008258:	10 80 00 d8 	b  20085b8 <_Heap_Walk+0x4c8>                  
 200825c:	82 10 20 00 	clr  %g1	! 0 <PROM_START>                      
    );                                                                
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if (                                                                
 2008260:	02 80 00 06 	be  2008278 <_Heap_Walk+0x188>                 
 2008264:	15 00 80 52 	sethi  %hi(0x2014800), %o2                     
    _Heap_Block_at( last_block, _Heap_Block_size( last_block ) ) != first_block
  ) {                                                                 
    (*printer)(                                                       
 2008268:	90 10 00 19 	mov  %i1, %o0                                  
 200826c:	92 10 20 01 	mov  1, %o1                                    
 2008270:	10 bf ff f8 	b  2008250 <_Heap_Walk+0x160>                  
 2008274:	94 12 a3 70 	or  %o2, 0x370, %o2                            
  int source,                                                         
  Heap_Walk_printer printer,                                          
  Heap_Control *heap                                                  
)                                                                     
{                                                                     
  uintptr_t const page_size = heap->page_size;                        
 2008278:	e6 06 20 10 	ld  [ %i0 + 0x10 ], %l3                        
  return &heap->free_list;                                            
}                                                                     
                                                                      
RTEMS_INLINE_ROUTINE Heap_Block *_Heap_Free_list_first( Heap_Control *heap )
{                                                                     
  return _Heap_Free_list_head(heap)->next;                            
 200827c:	d6 06 20 08 	ld  [ %i0 + 8 ], %o3                           
  const Heap_Block *const free_list_tail = _Heap_Free_list_tail( heap );
 2008280:	10 80 00 33 	b  200834c <_Heap_Walk+0x25c>                  
 2008284:	a4 10 00 18 	mov  %i0, %l2                                  
  const Heap_Control *heap,                                           
  const Heap_Block *block                                             
)                                                                     
{                                                                     
  return (uintptr_t) block >= (uintptr_t) heap->first_block           
    && (uintptr_t) block <= (uintptr_t) heap->last_block;             
 2008288:	80 a0 80 0b 	cmp  %g2, %o3                                  
 200828c:	18 80 00 05 	bgu  20082a0 <_Heap_Walk+0x1b0>                
 2008290:	82 10 20 00 	clr  %g1                                       
 2008294:	c2 06 20 24 	ld  [ %i0 + 0x24 ], %g1                        
 2008298:	80 a0 40 0b 	cmp  %g1, %o3                                  
 200829c:	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 ) ) {              
 20082a0:	80 a0 60 00 	cmp  %g1, 0                                    
 20082a4:	32 80 00 07 	bne,a   20082c0 <_Heap_Walk+0x1d0>             
 20082a8:	90 02 e0 08 	add  %o3, 8, %o0                               
      (*printer)(                                                     
 20082ac:	15 00 80 52 	sethi  %hi(0x2014800), %o2                     
 20082b0:	90 10 00 19 	mov  %i1, %o0                                  
 20082b4:	92 10 20 01 	mov  1, %o1                                    
 20082b8:	10 80 00 c7 	b  20085d4 <_Heap_Walk+0x4e4>                  
 20082bc:	94 12 a3 a0 	or  %o2, 0x3a0, %o2                            
RTEMS_INLINE_ROUTINE bool _Heap_Is_aligned(                           
  uintptr_t value,                                                    
  uintptr_t alignment                                                 
)                                                                     
{                                                                     
  return (value % alignment) == 0;                                    
 20082c0:	d6 27 bf f8 	st  %o3, [ %fp + -8 ]                          
 20082c4:	7f ff e6 07 	call  2001ae0 <.urem>                          
 20082c8:	92 10 00 13 	mov  %l3, %o1                                  
      );                                                              
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if (                                                              
 20082cc:	80 a2 20 00 	cmp  %o0, 0                                    
 20082d0:	02 80 00 07 	be  20082ec <_Heap_Walk+0x1fc>                 
 20082d4:	d6 07 bf f8 	ld  [ %fp + -8 ], %o3                          
      !_Heap_Is_aligned( _Heap_Alloc_area_of_block( free_block ), page_size )
    ) {                                                               
      (*printer)(                                                     
 20082d8:	15 00 80 52 	sethi  %hi(0x2014800), %o2                     
 20082dc:	90 10 00 19 	mov  %i1, %o0                                  
 20082e0:	92 10 20 01 	mov  1, %o1                                    
 20082e4:	10 80 00 bc 	b  20085d4 <_Heap_Walk+0x4e4>                  
 20082e8:	94 12 a3 c0 	or  %o2, 0x3c0, %o2                            
    - HEAP_BLOCK_HEADER_SIZE);                                        
}                                                                     
                                                                      
RTEMS_INLINE_ROUTINE uintptr_t _Heap_Block_size( const Heap_Block *block )
{                                                                     
  return block->size_and_flag & ~HEAP_PREV_BLOCK_USED;                
 20082ec:	c2 02 e0 04 	ld  [ %o3 + 4 ], %g1                           
 20082f0:	82 08 7f fe 	and  %g1, -2, %g1                              
                                                                      
    block = next_block;                                               
  } while ( block != first_block );                                   
                                                                      
  return true;                                                        
}                                                                     
 20082f4:	82 02 c0 01 	add  %o3, %g1, %g1                             
  block->size_and_flag = size | flag;                                 
}                                                                     
                                                                      
RTEMS_INLINE_ROUTINE bool _Heap_Is_prev_used( const Heap_Block *block )
{                                                                     
  return block->size_and_flag & HEAP_PREV_BLOCK_USED;                 
 20082f8:	c2 00 60 04 	ld  [ %g1 + 4 ], %g1                           
      );                                                              
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if ( _Heap_Is_used( free_block ) ) {                              
 20082fc:	80 88 60 01 	btst  1, %g1                                   
 2008300:	22 80 00 07 	be,a   200831c <_Heap_Walk+0x22c>              
 2008304:	d8 02 e0 0c 	ld  [ %o3 + 0xc ], %o4                         
      (*printer)(                                                     
 2008308:	15 00 80 52 	sethi  %hi(0x2014800), %o2                     
 200830c:	90 10 00 19 	mov  %i1, %o0                                  
 2008310:	92 10 20 01 	mov  1, %o1                                    
 2008314:	10 80 00 b0 	b  20085d4 <_Heap_Walk+0x4e4>                  
 2008318:	94 12 a3 f0 	or  %o2, 0x3f0, %o2                            
      );                                                              
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if ( free_block->prev != prev_block ) {                           
 200831c:	80 a3 00 12 	cmp  %o4, %l2                                  
 2008320:	22 80 00 0a 	be,a   2008348 <_Heap_Walk+0x258>              
 2008324:	a4 10 00 0b 	mov  %o3, %l2                                  
      (*printer)(                                                     
 2008328:	15 00 80 53 	sethi  %hi(0x2014c00), %o2                     
 200832c:	90 10 00 19 	mov  %i1, %o0                                  
 2008330:	92 10 20 01 	mov  1, %o1                                    
 2008334:	94 12 a0 10 	or  %o2, 0x10, %o2                             
 2008338:	9f c7 40 00 	call  %i5                                      
 200833c:	01 00 00 00 	nop                                            
  if ( !_System_state_Is_up( _System_state_Get() ) ) {                
    return true;                                                      
  }                                                                   
                                                                      
  if ( !_Heap_Walk_check_control( source, printer, heap ) ) {         
    return false;                                                     
 2008340:	10 80 00 9e 	b  20085b8 <_Heap_Walk+0x4c8>                  
 2008344:	82 10 20 00 	clr  %g1	! 0 <PROM_START>                      
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    prev_block = free_block;                                          
    free_block = free_block->next;                                    
 2008348:	d6 02 e0 08 	ld  [ %o3 + 8 ], %o3                           
  const Heap_Block *const free_list_tail = _Heap_Free_list_tail( heap );
  const Heap_Block *const first_free_block = _Heap_Free_list_first( heap );
  const Heap_Block *prev_block = free_list_tail;                      
  const Heap_Block *free_block = first_free_block;                    
                                                                      
  while ( free_block != free_list_tail ) {                            
 200834c:	80 a2 c0 18 	cmp  %o3, %i0                                  
 2008350:	32 bf ff ce 	bne,a   2008288 <_Heap_Walk+0x198>             
 2008354:	c4 06 20 20 	ld  [ %i0 + 0x20 ], %g2                        
 2008358:	2d 00 80 53 	sethi  %hi(0x2014c00), %l6                     
    if ( !_Heap_Is_prev_used( next_block ) ) {                        
      if ( !_Heap_Walk_check_free_block( source, printer, heap, block ) ) {
        return false;                                                 
      }                                                               
    } else if (prev_used) {                                           
      (*printer)(                                                     
 200835c:	2f 00 80 53 	sethi  %hi(0x2014c00), %l7                     
        "block 0x%08x: size %u\n",                                    
        block,                                                        
        block_size                                                    
      );                                                              
    } else {                                                          
      (*printer)(                                                     
 2008360:	ac 15 a1 d0 	or  %l6, 0x1d0, %l6                            
    if ( !_Heap_Is_prev_used( next_block ) ) {                        
      if ( !_Heap_Walk_check_free_block( source, printer, heap, block ) ) {
        return false;                                                 
      }                                                               
    } else if (prev_used) {                                           
      (*printer)(                                                     
 2008364:	ae 15 e1 b8 	or  %l7, 0x1b8, %l7                            
      " (= first free)"                                               
        : (block->prev == free_list_head ? " (= head)" : ""),         
    block->next,                                                      
    block->next == last_free_block ?                                  
      " (= last free)"                                                
        : (block->next == free_list_tail ? " (= tail)" : "")          
 2008368:	2b 00 80 53 	sethi  %hi(0x2014c00), %l5                     
                                                                      
    block = next_block;                                               
  } while ( block != first_block );                                   
                                                                      
  return true;                                                        
}                                                                     
 200836c:	c2 06 a0 04 	ld  [ %i2 + 4 ], %g1                           
  const Heap_Control *heap,                                           
  const Heap_Block *block                                             
)                                                                     
{                                                                     
  return (uintptr_t) block >= (uintptr_t) heap->first_block           
    && (uintptr_t) block <= (uintptr_t) heap->last_block;             
 2008370:	c6 06 20 20 	ld  [ %i0 + 0x20 ], %g3                        
    - HEAP_BLOCK_HEADER_SIZE);                                        
}                                                                     
                                                                      
RTEMS_INLINE_ROUTINE uintptr_t _Heap_Block_size( const Heap_Block *block )
{                                                                     
  return block->size_and_flag & ~HEAP_PREV_BLOCK_USED;                
 2008374:	a4 08 7f fe 	and  %g1, -2, %l2                              
RTEMS_INLINE_ROUTINE Heap_Block *_Heap_Block_at(                      
  const Heap_Block *block,                                            
  uintptr_t offset                                                    
)                                                                     
{                                                                     
  return (Heap_Block *) ((uintptr_t) block + offset);                 
 2008378:	a6 04 80 1a 	add  %l2, %i2, %l3                             
  const Heap_Control *heap,                                           
  const Heap_Block *block                                             
)                                                                     
{                                                                     
  return (uintptr_t) block >= (uintptr_t) heap->first_block           
    && (uintptr_t) block <= (uintptr_t) heap->last_block;             
 200837c:	80 a0 c0 13 	cmp  %g3, %l3                                  
 2008380:	18 80 00 05 	bgu  2008394 <_Heap_Walk+0x2a4>                <== NEVER TAKEN
 2008384:	84 10 20 00 	clr  %g2                                       
 2008388:	c4 06 20 24 	ld  [ %i0 + 0x24 ], %g2                        
 200838c:	80 a0 80 13 	cmp  %g2, %l3                                  
 2008390:	84 60 3f ff 	subx  %g0, -1, %g2                             
    bool const prev_used = _Heap_Is_prev_used( block );               
    Heap_Block *const next_block = _Heap_Block_at( block, block_size );
    uintptr_t const next_block_begin = (uintptr_t) next_block;        
    bool const is_not_last_block = block != last_block;               
                                                                      
    if ( !_Heap_Is_block_in_heap( heap, next_block ) ) {              
 2008394:	80 a0 a0 00 	cmp  %g2, 0                                    
 2008398:	12 80 00 07 	bne  20083b4 <_Heap_Walk+0x2c4>                
 200839c:	84 1e 80 11 	xor  %i2, %l1, %g2                             
      (*printer)(                                                     
 20083a0:	15 00 80 53 	sethi  %hi(0x2014c00), %o2                     
 20083a4:	90 10 00 19 	mov  %i1, %o0                                  
 20083a8:	92 10 20 01 	mov  1, %o1                                    
 20083ac:	10 80 00 2c 	b  200845c <_Heap_Walk+0x36c>                  
 20083b0:	94 12 a0 48 	or  %o2, 0x48, %o2                             
    uintptr_t const block_begin = (uintptr_t) block;                  
    uintptr_t const block_size = _Heap_Block_size( block );           
    bool const prev_used = _Heap_Is_prev_used( block );               
    Heap_Block *const next_block = _Heap_Block_at( block, block_size );
    uintptr_t const next_block_begin = (uintptr_t) next_block;        
    bool const is_not_last_block = block != last_block;               
 20083b4:	80 a0 00 02 	cmp  %g0, %g2                                  
RTEMS_INLINE_ROUTINE bool _Heap_Is_aligned(                           
  uintptr_t value,                                                    
  uintptr_t alignment                                                 
)                                                                     
{                                                                     
  return (value % alignment) == 0;                                    
 20083b8:	c2 27 bf fc 	st  %g1, [ %fp + -4 ]                          
 20083bc:	a8 40 20 00 	addx  %g0, 0, %l4                              
 20083c0:	90 10 00 12 	mov  %l2, %o0                                  
 20083c4:	7f ff e5 c7 	call  2001ae0 <.urem>                          
 20083c8:	92 10 00 1c 	mov  %i4, %o1                                  
      );                                                              
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if ( !_Heap_Is_aligned( block_size, page_size ) && is_not_last_block ) {
 20083cc:	80 a2 20 00 	cmp  %o0, 0                                    
 20083d0:	02 80 00 0c 	be  2008400 <_Heap_Walk+0x310>                 
 20083d4:	c2 07 bf fc 	ld  [ %fp + -4 ], %g1                          
 20083d8:	80 8d 20 ff 	btst  0xff, %l4                                
 20083dc:	02 80 00 0a 	be  2008404 <_Heap_Walk+0x314>                 
 20083e0:	80 a4 80 10 	cmp  %l2, %l0                                  
      (*printer)(                                                     
 20083e4:	15 00 80 53 	sethi  %hi(0x2014c00), %o2                     
 20083e8:	90 10 00 19 	mov  %i1, %o0                                  
 20083ec:	92 10 20 01 	mov  1, %o1                                    
 20083f0:	94 12 a0 78 	or  %o2, 0x78, %o2                             
 20083f4:	96 10 00 1a 	mov  %i2, %o3                                  
 20083f8:	10 bf ff d0 	b  2008338 <_Heap_Walk+0x248>                  
 20083fc:	98 10 00 12 	mov  %l2, %o4                                  
      );                                                              
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if ( block_size < min_block_size && is_not_last_block ) {         
 2008400:	80 a4 80 10 	cmp  %l2, %l0                                  
 2008404:	1a 80 00 0d 	bcc  2008438 <_Heap_Walk+0x348>                
 2008408:	80 a4 c0 1a 	cmp  %l3, %i2                                  
 200840c:	80 8d 20 ff 	btst  0xff, %l4                                
 2008410:	02 80 00 0a 	be  2008438 <_Heap_Walk+0x348>                 <== NEVER TAKEN
 2008414:	80 a4 c0 1a 	cmp  %l3, %i2                                  
      (*printer)(                                                     
 2008418:	15 00 80 53 	sethi  %hi(0x2014c00), %o2                     
 200841c:	90 10 00 19 	mov  %i1, %o0                                  
 2008420:	92 10 20 01 	mov  1, %o1                                    
 2008424:	94 12 a0 a8 	or  %o2, 0xa8, %o2                             
 2008428:	96 10 00 1a 	mov  %i2, %o3                                  
 200842c:	98 10 00 12 	mov  %l2, %o4                                  
 2008430:	10 80 00 3d 	b  2008524 <_Heap_Walk+0x434>                  
 2008434:	9a 10 00 10 	mov  %l0, %o5                                  
      );                                                              
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if ( next_block_begin <= block_begin && is_not_last_block ) {     
 2008438:	38 80 00 0c 	bgu,a   2008468 <_Heap_Walk+0x378>             
 200843c:	a8 08 60 01 	and  %g1, 1, %l4                               
 2008440:	80 8d 20 ff 	btst  0xff, %l4                                
 2008444:	02 80 00 09 	be  2008468 <_Heap_Walk+0x378>                 
 2008448:	a8 08 60 01 	and  %g1, 1, %l4                               
      (*printer)(                                                     
 200844c:	15 00 80 53 	sethi  %hi(0x2014c00), %o2                     
 2008450:	90 10 00 19 	mov  %i1, %o0                                  
 2008454:	92 10 20 01 	mov  1, %o1                                    
 2008458:	94 12 a0 d8 	or  %o2, 0xd8, %o2                             
 200845c:	96 10 00 1a 	mov  %i2, %o3                                  
 2008460:	10 bf ff b6 	b  2008338 <_Heap_Walk+0x248>                  
 2008464:	98 10 00 13 	mov  %l3, %o4                                  
  block->size_and_flag = size | flag;                                 
}                                                                     
                                                                      
RTEMS_INLINE_ROUTINE bool _Heap_Is_prev_used( const Heap_Block *block )
{                                                                     
  return block->size_and_flag & HEAP_PREV_BLOCK_USED;                 
 2008468:	c2 04 e0 04 	ld  [ %l3 + 4 ], %g1                           
      );                                                              
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if ( !_Heap_Is_prev_used( next_block ) ) {                        
 200846c:	80 88 60 01 	btst  1, %g1                                   
 2008470:	12 80 00 40 	bne  2008570 <_Heap_Walk+0x480>                
 2008474:	90 10 00 19 	mov  %i1, %o0                                  
    false,                                                            
    "block 0x%08x: size %u, prev 0x%08x%s, next 0x%08x%s\n",          
    block,                                                            
    block_size,                                                       
    block->prev,                                                      
    block->prev == first_free_block ?                                 
 2008478:	da 06 a0 0c 	ld  [ %i2 + 0xc ], %o5                         
  Heap_Block *const last_free_block = _Heap_Free_list_last( heap );   
  bool const prev_used = _Heap_Is_prev_used( block );                 
  uintptr_t const block_size = _Heap_Block_size( block );             
  Heap_Block *const next_block = _Heap_Block_at( block, block_size ); 
                                                                      
  (*printer)(                                                         
 200847c:	c2 06 20 08 	ld  [ %i0 + 8 ], %g1                           
 2008480:	05 00 80 52 	sethi  %hi(0x2014800), %g2                     
  return _Heap_Free_list_head(heap)->next;                            
}                                                                     
                                                                      
RTEMS_INLINE_ROUTINE Heap_Block *_Heap_Free_list_last( Heap_Control *heap )
{                                                                     
  return _Heap_Free_list_tail(heap)->prev;                            
 2008484:	c8 06 20 0c 	ld  [ %i0 + 0xc ], %g4                         
 2008488:	80 a3 40 01 	cmp  %o5, %g1                                  
 200848c:	02 80 00 07 	be  20084a8 <_Heap_Walk+0x3b8>                 
 2008490:	86 10 a1 b8 	or  %g2, 0x1b8, %g3                            
    block,                                                            
    block_size,                                                       
    block->prev,                                                      
    block->prev == first_free_block ?                                 
      " (= first free)"                                               
        : (block->prev == free_list_head ? " (= head)" : ""),         
 2008494:	80 a3 40 18 	cmp  %o5, %i0                                  
 2008498:	12 80 00 04 	bne  20084a8 <_Heap_Walk+0x3b8>                
 200849c:	86 15 61 80 	or  %l5, 0x180, %g3                            
 20084a0:	07 00 80 52 	sethi  %hi(0x2014800), %g3                     
 20084a4:	86 10 e1 c8 	or  %g3, 0x1c8, %g3	! 20149c8 <_Status_Object_name_errors_to_status+0x48>
    block->next,                                                      
    block->next == last_free_block ?                                  
 20084a8:	c4 06 a0 08 	ld  [ %i2 + 8 ], %g2                           
  Heap_Block *const last_free_block = _Heap_Free_list_last( heap );   
  bool const prev_used = _Heap_Is_prev_used( block );                 
  uintptr_t const block_size = _Heap_Block_size( block );             
  Heap_Block *const next_block = _Heap_Block_at( block, block_size ); 
                                                                      
  (*printer)(                                                         
 20084ac:	1f 00 80 52 	sethi  %hi(0x2014800), %o7                     
 20084b0:	80 a0 80 04 	cmp  %g2, %g4                                  
 20084b4:	02 80 00 07 	be  20084d0 <_Heap_Walk+0x3e0>                 
 20084b8:	82 13 e1 d8 	or  %o7, 0x1d8, %g1                            
      " (= first free)"                                               
        : (block->prev == free_list_head ? " (= head)" : ""),         
    block->next,                                                      
    block->next == last_free_block ?                                  
      " (= last free)"                                                
        : (block->next == free_list_tail ? " (= tail)" : "")          
 20084bc:	80 a0 80 18 	cmp  %g2, %i0                                  
 20084c0:	12 80 00 04 	bne  20084d0 <_Heap_Walk+0x3e0>                
 20084c4:	82 15 61 80 	or  %l5, 0x180, %g1                            
 20084c8:	03 00 80 52 	sethi  %hi(0x2014800), %g1                     
 20084cc:	82 10 61 e8 	or  %g1, 0x1e8, %g1	! 20149e8 <_Status_Object_name_errors_to_status+0x68>
  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)(                                                         
 20084d0:	c6 23 a0 5c 	st  %g3, [ %sp + 0x5c ]                        
 20084d4:	c4 23 a0 60 	st  %g2, [ %sp + 0x60 ]                        
 20084d8:	c2 23 a0 64 	st  %g1, [ %sp + 0x64 ]                        
 20084dc:	90 10 00 19 	mov  %i1, %o0                                  
 20084e0:	92 10 20 00 	clr  %o1                                       
 20084e4:	15 00 80 53 	sethi  %hi(0x2014c00), %o2                     
 20084e8:	96 10 00 1a 	mov  %i2, %o3                                  
 20084ec:	94 12 a1 10 	or  %o2, 0x110, %o2                            
 20084f0:	9f c7 40 00 	call  %i5                                      
 20084f4:	98 10 00 12 	mov  %l2, %o4                                  
    block->next == last_free_block ?                                  
      " (= last free)"                                                
        : (block->next == free_list_tail ? " (= tail)" : "")          
  );                                                                  
                                                                      
  if ( block_size != next_block->prev_size ) {                        
 20084f8:	da 04 c0 00 	ld  [ %l3 ], %o5                               
 20084fc:	80 a4 80 0d 	cmp  %l2, %o5                                  
 2008500:	02 80 00 0d 	be  2008534 <_Heap_Walk+0x444>                 
 2008504:	80 a5 20 00 	cmp  %l4, 0                                    
    (*printer)(                                                       
 2008508:	15 00 80 53 	sethi  %hi(0x2014c00), %o2                     
 200850c:	e6 23 a0 5c 	st  %l3, [ %sp + 0x5c ]                        
 2008510:	90 10 00 19 	mov  %i1, %o0                                  
 2008514:	92 10 20 01 	mov  1, %o1                                    
 2008518:	94 12 a1 48 	or  %o2, 0x148, %o2                            
 200851c:	96 10 00 1a 	mov  %i2, %o3                                  
 2008520:	98 10 00 12 	mov  %l2, %o4                                  
 2008524:	9f c7 40 00 	call  %i5                                      
 2008528:	01 00 00 00 	nop                                            
 200852c:	10 80 00 23 	b  20085b8 <_Heap_Walk+0x4c8>                  
 2008530:	82 10 20 00 	clr  %g1	! 0 <PROM_START>                      
    );                                                                
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if ( !prev_used ) {                                                 
 2008534:	32 80 00 0a 	bne,a   200855c <_Heap_Walk+0x46c>             
 2008538:	c2 06 20 08 	ld  [ %i0 + 8 ], %g1                           
    (*printer)(                                                       
 200853c:	15 00 80 53 	sethi  %hi(0x2014c00), %o2                     
 2008540:	90 10 00 19 	mov  %i1, %o0                                  
 2008544:	92 10 20 01 	mov  1, %o1                                    
 2008548:	10 80 00 22 	b  20085d0 <_Heap_Walk+0x4e0>                  
 200854c:	94 12 a1 88 	or  %o2, 0x188, %o2                            
{                                                                     
  const Heap_Block *const free_list_tail = _Heap_Free_list_tail( heap );
  const Heap_Block *free_block = _Heap_Free_list_first( heap );       
                                                                      
  while ( free_block != free_list_tail ) {                            
    if ( free_block == block ) {                                      
 2008550:	02 80 00 17 	be  20085ac <_Heap_Walk+0x4bc>                 
 2008554:	80 a4 c0 1b 	cmp  %l3, %i3                                  
      return true;                                                    
    }                                                                 
    free_block = free_block->next;                                    
 2008558:	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 ) {                            
 200855c:	80 a0 40 18 	cmp  %g1, %i0                                  
 2008560:	12 bf ff fc 	bne  2008550 <_Heap_Walk+0x460>                
 2008564:	80 a0 40 1a 	cmp  %g1, %i2                                  
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if ( !_Heap_Walk_is_in_free_list( heap, block ) ) {                 
    (*printer)(                                                       
 2008568:	10 80 00 17 	b  20085c4 <_Heap_Walk+0x4d4>                  
 200856c:	15 00 80 53 	sethi  %hi(0x2014c00), %o2                     
                                                                      
    if ( !_Heap_Is_prev_used( next_block ) ) {                        
      if ( !_Heap_Walk_check_free_block( source, printer, heap, block ) ) {
        return false;                                                 
      }                                                               
    } else if (prev_used) {                                           
 2008570:	80 a5 20 00 	cmp  %l4, 0                                    
 2008574:	02 80 00 08 	be  2008594 <_Heap_Walk+0x4a4>                 
 2008578:	92 10 20 00 	clr  %o1                                       
      (*printer)(                                                     
 200857c:	94 10 00 17 	mov  %l7, %o2                                  
 2008580:	96 10 00 1a 	mov  %i2, %o3                                  
 2008584:	9f c7 40 00 	call  %i5                                      
 2008588:	98 10 00 12 	mov  %l2, %o4                                  
        block->prev_size                                              
      );                                                              
    }                                                                 
                                                                      
    block = next_block;                                               
  } while ( block != first_block );                                   
 200858c:	10 80 00 08 	b  20085ac <_Heap_Walk+0x4bc>                  
 2008590:	80 a4 c0 1b 	cmp  %l3, %i3                                  
        "block 0x%08x: size %u\n",                                    
        block,                                                        
        block_size                                                    
      );                                                              
    } else {                                                          
      (*printer)(                                                     
 2008594:	da 06 80 00 	ld  [ %i2 ], %o5                               
 2008598:	94 10 00 16 	mov  %l6, %o2                                  
 200859c:	96 10 00 1a 	mov  %i2, %o3                                  
 20085a0:	9f c7 40 00 	call  %i5                                      
 20085a4:	98 10 00 12 	mov  %l2, %o4                                  
        block->prev_size                                              
      );                                                              
    }                                                                 
                                                                      
    block = next_block;                                               
  } while ( block != first_block );                                   
 20085a8:	80 a4 c0 1b 	cmp  %l3, %i3                                  
 20085ac:	12 bf ff 70 	bne  200836c <_Heap_Walk+0x27c>                
 20085b0:	b4 10 00 13 	mov  %l3, %i2                                  
                                                                      
  return true;                                                        
 20085b4:	82 10 20 01 	mov  1, %g1                                    
}                                                                     
 20085b8:	b0 08 60 01 	and  %g1, 1, %i0                               
 20085bc:	81 c7 e0 08 	ret                                            
 20085c0:	81 e8 00 00 	restore                                        
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if ( !_Heap_Walk_is_in_free_list( heap, block ) ) {                 
    (*printer)(                                                       
 20085c4:	90 10 00 19 	mov  %i1, %o0                                  
 20085c8:	92 10 20 01 	mov  1, %o1                                    
 20085cc:	94 12 a1 f8 	or  %o2, 0x1f8, %o2                            
 20085d0:	96 10 00 1a 	mov  %i2, %o3                                  
 20085d4:	9f c7 40 00 	call  %i5                                      
 20085d8:	01 00 00 00 	nop                                            
 20085dc:	10 bf ff f7 	b  20085b8 <_Heap_Walk+0x4c8>                  
 20085e0:	82 10 20 00 	clr  %g1	! 0 <PROM_START>                      
                                                                      

020078cc <_Objects_Allocate>: */ Objects_Control *_Objects_Allocate( Objects_Information *information ) {
 20078cc:	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 )                                       
 20078d0:	c2 06 20 18 	ld  [ %i0 + 0x18 ], %g1                        
 */                                                                   
                                                                      
Objects_Control *_Objects_Allocate(                                   
  Objects_Information *information                                    
)                                                                     
{                                                                     
 20078d4:	ba 10 00 18 	mov  %i0, %i5                                  
   *  If the application is using the optional manager stubs and      
   *  still attempts to create the object, the information block      
   *  should be all zeroed out because it is in the BSS.  So let's    
   *  check that code for this manager is even present.               
   */                                                                 
  if ( information->size == 0 )                                       
 20078d8:	80 a0 60 00 	cmp  %g1, 0                                    
 20078dc:	02 80 00 20 	be  200795c <_Objects_Allocate+0x90>           <== NEVER TAKEN
 20078e0:	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 );
 20078e4:	b8 07 60 20 	add  %i5, 0x20, %i4                            
 20078e8:	7f ff fd 81 	call  2006eec <_Chain_Get>                     
 20078ec:	90 10 00 1c 	mov  %i4, %o0                                  
                                                                      
  if ( information->auto_extend ) {                                   
 20078f0:	c2 0f 60 12 	ldub  [ %i5 + 0x12 ], %g1                      
 20078f4:	80 a0 60 00 	cmp  %g1, 0                                    
 20078f8:	02 80 00 19 	be  200795c <_Objects_Allocate+0x90>           
 20078fc:	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 ) {                                              
 2007900:	80 a2 20 00 	cmp  %o0, 0                                    
 2007904:	32 80 00 0a 	bne,a   200792c <_Objects_Allocate+0x60>       
 2007908:	c2 17 60 0a 	lduh  [ %i5 + 0xa ], %g1                       
      _Objects_Extend_information( information );                     
 200790c:	40 00 00 1d 	call  2007980 <_Objects_Extend_information>    
 2007910:	90 10 00 1d 	mov  %i5, %o0                                  
      the_object =  (Objects_Control *) _Chain_Get( &information->Inactive );
 2007914:	7f ff fd 76 	call  2006eec <_Chain_Get>                     
 2007918:	90 10 00 1c 	mov  %i4, %o0                                  
    }                                                                 
                                                                      
    if ( the_object ) {                                               
 200791c:	b0 92 20 00 	orcc  %o0, 0, %i0                              
 2007920:	02 80 00 0f 	be  200795c <_Objects_Allocate+0x90>           
 2007924:	01 00 00 00 	nop                                            
      uint32_t   block;                                               
                                                                      
      block = (uint32_t) _Objects_Get_index( the_object->id ) -       
 2007928:	c2 17 60 0a 	lduh  [ %i5 + 0xa ], %g1                       
 200792c:	d0 16 20 0a 	lduh  [ %i0 + 0xa ], %o0                       
              _Objects_Get_index( information->minimum_id );          
      block /= information->allocation_size;                          
 2007930:	d2 17 60 14 	lduh  [ %i5 + 0x14 ], %o1                      
 2007934:	40 00 3c 6a 	call  2016adc <.udiv>                          
 2007938:	90 22 00 01 	sub  %o0, %g1, %o0                             
                                                                      
      information->inactive_per_block[ block ]--;                     
 200793c:	c2 07 60 30 	ld  [ %i5 + 0x30 ], %g1                        
 2007940:	91 2a 20 02 	sll  %o0, 2, %o0                               
 2007944:	c4 00 40 08 	ld  [ %g1 + %o0 ], %g2                         
 2007948:	84 00 bf ff 	add  %g2, -1, %g2                              
 200794c:	c4 20 40 08 	st  %g2, [ %g1 + %o0 ]                         
      information->inactive--;                                        
 2007950:	c2 17 60 2c 	lduh  [ %i5 + 0x2c ], %g1                      
 2007954:	82 00 7f ff 	add  %g1, -1, %g1                              
 2007958:	c2 37 60 2c 	sth  %g1, [ %i5 + 0x2c ]                       
    );                                                                
  }                                                                   
#endif                                                                
                                                                      
  return the_object;                                                  
}                                                                     
 200795c:	81 c7 e0 08 	ret                                            
 2007960:	81 e8 00 00 	restore                                        
                                                                      

02007cd8 <_Objects_Get_information>: Objects_Information *_Objects_Get_information( Objects_APIs the_api, uint16_t the_class ) {
 2007cd8:	9d e3 bf a0 	save  %sp, -96, %sp                            
  Objects_Information *info;                                          
  int the_class_api_maximum;                                          
                                                                      
  if ( !the_class )                                                   
 2007cdc:	80 a6 60 00 	cmp  %i1, 0                                    
 2007ce0:	02 80 00 17 	be  2007d3c <_Objects_Get_information+0x64>    
 2007ce4:	ba 10 20 00 	clr  %i5                                       
                                                                      
  /*                                                                  
   *  This call implicitly validates the_api so we do not call        
   *  _Objects_Is_api_valid above here.                               
   */                                                                 
  the_class_api_maximum = _Objects_API_maximum_class( the_api );      
 2007ce8:	40 00 11 7a 	call  200c2d0 <_Objects_API_maximum_class>     
 2007cec:	90 10 00 18 	mov  %i0, %o0                                  
  if ( the_class_api_maximum == 0 )                                   
 2007cf0:	80 a2 20 00 	cmp  %o0, 0                                    
 2007cf4:	02 80 00 12 	be  2007d3c <_Objects_Get_information+0x64>    
 2007cf8:	80 a6 40 08 	cmp  %i1, %o0                                  
    return NULL;                                                      
                                                                      
  if ( the_class > (uint32_t) the_class_api_maximum )                 
 2007cfc:	18 80 00 10 	bgu  2007d3c <_Objects_Get_information+0x64>   
 2007d00:	03 00 80 6d 	sethi  %hi(0x201b400), %g1                     
    return NULL;                                                      
                                                                      
  if ( !_Objects_Information_table[ the_api ] )                       
 2007d04:	b1 2e 20 02 	sll  %i0, 2, %i0                               
 2007d08:	82 10 60 88 	or  %g1, 0x88, %g1                             
 2007d0c:	c2 00 40 18 	ld  [ %g1 + %i0 ], %g1                         
 2007d10:	80 a0 60 00 	cmp  %g1, 0                                    
 2007d14:	02 80 00 0a 	be  2007d3c <_Objects_Get_information+0x64>    <== NEVER TAKEN
 2007d18:	b3 2e 60 02 	sll  %i1, 2, %i1                               
    return NULL;                                                      
                                                                      
  info = _Objects_Information_table[ the_api ][ the_class ];          
 2007d1c:	fa 00 40 19 	ld  [ %g1 + %i1 ], %i5                         
  if ( !info )                                                        
 2007d20:	80 a7 60 00 	cmp  %i5, 0                                    
 2007d24:	02 80 00 06 	be  2007d3c <_Objects_Get_information+0x64>    <== NEVER TAKEN
 2007d28:	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 )                                         
 2007d2c:	c2 17 60 10 	lduh  [ %i5 + 0x10 ], %g1                      
      return NULL;                                                    
 2007d30:	80 a0 00 01 	cmp  %g0, %g1                                  
 2007d34:	82 60 20 00 	subx  %g0, 0, %g1                              
 2007d38:	ba 0f 40 01 	and  %i5, %g1, %i5                             
  #endif                                                              
                                                                      
  return info;                                                        
}                                                                     
 2007d3c:	81 c7 e0 08 	ret                                            
 2007d40:	91 e8 00 1d 	restore  %g0, %i5, %o0                         
                                                                      

02008828 <_Objects_Id_to_name>: */ Objects_Name_or_id_lookup_errors _Objects_Id_to_name ( Objects_Id id, Objects_Name *name ) {
 2008828:	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;
 200882c:	92 96 20 00 	orcc  %i0, 0, %o1                              
 2008830:	12 80 00 06 	bne  2008848 <_Objects_Id_to_name+0x20>        
 2008834:	83 32 60 18 	srl  %o1, 0x18, %g1                            
 2008838:	03 00 80 72 	sethi  %hi(0x201c800), %g1                     
 200883c:	c2 00 63 4c 	ld  [ %g1 + 0x34c ], %g1	! 201cb4c <_Per_CPU_Information+0xc>
 2008840:	d2 00 60 08 	ld  [ %g1 + 8 ], %o1                           
 2008844:	83 32 60 18 	srl  %o1, 0x18, %g1                            
 2008848:	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 )                      
 200884c:	84 00 7f ff 	add  %g1, -1, %g2                              
 2008850:	80 a0 a0 02 	cmp  %g2, 2                                    
 2008854:	18 80 00 12 	bgu  200889c <_Objects_Id_to_name+0x74>        
 2008858:	ba 10 20 03 	mov  3, %i5                                    
                                                                      
  the_api = _Objects_Get_API( tmpId );                                
  if ( !_Objects_Is_api_valid( the_api ) )                            
    return OBJECTS_INVALID_ID;                                        
                                                                      
  if ( !_Objects_Information_table[ the_api ] )                       
 200885c:	10 80 00 12 	b  20088a4 <_Objects_Id_to_name+0x7c>          
 2008860:	83 28 60 02 	sll  %g1, 2, %g1                               
    return OBJECTS_INVALID_ID;                                        
                                                                      
  the_class = _Objects_Get_class( tmpId );                            
                                                                      
  information = _Objects_Information_table[ the_api ][ the_class ];   
 2008864:	85 28 a0 02 	sll  %g2, 2, %g2                               
 2008868:	d0 00 40 02 	ld  [ %g1 + %g2 ], %o0                         
  if ( !information )                                                 
 200886c:	80 a2 20 00 	cmp  %o0, 0                                    
 2008870:	02 80 00 0b 	be  200889c <_Objects_Id_to_name+0x74>         <== NEVER TAKEN
 2008874:	01 00 00 00 	nop                                            
  #if defined(RTEMS_SCORE_OBJECT_ENABLE_STRING_NAMES)                 
    if ( information->is_string )                                     
      return OBJECTS_INVALID_ID;                                      
  #endif                                                              
                                                                      
  the_object = _Objects_Get( information, tmpId, &ignored_location ); 
 2008878:	7f ff ff ce 	call  20087b0 <_Objects_Get>                   
 200887c:	94 07 bf fc 	add  %fp, -4, %o2                              
  if ( !the_object )                                                  
 2008880:	80 a2 20 00 	cmp  %o0, 0                                    
 2008884:	02 80 00 06 	be  200889c <_Objects_Id_to_name+0x74>         
 2008888:	01 00 00 00 	nop                                            
    return OBJECTS_INVALID_ID;                                        
                                                                      
  *name = the_object->name;                                           
 200888c:	c2 02 20 0c 	ld  [ %o0 + 0xc ], %g1                         
  _Thread_Enable_dispatch();                                          
  return OBJECTS_NAME_OR_ID_LOOKUP_SUCCESSFUL;                        
 2008890:	ba 10 20 00 	clr  %i5                                       
  the_object = _Objects_Get( information, tmpId, &ignored_location ); 
  if ( !the_object )                                                  
    return OBJECTS_INVALID_ID;                                        
                                                                      
  *name = the_object->name;                                           
  _Thread_Enable_dispatch();                                          
 2008894:	40 00 03 76 	call  200966c <_Thread_Enable_dispatch>        
 2008898:	c2 26 40 00 	st  %g1, [ %i1 ]                               
  return OBJECTS_NAME_OR_ID_LOOKUP_SUCCESSFUL;                        
}                                                                     
 200889c:	81 c7 e0 08 	ret                                            
 20088a0:	91 e8 00 1d 	restore  %g0, %i5, %o0                         
                                                                      
  the_api = _Objects_Get_API( tmpId );                                
  if ( !_Objects_Is_api_valid( the_api ) )                            
    return OBJECTS_INVALID_ID;                                        
                                                                      
  if ( !_Objects_Information_table[ the_api ] )                       
 20088a4:	05 00 80 72 	sethi  %hi(0x201c800), %g2                     
 20088a8:	84 10 a0 78 	or  %g2, 0x78, %g2	! 201c878 <_Objects_Information_table>
 20088ac:	c2 00 80 01 	ld  [ %g2 + %g1 ], %g1                         
 20088b0:	80 a0 60 00 	cmp  %g1, 0                                    
 20088b4:	12 bf ff ec 	bne  2008864 <_Objects_Id_to_name+0x3c>        
 20088b8:	85 32 60 1b 	srl  %o1, 0x1b, %g2                            
 20088bc:	30 bf ff f8 	b,a   200889c <_Objects_Id_to_name+0x74>       
                                                                      

0200ced4 <_RBTree_Extract_unprotected>: */ void _RBTree_Extract_unprotected( RBTree_Control *the_rbtree, RBTree_Node *the_node ) {
 200ced4:	9d e3 bf a0 	save  %sp, -96, %sp                            
  RBTree_Node *leaf, *target;                                         
  RBTree_Color victim_color;                                          
  RBTree_Direction dir;                                               
                                                                      
  if (!the_node) return;                                              
 200ced8:	80 a6 60 00 	cmp  %i1, 0                                    
 200cedc:	02 80 00 73 	be  200d0a8 <_RBTree_Extract_unprotected+0x1d4>
 200cee0:	01 00 00 00 	nop                                            
                                                                      
  /* check if min needs to be updated */                              
  if (the_node == the_rbtree->first[RBT_LEFT]) {                      
 200cee4:	c2 06 20 08 	ld  [ %i0 + 8 ], %g1                           
 200cee8:	80 a6 40 01 	cmp  %i1, %g1                                  
 200ceec:	32 80 00 0d 	bne,a   200cf20 <_RBTree_Extract_unprotected+0x4c>
 200cef0:	c2 06 20 0c 	ld  [ %i0 + 0xc ], %g1                         
    if (the_node->child[RBT_RIGHT])                                   
 200cef4:	c2 06 60 08 	ld  [ %i1 + 8 ], %g1                           
 200cef8:	80 a0 60 00 	cmp  %g1, 0                                    
 200cefc:	22 80 00 04 	be,a   200cf0c <_RBTree_Extract_unprotected+0x38>
 200cf00:	c2 06 40 00 	ld  [ %i1 ], %g1                               
      the_rbtree->first[RBT_LEFT] = the_node->child[RBT_RIGHT];       
 200cf04:	10 80 00 06 	b  200cf1c <_RBTree_Extract_unprotected+0x48>  
 200cf08:	c2 26 20 08 	st  %g1, [ %i0 + 8 ]                           
    else {                                                            
      the_rbtree->first[RBT_LEFT] = the_node->parent;                 
      if(_RBTree_Are_nodes_equal((RBTree_Node *)the_rbtree,           
 200cf0c:	80 a6 00 01 	cmp  %i0, %g1                                  
 200cf10:	12 80 00 03 	bne  200cf1c <_RBTree_Extract_unprotected+0x48>
 200cf14:	c2 26 20 08 	st  %g1, [ %i0 + 8 ]                           
            the_rbtree->first[RBT_LEFT]))                             
        the_rbtree->first[RBT_LEFT] = NULL;                           
 200cf18:	c0 26 20 08 	clr  [ %i0 + 8 ]                               
    }                                                                 
  }                                                                   
  /* check if max needs to be updated: note, min can equal max (1 element) */
  if (the_node == the_rbtree->first[RBT_RIGHT]) {                     
 200cf1c:	c2 06 20 0c 	ld  [ %i0 + 0xc ], %g1                         
 200cf20:	80 a6 40 01 	cmp  %i1, %g1                                  
 200cf24:	12 80 00 0b 	bne  200cf50 <_RBTree_Extract_unprotected+0x7c>
 200cf28:	c2 06 60 04 	ld  [ %i1 + 4 ], %g1                           
    if (the_node->child[RBT_LEFT])                                    
 200cf2c:	80 a0 60 00 	cmp  %g1, 0                                    
 200cf30:	22 80 00 04 	be,a   200cf40 <_RBTree_Extract_unprotected+0x6c>
 200cf34:	c4 06 40 00 	ld  [ %i1 ], %g2                               
      the_rbtree->first[RBT_RIGHT] = the_node->child[RBT_LEFT];       
 200cf38:	10 80 00 06 	b  200cf50 <_RBTree_Extract_unprotected+0x7c>  
 200cf3c:	c2 26 20 0c 	st  %g1, [ %i0 + 0xc ]                         
    else {                                                            
      the_rbtree->first[RBT_RIGHT] = the_node->parent;                
      if(_RBTree_Are_nodes_equal((RBTree_Node *)the_rbtree,           
 200cf40:	80 a6 00 02 	cmp  %i0, %g2                                  
 200cf44:	12 80 00 03 	bne  200cf50 <_RBTree_Extract_unprotected+0x7c>
 200cf48:	c4 26 20 0c 	st  %g2, [ %i0 + 0xc ]                         
            the_rbtree->first[RBT_RIGHT]))                            
        the_rbtree->first[RBT_RIGHT] = NULL;                          
 200cf4c:	c0 26 20 0c 	clr  [ %i0 + 0xc ]                             
   * either max in node->child[RBT_LEFT] or min in node->child[RBT_RIGHT],
   * and replace the_node with the target node. This maintains the binary
   * search tree property, but may violate the red-black properties.  
   */                                                                 
                                                                      
  if (the_node->child[RBT_LEFT] && the_node->child[RBT_RIGHT]) {      
 200cf50:	ba 90 60 00 	orcc  %g1, 0, %i5                              
 200cf54:	02 80 00 36 	be  200d02c <_RBTree_Extract_unprotected+0x158>
 200cf58:	f8 06 60 08 	ld  [ %i1 + 8 ], %i4                           
 200cf5c:	80 a7 20 00 	cmp  %i4, 0                                    
 200cf60:	32 80 00 05 	bne,a   200cf74 <_RBTree_Extract_unprotected+0xa0>
 200cf64:	c2 07 60 08 	ld  [ %i5 + 8 ], %g1                           
 200cf68:	10 80 00 35 	b  200d03c <_RBTree_Extract_unprotected+0x168> 
 200cf6c:	b8 10 00 01 	mov  %g1, %i4                                  
    target = the_node->child[RBT_LEFT]; /* find max in node->child[RBT_LEFT] */
    while (target->child[RBT_RIGHT]) target = target->child[RBT_RIGHT];
 200cf70:	c2 07 60 08 	ld  [ %i5 + 8 ], %g1                           
 200cf74:	80 a0 60 00 	cmp  %g1, 0                                    
 200cf78:	32 bf ff fe 	bne,a   200cf70 <_RBTree_Extract_unprotected+0x9c>
 200cf7c:	ba 10 00 01 	mov  %g1, %i5                                  
     * target's position (target is the right child of target->parent)
     * when target vacates it. if there is no child, then target->parent
     * should become NULL. This may cause the coloring to be violated.
     * For now we store the color of the node being deleted in victim_color.
     */                                                               
    leaf = target->child[RBT_LEFT];                                   
 200cf80:	f8 07 60 04 	ld  [ %i5 + 4 ], %i4                           
    if(leaf) {                                                        
 200cf84:	80 a7 20 00 	cmp  %i4, 0                                    
 200cf88:	02 80 00 05 	be  200cf9c <_RBTree_Extract_unprotected+0xc8> 
 200cf8c:	01 00 00 00 	nop                                            
      leaf->parent = target->parent;                                  
 200cf90:	c2 07 40 00 	ld  [ %i5 ], %g1                               
 200cf94:	10 80 00 04 	b  200cfa4 <_RBTree_Extract_unprotected+0xd0>  
 200cf98:	c2 27 00 00 	st  %g1, [ %i4 ]                               
    } else {                                                          
      /* fix the tree here if the child is a null leaf. */            
      _RBTree_Extract_validate_unprotected(target);                   
 200cf9c:	7f ff ff 53 	call  200cce8 <_RBTree_Extract_validate_unprotected>
 200cfa0:	90 10 00 1d 	mov  %i5, %o0                                  
    }                                                                 
    victim_color = target->color;                                     
    dir = target != target->parent->child[0];                         
 200cfa4:	c4 07 40 00 	ld  [ %i5 ], %g2                               
      leaf->parent = target->parent;                                  
    } else {                                                          
      /* fix the tree here if the child is a null leaf. */            
      _RBTree_Extract_validate_unprotected(target);                   
    }                                                                 
    victim_color = target->color;                                     
 200cfa8:	c2 07 60 0c 	ld  [ %i5 + 0xc ], %g1                         
    dir = target != target->parent->child[0];                         
 200cfac:	c6 00 a0 04 	ld  [ %g2 + 4 ], %g3                           
 200cfb0:	86 1f 40 03 	xor  %i5, %g3, %g3                             
 200cfb4:	80 a0 00 03 	cmp  %g0, %g3                                  
 200cfb8:	86 40 20 00 	addx  %g0, 0, %g3                              
    target->parent->child[dir] = leaf;                                
 200cfbc:	87 28 e0 02 	sll  %g3, 2, %g3                               
 200cfc0:	84 00 80 03 	add  %g2, %g3, %g2                             
 200cfc4:	f8 20 a0 04 	st  %i4, [ %g2 + 4 ]                           
                                                                      
    /* now replace the_node with target */                            
    dir = the_node != the_node->parent->child[0];                     
 200cfc8:	c4 06 40 00 	ld  [ %i1 ], %g2                               
 200cfcc:	c6 00 a0 04 	ld  [ %g2 + 4 ], %g3                           
 200cfd0:	86 1e 40 03 	xor  %i1, %g3, %g3                             
 200cfd4:	80 a0 00 03 	cmp  %g0, %g3                                  
 200cfd8:	86 40 20 00 	addx  %g0, 0, %g3                              
    the_node->parent->child[dir] = target;                            
 200cfdc:	87 28 e0 02 	sll  %g3, 2, %g3                               
 200cfe0:	84 00 80 03 	add  %g2, %g3, %g2                             
 200cfe4:	fa 20 a0 04 	st  %i5, [ %g2 + 4 ]                           
                                                                      
    /* set target's new children to the original node's children */   
    target->child[RBT_RIGHT] = the_node->child[RBT_RIGHT];            
 200cfe8:	c4 06 60 08 	ld  [ %i1 + 8 ], %g2                           
 200cfec:	c4 27 60 08 	st  %g2, [ %i5 + 8 ]                           
    if (the_node->child[RBT_RIGHT])                                   
 200cff0:	c4 06 60 08 	ld  [ %i1 + 8 ], %g2                           
 200cff4:	80 a0 a0 00 	cmp  %g2, 0                                    
 200cff8:	32 80 00 02 	bne,a   200d000 <_RBTree_Extract_unprotected+0x12c><== ALWAYS TAKEN
 200cffc:	fa 20 80 00 	st  %i5, [ %g2 ]                               
      the_node->child[RBT_RIGHT]->parent = target;                    
    target->child[RBT_LEFT] = the_node->child[RBT_LEFT];              
 200d000:	c4 06 60 04 	ld  [ %i1 + 4 ], %g2                           
 200d004:	c4 27 60 04 	st  %g2, [ %i5 + 4 ]                           
    if (the_node->child[RBT_LEFT])                                    
 200d008:	c4 06 60 04 	ld  [ %i1 + 4 ], %g2                           
 200d00c:	80 a0 a0 00 	cmp  %g2, 0                                    
 200d010:	32 80 00 02 	bne,a   200d018 <_RBTree_Extract_unprotected+0x144>
 200d014:	fa 20 80 00 	st  %i5, [ %g2 ]                               
    /* finally, update the parent node and recolor. target has completely
     * replaced the_node, and target's child has moved up the tree if needed.
     * the_node is no longer part of the tree, although it has valid pointers
     * still.                                                         
     */                                                               
    target->parent = the_node->parent;                                
 200d018:	c4 06 40 00 	ld  [ %i1 ], %g2                               
 200d01c:	c4 27 40 00 	st  %g2, [ %i5 ]                               
    target->color = the_node->color;                                  
 200d020:	c4 06 60 0c 	ld  [ %i1 + 0xc ], %g2                         
 200d024:	10 80 00 14 	b  200d074 <_RBTree_Extract_unprotected+0x1a0> 
 200d028:	c4 27 60 0c 	st  %g2, [ %i5 + 0xc ]                         
     * violated. We will fix it later.                                
     * For now we store the color of the node being deleted in victim_color.
     */                                                               
    leaf = the_node->child[RBT_LEFT] ?                                
              the_node->child[RBT_LEFT] : the_node->child[RBT_RIGHT]; 
    if( leaf ) {                                                      
 200d02c:	80 a7 20 00 	cmp  %i4, 0                                    
 200d030:	32 80 00 04 	bne,a   200d040 <_RBTree_Extract_unprotected+0x16c>
 200d034:	c2 06 40 00 	ld  [ %i1 ], %g1                               
 200d038:	30 80 00 04 	b,a   200d048 <_RBTree_Extract_unprotected+0x174>
      leaf->parent = the_node->parent;                                
 200d03c:	c2 06 40 00 	ld  [ %i1 ], %g1                               
 200d040:	10 80 00 04 	b  200d050 <_RBTree_Extract_unprotected+0x17c> 
 200d044:	c2 27 00 00 	st  %g1, [ %i4 ]                               
    } else {                                                          
      /* fix the tree here if the child is a null leaf. */            
      _RBTree_Extract_validate_unprotected(the_node);                 
 200d048:	7f ff ff 28 	call  200cce8 <_RBTree_Extract_validate_unprotected>
 200d04c:	90 10 00 19 	mov  %i1, %o0                                  
    }                                                                 
    victim_color = the_node->color;                                   
                                                                      
    /* remove the_node from the tree */                               
    dir = the_node != the_node->parent->child[0];                     
 200d050:	c4 06 40 00 	ld  [ %i1 ], %g2                               
      leaf->parent = the_node->parent;                                
    } else {                                                          
      /* fix the tree here if the child is a null leaf. */            
      _RBTree_Extract_validate_unprotected(the_node);                 
    }                                                                 
    victim_color = the_node->color;                                   
 200d054:	c2 06 60 0c 	ld  [ %i1 + 0xc ], %g1                         
                                                                      
    /* remove the_node from the tree */                               
    dir = the_node != the_node->parent->child[0];                     
 200d058:	c6 00 a0 04 	ld  [ %g2 + 4 ], %g3                           
 200d05c:	86 1e 40 03 	xor  %i1, %g3, %g3                             
 200d060:	80 a0 00 03 	cmp  %g0, %g3                                  
 200d064:	86 40 20 00 	addx  %g0, 0, %g3                              
    the_node->parent->child[dir] = leaf;                              
 200d068:	87 28 e0 02 	sll  %g3, 2, %g3                               
 200d06c:	84 00 80 03 	add  %g2, %g3, %g2                             
 200d070:	f8 20 a0 04 	st  %i4, [ %g2 + 4 ]                           
  /* fix coloring. leaf has moved up the tree. The color of the deleted
   * node is in victim_color. There are two cases:                    
   *   1. Deleted a red node, its child must be black. Nothing must be done.
   *   2. Deleted a black node, its child must be red. Paint child black.
   */                                                                 
  if (victim_color == RBT_BLACK) { /* eliminate case 1 */             
 200d074:	80 a0 60 00 	cmp  %g1, 0                                    
 200d078:	32 80 00 06 	bne,a   200d090 <_RBTree_Extract_unprotected+0x1bc>
 200d07c:	c2 06 20 04 	ld  [ %i0 + 4 ], %g1                           
    if (leaf) {                                                       
 200d080:	80 a7 20 00 	cmp  %i4, 0                                    
 200d084:	32 80 00 02 	bne,a   200d08c <_RBTree_Extract_unprotected+0x1b8>
 200d088:	c0 27 20 0c 	clr  [ %i4 + 0xc ]                             
                                                                      
  /* Wipe the_node */                                                 
  _RBTree_Set_off_rbtree(the_node);                                   
                                                                      
  /* set root to black, if it exists */                               
  if (the_rbtree->root) the_rbtree->root->color = RBT_BLACK;          
 200d08c:	c2 06 20 04 	ld  [ %i0 + 4 ], %g1                           
 */                                                                   
RTEMS_INLINE_ROUTINE void _RBTree_Set_off_rbtree(                     
    RBTree_Node *node                                                 
    )                                                                 
{                                                                     
  node->parent = node->child[RBT_LEFT] = node->child[RBT_RIGHT] = NULL;
 200d090:	c0 26 60 08 	clr  [ %i1 + 8 ]                               
 200d094:	c0 26 60 04 	clr  [ %i1 + 4 ]                               
 200d098:	80 a0 60 00 	cmp  %g1, 0                                    
 200d09c:	02 80 00 03 	be  200d0a8 <_RBTree_Extract_unprotected+0x1d4>
 200d0a0:	c0 26 40 00 	clr  [ %i1 ]                                   
 200d0a4:	c0 20 60 0c 	clr  [ %g1 + 0xc ]                             
 200d0a8:	81 c7 e0 08 	ret                                            
 200d0ac:	81 e8 00 00 	restore                                        
                                                                      

0200cce8 <_RBTree_Extract_validate_unprotected>: * of the extract operation. */ void _RBTree_Extract_validate_unprotected( RBTree_Node *the_node ) {
 200cce8:	9d e3 bf a0 	save  %sp, -96, %sp                            
  RBTree_Node *parent, *sibling;                                      
  RBTree_Direction dir;                                               
                                                                      
  parent = the_node->parent;                                          
 200ccec:	fa 06 00 00 	ld  [ %i0 ], %i5                               
  if(!parent->parent) return;                                         
 200ccf0:	c2 07 40 00 	ld  [ %i5 ], %g1                               
 200ccf4:	80 a0 60 00 	cmp  %g1, 0                                    
 200ccf8:	02 80 00 6e 	be  200ceb0 <_RBTree_Extract_validate_unprotected+0x1c8>
 200ccfc:	90 10 00 18 	mov  %i0, %o0                                  
                                                                      
  sibling = _RBTree_Sibling(the_node);                                
 200cd00:	7f ff ff ca 	call  200cc28 <_RBTree_Sibling>                
 200cd04:	b4 10 20 01 	mov  1, %i2                                    
                                                                      
  /* continue to correct tree as long as the_node is black and not the root */
  while (!_RBTree_Is_red(the_node) && parent->parent) {               
 200cd08:	10 80 00 5d 	b  200ce7c <_RBTree_Extract_validate_unprotected+0x194>
 200cd0c:	c2 06 20 0c 	ld  [ %i0 + 0xc ], %g1                         
 */                                                                   
RTEMS_INLINE_ROUTINE bool _RBTree_Is_red(                             
    const RBTree_Node *the_node                                       
    )                                                                 
{                                                                     
  return (the_node && the_node->color == RBT_RED);                    
 200cd10:	22 80 00 15 	be,a   200cd64 <_RBTree_Extract_validate_unprotected+0x7c><== NEVER TAKEN
 200cd14:	c4 02 20 08 	ld  [ %o0 + 8 ], %g2                           <== NOT EXECUTED
 200cd18:	c2 02 20 0c 	ld  [ %o0 + 0xc ], %g1                         
 200cd1c:	80 a0 60 01 	cmp  %g1, 1                                    
 200cd20:	32 80 00 11 	bne,a   200cd64 <_RBTree_Extract_validate_unprotected+0x7c>
 200cd24:	c4 02 20 08 	ld  [ %o0 + 8 ], %g2                           
     * then rotate parent left, making the sibling be the_node's grandparent.
     * Now the_node has a black sibling and red parent. After rotation,
     * update sibling pointer.                                        
     */                                                               
    if (_RBTree_Is_red(sibling)) {                                    
      parent->color = RBT_RED;                                        
 200cd28:	c2 27 60 0c 	st  %g1, [ %i5 + 0xc ]                         
      sibling->color = RBT_BLACK;                                     
      dir = the_node != parent->child[0];                             
 200cd2c:	c2 07 60 04 	ld  [ %i5 + 4 ], %g1                           
     * Now the_node has a black sibling and red parent. After rotation,
     * update sibling pointer.                                        
     */                                                               
    if (_RBTree_Is_red(sibling)) {                                    
      parent->color = RBT_RED;                                        
      sibling->color = RBT_BLACK;                                     
 200cd30:	c0 22 20 0c 	clr  [ %o0 + 0xc ]                             
      dir = the_node != parent->child[0];                             
 200cd34:	82 1e 00 01 	xor  %i0, %g1, %g1                             
 200cd38:	80 a0 00 01 	cmp  %g0, %g1                                  
      _RBTree_Rotate(parent, dir);                                    
 200cd3c:	90 10 00 1d 	mov  %i5, %o0                                  
     * update sibling pointer.                                        
     */                                                               
    if (_RBTree_Is_red(sibling)) {                                    
      parent->color = RBT_RED;                                        
      sibling->color = RBT_BLACK;                                     
      dir = the_node != parent->child[0];                             
 200cd40:	b8 40 20 00 	addx  %g0, 0, %i4                              
      _RBTree_Rotate(parent, dir);                                    
 200cd44:	7f ff ff ca 	call  200cc6c <_RBTree_Rotate>                 
 200cd48:	92 10 00 1c 	mov  %i4, %o1                                  
      sibling = parent->child[!dir];                                  
 200cd4c:	80 a0 00 1c 	cmp  %g0, %i4                                  
 200cd50:	82 60 3f ff 	subx  %g0, -1, %g1                             
 200cd54:	83 28 60 02 	sll  %g1, 2, %g1                               
 200cd58:	82 07 40 01 	add  %i5, %g1, %g1                             
 200cd5c:	d0 00 60 04 	ld  [ %g1 + 4 ], %o0                           
    }                                                                 
                                                                      
    /* sibling is black, see if both of its children are also black. */
    if (!_RBTree_Is_red(sibling->child[RBT_RIGHT]) &&                 
 200cd60:	c4 02 20 08 	ld  [ %o0 + 8 ], %g2                           
 200cd64:	80 a0 a0 00 	cmp  %g2, 0                                    
 200cd68:	02 80 00 06 	be  200cd80 <_RBTree_Extract_validate_unprotected+0x98>
 200cd6c:	82 10 20 00 	clr  %g1                                       
 *  This function maintains the properties of the red-black tree.     
 *                                                                    
 *  @note It does NOT disable interrupts to ensure the atomicity      
 *        of the extract operation.                                   
 */                                                                   
void _RBTree_Extract_validate_unprotected(                            
 200cd70:	c2 00 a0 0c 	ld  [ %g2 + 0xc ], %g1                         
 200cd74:	82 18 60 01 	xor  %g1, 1, %g1                               
 200cd78:	80 a0 00 01 	cmp  %g0, %g1                                  
 200cd7c:	82 60 3f ff 	subx  %g0, -1, %g1                             
      _RBTree_Rotate(parent, dir);                                    
      sibling = parent->child[!dir];                                  
    }                                                                 
                                                                      
    /* sibling is black, see if both of its children are also black. */
    if (!_RBTree_Is_red(sibling->child[RBT_RIGHT]) &&                 
 200cd80:	80 a0 60 00 	cmp  %g1, 0                                    
 200cd84:	32 80 00 14 	bne,a   200cdd4 <_RBTree_Extract_validate_unprotected+0xec>
 200cd88:	c2 07 60 04 	ld  [ %i5 + 4 ], %g1                           
        !_RBTree_Is_red(sibling->child[RBT_LEFT])) {                  
 200cd8c:	c4 02 20 04 	ld  [ %o0 + 4 ], %g2                           
 200cd90:	80 a0 a0 00 	cmp  %g2, 0                                    
 200cd94:	02 80 00 07 	be  200cdb0 <_RBTree_Extract_validate_unprotected+0xc8>
 200cd98:	80 a0 60 00 	cmp  %g1, 0                                    
 *  This function maintains the properties of the red-black tree.     
 *                                                                    
 *  @note It does NOT disable interrupts to ensure the atomicity      
 *        of the extract operation.                                   
 */                                                                   
void _RBTree_Extract_validate_unprotected(                            
 200cd9c:	c2 00 a0 0c 	ld  [ %g2 + 0xc ], %g1                         
 200cda0:	82 18 60 01 	xor  %g1, 1, %g1                               
 200cda4:	80 a0 00 01 	cmp  %g0, %g1                                  
 200cda8:	82 60 3f ff 	subx  %g0, -1, %g1                             
      _RBTree_Rotate(parent, dir);                                    
      sibling = parent->child[!dir];                                  
    }                                                                 
                                                                      
    /* sibling is black, see if both of its children are also black. */
    if (!_RBTree_Is_red(sibling->child[RBT_RIGHT]) &&                 
 200cdac:	80 a0 60 00 	cmp  %g1, 0                                    
 200cdb0:	32 80 00 09 	bne,a   200cdd4 <_RBTree_Extract_validate_unprotected+0xec>
 200cdb4:	c2 07 60 04 	ld  [ %i5 + 4 ], %g1                           
        !_RBTree_Is_red(sibling->child[RBT_LEFT])) {                  
        sibling->color = RBT_RED;                                     
 200cdb8:	f4 22 20 0c 	st  %i2, [ %o0 + 0xc ]                         
 200cdbc:	c2 07 60 0c 	ld  [ %i5 + 0xc ], %g1                         
 200cdc0:	80 a0 60 01 	cmp  %g1, 1                                    
 200cdc4:	32 80 00 3d 	bne,a   200ceb8 <_RBTree_Extract_validate_unprotected+0x1d0>
 200cdc8:	f8 07 40 00 	ld  [ %i5 ], %i4                               
        if (_RBTree_Is_red(parent)) {                                 
          parent->color = RBT_BLACK;                                  
          break;                                                      
 200cdcc:	10 80 00 33 	b  200ce98 <_RBTree_Extract_validate_unprotected+0x1b0>
 200cdd0:	c0 27 60 0c 	clr  [ %i5 + 0xc ]                             
       * cases, either the_node is to the left or the right of the parent.
       * In both cases, first check if one of sibling's children is black,
       * and if so rotate in the proper direction and update sibling pointer.
       * Then switch the sibling and parent colors, and rotate through parent.
       */                                                             
      dir = the_node != parent->child[0];                             
 200cdd4:	82 1e 00 01 	xor  %i0, %g1, %g1                             
 200cdd8:	80 a0 00 01 	cmp  %g0, %g1                                  
 200cddc:	b8 40 20 00 	addx  %g0, 0, %i4                              
      if (!_RBTree_Is_red(sibling->child[!dir])) {                    
 200cde0:	80 a0 00 1c 	cmp  %g0, %i4                                  
 200cde4:	b6 60 3f ff 	subx  %g0, -1, %i3                             
 200cde8:	83 2e e0 02 	sll  %i3, 2, %g1                               
 200cdec:	82 02 00 01 	add  %o0, %g1, %g1                             
 200cdf0:	c4 00 60 04 	ld  [ %g1 + 4 ], %g2                           
 200cdf4:	80 a0 a0 00 	cmp  %g2, 0                                    
 200cdf8:	02 80 00 06 	be  200ce10 <_RBTree_Extract_validate_unprotected+0x128>
 200cdfc:	82 10 20 00 	clr  %g1                                       
 *  This function maintains the properties of the red-black tree.     
 *                                                                    
 *  @note It does NOT disable interrupts to ensure the atomicity      
 *        of the extract operation.                                   
 */                                                                   
void _RBTree_Extract_validate_unprotected(                            
 200ce00:	c2 00 a0 0c 	ld  [ %g2 + 0xc ], %g1                         
 200ce04:	82 18 60 01 	xor  %g1, 1, %g1                               
 200ce08:	80 a0 00 01 	cmp  %g0, %g1                                  
 200ce0c:	82 60 3f ff 	subx  %g0, -1, %g1                             
       * In both cases, first check if one of sibling's children is black,
       * and if so rotate in the proper direction and update sibling pointer.
       * Then switch the sibling and parent colors, and rotate through parent.
       */                                                             
      dir = the_node != parent->child[0];                             
      if (!_RBTree_Is_red(sibling->child[!dir])) {                    
 200ce10:	80 a0 60 00 	cmp  %g1, 0                                    
 200ce14:	32 80 00 0e 	bne,a   200ce4c <_RBTree_Extract_validate_unprotected+0x164>
 200ce18:	c2 07 60 0c 	ld  [ %i5 + 0xc ], %g1                         
        sibling->color = RBT_RED;                                     
 200ce1c:	82 10 20 01 	mov  1, %g1                                    
 200ce20:	c2 22 20 0c 	st  %g1, [ %o0 + 0xc ]                         
        sibling->child[dir]->color = RBT_BLACK;                       
 200ce24:	83 2f 20 02 	sll  %i4, 2, %g1                               
 200ce28:	82 02 00 01 	add  %o0, %g1, %g1                             
 200ce2c:	c2 00 60 04 	ld  [ %g1 + 4 ], %g1                           
        _RBTree_Rotate(sibling, !dir);                                
 200ce30:	92 1f 20 01 	xor  %i4, 1, %o1                               
 200ce34:	7f ff ff 8e 	call  200cc6c <_RBTree_Rotate>                 
 200ce38:	c0 20 60 0c 	clr  [ %g1 + 0xc ]                             
        sibling = parent->child[!dir];                                
 200ce3c:	83 2e e0 02 	sll  %i3, 2, %g1                               
 200ce40:	82 07 40 01 	add  %i5, %g1, %g1                             
 200ce44:	d0 00 60 04 	ld  [ %g1 + 4 ], %o0                           
      }                                                               
      sibling->color = parent->color;                                 
 200ce48:	c2 07 60 0c 	ld  [ %i5 + 0xc ], %g1                         
      parent->color = RBT_BLACK;                                      
      sibling->child[!dir]->color = RBT_BLACK;                        
 200ce4c:	b7 2e e0 02 	sll  %i3, 2, %i3                               
        sibling->color = RBT_RED;                                     
        sibling->child[dir]->color = RBT_BLACK;                       
        _RBTree_Rotate(sibling, !dir);                                
        sibling = parent->child[!dir];                                
      }                                                               
      sibling->color = parent->color;                                 
 200ce50:	c2 22 20 0c 	st  %g1, [ %o0 + 0xc ]                         
      parent->color = RBT_BLACK;                                      
      sibling->child[!dir]->color = RBT_BLACK;                        
 200ce54:	90 02 00 1b 	add  %o0, %i3, %o0                             
 200ce58:	c2 02 20 04 	ld  [ %o0 + 4 ], %g1                           
        sibling->child[dir]->color = RBT_BLACK;                       
        _RBTree_Rotate(sibling, !dir);                                
        sibling = parent->child[!dir];                                
      }                                                               
      sibling->color = parent->color;                                 
      parent->color = RBT_BLACK;                                      
 200ce5c:	c0 27 60 0c 	clr  [ %i5 + 0xc ]                             
      sibling->child[!dir]->color = RBT_BLACK;                        
 200ce60:	c0 20 60 0c 	clr  [ %g1 + 0xc ]                             
      _RBTree_Rotate(parent, dir);                                    
 200ce64:	90 10 00 1d 	mov  %i5, %o0                                  
 200ce68:	7f ff ff 81 	call  200cc6c <_RBTree_Rotate>                 
 200ce6c:	92 10 00 1c 	mov  %i4, %o1                                  
      break; /* done */                                               
 200ce70:	10 80 00 0b 	b  200ce9c <_RBTree_Extract_validate_unprotected+0x1b4>
 200ce74:	c2 06 00 00 	ld  [ %i0 ], %g1                               
  if(!parent->parent) return;                                         
                                                                      
  sibling = _RBTree_Sibling(the_node);                                
                                                                      
  /* continue to correct tree as long as the_node is black and not the root */
  while (!_RBTree_Is_red(the_node) && parent->parent) {               
 200ce78:	c2 06 20 0c 	ld  [ %i0 + 0xc ], %g1                         
 200ce7c:	80 a0 60 01 	cmp  %g1, 1                                    
 200ce80:	22 80 00 07 	be,a   200ce9c <_RBTree_Extract_validate_unprotected+0x1b4>
 200ce84:	c2 06 00 00 	ld  [ %i0 ], %g1                               
 200ce88:	c2 07 40 00 	ld  [ %i5 ], %g1                               
 200ce8c:	80 a0 60 00 	cmp  %g1, 0                                    
 200ce90:	12 bf ff a0 	bne  200cd10 <_RBTree_Extract_validate_unprotected+0x28>
 200ce94:	80 a2 20 00 	cmp  %o0, 0                                    
      sibling->child[!dir]->color = RBT_BLACK;                        
      _RBTree_Rotate(parent, dir);                                    
      break; /* done */                                               
    }                                                                 
  } /* while */                                                       
  if(!the_node->parent->parent) the_node->color = RBT_BLACK;          
 200ce98:	c2 06 00 00 	ld  [ %i0 ], %g1                               
 200ce9c:	c2 00 40 00 	ld  [ %g1 ], %g1                               
 200cea0:	80 a0 60 00 	cmp  %g1, 0                                    
 200cea4:	12 80 00 0a 	bne  200cecc <_RBTree_Extract_validate_unprotected+0x1e4>
 200cea8:	01 00 00 00 	nop                                            
 200ceac:	c0 26 20 0c 	clr  [ %i0 + 0xc ]                             
 200ceb0:	81 c7 e0 08 	ret                                            
 200ceb4:	81 e8 00 00 	restore                                        
          parent->color = RBT_BLACK;                                  
          break;                                                      
        }                                                             
        the_node = parent; /* done if parent is red */                
        parent = the_node->parent;                                    
        sibling = _RBTree_Sibling(the_node);                          
 200ceb8:	90 10 00 1d 	mov  %i5, %o0                                  
 200cebc:	7f ff ff 5b 	call  200cc28 <_RBTree_Sibling>                
 200cec0:	b0 10 00 1d 	mov  %i5, %i0                                  
 200cec4:	10 bf ff ed 	b  200ce78 <_RBTree_Extract_validate_unprotected+0x190>
 200cec8:	ba 10 00 1c 	mov  %i4, %i5                                  
 200cecc:	81 c7 e0 08 	ret                                            
 200ced0:	81 e8 00 00 	restore                                        
                                                                      

02009c48 <_RBTree_Initialize>: void *starting_address, size_t number_nodes, size_t node_size, bool is_unique ) {
 2009c48:	9d e3 bf a0 	save  %sp, -96, %sp                            
  size_t      count;                                                  
  RBTree_Node *next;                                                  
                                                                      
  /* TODO: Error message? */                                          
  if (!the_rbtree) return;                                            
 2009c4c:	80 a6 20 00 	cmp  %i0, 0                                    
 2009c50:	02 80 00 10 	be  2009c90 <_RBTree_Initialize+0x48>          <== NEVER TAKEN
 2009c54:	01 00 00 00 	nop                                            
    RBTree_Control          *the_rbtree,                              
    RBTree_Compare_function  compare_function,                        
    bool                     is_unique                                
    )                                                                 
{                                                                     
  the_rbtree->permanent_null   = NULL;                                
 2009c58:	c0 26 00 00 	clr  [ %i0 ]                                   
  the_rbtree->root             = NULL;                                
 2009c5c:	c0 26 20 04 	clr  [ %i0 + 4 ]                               
  the_rbtree->first[0]         = NULL;                                
 2009c60:	c0 26 20 08 	clr  [ %i0 + 8 ]                               
  the_rbtree->first[1]         = NULL;                                
 2009c64:	c0 26 20 0c 	clr  [ %i0 + 0xc ]                             
  the_rbtree->compare_function = compare_function;                    
 2009c68:	f2 26 20 10 	st  %i1, [ %i0 + 0x10 ]                        
  /* could do sanity checks here */                                   
  _RBTree_Initialize_empty(the_rbtree, compare_function, is_unique);  
                                                                      
  count = number_nodes;                                               
  next  = starting_address;                                           
  while ( count-- ) {                                                 
 2009c6c:	10 80 00 06 	b  2009c84 <_RBTree_Initialize+0x3c>           
 2009c70:	fa 2e 20 14 	stb  %i5, [ %i0 + 0x14 ]                       
    _RBTree_Insert(the_rbtree, next);                                 
 2009c74:	90 10 00 18 	mov  %i0, %o0                                  
 2009c78:	7f ff ff ef 	call  2009c34 <_RBTree_Insert>                 
 2009c7c:	b4 06 80 1c 	add  %i2, %i4, %i2                             
 *    node_size        - size of node in bytes                        
 *                                                                    
 *  Output parameters:  NONE                                          
 */                                                                   
                                                                      
void _RBTree_Initialize(                                              
 2009c80:	b6 06 ff ff 	add  %i3, -1, %i3                              
  /* could do sanity checks here */                                   
  _RBTree_Initialize_empty(the_rbtree, compare_function, is_unique);  
                                                                      
  count = number_nodes;                                               
  next  = starting_address;                                           
  while ( count-- ) {                                                 
 2009c84:	80 a6 e0 00 	cmp  %i3, 0                                    
 2009c88:	12 bf ff fb 	bne  2009c74 <_RBTree_Initialize+0x2c>         
 2009c8c:	92 10 00 1a 	mov  %i2, %o1                                  
 2009c90:	81 c7 e0 08 	ret                                            
 2009c94:	81 e8 00 00 	restore                                        
                                                                      

0200cc28 <_RBTree_Sibling>: */ RTEMS_INLINE_ROUTINE RBTree_Node *_RBTree_Sibling( RBTree_Node *the_node ) { if(!the_node) return NULL;
 200cc28:	80 a2 20 00 	cmp  %o0, 0                                    
 200cc2c:	02 80 00 0e 	be  200cc64 <_RBTree_Sibling+0x3c>             
 200cc30:	82 10 20 00 	clr  %g1                                       
  if(!(the_node->parent)) return NULL;                                
 200cc34:	c4 02 00 00 	ld  [ %o0 ], %g2                               
 200cc38:	80 a0 a0 00 	cmp  %g2, 0                                    
 200cc3c:	02 80 00 0a 	be  200cc64 <_RBTree_Sibling+0x3c>             <== NEVER TAKEN
 200cc40:	01 00 00 00 	nop                                            
  if(!(the_node->parent->parent)) return NULL;                        
 200cc44:	c6 00 80 00 	ld  [ %g2 ], %g3                               
 200cc48:	80 a0 e0 00 	cmp  %g3, 0                                    
 200cc4c:	02 80 00 06 	be  200cc64 <_RBTree_Sibling+0x3c>             
 200cc50:	01 00 00 00 	nop                                            
                                                                      
  if(the_node == the_node->parent->child[RBT_LEFT])                   
 200cc54:	c2 00 a0 04 	ld  [ %g2 + 4 ], %g1                           
 200cc58:	80 a2 00 01 	cmp  %o0, %g1                                  
 200cc5c:	22 80 00 02 	be,a   200cc64 <_RBTree_Sibling+0x3c>          
 200cc60:	c2 00 a0 08 	ld  [ %g2 + 8 ], %g1                           
    return the_node->parent->child[RBT_RIGHT];                        
  else                                                                
    return the_node->parent->child[RBT_LEFT];                         
}                                                                     
 200cc64:	81 c3 e0 08 	retl                                           
 200cc68:	90 10 00 01 	mov  %g1, %o0                                  
                                                                      

0200d150 <_RBTree_Validate_insert_unprotected>: * append operation. */ void _RBTree_Validate_insert_unprotected( RBTree_Node *the_node ) {
 200d150:	9d e3 bf a0 	save  %sp, -96, %sp                            
  RBTree_Node *u,*g;                                                  
                                                                      
  /* note: the insert root case is handled already */                 
  /* if the parent is black, nothing needs to be done                 
   * otherwise may need to loop a few times */                        
  while (_RBTree_Is_red(_RBTree_Parent(the_node))) {                  
 200d154:	10 80 00 1f 	b  200d1d0 <_RBTree_Validate_insert_unprotected+0x80>
 200d158:	b6 10 20 01 	mov  1, %i3                                    
    )                                                                 
{                                                                     
  if(!the_node) return NULL;                                          
  if(!(the_node->parent)) return NULL;                                
  if(!(the_node->parent->parent)) return NULL;                        
  if(!(the_node->parent->parent->parent)) return NULL;                
 200d15c:	80 a0 60 00 	cmp  %g1, 0                                    
 200d160:	02 80 00 27 	be  200d1fc <_RBTree_Validate_insert_unprotected+0xac><== NEVER TAKEN
 200d164:	c2 07 60 04 	ld  [ %i5 + 4 ], %g1                           
{                                                                     
  if(!the_node) return NULL;                                          
  if(!(the_node->parent)) return NULL;                                
  if(!(the_node->parent->parent)) return NULL;                        
                                                                      
  if(the_node == the_node->parent->child[RBT_LEFT])                   
 200d168:	80 a2 00 01 	cmp  %o0, %g1                                  
 200d16c:	22 80 00 02 	be,a   200d174 <_RBTree_Validate_insert_unprotected+0x24>
 200d170:	c2 07 60 08 	ld  [ %i5 + 8 ], %g1                           
 */                                                                   
RTEMS_INLINE_ROUTINE bool _RBTree_Is_red(                             
    const RBTree_Node *the_node                                       
    )                                                                 
{                                                                     
  return (the_node && the_node->color == RBT_RED);                    
 200d174:	80 a0 60 00 	cmp  %g1, 0                                    
 200d178:	22 80 00 21 	be,a   200d1fc <_RBTree_Validate_insert_unprotected+0xac>
 200d17c:	c2 07 60 04 	ld  [ %i5 + 4 ], %g1                           
 200d180:	c4 00 60 0c 	ld  [ %g1 + 0xc ], %g2                         
 200d184:	80 a0 a0 01 	cmp  %g2, 1                                    
 200d188:	32 80 00 1d 	bne,a   200d1fc <_RBTree_Validate_insert_unprotected+0xac>
 200d18c:	c2 07 60 04 	ld  [ %i5 + 4 ], %g1                           
    u = _RBTree_Parent_sibling(the_node);                             
    g = the_node->parent->parent;                                     
                                                                      
    /* if uncle is red, repaint uncle/parent black and grandparent red */
    if(_RBTree_Is_red(u)) {                                           
      the_node->parent->color = RBT_BLACK;                            
 200d190:	c0 22 20 0c 	clr  [ %o0 + 0xc ]                             
      u->color = RBT_BLACK;                                           
 200d194:	c0 20 60 0c 	clr  [ %g1 + 0xc ]                             
      g->color = RBT_RED;                                             
 200d198:	c4 27 60 0c 	st  %g2, [ %i5 + 0xc ]                         
 200d19c:	10 80 00 0d 	b  200d1d0 <_RBTree_Validate_insert_unprotected+0x80>
 200d1a0:	b0 10 00 1d 	mov  %i5, %i0                                  
      RBTree_Direction dir = the_node != the_node->parent->child[0];  
      RBTree_Direction pdir = the_node->parent != g->child[0];        
                                                                      
      /* ensure node is on the same branch direction as parent */     
      if (dir != pdir) {                                              
        _RBTree_Rotate(the_node->parent, pdir);                       
 200d1a4:	7f ff ff cc 	call  200d0d4 <_RBTree_Rotate>                 
 200d1a8:	92 10 00 1c 	mov  %i4, %o1                                  
        the_node = the_node->child[pdir];                             
 200d1ac:	83 2f 20 02 	sll  %i4, 2, %g1                               
 200d1b0:	b0 06 00 01 	add  %i0, %g1, %i0                             
 200d1b4:	f0 06 20 04 	ld  [ %i0 + 4 ], %i0                           
      }                                                               
      the_node->parent->color = RBT_BLACK;                            
 200d1b8:	c2 06 00 00 	ld  [ %i0 ], %g1                               
      g->color = RBT_RED;                                             
                                                                      
      /* now rotate grandparent in the other branch direction (toward uncle) */
      _RBTree_Rotate(g, (1-pdir));                                    
 200d1bc:	90 10 00 1d 	mov  %i5, %o0                                  
      /* ensure node is on the same branch direction as parent */     
      if (dir != pdir) {                                              
        _RBTree_Rotate(the_node->parent, pdir);                       
        the_node = the_node->child[pdir];                             
      }                                                               
      the_node->parent->color = RBT_BLACK;                            
 200d1c0:	c0 20 60 0c 	clr  [ %g1 + 0xc ]                             
      g->color = RBT_RED;                                             
 200d1c4:	f6 27 60 0c 	st  %i3, [ %i5 + 0xc ]                         
                                                                      
      /* now rotate grandparent in the other branch direction (toward uncle) */
      _RBTree_Rotate(g, (1-pdir));                                    
 200d1c8:	7f ff ff c3 	call  200d0d4 <_RBTree_Rotate>                 
 200d1cc:	92 26 c0 1c 	sub  %i3, %i4, %o1                             
  ISR_Level level;                                                    
                                                                      
  _ISR_Disable( level );                                              
    return _RBTree_Insert_unprotected( tree, node );                  
  _ISR_Enable( level );                                               
}                                                                     
 200d1d0:	d0 06 00 00 	ld  [ %i0 ], %o0                               
 */                                                                   
RTEMS_INLINE_ROUTINE RBTree_Node *_RBTree_Parent(                     
    RBTree_Node *the_node                                             
    )                                                                 
{                                                                     
  if (!the_node->parent->parent) return NULL;                         
 200d1d4:	fa 02 00 00 	ld  [ %o0 ], %i5                               
 200d1d8:	80 a7 60 00 	cmp  %i5, 0                                    
 200d1dc:	22 80 00 14 	be,a   200d22c <_RBTree_Validate_insert_unprotected+0xdc>
 200d1e0:	c0 26 20 0c 	clr  [ %i0 + 0xc ]                             
 */                                                                   
RTEMS_INLINE_ROUTINE bool _RBTree_Is_red(                             
    const RBTree_Node *the_node                                       
    )                                                                 
{                                                                     
  return (the_node && the_node->color == RBT_RED);                    
 200d1e4:	c2 02 20 0c 	ld  [ %o0 + 0xc ], %g1                         
 200d1e8:	80 a0 60 01 	cmp  %g1, 1                                    
 200d1ec:	12 80 00 10 	bne  200d22c <_RBTree_Validate_insert_unprotected+0xdc>
 200d1f0:	01 00 00 00 	nop                                            
    )                                                                 
{                                                                     
  if(!the_node) return NULL;                                          
  if(!(the_node->parent)) return NULL;                                
  if(!(the_node->parent->parent)) return NULL;                        
  if(!(the_node->parent->parent->parent)) return NULL;                
 200d1f4:	10 bf ff da 	b  200d15c <_RBTree_Validate_insert_unprotected+0xc>
 200d1f8:	c2 07 40 00 	ld  [ %i5 ], %g1                               
      u->color = RBT_BLACK;                                           
      g->color = RBT_RED;                                             
      the_node = g;                                                   
    } else { /* if uncle is black */                                  
      RBTree_Direction dir = the_node != the_node->parent->child[0];  
      RBTree_Direction pdir = the_node->parent != g->child[0];        
 200d1fc:	82 1a 00 01 	xor  %o0, %g1, %g1                             
 200d200:	80 a0 00 01 	cmp  %g0, %g1                                  
      the_node->parent->color = RBT_BLACK;                            
      u->color = RBT_BLACK;                                           
      g->color = RBT_RED;                                             
      the_node = g;                                                   
    } else { /* if uncle is black */                                  
      RBTree_Direction dir = the_node != the_node->parent->child[0];  
 200d204:	c2 02 20 04 	ld  [ %o0 + 4 ], %g1                           
      RBTree_Direction pdir = the_node->parent != g->child[0];        
 200d208:	b8 40 20 00 	addx  %g0, 0, %i4                              
      the_node->parent->color = RBT_BLACK;                            
      u->color = RBT_BLACK;                                           
      g->color = RBT_RED;                                             
      the_node = g;                                                   
    } else { /* if uncle is black */                                  
      RBTree_Direction dir = the_node != the_node->parent->child[0];  
 200d20c:	82 1e 00 01 	xor  %i0, %g1, %g1                             
 200d210:	80 a0 00 01 	cmp  %g0, %g1                                  
 200d214:	82 40 20 00 	addx  %g0, 0, %g1                              
      RBTree_Direction pdir = the_node->parent != g->child[0];        
                                                                      
      /* ensure node is on the same branch direction as parent */     
      if (dir != pdir) {                                              
 200d218:	80 a0 40 1c 	cmp  %g1, %i4                                  
 200d21c:	12 bf ff e2 	bne  200d1a4 <_RBTree_Validate_insert_unprotected+0x54>
 200d220:	01 00 00 00 	nop                                            
        _RBTree_Rotate(the_node->parent, pdir);                       
        the_node = the_node->child[pdir];                             
      }                                                               
      the_node->parent->color = RBT_BLACK;                            
 200d224:	10 bf ff e6 	b  200d1bc <_RBTree_Validate_insert_unprotected+0x6c>
 200d228:	c2 06 00 00 	ld  [ %i0 ], %g1                               
 200d22c:	81 c7 e0 08 	ret                                            
 200d230:	81 e8 00 00 	restore                                        
                                                                      

0200bac8 <_RTEMS_tasks_Post_switch_extension>: */ void _RTEMS_tasks_Post_switch_extension( Thread_Control *executing ) {
 200bac8:	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 ];                
 200bacc:	fa 06 21 58 	ld  [ %i0 + 0x158 ], %i5                       
  if ( !api )                                                         
 200bad0:	80 a7 60 00 	cmp  %i5, 0                                    
 200bad4:	02 80 00 1c 	be  200bb44 <_RTEMS_tasks_Post_switch_extension+0x7c><== NEVER TAKEN
 200bad8:	01 00 00 00 	nop                                            
   *  Signal Processing                                               
   */                                                                 
                                                                      
  asr = &api->Signal;                                                 
                                                                      
  _ISR_Disable( level );                                              
 200badc:	7f ff d9 a8 	call  200217c <sparc_disable_interrupts>       
 200bae0:	01 00 00 00 	nop                                            
    signal_set = asr->signals_posted;                                 
 200bae4:	f6 07 60 14 	ld  [ %i5 + 0x14 ], %i3                        
    asr->signals_posted = 0;                                          
 200bae8:	c0 27 60 14 	clr  [ %i5 + 0x14 ]                            
  _ISR_Enable( level );                                               
 200baec:	7f ff d9 a8 	call  200218c <sparc_enable_interrupts>        
 200baf0:	01 00 00 00 	nop                                            
                                                                      
                                                                      
  if ( !signal_set ) /* similar to _ASR_Are_signals_pending( asr ) */ 
 200baf4:	80 a6 e0 00 	cmp  %i3, 0                                    
 200baf8:	02 80 00 13 	be  200bb44 <_RTEMS_tasks_Post_switch_extension+0x7c>
 200bafc:	94 07 bf fc 	add  %fp, -4, %o2                              
    return;                                                           
                                                                      
  asr->nest_level += 1;                                               
 200bb00:	c2 07 60 1c 	ld  [ %i5 + 0x1c ], %g1                        
  rtems_task_mode( asr->mode_set, RTEMS_ALL_MODE_MASKS, &prev_mode ); 
 200bb04:	d0 07 60 10 	ld  [ %i5 + 0x10 ], %o0                        
                                                                      
                                                                      
  if ( !signal_set ) /* similar to _ASR_Are_signals_pending( asr ) */ 
    return;                                                           
                                                                      
  asr->nest_level += 1;                                               
 200bb08:	82 00 60 01 	inc  %g1                                       
 200bb0c:	c2 27 60 1c 	st  %g1, [ %i5 + 0x1c ]                        
  rtems_task_mode( asr->mode_set, RTEMS_ALL_MODE_MASKS, &prev_mode ); 
 200bb10:	39 00 00 3f 	sethi  %hi(0xfc00), %i4                        
 200bb14:	40 00 07 3b 	call  200d800 <rtems_task_mode>                
 200bb18:	92 17 23 ff 	or  %i4, 0x3ff, %o1	! ffff <PROM_START+0xffff> 
                                                                      
  (*asr->handler)( signal_set );                                      
 200bb1c:	c2 07 60 0c 	ld  [ %i5 + 0xc ], %g1                         
 200bb20:	9f c0 40 00 	call  %g1                                      
 200bb24:	90 10 00 1b 	mov  %i3, %o0                                  
                                                                      
  asr->nest_level -= 1;                                               
 200bb28:	c2 07 60 1c 	ld  [ %i5 + 0x1c ], %g1                        
  rtems_task_mode( prev_mode, RTEMS_ALL_MODE_MASKS, &prev_mode );     
 200bb2c:	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;                                               
 200bb30:	82 00 7f ff 	add  %g1, -1, %g1                              
  rtems_task_mode( prev_mode, RTEMS_ALL_MODE_MASKS, &prev_mode );     
 200bb34:	92 17 23 ff 	or  %i4, 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;                                               
 200bb38:	c2 27 60 1c 	st  %g1, [ %i5 + 0x1c ]                        
  rtems_task_mode( prev_mode, RTEMS_ALL_MODE_MASKS, &prev_mode );     
 200bb3c:	40 00 07 31 	call  200d800 <rtems_task_mode>                
 200bb40:	94 07 bf fc 	add  %fp, -4, %o2                              
 200bb44:	81 c7 e0 08 	ret                                            
 200bb48:	81 e8 00 00 	restore                                        
                                                                      

020076f4 <_Rate_monotonic_Timeout>: void _Rate_monotonic_Timeout( Objects_Id id, void *ignored ) {
 20076f4:	9d e3 bf 98 	save  %sp, -104, %sp                           
 20076f8:	11 00 80 74 	sethi  %hi(0x201d000), %o0                     
 20076fc:	92 10 00 18 	mov  %i0, %o1                                  
 2007700:	90 12 22 64 	or  %o0, 0x264, %o0                            
 2007704:	40 00 07 c4 	call  2009614 <_Objects_Get>                   
 2007708:	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 ) {                                               
 200770c:	c2 07 bf fc 	ld  [ %fp + -4 ], %g1                          
 2007710:	80 a0 60 00 	cmp  %g1, 0                                    
 2007714:	12 80 00 25 	bne  20077a8 <_Rate_monotonic_Timeout+0xb4>    <== NEVER TAKEN
 2007718:	ba 10 00 08 	mov  %o0, %i5                                  
                                                                      
    case OBJECTS_LOCAL:                                               
      the_thread = the_period->owner;                                 
 200771c:	d0 02 20 40 	ld  [ %o0 + 0x40 ], %o0                        
      if ( _States_Is_waiting_for_period( the_thread->current_state ) &&
 2007720:	03 00 00 10 	sethi  %hi(0x4000), %g1                        
 */                                                                   
RTEMS_INLINE_ROUTINE bool _States_Is_waiting_for_period (             
  States_Control the_states                                           
)                                                                     
{                                                                     
   return (the_states & STATES_WAITING_FOR_PERIOD);                   
 2007724:	c4 02 20 10 	ld  [ %o0 + 0x10 ], %g2                        
 2007728:	80 88 80 01 	btst  %g2, %g1                                 
 200772c:	22 80 00 0b 	be,a   2007758 <_Rate_monotonic_Timeout+0x64>  
 2007730:	c2 07 60 38 	ld  [ %i5 + 0x38 ], %g1                        
 2007734:	c4 02 20 20 	ld  [ %o0 + 0x20 ], %g2                        
 2007738:	c2 07 60 08 	ld  [ %i5 + 8 ], %g1                           
 200773c:	80 a0 80 01 	cmp  %g2, %g1                                  
 2007740:	32 80 00 06 	bne,a   2007758 <_Rate_monotonic_Timeout+0x64> 
 2007744:	c2 07 60 38 	ld  [ %i5 + 0x38 ], %g1                        
                                                                      
RTEMS_INLINE_ROUTINE void _Thread_Unblock (                           
  Thread_Control *the_thread                                          
)                                                                     
{                                                                     
  _Thread_Clear_state( the_thread, STATES_BLOCKED );                  
 2007748:	13 04 00 ff 	sethi  %hi(0x1003fc00), %o1                    
 200774c:	40 00 0a 85 	call  200a160 <_Thread_Clear_state>            
 2007750:	92 12 63 f8 	or  %o1, 0x3f8, %o1	! 1003fff8 <RAM_END+0xdc3fff8>
 2007754:	30 80 00 06 	b,a   200776c <_Rate_monotonic_Timeout+0x78>   
        _Thread_Unblock( the_thread );                                
                                                                      
        _Rate_monotonic_Initiate_statistics( the_period );            
                                                                      
        _Watchdog_Insert_ticks( &the_period->Timer, the_period->next_length );
      } else if ( the_period->state == RATE_MONOTONIC_OWNER_IS_BLOCKING ) {
 2007758:	80 a0 60 01 	cmp  %g1, 1                                    
 200775c:	12 80 00 0d 	bne  2007790 <_Rate_monotonic_Timeout+0x9c>    
 2007760:	82 10 20 04 	mov  4, %g1                                    
        the_period->state = RATE_MONOTONIC_EXPIRED_WHILE_BLOCKING;    
 2007764:	82 10 20 03 	mov  3, %g1                                    
 2007768:	c2 27 60 38 	st  %g1, [ %i5 + 0x38 ]                        
                                                                      
        _Rate_monotonic_Initiate_statistics( the_period );            
 200776c:	7f ff fe 65 	call  2007100 <_Rate_monotonic_Initiate_statistics>
 2007770:	90 10 00 1d 	mov  %i5, %o0                                  
  Watchdog_Control      *the_watchdog,                                
  Watchdog_Interval      units                                        
)                                                                     
{                                                                     
                                                                      
  the_watchdog->initial = units;                                      
 2007774:	c2 07 60 3c 	ld  [ %i5 + 0x3c ], %g1                        
                                                                      
  _Watchdog_Insert( &_Watchdog_Ticks_chain, the_watchdog );           
 2007778:	11 00 80 75 	sethi  %hi(0x201d400), %o0                     
  Watchdog_Control      *the_watchdog,                                
  Watchdog_Interval      units                                        
)                                                                     
{                                                                     
                                                                      
  the_watchdog->initial = units;                                      
 200777c:	c2 27 60 1c 	st  %g1, [ %i5 + 0x1c ]                        
                                                                      
  _Watchdog_Insert( &_Watchdog_Ticks_chain, the_watchdog );           
 2007780:	90 12 20 8c 	or  %o0, 0x8c, %o0                             
 2007784:	40 00 0f 1e 	call  200b3fc <_Watchdog_Insert>               
 2007788:	92 07 60 10 	add  %i5, 0x10, %o1                            
 200778c:	30 80 00 02 	b,a   2007794 <_Rate_monotonic_Timeout+0xa0>   
                                                                      
        _Watchdog_Insert_ticks( &the_period->Timer, the_period->next_length );
      } else                                                          
        the_period->state = RATE_MONOTONIC_EXPIRED;                   
 2007790:	c2 27 60 38 	st  %g1, [ %i5 + 0x38 ]                        
   *                                                                  
   * This routine decrements the thread dispatch level.               
   */                                                                 
  RTEMS_INLINE_ROUTINE uint32_t _Thread_Dispatch_decrement_disable_level(void)
  {                                                                   
    _Thread_Dispatch_disable_level--;                                 
 2007794:	03 00 80 74 	sethi  %hi(0x201d000), %g1                     
 2007798:	c4 00 63 d0 	ld  [ %g1 + 0x3d0 ], %g2	! 201d3d0 <_Thread_Dispatch_disable_level>
 200779c:	84 00 bf ff 	add  %g2, -1, %g2                              
 20077a0:	c4 20 63 d0 	st  %g2, [ %g1 + 0x3d0 ]                       
    return _Thread_Dispatch_disable_level;                            
 20077a4:	c2 00 63 d0 	ld  [ %g1 + 0x3d0 ], %g1                       
 20077a8:	81 c7 e0 08 	ret                                            
 20077ac:	81 e8 00 00 	restore                                        
                                                                      

02009f7c <_Scheduler_CBS_Budget_callout>: #include <rtems/rtems/signal.h> void _Scheduler_CBS_Budget_callout( Thread_Control *the_thread ) {
 2009f7c:	9d e3 bf 98 	save  %sp, -104, %sp                           
  Priority_Control          new_priority;                             
  Scheduler_CBS_Per_thread *sched_info;                               
  Scheduler_CBS_Server_id   server_id;                                
                                                                      
  /* Put violating task to background until the end of period. */     
  new_priority = the_thread->Start.initial_priority;                  
 2009f80:	d2 06 20 b0 	ld  [ %i0 + 0xb0 ], %o1                        
  if ( the_thread->real_priority != new_priority )                    
 2009f84:	c2 06 20 18 	ld  [ %i0 + 0x18 ], %g1                        
 2009f88:	80 a0 40 09 	cmp  %g1, %o1                                  
 2009f8c:	32 80 00 02 	bne,a   2009f94 <_Scheduler_CBS_Budget_callout+0x18><== ALWAYS TAKEN
 2009f90:	d2 26 20 18 	st  %o1, [ %i0 + 0x18 ]                        
    the_thread->real_priority = new_priority;                         
  if ( the_thread->current_priority != new_priority )                 
 2009f94:	c2 06 20 14 	ld  [ %i0 + 0x14 ], %g1                        
 2009f98:	80 a0 40 09 	cmp  %g1, %o1                                  
 2009f9c:	02 80 00 04 	be  2009fac <_Scheduler_CBS_Budget_callout+0x30><== NEVER TAKEN
 2009fa0:	90 10 00 18 	mov  %i0, %o0                                  
    _Thread_Change_priority(the_thread, new_priority, true);          
 2009fa4:	40 00 01 91 	call  200a5e8 <_Thread_Change_priority>        
 2009fa8:	94 10 20 01 	mov  1, %o2                                    
                                                                      
  /* Invoke callback function if any. */                              
  sched_info = (Scheduler_CBS_Per_thread *) the_thread->scheduler_info;
 2009fac:	f0 06 20 8c 	ld  [ %i0 + 0x8c ], %i0                        
  if ( sched_info->cbs_server->cbs_budget_overrun ) {                 
 2009fb0:	c2 06 20 18 	ld  [ %i0 + 0x18 ], %g1                        
 2009fb4:	c4 00 60 0c 	ld  [ %g1 + 0xc ], %g2                         
 2009fb8:	80 a0 a0 00 	cmp  %g2, 0                                    
 2009fbc:	02 80 00 09 	be  2009fe0 <_Scheduler_CBS_Budget_callout+0x64><== NEVER TAKEN
 2009fc0:	01 00 00 00 	nop                                            
    _Scheduler_CBS_Get_server_id(                                     
 2009fc4:	d0 00 40 00 	ld  [ %g1 ], %o0                               
 2009fc8:	7f ff ff d7 	call  2009f24 <_Scheduler_CBS_Get_server_id>   
 2009fcc:	92 07 bf fc 	add  %fp, -4, %o1                              
        sched_info->cbs_server->task_id,                              
        &server_id                                                    
    );                                                                
    sched_info->cbs_server->cbs_budget_overrun( server_id );          
 2009fd0:	c2 06 20 18 	ld  [ %i0 + 0x18 ], %g1                        
 2009fd4:	c2 00 60 0c 	ld  [ %g1 + 0xc ], %g1                         
 2009fd8:	9f c0 40 00 	call  %g1                                      
 2009fdc:	d0 07 bf fc 	ld  [ %fp + -4 ], %o0                          
 2009fe0:	81 c7 e0 08 	ret                                            
 2009fe4:	81 e8 00 00 	restore                                        
                                                                      

02009b98 <_Scheduler_CBS_Create_server>: int _Scheduler_CBS_Create_server ( Scheduler_CBS_Parameters *params, Scheduler_CBS_Budget_overrun budget_overrun_callback, rtems_id *server_id ) {
 2009b98:	9d e3 bf a0 	save  %sp, -96, %sp                            
  unsigned int i;                                                     
  Scheduler_CBS_Server *the_server;                                   
                                                                      
  if ( params->budget <= 0 ||                                         
 2009b9c:	c2 06 20 04 	ld  [ %i0 + 4 ], %g1                           
int _Scheduler_CBS_Create_server (                                    
  Scheduler_CBS_Parameters     *params,                               
  Scheduler_CBS_Budget_overrun  budget_overrun_callback,              
  rtems_id                     *server_id                             
)                                                                     
{                                                                     
 2009ba0:	ba 10 00 18 	mov  %i0, %i5                                  
  unsigned int i;                                                     
  Scheduler_CBS_Server *the_server;                                   
                                                                      
  if ( params->budget <= 0 ||                                         
 2009ba4:	80 a0 60 00 	cmp  %g1, 0                                    
 2009ba8:	04 80 00 1c 	ble  2009c18 <_Scheduler_CBS_Create_server+0x80>
 2009bac:	b0 10 3f ee 	mov  -18, %i0                                  
 2009bb0:	c2 07 40 00 	ld  [ %i5 ], %g1                               
 2009bb4:	80 a0 60 00 	cmp  %g1, 0                                    
 2009bb8:	04 80 00 18 	ble  2009c18 <_Scheduler_CBS_Create_server+0x80>
 2009bbc:	03 00 80 77 	sethi  %hi(0x201dc00), %g1                     
       params->deadline <= 0 ||                                       
       params->budget >= SCHEDULER_EDF_PRIO_MSB ||                    
       params->deadline >= SCHEDULER_EDF_PRIO_MSB )                   
    return SCHEDULER_CBS_ERROR_INVALID_PARAMETER;                     
                                                                      
  for ( i = 0; i<_Scheduler_CBS_Maximum_servers; i++ ) {              
 2009bc0:	c6 00 63 60 	ld  [ %g1 + 0x360 ], %g3	! 201df60 <_Scheduler_CBS_Maximum_servers>
    if ( !_Scheduler_CBS_Server_list[i] )                             
 2009bc4:	03 00 80 7a 	sethi  %hi(0x201e800), %g1                     
 2009bc8:	c4 00 60 58 	ld  [ %g1 + 0x58 ], %g2	! 201e858 <_Scheduler_CBS_Server_list>
 2009bcc:	10 80 00 15 	b  2009c20 <_Scheduler_CBS_Create_server+0x88> 
 2009bd0:	82 10 20 00 	clr  %g1                                       
 2009bd4:	c8 00 80 1b 	ld  [ %g2 + %i3 ], %g4                         
 2009bd8:	80 a1 20 00 	cmp  %g4, 0                                    
 2009bdc:	32 80 00 11 	bne,a   2009c20 <_Scheduler_CBS_Create_server+0x88>
 2009be0:	82 00 60 01 	inc  %g1                                       
                                                                      
  if ( i == _Scheduler_CBS_Maximum_servers )                          
    return SCHEDULER_CBS_ERROR_FULL;                                  
                                                                      
  *server_id = i;                                                     
  _Scheduler_CBS_Server_list[*server_id] = (Scheduler_CBS_Server *)   
 2009be4:	39 00 80 7a 	sethi  %hi(0x201e800), %i4                     
 2009be8:	f0 07 20 58 	ld  [ %i4 + 0x58 ], %i0	! 201e858 <_Scheduler_CBS_Server_list>
  }                                                                   
                                                                      
  if ( i == _Scheduler_CBS_Maximum_servers )                          
    return SCHEDULER_CBS_ERROR_FULL;                                  
                                                                      
  *server_id = i;                                                     
 2009bec:	c2 26 80 00 	st  %g1, [ %i2 ]                               
  _Scheduler_CBS_Server_list[*server_id] = (Scheduler_CBS_Server *)   
    _Workspace_Allocate( sizeof(Scheduler_CBS_Server) );              
 2009bf0:	40 00 07 ed 	call  200bba4 <_Workspace_Allocate>            
 2009bf4:	90 10 20 10 	mov  0x10, %o0                                 
  the_server = _Scheduler_CBS_Server_list[*server_id];                
 2009bf8:	c2 06 80 00 	ld  [ %i2 ], %g1                               
                                                                      
  if ( i == _Scheduler_CBS_Maximum_servers )                          
    return SCHEDULER_CBS_ERROR_FULL;                                  
                                                                      
  *server_id = i;                                                     
  _Scheduler_CBS_Server_list[*server_id] = (Scheduler_CBS_Server *)   
 2009bfc:	d0 26 00 1b 	st  %o0, [ %i0 + %i3 ]                         
    _Workspace_Allocate( sizeof(Scheduler_CBS_Server) );              
  the_server = _Scheduler_CBS_Server_list[*server_id];                
 2009c00:	c4 07 20 58 	ld  [ %i4 + 0x58 ], %g2                        
 2009c04:	83 28 60 02 	sll  %g1, 2, %g1                               
 2009c08:	c2 00 80 01 	ld  [ %g2 + %g1 ], %g1                         
  if ( !the_server )                                                  
 2009c0c:	80 a0 60 00 	cmp  %g1, 0                                    
 2009c10:	12 80 00 09 	bne  2009c34 <_Scheduler_CBS_Create_server+0x9c><== ALWAYS TAKEN
 2009c14:	b0 10 3f ef 	mov  -17, %i0                                  
 2009c18:	81 c7 e0 08 	ret                                            
 2009c1c:	81 e8 00 00 	restore                                        
       params->deadline <= 0 ||                                       
       params->budget >= SCHEDULER_EDF_PRIO_MSB ||                    
       params->deadline >= SCHEDULER_EDF_PRIO_MSB )                   
    return SCHEDULER_CBS_ERROR_INVALID_PARAMETER;                     
                                                                      
  for ( i = 0; i<_Scheduler_CBS_Maximum_servers; i++ ) {              
 2009c20:	80 a0 40 03 	cmp  %g1, %g3                                  
 2009c24:	12 bf ff ec 	bne  2009bd4 <_Scheduler_CBS_Create_server+0x3c>
 2009c28:	b7 28 60 02 	sll  %g1, 2, %i3                               
    if ( !_Scheduler_CBS_Server_list[i] )                             
      break;                                                          
  }                                                                   
                                                                      
  if ( i == _Scheduler_CBS_Maximum_servers )                          
    return SCHEDULER_CBS_ERROR_FULL;                                  
 2009c2c:	81 c7 e0 08 	ret                                            
 2009c30:	91 e8 3f e6 	restore  %g0, -26, %o0                         
    _Workspace_Allocate( sizeof(Scheduler_CBS_Server) );              
  the_server = _Scheduler_CBS_Server_list[*server_id];                
  if ( !the_server )                                                  
    return SCHEDULER_CBS_ERROR_NO_MEMORY;                             
                                                                      
  the_server->parameters = *params;                                   
 2009c34:	c4 07 40 00 	ld  [ %i5 ], %g2                               
  the_server->task_id = -1;                                           
  the_server->cbs_budget_overrun = budget_overrun_callback;           
  return SCHEDULER_CBS_OK;                                            
 2009c38:	b0 10 20 00 	clr  %i0                                       
    _Workspace_Allocate( sizeof(Scheduler_CBS_Server) );              
  the_server = _Scheduler_CBS_Server_list[*server_id];                
  if ( !the_server )                                                  
    return SCHEDULER_CBS_ERROR_NO_MEMORY;                             
                                                                      
  the_server->parameters = *params;                                   
 2009c3c:	c4 20 60 04 	st  %g2, [ %g1 + 4 ]                           
 2009c40:	c4 07 60 04 	ld  [ %i5 + 4 ], %g2                           
  the_server->task_id = -1;                                           
  the_server->cbs_budget_overrun = budget_overrun_callback;           
 2009c44:	f2 20 60 0c 	st  %i1, [ %g1 + 0xc ]                         
    _Workspace_Allocate( sizeof(Scheduler_CBS_Server) );              
  the_server = _Scheduler_CBS_Server_list[*server_id];                
  if ( !the_server )                                                  
    return SCHEDULER_CBS_ERROR_NO_MEMORY;                             
                                                                      
  the_server->parameters = *params;                                   
 2009c48:	c4 20 60 08 	st  %g2, [ %g1 + 8 ]                           
  the_server->task_id = -1;                                           
 2009c4c:	84 10 3f ff 	mov  -1, %g2                                   
 2009c50:	c4 20 40 00 	st  %g2, [ %g1 ]                               
  the_server->cbs_budget_overrun = budget_overrun_callback;           
  return SCHEDULER_CBS_OK;                                            
}                                                                     
 2009c54:	81 c7 e0 08 	ret                                            
 2009c58:	81 e8 00 00 	restore                                        
                                                                      

02009cd0 <_Scheduler_CBS_Detach_thread>: int _Scheduler_CBS_Detach_thread ( Scheduler_CBS_Server_id server_id, rtems_id task_id ) {
 2009cd0:	9d e3 bf 98 	save  %sp, -104, %sp                           
  Objects_Locations location;                                         
  Thread_Control *the_thread;                                         
  Scheduler_CBS_Per_thread *sched_info;                               
                                                                      
  the_thread = _Thread_Get(task_id, &location);                       
 2009cd4:	90 10 00 19 	mov  %i1, %o0                                  
 2009cd8:	40 00 03 78 	call  200aab8 <_Thread_Get>                    
 2009cdc:	92 07 bf fc 	add  %fp, -4, %o1                              
  /* The routine _Thread_Get may disable dispatch and not enable again. */
  if ( the_thread ) {                                                 
 2009ce0:	b8 92 20 00 	orcc  %o0, 0, %i4                              
 2009ce4:	22 80 00 06 	be,a   2009cfc <_Scheduler_CBS_Detach_thread+0x2c>
 2009ce8:	03 00 80 77 	sethi  %hi(0x201dc00), %g1                     
    _Thread_Enable_dispatch();                                        
 2009cec:	40 00 03 66 	call  200aa84 <_Thread_Enable_dispatch>        
 2009cf0:	01 00 00 00 	nop                                            
    sched_info = (Scheduler_CBS_Per_thread *) the_thread->scheduler_info;
 2009cf4:	fa 07 20 8c 	ld  [ %i4 + 0x8c ], %i5                        
  }                                                                   
                                                                      
  if ( server_id < 0 || server_id >= _Scheduler_CBS_Maximum_servers ) 
 2009cf8:	03 00 80 77 	sethi  %hi(0x201dc00), %g1                     
 2009cfc:	c4 00 63 60 	ld  [ %g1 + 0x360 ], %g2	! 201df60 <_Scheduler_CBS_Maximum_servers>
 2009d00:	80 a6 00 02 	cmp  %i0, %g2                                  
 2009d04:	1a 80 00 1a 	bcc  2009d6c <_Scheduler_CBS_Detach_thread+0x9c>
 2009d08:	82 10 3f ee 	mov  -18, %g1                                  
    return SCHEDULER_CBS_ERROR_INVALID_PARAMETER;                     
  if ( !the_thread )                                                  
 2009d0c:	80 a7 20 00 	cmp  %i4, 0                                    
 2009d10:	02 80 00 17 	be  2009d6c <_Scheduler_CBS_Detach_thread+0x9c>
 2009d14:	01 00 00 00 	nop                                            
    return SCHEDULER_CBS_ERROR_INVALID_PARAMETER;                     
  /* Server is not valid. */                                          
  if ( !_Scheduler_CBS_Server_list[server_id] )                       
 2009d18:	03 00 80 7a 	sethi  %hi(0x201e800), %g1                     
 2009d1c:	c2 00 60 58 	ld  [ %g1 + 0x58 ], %g1	! 201e858 <_Scheduler_CBS_Server_list>
 2009d20:	b1 2e 20 02 	sll  %i0, 2, %i0                               
 2009d24:	c4 00 40 18 	ld  [ %g1 + %i0 ], %g2                         
 2009d28:	80 a0 a0 00 	cmp  %g2, 0                                    
 2009d2c:	02 80 00 10 	be  2009d6c <_Scheduler_CBS_Detach_thread+0x9c>
 2009d30:	82 10 3f e7 	mov  -25, %g1                                  
    return SCHEDULER_CBS_ERROR_NOSERVER;                              
  /* Thread and server are not attached. */                           
  if ( _Scheduler_CBS_Server_list[server_id]->task_id != task_id )    
 2009d34:	c6 00 80 00 	ld  [ %g2 ], %g3                               
 2009d38:	80 a0 c0 19 	cmp  %g3, %i1                                  
 2009d3c:	12 80 00 0c 	bne  2009d6c <_Scheduler_CBS_Detach_thread+0x9c><== NEVER TAKEN
 2009d40:	82 10 3f ee 	mov  -18, %g1                                  
    return SCHEDULER_CBS_ERROR_INVALID_PARAMETER;                     
                                                                      
  _Scheduler_CBS_Server_list[server_id]->task_id = -1;                
 2009d44:	82 10 3f ff 	mov  -1, %g1                                   
 2009d48:	c2 20 80 00 	st  %g1, [ %g2 ]                               
  sched_info->cbs_server = NULL;                                      
                                                                      
  the_thread->budget_algorithm = the_thread->Start.budget_algorithm;  
 2009d4c:	c2 07 20 a4 	ld  [ %i4 + 0xa4 ], %g1                        
  /* Thread and server are not attached. */                           
  if ( _Scheduler_CBS_Server_list[server_id]->task_id != task_id )    
    return SCHEDULER_CBS_ERROR_INVALID_PARAMETER;                     
                                                                      
  _Scheduler_CBS_Server_list[server_id]->task_id = -1;                
  sched_info->cbs_server = NULL;                                      
 2009d50:	c0 27 60 18 	clr  [ %i5 + 0x18 ]                            
                                                                      
  the_thread->budget_algorithm = the_thread->Start.budget_algorithm;  
 2009d54:	c2 27 20 7c 	st  %g1, [ %i4 + 0x7c ]                        
  the_thread->budget_callout   = the_thread->Start.budget_callout;    
 2009d58:	c2 07 20 a8 	ld  [ %i4 + 0xa8 ], %g1                        
 2009d5c:	c2 27 20 80 	st  %g1, [ %i4 + 0x80 ]                        
  the_thread->is_preemptible   = the_thread->Start.is_preemptible;    
 2009d60:	c2 0f 20 a0 	ldub  [ %i4 + 0xa0 ], %g1                      
 2009d64:	c2 2f 20 74 	stb  %g1, [ %i4 + 0x74 ]                       
                                                                      
  return SCHEDULER_CBS_OK;                                            
 2009d68:	82 10 20 00 	clr  %g1                                       
}                                                                     
 2009d6c:	81 c7 e0 08 	ret                                            
 2009d70:	91 e8 00 01 	restore  %g0, %g1, %o0                         
                                                                      

02009db8 <_Scheduler_CBS_Get_execution_time>: int _Scheduler_CBS_Get_execution_time ( Scheduler_CBS_Server_id server_id, time_t *exec_time, time_t *abs_time ) {
 2009db8:	9d e3 bf 98 	save  %sp, -104, %sp                           
  Objects_Locations location;                                         
  Thread_Control *the_thread;                                         
                                                                      
  if ( server_id < 0 || server_id >= _Scheduler_CBS_Maximum_servers ) 
 2009dbc:	03 00 80 77 	sethi  %hi(0x201dc00), %g1                     
 2009dc0:	c2 00 63 60 	ld  [ %g1 + 0x360 ], %g1	! 201df60 <_Scheduler_CBS_Maximum_servers>
int _Scheduler_CBS_Get_execution_time (                               
  Scheduler_CBS_Server_id   server_id,                                
  time_t                   *exec_time,                                
  time_t                   *abs_time                                  
)                                                                     
{                                                                     
 2009dc4:	ba 10 00 18 	mov  %i0, %i5                                  
  Objects_Locations location;                                         
  Thread_Control *the_thread;                                         
                                                                      
  if ( server_id < 0 || server_id >= _Scheduler_CBS_Maximum_servers ) 
 2009dc8:	80 a7 40 01 	cmp  %i5, %g1                                  
 2009dcc:	1a 80 00 22 	bcc  2009e54 <_Scheduler_CBS_Get_execution_time+0x9c>
 2009dd0:	b0 10 3f ee 	mov  -18, %i0                                  
    return SCHEDULER_CBS_ERROR_INVALID_PARAMETER;                     
  if ( !_Scheduler_CBS_Server_list[server_id] )                       
 2009dd4:	39 00 80 7a 	sethi  %hi(0x201e800), %i4                     
 2009dd8:	c2 07 20 58 	ld  [ %i4 + 0x58 ], %g1	! 201e858 <_Scheduler_CBS_Server_list>
 2009ddc:	bb 2f 60 02 	sll  %i5, 2, %i5                               
 2009de0:	c2 00 40 1d 	ld  [ %g1 + %i5 ], %g1                         
 2009de4:	80 a0 60 00 	cmp  %g1, 0                                    
 2009de8:	02 80 00 1b 	be  2009e54 <_Scheduler_CBS_Get_execution_time+0x9c>
 2009dec:	b0 10 3f e7 	mov  -25, %i0                                  
    return SCHEDULER_CBS_ERROR_NOSERVER;                              
  if ( !_Scheduler_CBS_Server_list[server_id]->task_id ) {            
 2009df0:	d0 00 40 00 	ld  [ %g1 ], %o0                               
 2009df4:	80 a2 20 00 	cmp  %o0, 0                                    
 2009df8:	12 80 00 04 	bne  2009e08 <_Scheduler_CBS_Get_execution_time+0x50><== ALWAYS TAKEN
 2009dfc:	01 00 00 00 	nop                                            
    *exec_time = 0;                                                   
 2009e00:	10 80 00 0f 	b  2009e3c <_Scheduler_CBS_Get_execution_time+0x84><== NOT EXECUTED
 2009e04:	c0 26 40 00 	clr  [ %i1 ]                                   <== NOT EXECUTED
    return SCHEDULER_CBS_OK;                                          
  }                                                                   
                                                                      
  the_thread = _Thread_Get(                                           
 2009e08:	40 00 03 2c 	call  200aab8 <_Thread_Get>                    
 2009e0c:	92 07 bf fc 	add  %fp, -4, %o1                              
                 _Scheduler_CBS_Server_list[server_id]->task_id,      
                 &location                                            
               );                                                     
  /* The routine _Thread_Get may disable dispatch and not enable again. */
  if ( the_thread ) {                                                 
 2009e10:	b6 92 20 00 	orcc  %o0, 0, %i3                              
 2009e14:	02 80 00 0c 	be  2009e44 <_Scheduler_CBS_Get_execution_time+0x8c>
 2009e18:	c2 07 20 58 	ld  [ %i4 + 0x58 ], %g1                        
    _Thread_Enable_dispatch();                                        
 2009e1c:	40 00 03 1a 	call  200aa84 <_Thread_Enable_dispatch>        
 2009e20:	01 00 00 00 	nop                                            
    *exec_time = _Scheduler_CBS_Server_list[server_id]->parameters.budget -
 2009e24:	c2 07 20 58 	ld  [ %i4 + 0x58 ], %g1                        
 2009e28:	c2 00 40 1d 	ld  [ %g1 + %i5 ], %g1                         
 2009e2c:	c4 00 60 08 	ld  [ %g1 + 8 ], %g2                           
 2009e30:	c2 06 e0 78 	ld  [ %i3 + 0x78 ], %g1                        
 2009e34:	82 20 80 01 	sub  %g2, %g1, %g1                             
 2009e38:	c2 26 40 00 	st  %g1, [ %i1 ]                               
      the_thread->cpu_time_budget;                                    
  }                                                                   
  else {                                                              
    *exec_time = _Scheduler_CBS_Server_list[server_id]->parameters.budget;
  }                                                                   
  return SCHEDULER_CBS_OK;                                            
 2009e3c:	81 c7 e0 08 	ret                                            
 2009e40:	91 e8 20 00 	restore  %g0, 0, %o0                           
 2009e44:	b0 10 20 00 	clr  %i0                                       
    _Thread_Enable_dispatch();                                        
    *exec_time = _Scheduler_CBS_Server_list[server_id]->parameters.budget -
      the_thread->cpu_time_budget;                                    
  }                                                                   
  else {                                                              
    *exec_time = _Scheduler_CBS_Server_list[server_id]->parameters.budget;
 2009e48:	c2 00 40 1d 	ld  [ %g1 + %i5 ], %g1                         
 2009e4c:	c2 00 60 08 	ld  [ %g1 + 8 ], %g1                           
 2009e50:	c2 26 40 00 	st  %g1, [ %i1 ]                               
  }                                                                   
  return SCHEDULER_CBS_OK;                                            
}                                                                     
 2009e54:	81 c7 e0 08 	ret                                            
 2009e58:	81 e8 00 00 	restore                                        
                                                                      

02009fe8 <_Scheduler_CBS_Initialize>: } } int _Scheduler_CBS_Initialize(void) {
 2009fe8:	9d e3 bf a0 	save  %sp, -96, %sp                            
  unsigned int i;                                                     
  _Scheduler_CBS_Server_list = (Scheduler_CBS_Server **) _Workspace_Allocate(
      _Scheduler_CBS_Maximum_servers * sizeof(Scheduler_CBS_Server*) );
 2009fec:	3b 00 80 77 	sethi  %hi(0x201dc00), %i5                     
 2009ff0:	d0 07 63 60 	ld  [ %i5 + 0x360 ], %o0	! 201df60 <_Scheduler_CBS_Maximum_servers>
  if ( !_Scheduler_CBS_Server_list )                                  
    return SCHEDULER_CBS_ERROR_NO_MEMORY;                             
 2009ff4:	b0 10 3f ef 	mov  -17, %i0                                  
}                                                                     
                                                                      
int _Scheduler_CBS_Initialize(void)                                   
{                                                                     
  unsigned int i;                                                     
  _Scheduler_CBS_Server_list = (Scheduler_CBS_Server **) _Workspace_Allocate(
 2009ff8:	40 00 06 eb 	call  200bba4 <_Workspace_Allocate>            
 2009ffc:	91 2a 20 02 	sll  %o0, 2, %o0                               
 200a000:	05 00 80 7a 	sethi  %hi(0x201e800), %g2                     
      _Scheduler_CBS_Maximum_servers * sizeof(Scheduler_CBS_Server*) );
  if ( !_Scheduler_CBS_Server_list )                                  
 200a004:	80 a2 20 00 	cmp  %o0, 0                                    
 200a008:	02 80 00 0c 	be  200a038 <_Scheduler_CBS_Initialize+0x50>   <== NEVER TAKEN
 200a00c:	d0 20 a0 58 	st  %o0, [ %g2 + 0x58 ]                        
    return SCHEDULER_CBS_ERROR_NO_MEMORY;                             
  for (i = 0; i<_Scheduler_CBS_Maximum_servers; i++) {                
 200a010:	c6 07 63 60 	ld  [ %i5 + 0x360 ], %g3                       
 200a014:	10 80 00 05 	b  200a028 <_Scheduler_CBS_Initialize+0x40>    
 200a018:	82 10 20 00 	clr  %g1                                       
    _Scheduler_CBS_Server_list[i] = NULL;                             
 200a01c:	89 28 60 02 	sll  %g1, 2, %g4                               
  unsigned int i;                                                     
  _Scheduler_CBS_Server_list = (Scheduler_CBS_Server **) _Workspace_Allocate(
      _Scheduler_CBS_Maximum_servers * sizeof(Scheduler_CBS_Server*) );
  if ( !_Scheduler_CBS_Server_list )                                  
    return SCHEDULER_CBS_ERROR_NO_MEMORY;                             
  for (i = 0; i<_Scheduler_CBS_Maximum_servers; i++) {                
 200a020:	82 00 60 01 	inc  %g1                                       
    _Scheduler_CBS_Server_list[i] = NULL;                             
 200a024:	c0 27 40 04 	clr  [ %i5 + %g4 ]                             
  unsigned int i;                                                     
  _Scheduler_CBS_Server_list = (Scheduler_CBS_Server **) _Workspace_Allocate(
      _Scheduler_CBS_Maximum_servers * sizeof(Scheduler_CBS_Server*) );
  if ( !_Scheduler_CBS_Server_list )                                  
    return SCHEDULER_CBS_ERROR_NO_MEMORY;                             
  for (i = 0; i<_Scheduler_CBS_Maximum_servers; i++) {                
 200a028:	80 a0 40 03 	cmp  %g1, %g3                                  
 200a02c:	12 bf ff fc 	bne  200a01c <_Scheduler_CBS_Initialize+0x34>  
 200a030:	fa 00 a0 58 	ld  [ %g2 + 0x58 ], %i5                        
    _Scheduler_CBS_Server_list[i] = NULL;                             
  }                                                                   
  return SCHEDULER_CBS_OK;                                            
 200a034:	b0 10 20 00 	clr  %i0                                       
}                                                                     
 200a038:	81 c7 e0 08 	ret                                            
 200a03c:	81 e8 00 00 	restore                                        
                                                                      

02008b44 <_Scheduler_CBS_Release_job>: { Priority_Control new_priority; Scheduler_CBS_Per_thread *sched_info = (Scheduler_CBS_Per_thread *) the_thread->scheduler_info; Scheduler_CBS_Server *serv_info = (Scheduler_CBS_Server *) sched_info->cbs_server;
 2008b44:	c2 02 20 8c 	ld  [ %o0 + 0x8c ], %g1                        
                                                                      
  if (deadline) {                                                     
 2008b48:	80 a2 60 00 	cmp  %o1, 0                                    
 2008b4c:	02 80 00 10 	be  2008b8c <_Scheduler_CBS_Release_job+0x48>  
 2008b50:	c2 00 60 18 	ld  [ %g1 + 0x18 ], %g1                        
    /* Initializing or shifting deadline. */                          
    if (serv_info)                                                    
 2008b54:	80 a0 60 00 	cmp  %g1, 0                                    
 2008b58:	02 80 00 08 	be  2008b78 <_Scheduler_CBS_Release_job+0x34>  
 2008b5c:	05 00 80 74 	sethi  %hi(0x201d000), %g2                     
      new_priority = (_Watchdog_Ticks_since_boot + serv_info->parameters.deadline)
 2008b60:	d2 00 a0 3c 	ld  [ %g2 + 0x3c ], %o1	! 201d03c <_Watchdog_Ticks_since_boot>
 2008b64:	c4 00 60 04 	ld  [ %g1 + 4 ], %g2                           
 2008b68:	92 02 40 02 	add  %o1, %g2, %o1                             
 2008b6c:	05 20 00 00 	sethi  %hi(0x80000000), %g2                    
 2008b70:	10 80 00 0a 	b  2008b98 <_Scheduler_CBS_Release_job+0x54>   
 2008b74:	92 2a 40 02 	andn  %o1, %g2, %o1                            
        & ~SCHEDULER_EDF_PRIO_MSB;                                    
    else                                                              
      new_priority = (_Watchdog_Ticks_since_boot + deadline)          
 2008b78:	c2 00 a0 3c 	ld  [ %g2 + 0x3c ], %g1                        
 2008b7c:	92 02 40 01 	add  %o1, %g1, %o1                             
 2008b80:	03 20 00 00 	sethi  %hi(0x80000000), %g1                    
 2008b84:	10 80 00 07 	b  2008ba0 <_Scheduler_CBS_Release_job+0x5c>   
 2008b88:	92 2a 40 01 	andn  %o1, %g1, %o1                            
    /* Switch back to background priority. */                         
    new_priority = the_thread->Start.initial_priority;                
  }                                                                   
                                                                      
  /* Budget replenishment for the next job. */                        
  if (serv_info)                                                      
 2008b8c:	80 a0 60 00 	cmp  %g1, 0                                    
 2008b90:	02 80 00 04 	be  2008ba0 <_Scheduler_CBS_Release_job+0x5c>  <== NEVER TAKEN
 2008b94:	d2 02 20 b0 	ld  [ %o0 + 0xb0 ], %o1                        
    the_thread->cpu_time_budget = serv_info->parameters.budget;       
 2008b98:	c2 00 60 08 	ld  [ %g1 + 8 ], %g1                           
 2008b9c:	c2 22 20 78 	st  %g1, [ %o0 + 0x78 ]                        
                                                                      
  the_thread->real_priority = new_priority;                           
 2008ba0:	d2 22 20 18 	st  %o1, [ %o0 + 0x18 ]                        
  _Thread_Change_priority(the_thread, new_priority, true);            
 2008ba4:	94 10 20 01 	mov  1, %o2                                    
 2008ba8:	82 13 c0 00 	mov  %o7, %g1                                  
 2008bac:	40 00 01 36 	call  2009084 <_Thread_Change_priority>        
 2008bb0:	9e 10 40 00 	mov  %g1, %o7                                  
                                                                      

02008bb4 <_Scheduler_CBS_Unblock>: #include <rtems/score/schedulercbs.h> void _Scheduler_CBS_Unblock( Thread_Control *the_thread ) {
 2008bb4:	9d e3 bf a0 	save  %sp, -96, %sp                            
  Scheduler_CBS_Per_thread *sched_info;                               
  Scheduler_CBS_Server *serv_info;                                    
  Priority_Control new_priority;                                      
                                                                      
  _Scheduler_EDF_Enqueue(the_thread);                                 
 2008bb8:	40 00 00 57 	call  2008d14 <_Scheduler_EDF_Enqueue>         
 2008bbc:	90 10 00 18 	mov  %i0, %o0                                  
  /* TODO: flash critical section? */                                 
                                                                      
  sched_info = (Scheduler_CBS_Per_thread *) the_thread->scheduler_info;
  serv_info = (Scheduler_CBS_Server *) sched_info->cbs_server;        
 2008bc0:	c2 06 20 8c 	ld  [ %i0 + 0x8c ], %g1                        
 2008bc4:	fa 00 60 18 	ld  [ %g1 + 0x18 ], %i5                        
   * Late unblock rule for deadline-driven tasks. The remaining time to
   * deadline must be sufficient to serve the remaining computation time
   * without increased utilization of this task. It might cause a deadline
   * miss of another task.                                            
   */                                                                 
  if (serv_info) {                                                    
 2008bc8:	80 a7 60 00 	cmp  %i5, 0                                    
 2008bcc:	02 80 00 18 	be  2008c2c <_Scheduler_CBS_Unblock+0x78>      
 2008bd0:	03 00 80 74 	sethi  %hi(0x201d000), %g1                     
    time_t budget = serv_info->parameters.budget;                     
    time_t deadline_left = the_thread->cpu_time_budget;               
    time_t budget_left = the_thread->real_priority -                  
                           _Watchdog_Ticks_since_boot;                
                                                                      
    if ( deadline*budget_left > budget*deadline_left ) {              
 2008bd4:	d2 07 60 04 	ld  [ %i5 + 4 ], %o1                           
   */                                                                 
  if (serv_info) {                                                    
    time_t deadline = serv_info->parameters.deadline;                 
    time_t budget = serv_info->parameters.budget;                     
    time_t deadline_left = the_thread->cpu_time_budget;               
    time_t budget_left = the_thread->real_priority -                  
 2008bd8:	d0 00 60 3c 	ld  [ %g1 + 0x3c ], %o0                        
 2008bdc:	f8 06 20 18 	ld  [ %i0 + 0x18 ], %i4                        
                           _Watchdog_Ticks_since_boot;                
                                                                      
    if ( deadline*budget_left > budget*deadline_left ) {              
 2008be0:	40 00 3d 76 	call  20181b8 <.umul>                          
 2008be4:	90 27 00 08 	sub  %i4, %o0, %o0                             
 2008be8:	d2 06 20 78 	ld  [ %i0 + 0x78 ], %o1                        
 2008bec:	b6 10 00 08 	mov  %o0, %i3                                  
 2008bf0:	40 00 3d 72 	call  20181b8 <.umul>                          
 2008bf4:	d0 07 60 08 	ld  [ %i5 + 8 ], %o0                           
 2008bf8:	80 a6 c0 08 	cmp  %i3, %o0                                  
 2008bfc:	24 80 00 0d 	ble,a   2008c30 <_Scheduler_CBS_Unblock+0x7c>  
 2008c00:	3b 00 80 74 	sethi  %hi(0x201d000), %i5                     
      /* Put late unblocked task to background until the end of period. */
      new_priority = the_thread->Start.initial_priority;              
 2008c04:	d2 06 20 b0 	ld  [ %i0 + 0xb0 ], %o1                        
      if ( the_thread->real_priority != new_priority )                
 2008c08:	80 a7 00 09 	cmp  %i4, %o1                                  
 2008c0c:	32 80 00 02 	bne,a   2008c14 <_Scheduler_CBS_Unblock+0x60>  
 2008c10:	d2 26 20 18 	st  %o1, [ %i0 + 0x18 ]                        
        the_thread->real_priority = new_priority;                     
      if ( the_thread->current_priority != new_priority )             
 2008c14:	c2 06 20 14 	ld  [ %i0 + 0x14 ], %g1                        
 2008c18:	80 a0 40 09 	cmp  %g1, %o1                                  
 2008c1c:	02 80 00 04 	be  2008c2c <_Scheduler_CBS_Unblock+0x78>      
 2008c20:	90 10 00 18 	mov  %i0, %o0                                  
        _Thread_Change_priority(the_thread, new_priority, true);      
 2008c24:	40 00 01 18 	call  2009084 <_Thread_Change_priority>        
 2008c28:	94 10 20 01 	mov  1, %o2                                    
   *    a context switch.                                             
   *  Pseudo-ISR case:                                                
   *    Even if the thread isn't preemptible, if the new heir is      
   *    a pseudo-ISR system task, we need to do a context switch.     
   */                                                                 
  if ( _Scheduler_Is_priority_higher_than( the_thread->current_priority,
 2008c2c:	3b 00 80 74 	sethi  %hi(0x201d000), %i5                     
 2008c30:	ba 17 61 60 	or  %i5, 0x160, %i5	! 201d160 <_Per_CPU_Information>
 2008c34:	c4 07 60 10 	ld  [ %i5 + 0x10 ], %g2                        
 2008c38:	03 00 80 70 	sethi  %hi(0x201c000), %g1                     
 2008c3c:	d0 06 20 14 	ld  [ %i0 + 0x14 ], %o0                        
 2008c40:	c2 00 62 e4 	ld  [ %g1 + 0x2e4 ], %g1                       
 2008c44:	9f c0 40 00 	call  %g1                                      
 2008c48:	d2 00 a0 14 	ld  [ %g2 + 0x14 ], %o1                        
 2008c4c:	80 a2 20 00 	cmp  %o0, 0                                    
 2008c50:	04 80 00 0f 	ble  2008c8c <_Scheduler_CBS_Unblock+0xd8>     
 2008c54:	01 00 00 00 	nop                                            
       _Thread_Heir->current_priority)) {                             
    _Thread_Heir = the_thread;                                        
    if ( _Thread_Executing->is_preemptible ||                         
 2008c58:	c2 07 60 0c 	ld  [ %i5 + 0xc ], %g1                         
   *    Even if the thread isn't preemptible, if the new heir is      
   *    a pseudo-ISR system task, we need to do a context switch.     
   */                                                                 
  if ( _Scheduler_Is_priority_higher_than( the_thread->current_priority,
       _Thread_Heir->current_priority)) {                             
    _Thread_Heir = the_thread;                                        
 2008c5c:	f0 27 60 10 	st  %i0, [ %i5 + 0x10 ]                        
    if ( _Thread_Executing->is_preemptible ||                         
 2008c60:	c2 08 60 74 	ldub  [ %g1 + 0x74 ], %g1                      
 2008c64:	80 a0 60 00 	cmp  %g1, 0                                    
 2008c68:	12 80 00 06 	bne  2008c80 <_Scheduler_CBS_Unblock+0xcc>     <== ALWAYS TAKEN
 2008c6c:	84 10 20 01 	mov  1, %g2                                    
 2008c70:	c2 06 20 14 	ld  [ %i0 + 0x14 ], %g1                        <== NOT EXECUTED
 2008c74:	80 a0 60 00 	cmp  %g1, 0                                    <== NOT EXECUTED
 2008c78:	12 80 00 05 	bne  2008c8c <_Scheduler_CBS_Unblock+0xd8>     <== NOT EXECUTED
 2008c7c:	01 00 00 00 	nop                                            <== NOT EXECUTED
         the_thread->current_priority == 0 )                          
      _Thread_Dispatch_necessary = true;                              
 2008c80:	03 00 80 74 	sethi  %hi(0x201d000), %g1                     
 2008c84:	82 10 61 60 	or  %g1, 0x160, %g1	! 201d160 <_Per_CPU_Information>
 2008c88:	c4 28 60 18 	stb  %g2, [ %g1 + 0x18 ]                       
 2008c8c:	81 c7 e0 08 	ret                                            
 2008c90:	81 e8 00 00 	restore                                        
                                                                      

02008c94 <_Scheduler_EDF_Allocate>: #include <rtems/score/wkspace.h> void *_Scheduler_EDF_Allocate( Thread_Control *the_thread ) {
 2008c94:	9d e3 bf a0 	save  %sp, -96, %sp                            
  void *sched;                                                        
  Scheduler_EDF_Per_thread *schinfo;                                  
                                                                      
  sched = _Workspace_Allocate( sizeof(Scheduler_EDF_Per_thread) );    
 2008c98:	40 00 06 71 	call  200a65c <_Workspace_Allocate>            
 2008c9c:	90 10 20 18 	mov  0x18, %o0                                 
                                                                      
  if ( sched ) {                                                      
 2008ca0:	80 a2 20 00 	cmp  %o0, 0                                    
 2008ca4:	02 80 00 05 	be  2008cb8 <_Scheduler_EDF_Allocate+0x24>     <== NEVER TAKEN
 2008ca8:	82 10 20 02 	mov  2, %g1                                    
    the_thread->scheduler_info = sched;                               
 2008cac:	d0 26 20 8c 	st  %o0, [ %i0 + 0x8c ]                        
    schinfo = (Scheduler_EDF_Per_thread *)(the_thread->scheduler_info);
    schinfo->thread = the_thread;                                     
 2008cb0:	f0 22 00 00 	st  %i0, [ %o0 ]                               
    schinfo->queue_state = SCHEDULER_EDF_QUEUE_STATE_NEVER_HAS_BEEN;  
 2008cb4:	c2 22 20 14 	st  %g1, [ %o0 + 0x14 ]                        
  }                                                                   
                                                                      
  return sched;                                                       
}                                                                     
 2008cb8:	81 c7 e0 08 	ret                                            
 2008cbc:	91 e8 00 08 	restore  %g0, %o0, %o0                         
                                                                      

02008ccc <_Scheduler_EDF_Release_job>: uint32_t deadline ) { Priority_Control new_priority; if (deadline) {
 2008ccc:	80 a2 60 00 	cmp  %o1, 0                                    
 2008cd0:	22 80 00 07 	be,a   2008cec <_Scheduler_EDF_Release_job+0x20><== NEVER TAKEN
 2008cd4:	d2 02 20 b0 	ld  [ %o0 + 0xb0 ], %o1                        <== NOT EXECUTED
    /* Initializing or shifting deadline. */                          
    new_priority = (_Watchdog_Ticks_since_boot + deadline)            
 2008cd8:	03 00 80 73 	sethi  %hi(0x201cc00), %g1                     
 2008cdc:	c2 00 63 8c 	ld  [ %g1 + 0x38c ], %g1	! 201cf8c <_Watchdog_Ticks_since_boot>
 2008ce0:	92 02 40 01 	add  %o1, %g1, %o1                             
 2008ce4:	03 20 00 00 	sethi  %hi(0x80000000), %g1                    
 2008ce8:	92 2a 40 01 	andn  %o1, %g1, %o1                            
  else {                                                              
    /* Switch back to background priority. */                         
    new_priority = the_thread->Start.initial_priority;                
  }                                                                   
                                                                      
  the_thread->real_priority = new_priority;                           
 2008cec:	d2 22 20 18 	st  %o1, [ %o0 + 0x18 ]                        
  _Thread_Change_priority(the_thread, new_priority, true);            
 2008cf0:	94 10 20 01 	mov  1, %o2                                    
 2008cf4:	82 13 c0 00 	mov  %o7, %g1                                  
 2008cf8:	40 00 00 b9 	call  2008fdc <_Thread_Change_priority>        
 2008cfc:	9e 10 40 00 	mov  %g1, %o7                                  
                                                                      

02008d28 <_Scheduler_EDF_Unblock>: #include <rtems/score/scheduleredf.h> void _Scheduler_EDF_Unblock( Thread_Control *the_thread ) {
 2008d28:	9d e3 bf a0 	save  %sp, -96, %sp                            
  _Scheduler_EDF_Enqueue(the_thread);                                 
 2008d2c:	7f ff ff a6 	call  2008bc4 <_Scheduler_EDF_Enqueue>         
 2008d30:	90 10 00 18 	mov  %i0, %o0                                  
   *    a context switch.                                             
   *  Pseudo-ISR case:                                                
   *    Even if the thread isn't preemptible, if the new heir is      
   *    a pseudo-ISR system task, we need to do a context switch.     
   */                                                                 
  if ( _Scheduler_Is_priority_lower_than(                             
 2008d34:	3b 00 80 74 	sethi  %hi(0x201d000), %i5                     
 2008d38:	ba 17 60 b0 	or  %i5, 0xb0, %i5	! 201d0b0 <_Per_CPU_Information>
 2008d3c:	c4 07 60 10 	ld  [ %i5 + 0x10 ], %g2                        
 2008d40:	03 00 80 70 	sethi  %hi(0x201c000), %g1                     
 2008d44:	d0 00 a0 14 	ld  [ %g2 + 0x14 ], %o0                        
 2008d48:	c2 00 62 44 	ld  [ %g1 + 0x244 ], %g1                       
 2008d4c:	9f c0 40 00 	call  %g1                                      
 2008d50:	d2 06 20 14 	ld  [ %i0 + 0x14 ], %o1                        
 2008d54:	80 a2 20 00 	cmp  %o0, 0                                    
 2008d58:	16 80 00 0f 	bge  2008d94 <_Scheduler_EDF_Unblock+0x6c>     
 2008d5c:	01 00 00 00 	nop                                            
         _Thread_Heir->current_priority,                              
         the_thread->current_priority )) {                            
    _Thread_Heir = the_thread;                                        
    if ( _Thread_Executing->is_preemptible ||                         
 2008d60:	c2 07 60 0c 	ld  [ %i5 + 0xc ], %g1                         
   *    a pseudo-ISR system task, we need to do a context switch.     
   */                                                                 
  if ( _Scheduler_Is_priority_lower_than(                             
         _Thread_Heir->current_priority,                              
         the_thread->current_priority )) {                            
    _Thread_Heir = the_thread;                                        
 2008d64:	f0 27 60 10 	st  %i0, [ %i5 + 0x10 ]                        
    if ( _Thread_Executing->is_preemptible ||                         
 2008d68:	c2 08 60 74 	ldub  [ %g1 + 0x74 ], %g1                      
 2008d6c:	80 a0 60 00 	cmp  %g1, 0                                    
 2008d70:	12 80 00 06 	bne  2008d88 <_Scheduler_EDF_Unblock+0x60>     
 2008d74:	84 10 20 01 	mov  1, %g2                                    
 2008d78:	c2 06 20 14 	ld  [ %i0 + 0x14 ], %g1                        
 2008d7c:	80 a0 60 00 	cmp  %g1, 0                                    
 2008d80:	12 80 00 05 	bne  2008d94 <_Scheduler_EDF_Unblock+0x6c>     <== ALWAYS TAKEN
 2008d84:	01 00 00 00 	nop                                            
         the_thread->current_priority == 0 )                          
      _Thread_Dispatch_necessary = true;                              
 2008d88:	03 00 80 74 	sethi  %hi(0x201d000), %g1                     
 2008d8c:	82 10 60 b0 	or  %g1, 0xb0, %g1	! 201d0b0 <_Per_CPU_Information>
 2008d90:	c4 28 60 18 	stb  %g2, [ %g1 + 0x18 ]                       
 2008d94:	81 c7 e0 08 	ret                                            
 2008d98:	81 e8 00 00 	restore                                        
                                                                      

02007160 <_TOD_Validate>: */ bool _TOD_Validate( const rtems_time_of_day *the_tod ) {
 2007160:	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();                 
 2007164:	03 00 80 73 	sethi  %hi(0x201cc00), %g1                     
      (the_tod->hour   >= TOD_HOURS_PER_DAY)      ||                  
      (the_tod->month  == 0)                      ||                  
      (the_tod->month  >  TOD_MONTHS_PER_YEAR)    ||                  
      (the_tod->year   <  TOD_BASE_YEAR)          ||                  
      (the_tod->day    == 0) )                                        
     return false;                                                    
 2007168:	ba 10 20 00 	clr  %i5                                       
  uint32_t   days_in_month;                                           
  uint32_t   ticks_per_second;                                        
                                                                      
  ticks_per_second = TOD_MICROSECONDS_PER_SECOND /                    
	    rtems_configuration_get_microseconds_per_tick();                 
  if ((!the_tod)                                  ||                  
 200716c:	80 a6 20 00 	cmp  %i0, 0                                    
 2007170:	02 80 00 2b 	be  200721c <_TOD_Validate+0xbc>               <== NEVER TAKEN
 2007174:	d2 00 63 a8 	ld  [ %g1 + 0x3a8 ], %o1                       
)                                                                     
{                                                                     
  uint32_t   days_in_month;                                           
  uint32_t   ticks_per_second;                                        
                                                                      
  ticks_per_second = TOD_MICROSECONDS_PER_SECOND /                    
 2007178:	11 00 03 d0 	sethi  %hi(0xf4000), %o0                       
 200717c:	40 00 46 7f 	call  2018b78 <.udiv>                          
 2007180:	90 12 22 40 	or  %o0, 0x240, %o0	! f4240 <PROM_START+0xf4240>
	    rtems_configuration_get_microseconds_per_tick();                 
  if ((!the_tod)                                  ||                  
 2007184:	c2 06 20 18 	ld  [ %i0 + 0x18 ], %g1                        
 2007188:	80 a0 40 08 	cmp  %g1, %o0                                  
 200718c:	3a 80 00 25 	bcc,a   2007220 <_TOD_Validate+0xc0>           
 2007190:	b0 0f 60 01 	and  %i5, 1, %i0                               
      (the_tod->ticks  >= ticks_per_second)       ||                  
 2007194:	c2 06 20 14 	ld  [ %i0 + 0x14 ], %g1                        
 2007198:	80 a0 60 3b 	cmp  %g1, 0x3b                                 
 200719c:	38 80 00 21 	bgu,a   2007220 <_TOD_Validate+0xc0>           
 20071a0:	b0 0f 60 01 	and  %i5, 1, %i0                               
      (the_tod->second >= TOD_SECONDS_PER_MINUTE) ||                  
 20071a4:	c2 06 20 10 	ld  [ %i0 + 0x10 ], %g1                        
 20071a8:	80 a0 60 3b 	cmp  %g1, 0x3b                                 
 20071ac:	38 80 00 1d 	bgu,a   2007220 <_TOD_Validate+0xc0>           
 20071b0:	b0 0f 60 01 	and  %i5, 1, %i0                               
      (the_tod->minute >= TOD_MINUTES_PER_HOUR)   ||                  
 20071b4:	c2 06 20 0c 	ld  [ %i0 + 0xc ], %g1                         
 20071b8:	80 a0 60 17 	cmp  %g1, 0x17                                 
 20071bc:	38 80 00 19 	bgu,a   2007220 <_TOD_Validate+0xc0>           
 20071c0:	b0 0f 60 01 	and  %i5, 1, %i0                               
      (the_tod->hour   >= TOD_HOURS_PER_DAY)      ||                  
      (the_tod->month  == 0)                      ||                  
 20071c4:	c2 06 20 04 	ld  [ %i0 + 4 ], %g1                           
	    rtems_configuration_get_microseconds_per_tick();                 
  if ((!the_tod)                                  ||                  
      (the_tod->ticks  >= ticks_per_second)       ||                  
      (the_tod->second >= TOD_SECONDS_PER_MINUTE) ||                  
      (the_tod->minute >= TOD_MINUTES_PER_HOUR)   ||                  
      (the_tod->hour   >= TOD_HOURS_PER_DAY)      ||                  
 20071c8:	80 a0 60 00 	cmp  %g1, 0                                    
 20071cc:	02 80 00 14 	be  200721c <_TOD_Validate+0xbc>               <== NEVER TAKEN
 20071d0:	80 a0 60 0c 	cmp  %g1, 0xc                                  
      (the_tod->month  == 0)                      ||                  
 20071d4:	38 80 00 13 	bgu,a   2007220 <_TOD_Validate+0xc0>           
 20071d8:	b0 0f 60 01 	and  %i5, 1, %i0                               
      (the_tod->month  >  TOD_MONTHS_PER_YEAR)    ||                  
      (the_tod->year   <  TOD_BASE_YEAR)          ||                  
 20071dc:	c6 06 00 00 	ld  [ %i0 ], %g3                               
      (the_tod->ticks  >= ticks_per_second)       ||                  
      (the_tod->second >= TOD_SECONDS_PER_MINUTE) ||                  
      (the_tod->minute >= TOD_MINUTES_PER_HOUR)   ||                  
      (the_tod->hour   >= TOD_HOURS_PER_DAY)      ||                  
      (the_tod->month  == 0)                      ||                  
      (the_tod->month  >  TOD_MONTHS_PER_YEAR)    ||                  
 20071e0:	80 a0 e7 c3 	cmp  %g3, 0x7c3                                
 20071e4:	28 80 00 0f 	bleu,a   2007220 <_TOD_Validate+0xc0>          
 20071e8:	b0 0f 60 01 	and  %i5, 1, %i0                               
      (the_tod->year   <  TOD_BASE_YEAR)          ||                  
      (the_tod->day    == 0) )                                        
 20071ec:	c4 06 20 08 	ld  [ %i0 + 8 ], %g2                           
      (the_tod->second >= TOD_SECONDS_PER_MINUTE) ||                  
      (the_tod->minute >= TOD_MINUTES_PER_HOUR)   ||                  
      (the_tod->hour   >= TOD_HOURS_PER_DAY)      ||                  
      (the_tod->month  == 0)                      ||                  
      (the_tod->month  >  TOD_MONTHS_PER_YEAR)    ||                  
      (the_tod->year   <  TOD_BASE_YEAR)          ||                  
 20071f0:	80 a0 a0 00 	cmp  %g2, 0                                    
 20071f4:	02 80 00 0a 	be  200721c <_TOD_Validate+0xbc>               <== NEVER TAKEN
 20071f8:	80 88 e0 03 	btst  3, %g3                                   
 20071fc:	07 00 80 6f 	sethi  %hi(0x201bc00), %g3                     
      (the_tod->day    == 0) )                                        
     return false;                                                    
                                                                      
  if ( (the_tod->year % 4) == 0 )                                     
 2007200:	12 80 00 03 	bne  200720c <_TOD_Validate+0xac>              
 2007204:	86 10 e0 b8 	or  %g3, 0xb8, %g3	! 201bcb8 <_TOD_Days_per_month>
    days_in_month = _TOD_Days_per_month[ 1 ][ the_tod->month ];       
 2007208:	82 00 60 0d 	add  %g1, 0xd, %g1                             
  else                                                                
    days_in_month = _TOD_Days_per_month[ 0 ][ the_tod->month ];       
 200720c:	83 28 60 02 	sll  %g1, 2, %g1                               
 2007210:	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(                                                   
 2007214:	80 a0 40 02 	cmp  %g1, %g2                                  
 2007218:	ba 60 3f ff 	subx  %g0, -1, %i5                             
                                                                      
  if ( the_tod->day > days_in_month )                                 
    return false;                                                     
                                                                      
  return true;                                                        
}                                                                     
 200721c:	b0 0f 60 01 	and  %i5, 1, %i0                               
 2007220:	81 c7 e0 08 	ret                                            
 2007224:	81 e8 00 00 	restore                                        
                                                                      

020087ec <_Thread_Change_priority>: void _Thread_Change_priority( Thread_Control *the_thread, Priority_Control new_priority, bool prepend_it ) {
 20087ec:	9d e3 bf a0 	save  %sp, -96, %sp                            
  States_Control state, original_state;                               
                                                                      
  /*                                                                  
   * Save original state                                              
   */                                                                 
  original_state = the_thread->current_state;                         
 20087f0:	f8 06 20 10 	ld  [ %i0 + 0x10 ], %i4                        
  /*                                                                  
   * Set a transient state for the thread so it is pulled off the Ready chains.
   * This will prevent it from being scheduled no matter what happens in an
   * ISR.                                                             
   */                                                                 
  _Thread_Set_transient( the_thread );                                
 20087f4:	40 00 03 59 	call  2009558 <_Thread_Set_transient>          
 20087f8:	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 )                  
 20087fc:	c2 06 20 14 	ld  [ %i0 + 0x14 ], %g1                        
 2008800:	80 a0 40 19 	cmp  %g1, %i1                                  
 2008804:	02 80 00 05 	be  2008818 <_Thread_Change_priority+0x2c>     
 2008808:	ba 10 00 18 	mov  %i0, %i5                                  
    _Thread_Set_priority( the_thread, new_priority );                 
 200880c:	90 10 00 18 	mov  %i0, %o0                                  
 2008810:	40 00 03 39 	call  20094f4 <_Thread_Set_priority>           
 2008814:	92 10 00 19 	mov  %i1, %o1                                  
                                                                      
  _ISR_Disable( level );                                              
 2008818:	7f ff e6 59 	call  200217c <sparc_disable_interrupts>       
 200881c:	01 00 00 00 	nop                                            
 2008820:	b6 10 00 08 	mov  %o0, %i3                                  
                                                                      
  /*                                                                  
   *  If the thread has more than STATES_TRANSIENT set, then it is blocked,
   *  If it is blocked on a thread queue, then we need to requeue it. 
   */                                                                 
  state = the_thread->current_state;                                  
 2008824:	f2 07 60 10 	ld  [ %i5 + 0x10 ], %i1                        
  if ( state != STATES_TRANSIENT ) {                                  
 2008828:	80 a6 60 04 	cmp  %i1, 4                                    
 200882c:	02 80 00 10 	be  200886c <_Thread_Change_priority+0x80>     
 2008830:	b8 0f 20 04 	and  %i4, 4, %i4                               
    /* Only clear the transient state if it wasn't set already */     
    if ( ! _States_Is_transient( original_state ) )                   
 2008834:	80 a7 20 00 	cmp  %i4, 0                                    
 2008838:	12 80 00 03 	bne  2008844 <_Thread_Change_priority+0x58>    <== NEVER TAKEN
 200883c:	82 0e 7f fb 	and  %i1, -5, %g1                              
      the_thread->current_state = _States_Clear( STATES_TRANSIENT, state );
 2008840:	c2 27 60 10 	st  %g1, [ %i5 + 0x10 ]                        
    _ISR_Enable( level );                                             
 2008844:	7f ff e6 52 	call  200218c <sparc_enable_interrupts>        
 2008848:	90 10 00 1b 	mov  %i3, %o0                                  
    if ( _States_Is_waiting_on_thread_queue( state ) ) {              
 200884c:	03 00 00 ef 	sethi  %hi(0x3bc00), %g1                       
 2008850:	82 10 62 e0 	or  %g1, 0x2e0, %g1	! 3bee0 <PROM_START+0x3bee0>
 2008854:	80 8e 40 01 	btst  %i1, %g1                                 
 2008858:	02 80 00 29 	be  20088fc <_Thread_Change_priority+0x110>    
 200885c:	01 00 00 00 	nop                                            
      _Thread_queue_Requeue( the_thread->Wait.queue, the_thread );    
 2008860:	f0 07 60 44 	ld  [ %i5 + 0x44 ], %i0                        
 2008864:	40 00 02 f6 	call  200943c <_Thread_queue_Requeue>          
 2008868:	93 e8 00 1d 	restore  %g0, %i5, %o1                         
    }                                                                 
    return;                                                           
  }                                                                   
                                                                      
  /* Only clear the transient state if it wasn't set already */       
  if ( ! _States_Is_transient( original_state ) ) {                   
 200886c:	80 a7 20 00 	cmp  %i4, 0                                    
 2008870:	12 80 00 0b 	bne  200889c <_Thread_Change_priority+0xb0>    <== NEVER TAKEN
 2008874:	03 00 80 6a 	sethi  %hi(0x201a800), %g1                     
     *  Interrupts are STILL disabled.                                
     *  We now know the thread will be in the READY state when we remove
     *  the TRANSIENT state.  So we have to place it on the appropriate
     *  Ready Queue with interrupts off.                              
     */                                                               
    the_thread->current_state = _States_Clear( STATES_TRANSIENT, state );
 2008878:	c0 27 60 10 	clr  [ %i5 + 0x10 ]                            
                                                                      
    if ( prepend_it )                                                 
 200887c:	80 a6 a0 00 	cmp  %i2, 0                                    
 2008880:	02 80 00 04 	be  2008890 <_Thread_Change_priority+0xa4>     
 2008884:	82 10 61 14 	or  %g1, 0x114, %g1                            
 */                                                                   
RTEMS_INLINE_ROUTINE void _Scheduler_Enqueue_first(                   
  Thread_Control    *the_thread                                       
)                                                                     
{                                                                     
  _Scheduler.Operations.enqueue_first( the_thread );                  
 2008888:	10 80 00 03 	b  2008894 <_Thread_Change_priority+0xa8>      
 200888c:	c2 00 60 28 	ld  [ %g1 + 0x28 ], %g1                        
 */                                                                   
RTEMS_INLINE_ROUTINE void _Scheduler_Enqueue(                         
  Thread_Control    *the_thread                                       
)                                                                     
{                                                                     
  _Scheduler.Operations.enqueue( the_thread );                        
 2008890:	c2 00 60 24 	ld  [ %g1 + 0x24 ], %g1                        
 2008894:	9f c0 40 00 	call  %g1                                      
 2008898:	90 10 00 1d 	mov  %i5, %o0                                  
      _Scheduler_Enqueue_first( the_thread );                         
    else                                                              
      _Scheduler_Enqueue( the_thread );                               
  }                                                                   
                                                                      
  _ISR_Flash( level );                                                
 200889c:	7f ff e6 3c 	call  200218c <sparc_enable_interrupts>        
 20088a0:	90 10 00 1b 	mov  %i3, %o0                                  
 20088a4:	7f ff e6 36 	call  200217c <sparc_disable_interrupts>       
 20088a8:	01 00 00 00 	nop                                            
 20088ac:	b0 10 00 08 	mov  %o0, %i0                                  
 *  This kernel routine implements the scheduling decision logic for  
 *  the scheduler. It does NOT dispatch.                              
 */                                                                   
RTEMS_INLINE_ROUTINE void _Scheduler_Schedule( void )                 
{                                                                     
  _Scheduler.Operations.schedule();                                   
 20088b0:	03 00 80 6a 	sethi  %hi(0x201a800), %g1                     
 20088b4:	c2 00 61 1c 	ld  [ %g1 + 0x11c ], %g1	! 201a91c <_Scheduler+0x8>
 20088b8:	9f c0 40 00 	call  %g1                                      
 20088bc:	01 00 00 00 	nop                                            
 *  is also the heir thread, and false otherwise.                     
 */                                                                   
                                                                      
RTEMS_INLINE_ROUTINE bool _Thread_Is_executing_also_the_heir( void )  
{                                                                     
  return ( _Thread_Executing == _Thread_Heir );                       
 20088c0:	03 00 80 6d 	sethi  %hi(0x201b400), %g1                     
 20088c4:	82 10 63 50 	or  %g1, 0x350, %g1	! 201b750 <_Per_CPU_Information>
 20088c8:	c4 00 60 0c 	ld  [ %g1 + 0xc ], %g2                         
   *  We altered the set of thread priorities.  So let's figure out   
   *  who is the heir and if we need to switch to them.               
   */                                                                 
  _Scheduler_Schedule();                                              
                                                                      
  if ( !_Thread_Is_executing_also_the_heir() &&                       
 20088cc:	c6 00 60 10 	ld  [ %g1 + 0x10 ], %g3                        
 20088d0:	80 a0 80 03 	cmp  %g2, %g3                                  
 20088d4:	02 80 00 08 	be  20088f4 <_Thread_Change_priority+0x108>    
 20088d8:	01 00 00 00 	nop                                            
 20088dc:	c4 08 a0 74 	ldub  [ %g2 + 0x74 ], %g2                      
 20088e0:	80 a0 a0 00 	cmp  %g2, 0                                    
 20088e4:	02 80 00 04 	be  20088f4 <_Thread_Change_priority+0x108>    
 20088e8:	01 00 00 00 	nop                                            
       _Thread_Executing->is_preemptible )                            
    _Thread_Dispatch_necessary = true;                                
 20088ec:	84 10 20 01 	mov  1, %g2	! 1 <PROM_START+0x1>               
 20088f0:	c4 28 60 18 	stb  %g2, [ %g1 + 0x18 ]                       
  _ISR_Enable( level );                                               
 20088f4:	7f ff e6 26 	call  200218c <sparc_enable_interrupts>        
 20088f8:	81 e8 00 00 	restore                                        
 20088fc:	81 c7 e0 08 	ret                                            
 2008900:	81 e8 00 00 	restore                                        
                                                                      

02008af0 <_Thread_Delay_ended>: void _Thread_Delay_ended( Objects_Id id, void *ignored __attribute__((unused)) ) {
 2008af0:	9d e3 bf 98 	save  %sp, -104, %sp                           
  Thread_Control    *the_thread;                                      
  Objects_Locations  location;                                        
                                                                      
  the_thread = _Thread_Get( id, &location );                          
 2008af4:	90 10 00 18 	mov  %i0, %o0                                  
 2008af8:	40 00 00 71 	call  2008cbc <_Thread_Get>                    
 2008afc:	92 07 bf fc 	add  %fp, -4, %o1                              
  switch ( location ) {                                               
 2008b00:	c2 07 bf fc 	ld  [ %fp + -4 ], %g1                          
 2008b04:	80 a0 60 00 	cmp  %g1, 0                                    
 2008b08:	12 80 00 09 	bne  2008b2c <_Thread_Delay_ended+0x3c>        <== NEVER TAKEN
 2008b0c:	13 04 00 00 	sethi  %hi(0x10000000), %o1                    
#if defined(RTEMS_MULTIPROCESSING)                                    
    case OBJECTS_REMOTE:  /* impossible */                            
#endif                                                                
      break;                                                          
    case OBJECTS_LOCAL:                                               
      _Thread_Clear_state(                                            
 2008b10:	7f ff ff 7d 	call  2008904 <_Thread_Clear_state>            
 2008b14:	92 12 60 18 	or  %o1, 0x18, %o1	! 10000018 <RAM_END+0xdc00018>
   *                                                                  
   * This routine decrements the thread dispatch level.               
   */                                                                 
  RTEMS_INLINE_ROUTINE uint32_t _Thread_Dispatch_decrement_disable_level(void)
  {                                                                   
    _Thread_Dispatch_disable_level--;                                 
 2008b18:	03 00 80 6d 	sethi  %hi(0x201b400), %g1                     
 2008b1c:	c4 00 61 20 	ld  [ %g1 + 0x120 ], %g2	! 201b520 <_Thread_Dispatch_disable_level>
 2008b20:	84 00 bf ff 	add  %g2, -1, %g2                              
 2008b24:	c4 20 61 20 	st  %g2, [ %g1 + 0x120 ]                       
    return _Thread_Dispatch_disable_level;                            
 2008b28:	c2 00 61 20 	ld  [ %g1 + 0x120 ], %g1                       
 2008b2c:	81 c7 e0 08 	ret                                            
 2008b30:	81 e8 00 00 	restore                                        
                                                                      

02008b34 <_Thread_Dispatch>: * INTERRUPT LATENCY: * dispatch thread * no dispatch thread */ void _Thread_Dispatch( void ) {
 2008b34:	9d e3 bf 90 	save  %sp, -112, %sp                           
   *                                                                  
   * This rountine increments the thread dispatch level               
   */                                                                 
  RTEMS_INLINE_ROUTINE uint32_t _Thread_Dispatch_increment_disable_level(void)
  {                                                                   
    _Thread_Dispatch_disable_level++;                                 
 2008b38:	03 00 80 6d 	sethi  %hi(0x201b400), %g1                     
 2008b3c:	c4 00 61 20 	ld  [ %g1 + 0x120 ], %g2	! 201b520 <_Thread_Dispatch_disable_level>
 2008b40:	84 00 a0 01 	inc  %g2                                       
 2008b44:	c4 20 61 20 	st  %g2, [ %g1 + 0x120 ]                       
    return _Thread_Dispatch_disable_level;                            
 2008b48:	c2 00 61 20 	ld  [ %g1 + 0x120 ], %g1                       
  #endif                                                              
                                                                      
  /*                                                                  
   *  Now determine if we need to perform a dispatch on the current CPU.
   */                                                                 
  executing   = _Thread_Executing;                                    
 2008b4c:	33 00 80 6d 	sethi  %hi(0x201b400), %i1                     
 2008b50:	b4 16 63 50 	or  %i1, 0x350, %i2	! 201b750 <_Per_CPU_Information>
  _ISR_Disable( level );                                              
 2008b54:	7f ff e5 8a 	call  200217c <sparc_disable_interrupts>       
 2008b58:	fa 06 a0 0c 	ld  [ %i2 + 0xc ], %i5                         
#if __RTEMS_ADA__                                                     
    executing->rtems_ada_self = rtems_ada_self;                       
    rtems_ada_self = heir->rtems_ada_self;                            
#endif                                                                
    if ( heir->budget_algorithm == THREAD_CPU_BUDGET_ALGORITHM_RESET_TIMESLICE )
      heir->cpu_time_budget = _Thread_Ticks_per_timeslice;            
 2008b5c:	21 00 80 6d 	sethi  %hi(0x201b400), %l0                     
                                                                      
    #ifndef __RTEMS_USE_TICKS_FOR_STATISTICS__                        
      {                                                               
        Timestamp_Control uptime, ran;                                
        _TOD_Get_uptime( &uptime );                                   
        _Timestamp_Subtract(                                          
 2008b60:	b4 06 a0 1c 	add  %i2, 0x1c, %i2                            
    #endif                                                            
                                                                      
    /*                                                                
     * Switch libc's task specific data.                              
     */                                                               
    if ( _Thread_libc_reent ) {                                       
 2008b64:	31 00 80 6d 	sethi  %hi(0x201b400), %i0                     
  /*                                                                  
   *  Now determine if we need to perform a dispatch on the current CPU.
   */                                                                 
  executing   = _Thread_Executing;                                    
  _ISR_Disable( level );                                              
  while ( _Thread_Dispatch_necessary == true ) {                      
 2008b68:	10 80 00 38 	b  2008c48 <_Thread_Dispatch+0x114>            
 2008b6c:	37 00 80 6d 	sethi  %hi(0x201b400), %i3                     
                                                                      
    heir = _Thread_Heir;                                              
    _Thread_Dispatch_necessary = false;                               
 2008b70:	c0 28 60 18 	clrb  [ %g1 + 0x18 ]                           
    /*                                                                
     *  When the heir and executing are the same, then we are being   
     *  requested to do the post switch dispatching.  This is normally
     *  done to dispatch signals.                                     
     */                                                               
    if ( heir == executing )                                          
 2008b74:	80 a7 00 1d 	cmp  %i4, %i5                                  
 2008b78:	02 80 00 39 	be  2008c5c <_Thread_Dispatch+0x128>           
 2008b7c:	f8 20 60 0c 	st  %i4, [ %g1 + 0xc ]                         
     */                                                               
#if __RTEMS_ADA__                                                     
    executing->rtems_ada_self = rtems_ada_self;                       
    rtems_ada_self = heir->rtems_ada_self;                            
#endif                                                                
    if ( heir->budget_algorithm == THREAD_CPU_BUDGET_ALGORITHM_RESET_TIMESLICE )
 2008b80:	c2 07 20 7c 	ld  [ %i4 + 0x7c ], %g1                        
 2008b84:	80 a0 60 01 	cmp  %g1, 1                                    
 2008b88:	12 80 00 03 	bne  2008b94 <_Thread_Dispatch+0x60>           
 2008b8c:	c2 04 20 84 	ld  [ %l0 + 0x84 ], %g1                        
      heir->cpu_time_budget = _Thread_Ticks_per_timeslice;            
 2008b90:	c2 27 20 78 	st  %g1, [ %i4 + 0x78 ]                        
                                                                      
    _ISR_Enable( level );                                             
 2008b94:	7f ff e5 7e 	call  200218c <sparc_enable_interrupts>        
 2008b98:	01 00 00 00 	nop                                            
                                                                      
    #ifndef __RTEMS_USE_TICKS_FOR_STATISTICS__                        
      {                                                               
        Timestamp_Control uptime, ran;                                
        _TOD_Get_uptime( &uptime );                                   
 2008b9c:	40 00 0c c4 	call  200beac <_TOD_Get_uptime>                
 2008ba0:	90 07 bf f0 	add  %fp, -16, %o0                             
        _Timestamp_Subtract(                                          
 2008ba4:	90 10 00 1a 	mov  %i2, %o0                                  
 2008ba8:	92 07 bf f0 	add  %fp, -16, %o1                             
 2008bac:	40 00 02 de 	call  2009724 <_Timespec_Subtract>             
 2008bb0:	94 07 bf f8 	add  %fp, -8, %o2                              
          &_Thread_Time_of_last_context_switch,                       
          &uptime,                                                    
          &ran                                                        
        );                                                            
        _Timestamp_Add_to( &executing->cpu_time_used, &ran );         
 2008bb4:	90 07 60 84 	add  %i5, 0x84, %o0                            
 2008bb8:	40 00 02 c2 	call  20096c0 <_Timespec_Add_to>               
 2008bbc:	92 07 bf f8 	add  %fp, -8, %o1                              
        _Thread_Time_of_last_context_switch = uptime;                 
 2008bc0:	c4 07 bf f0 	ld  [ %fp + -16 ], %g2                         
    #endif                                                            
                                                                      
    /*                                                                
     * Switch libc's task specific data.                              
     */                                                               
    if ( _Thread_libc_reent ) {                                       
 2008bc4:	c2 06 21 a8 	ld  [ %i0 + 0x1a8 ], %g1                       
          &_Thread_Time_of_last_context_switch,                       
          &uptime,                                                    
          &ran                                                        
        );                                                            
        _Timestamp_Add_to( &executing->cpu_time_used, &ran );         
        _Thread_Time_of_last_context_switch = uptime;                 
 2008bc8:	c4 26 80 00 	st  %g2, [ %i2 ]                               
 2008bcc:	c4 07 bf f4 	ld  [ %fp + -12 ], %g2                         
    #endif                                                            
                                                                      
    /*                                                                
     * Switch libc's task specific data.                              
     */                                                               
    if ( _Thread_libc_reent ) {                                       
 2008bd0:	80 a0 60 00 	cmp  %g1, 0                                    
 2008bd4:	02 80 00 06 	be  2008bec <_Thread_Dispatch+0xb8>            <== NEVER TAKEN
 2008bd8:	c4 26 a0 04 	st  %g2, [ %i2 + 4 ]                           
      executing->libc_reent = *_Thread_libc_reent;                    
 2008bdc:	c4 00 40 00 	ld  [ %g1 ], %g2                               
 2008be0:	c4 27 61 54 	st  %g2, [ %i5 + 0x154 ]                       
      *_Thread_libc_reent = heir->libc_reent;                         
 2008be4:	c4 07 21 54 	ld  [ %i4 + 0x154 ], %g2                       
 2008be8:	c4 20 40 00 	st  %g2, [ %g1 ]                               
    }                                                                 
                                                                      
    _User_extensions_Thread_switch( executing, heir );                
 2008bec:	90 10 00 1d 	mov  %i5, %o0                                  
 2008bf0:	40 00 03 7b 	call  20099dc <_User_extensions_Thread_switch> 
 2008bf4:	92 10 00 1c 	mov  %i4, %o1                                  
    if ( executing->fp_context != NULL )                              
      _Context_Save_fp( &executing->fp_context );                     
#endif                                                                
#endif                                                                
                                                                      
    _Context_Switch( &executing->Registers, &heir->Registers );       
 2008bf8:	90 07 60 c8 	add  %i5, 0xc8, %o0                            
 2008bfc:	40 00 04 a1 	call  2009e80 <_CPU_Context_switch>            
 2008c00:	92 07 20 c8 	add  %i4, 0xc8, %o1                            
                                                                      
#if ( CPU_HARDWARE_FP == TRUE ) || ( CPU_SOFTWARE_FP == TRUE )        
#if ( CPU_USE_DEFERRED_FP_SWITCH == TRUE )                            
    if ( (executing->fp_context != NULL) &&                           
 2008c04:	c2 07 61 50 	ld  [ %i5 + 0x150 ], %g1                       
 2008c08:	80 a0 60 00 	cmp  %g1, 0                                    
 2008c0c:	02 80 00 0c 	be  2008c3c <_Thread_Dispatch+0x108>           
 2008c10:	d0 06 e1 a4 	ld  [ %i3 + 0x1a4 ], %o0                       
 2008c14:	80 a7 40 08 	cmp  %i5, %o0                                  
 2008c18:	02 80 00 09 	be  2008c3c <_Thread_Dispatch+0x108>           
 2008c1c:	80 a2 20 00 	cmp  %o0, 0                                    
         !_Thread_Is_allocated_fp( executing ) ) {                    
      if ( _Thread_Allocated_fp != NULL )                             
 2008c20:	02 80 00 04 	be  2008c30 <_Thread_Dispatch+0xfc>            
 2008c24:	01 00 00 00 	nop                                            
        _Context_Save_fp( &_Thread_Allocated_fp->fp_context );        
 2008c28:	40 00 04 5c 	call  2009d98 <_CPU_Context_save_fp>           
 2008c2c:	90 02 21 50 	add  %o0, 0x150, %o0                           
      _Context_Restore_fp( &executing->fp_context );                  
 2008c30:	40 00 04 77 	call  2009e0c <_CPU_Context_restore_fp>        
 2008c34:	90 07 61 50 	add  %i5, 0x150, %o0                           
      _Thread_Allocated_fp = executing;                               
 2008c38:	fa 26 e1 a4 	st  %i5, [ %i3 + 0x1a4 ]                       
    if ( executing->fp_context != NULL )                              
      _Context_Restore_fp( &executing->fp_context );                  
#endif                                                                
#endif                                                                
                                                                      
    executing = _Thread_Executing;                                    
 2008c3c:	82 16 63 50 	or  %i1, 0x350, %g1                            
                                                                      
    _ISR_Disable( level );                                            
 2008c40:	7f ff e5 4f 	call  200217c <sparc_disable_interrupts>       
 2008c44:	fa 00 60 0c 	ld  [ %g1 + 0xc ], %i5                         
  /*                                                                  
   *  Now determine if we need to perform a dispatch on the current CPU.
   */                                                                 
  executing   = _Thread_Executing;                                    
  _ISR_Disable( level );                                              
  while ( _Thread_Dispatch_necessary == true ) {                      
 2008c48:	82 16 63 50 	or  %i1, 0x350, %g1                            
 2008c4c:	c4 08 60 18 	ldub  [ %g1 + 0x18 ], %g2                      
 2008c50:	80 a0 a0 00 	cmp  %g2, 0                                    
 2008c54:	32 bf ff c7 	bne,a   2008b70 <_Thread_Dispatch+0x3c>        
 2008c58:	f8 00 60 10 	ld  [ %g1 + 0x10 ], %i4                        
    _ISR_Disable( level );                                            
  }                                                                   
                                                                      
post_switch:                                                          
                                                                      
  _ISR_Enable( level );                                               
 2008c5c:	7f ff e5 4c 	call  200218c <sparc_enable_interrupts>        
 2008c60:	01 00 00 00 	nop                                            
   *                                                                  
   * This routine decrements the thread dispatch level.               
   */                                                                 
  RTEMS_INLINE_ROUTINE uint32_t _Thread_Dispatch_decrement_disable_level(void)
  {                                                                   
    _Thread_Dispatch_disable_level--;                                 
 2008c64:	03 00 80 6d 	sethi  %hi(0x201b400), %g1                     
 2008c68:	c4 00 61 20 	ld  [ %g1 + 0x120 ], %g2	! 201b520 <_Thread_Dispatch_disable_level>
 2008c6c:	84 00 bf ff 	add  %g2, -1, %g2                              
 2008c70:	c4 20 61 20 	st  %g2, [ %g1 + 0x120 ]                       
    return _Thread_Dispatch_disable_level;                            
 2008c74:	c2 00 61 20 	ld  [ %g1 + 0x120 ], %g1                       
                                                                      
  _Thread_Unnest_dispatch();                                          
                                                                      
  _API_extensions_Run_postswitch();                                   
 2008c78:	7f ff f8 40 	call  2006d78 <_API_extensions_Run_postswitch> 
 2008c7c:	01 00 00 00 	nop                                            
}                                                                     
 2008c80:	81 c7 e0 08 	ret                                            
 2008c84:	81 e8 00 00 	restore                                        
                                                                      

0200db30 <_Thread_Handler>: * Input parameters: NONE * * Output parameters: NONE */ void _Thread_Handler( void ) {
 200db30:	9d e3 bf a0 	save  %sp, -96, %sp                            
  #if defined(EXECUTE_GLOBAL_CONSTRUCTORS)                            
    static bool doneConstructors;                                     
    bool doCons;                                                      
  #endif                                                              
                                                                      
  executing = _Thread_Executing;                                      
 200db34:	03 00 80 6d 	sethi  %hi(0x201b400), %g1                     
 200db38:	fa 00 63 5c 	ld  [ %g1 + 0x35c ], %i5	! 201b75c <_Per_CPU_Information+0xc>
  /*                                                                  
   * Some CPUs need to tinker with the call frame or registers when the
   * thread actually begins to execute for the first time.  This is a 
   * hook point where the port gets a shot at doing whatever it requires.
   */                                                                 
  _Context_Initialization_at_thread_begin();                          
 200db3c:	3f 00 80 36 	sethi  %hi(0x200d800), %i7                     
 200db40:	be 17 e3 30 	or  %i7, 0x330, %i7	! 200db30 <_Thread_Handler>
                                                                      
  /*                                                                  
   * have to put level into a register for those cpu's that use       
   * inline asm here                                                  
   */                                                                 
  level = executing->Start.isr_level;                                 
 200db44:	d0 07 60 ac 	ld  [ %i5 + 0xac ], %o0                        
  _ISR_Set_level(level);                                              
 200db48:	7f ff d1 91 	call  200218c <sparc_enable_interrupts>        
 200db4c:	91 2a 20 08 	sll  %o0, 8, %o0                               
      doCons = !doneConstructors                                      
        && _Objects_Get_API( executing->Object.id ) != OBJECTS_INTERNAL_API;
      if (doCons)                                                     
        doneConstructors = true;                                      
    #else                                                             
      doCons = !doneConstructors;                                     
 200db50:	03 00 80 6c 	sethi  %hi(0x201b000), %g1                     
      doneConstructors = true;                                        
 200db54:	84 10 20 01 	mov  1, %g2                                    
      doCons = !doneConstructors                                      
        && _Objects_Get_API( executing->Object.id ) != OBJECTS_INTERNAL_API;
      if (doCons)                                                     
        doneConstructors = true;                                      
    #else                                                             
      doCons = !doneConstructors;                                     
 200db58:	f8 08 61 e0 	ldub  [ %g1 + 0x1e0 ], %i4                     
      doneConstructors = true;                                        
 200db5c:	c4 28 61 e0 	stb  %g2, [ %g1 + 0x1e0 ]                      
    #endif                                                            
  #endif                                                              
                                                                      
  #if ( CPU_HARDWARE_FP == TRUE ) || ( CPU_SOFTWARE_FP == TRUE )      
    #if ( CPU_USE_DEFERRED_FP_SWITCH == TRUE )                        
      if ( (executing->fp_context != NULL) &&                         
 200db60:	c2 07 61 50 	ld  [ %i5 + 0x150 ], %g1                       
 200db64:	80 a0 60 00 	cmp  %g1, 0                                    
 200db68:	02 80 00 0c 	be  200db98 <_Thread_Handler+0x68>             
 200db6c:	03 00 80 6d 	sethi  %hi(0x201b400), %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 );                      
 200db70:	d0 00 61 a4 	ld  [ %g1 + 0x1a4 ], %o0	! 201b5a4 <_Thread_Allocated_fp>
 200db74:	80 a7 40 08 	cmp  %i5, %o0                                  
 200db78:	02 80 00 08 	be  200db98 <_Thread_Handler+0x68>             
 200db7c:	80 a2 20 00 	cmp  %o0, 0                                    
            !_Thread_Is_allocated_fp( executing ) ) {                 
        if ( _Thread_Allocated_fp != NULL )                           
 200db80:	22 80 00 06 	be,a   200db98 <_Thread_Handler+0x68>          
 200db84:	fa 20 61 a4 	st  %i5, [ %g1 + 0x1a4 ]                       
          _Context_Save_fp( &_Thread_Allocated_fp->fp_context );      
 200db88:	7f ff f0 84 	call  2009d98 <_CPU_Context_save_fp>           
 200db8c:	90 02 21 50 	add  %o0, 0x150, %o0                           
        _Thread_Allocated_fp = executing;                             
 200db90:	03 00 80 6d 	sethi  %hi(0x201b400), %g1                     
 200db94:	fa 20 61 a4 	st  %i5, [ %g1 + 0x1a4 ]	! 201b5a4 <_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 );                         
 200db98:	7f ff ef 22 	call  2009820 <_User_extensions_Thread_begin>  
 200db9c:	90 10 00 1d 	mov  %i5, %o0                                  
                                                                      
  /*                                                                  
   *  At this point, the dispatch disable level BETTER be 1.          
   */                                                                 
  _Thread_Enable_dispatch();                                          
 200dba0:	7f ff ec 3a 	call  2008c88 <_Thread_Enable_dispatch>        
 200dba4:	01 00 00 00 	nop                                            
    /*                                                                
     *  _init could be a weak symbol and we SHOULD test it but it isn't
     *  in any configuration I know of and it generates a warning on every
     *  RTEMS target configuration.  --joel (12 May 2007)             
     */                                                               
    if (doCons) /* && (volatile void *)_init) */ {                    
 200dba8:	80 8f 20 ff 	btst  0xff, %i4                                
 200dbac:	32 80 00 05 	bne,a   200dbc0 <_Thread_Handler+0x90>         
 200dbb0:	c2 07 60 94 	ld  [ %i5 + 0x94 ], %g1                        
      INIT_NAME ();                                                   
 200dbb4:	40 00 33 0d 	call  201a7e8 <_init>                          
 200dbb8:	01 00 00 00 	nop                                            
        _Thread_Enable_dispatch();                                    
      #endif                                                          
    }                                                                 
 #endif                                                               
                                                                      
  if ( executing->Start.prototype == THREAD_START_NUMERIC ) {         
 200dbbc:	c2 07 60 94 	ld  [ %i5 + 0x94 ], %g1                        
 200dbc0:	80 a0 60 00 	cmp  %g1, 0                                    
 200dbc4:	12 80 00 06 	bne  200dbdc <_Thread_Handler+0xac>            <== NEVER TAKEN
 200dbc8:	01 00 00 00 	nop                                            
    executing->Wait.return_argument =                                 
      (*(Thread_Entry_numeric) executing->Start.entry_point)(         
 200dbcc:	c2 07 60 90 	ld  [ %i5 + 0x90 ], %g1                        
 200dbd0:	9f c0 40 00 	call  %g1                                      
 200dbd4:	d0 07 60 9c 	ld  [ %i5 + 0x9c ], %o0                        
      #endif                                                          
    }                                                                 
 #endif                                                               
                                                                      
  if ( executing->Start.prototype == THREAD_START_NUMERIC ) {         
    executing->Wait.return_argument =                                 
 200dbd8:	d0 27 60 28 	st  %o0, [ %i5 + 0x28 ]                        
   *  was placed in return_argument.  This assumed that if it returned
   *  anything (which is not supporting in all APIs), then it would be
   *  able to fit in a (void *).                                      
   */                                                                 
                                                                      
  _User_extensions_Thread_exitted( executing );                       
 200dbdc:	7f ff ef 22 	call  2009864 <_User_extensions_Thread_exitted>
 200dbe0:	90 10 00 1d 	mov  %i5, %o0                                  
                                                                      
  _Internal_error_Occurred(                                           
 200dbe4:	90 10 20 00 	clr  %o0                                       
 200dbe8:	92 10 20 01 	mov  1, %o1                                    
 200dbec:	7f ff e7 0c 	call  200781c <_Internal_error_Occurred>       
 200dbf0:	94 10 20 05 	mov  5, %o2                                    
                                                                      

02008d6c <_Thread_Initialize>: Thread_CPU_budget_algorithms budget_algorithm, Thread_CPU_budget_algorithm_callout budget_callout, uint32_t isr_level, Objects_Name name ) {
 2008d6c:	9d e3 bf a0 	save  %sp, -96, %sp                            
 2008d70:	c2 07 a0 6c 	ld  [ %fp + 0x6c ], %g1                        
 2008d74:	f4 0f a0 5f 	ldub  [ %fp + 0x5f ], %i2                      
 2008d78:	e0 00 40 00 	ld  [ %g1 ], %l0                               
                                                                      
  /*                                                                  
   *  Zero out all the allocated memory fields                        
   */                                                                 
  for ( i=0 ; i <= THREAD_API_LAST ; i++ )                            
    the_thread->API_Extensions[i] = NULL;                             
 2008d7c:	c0 26 61 58 	clr  [ %i1 + 0x158 ]                           
 2008d80:	c0 26 61 5c 	clr  [ %i1 + 0x15c ]                           
                                                                      
  extensions_area = NULL;                                             
  the_thread->libc_reent = NULL;                                      
 2008d84:	c0 26 61 54 	clr  [ %i1 + 0x154 ]                           
                                                                      
  /*                                                                  
   *  Allocate and Initialize the stack for this thread.              
   */                                                                 
  #if !defined(RTEMS_SCORE_THREAD_ENABLE_USER_PROVIDED_STACK_VIA_API) 
    actual_stack_size = _Thread_Stack_Allocate( the_thread, stack_size );
 2008d88:	90 10 00 19 	mov  %i1, %o0                                  
 2008d8c:	40 00 02 02 	call  2009594 <_Thread_Stack_Allocate>         
 2008d90:	92 10 00 1b 	mov  %i3, %o1                                  
    if ( !actual_stack_size || actual_stack_size < stack_size )       
 2008d94:	80 a2 00 1b 	cmp  %o0, %i3                                  
 2008d98:	0a 80 00 61 	bcs  2008f1c <_Thread_Initialize+0x1b0>        
 2008d9c:	80 a2 20 00 	cmp  %o0, 0                                    
 2008da0:	02 80 00 5f 	be  2008f1c <_Thread_Initialize+0x1b0>         <== NEVER TAKEN
 2008da4:	80 a7 20 00 	cmp  %i4, 0                                    
  Stack_Control *the_stack,                                           
  void          *starting_address,                                    
  size_t         size                                                 
)                                                                     
{                                                                     
  the_stack->area = starting_address;                                 
 2008da8:	c2 06 60 c0 	ld  [ %i1 + 0xc0 ], %g1                        
  the_stack->size = size;                                             
 2008dac:	d0 26 60 b4 	st  %o0, [ %i1 + 0xb4 ]                        
  Stack_Control *the_stack,                                           
  void          *starting_address,                                    
  size_t         size                                                 
)                                                                     
{                                                                     
  the_stack->area = starting_address;                                 
 2008db0:	c2 26 60 b8 	st  %g1, [ %i1 + 0xb8 ]                        
                                                                      
  /*                                                                  
   *  Allocate the floating point area for this thread                
   */                                                                 
  #if ( CPU_HARDWARE_FP == TRUE ) || ( CPU_SOFTWARE_FP == TRUE )      
    if ( is_fp ) {                                                    
 2008db4:	02 80 00 07 	be  2008dd0 <_Thread_Initialize+0x64>          
 2008db8:	b6 10 20 00 	clr  %i3                                       
      fp_area = _Workspace_Allocate( CONTEXT_FP_SIZE );               
 2008dbc:	40 00 03 db 	call  2009d28 <_Workspace_Allocate>            
 2008dc0:	90 10 20 88 	mov  0x88, %o0                                 
      if ( !fp_area )                                                 
 2008dc4:	b6 92 20 00 	orcc  %o0, 0, %i3                              
 2008dc8:	02 80 00 46 	be  2008ee0 <_Thread_Initialize+0x174>         
 2008dcc:	b8 10 20 00 	clr  %i4                                       
  #endif                                                              
                                                                      
  /*                                                                  
   *  Allocate the extensions area for this thread                    
   */                                                                 
  if ( _Thread_Maximum_extensions ) {                                 
 2008dd0:	03 00 80 6d 	sethi  %hi(0x201b400), %g1                     
 2008dd4:	d0 00 61 b4 	ld  [ %g1 + 0x1b4 ], %o0	! 201b5b4 <_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;                           
 2008dd8:	f6 26 61 50 	st  %i3, [ %i1 + 0x150 ]                       
    the_thread->Start.fp_context = fp_area;                           
 2008ddc:	f6 26 60 bc 	st  %i3, [ %i1 + 0xbc ]                        
  Watchdog_Service_routine_entry  routine,                            
  Objects_Id                      id,                                 
  void                           *user_data                           
)                                                                     
{                                                                     
  the_watchdog->state     = WATCHDOG_INACTIVE;                        
 2008de0:	c0 26 60 50 	clr  [ %i1 + 0x50 ]                            
  the_watchdog->routine   = routine;                                  
 2008de4:	c0 26 60 64 	clr  [ %i1 + 0x64 ]                            
  the_watchdog->id        = id;                                       
 2008de8:	c0 26 60 68 	clr  [ %i1 + 0x68 ]                            
  the_watchdog->user_data = user_data;                                
 2008dec:	c0 26 60 6c 	clr  [ %i1 + 0x6c ]                            
  #endif                                                              
                                                                      
  /*                                                                  
   *  Allocate the extensions area for this thread                    
   */                                                                 
  if ( _Thread_Maximum_extensions ) {                                 
 2008df0:	80 a2 20 00 	cmp  %o0, 0                                    
 2008df4:	02 80 00 08 	be  2008e14 <_Thread_Initialize+0xa8>          
 2008df8:	b8 10 20 00 	clr  %i4                                       
    extensions_area = _Workspace_Allocate(                            
 2008dfc:	90 02 20 01 	inc  %o0                                       
 2008e00:	40 00 03 ca 	call  2009d28 <_Workspace_Allocate>            
 2008e04:	91 2a 20 02 	sll  %o0, 2, %o0                               
      (_Thread_Maximum_extensions + 1) * sizeof( void * )             
    );                                                                
    if ( !extensions_area )                                           
 2008e08:	b8 92 20 00 	orcc  %o0, 0, %i4                              
 2008e0c:	22 80 00 36 	be,a   2008ee4 <_Thread_Initialize+0x178>      
 2008e10:	b4 10 20 00 	clr  %i2                                       
   * if they are linked to the thread. An extension user may          
   * create the extension long after tasks have been created          
   * so they cannot rely on the thread create user extension          
   * call.                                                            
   */                                                                 
  if ( the_thread->extensions ) {                                     
 2008e14:	80 a7 20 00 	cmp  %i4, 0                                    
 2008e18:	02 80 00 0c 	be  2008e48 <_Thread_Initialize+0xdc>          
 2008e1c:	f8 26 61 60 	st  %i4, [ %i1 + 0x160 ]                       
    for ( i = 0; i <= _Thread_Maximum_extensions ; i++ )              
 2008e20:	03 00 80 6d 	sethi  %hi(0x201b400), %g1                     
 2008e24:	c4 00 61 b4 	ld  [ %g1 + 0x1b4 ], %g2	! 201b5b4 <_Thread_Maximum_extensions>
 2008e28:	10 80 00 05 	b  2008e3c <_Thread_Initialize+0xd0>           
 2008e2c:	82 10 20 00 	clr  %g1                                       
      the_thread->extensions[i] = NULL;                               
 2008e30:	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++ )              
 2008e34:	82 00 60 01 	inc  %g1                                       
      the_thread->extensions[i] = NULL;                               
 2008e38:	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++ )              
 2008e3c:	80 a0 40 02 	cmp  %g1, %g2                                  
 2008e40:	28 bf ff fc 	bleu,a   2008e30 <_Thread_Initialize+0xc4>     
 2008e44:	c8 06 61 60 	ld  [ %i1 + 0x160 ], %g4                       
  /*                                                                  
   *  General initialization                                          
   */                                                                 
                                                                      
  the_thread->Start.is_preemptible   = is_preemptible;                
  the_thread->Start.budget_algorithm = budget_algorithm;              
 2008e48:	c2 07 a0 60 	ld  [ %fp + 0x60 ], %g1                        
                                                                      
  /*                                                                  
   *  General initialization                                          
   */                                                                 
                                                                      
  the_thread->Start.is_preemptible   = is_preemptible;                
 2008e4c:	f4 2e 60 a0 	stb  %i2, [ %i1 + 0xa0 ]                       
  the_thread->Start.budget_algorithm = budget_algorithm;              
 2008e50:	c2 26 60 a4 	st  %g1, [ %i1 + 0xa4 ]                        
  the_thread->Start.budget_callout   = budget_callout;                
 2008e54:	c2 07 a0 64 	ld  [ %fp + 0x64 ], %g1                        
  }                                                                   
                                                                      
  the_thread->Start.isr_level         = isr_level;                    
                                                                      
  the_thread->current_state           = STATES_DORMANT;               
  the_thread->Wait.queue              = NULL;                         
 2008e58:	c0 26 60 44 	clr  [ %i1 + 0x44 ]                            
   *  General initialization                                          
   */                                                                 
                                                                      
  the_thread->Start.is_preemptible   = is_preemptible;                
  the_thread->Start.budget_algorithm = budget_algorithm;              
  the_thread->Start.budget_callout   = budget_callout;                
 2008e5c:	c2 26 60 a8 	st  %g1, [ %i1 + 0xa8 ]                        
      case THREAD_CPU_BUDGET_ALGORITHM_CALLOUT:                       
	break;                                                               
    #endif                                                            
  }                                                                   
                                                                      
  the_thread->Start.isr_level         = isr_level;                    
 2008e60:	c2 07 a0 68 	ld  [ %fp + 0x68 ], %g1                        
                                                                      
  the_thread->current_state           = STATES_DORMANT;               
  the_thread->Wait.queue              = NULL;                         
  the_thread->resource_count          = 0;                            
 2008e64:	c0 26 60 1c 	clr  [ %i1 + 0x1c ]                            
      case THREAD_CPU_BUDGET_ALGORITHM_CALLOUT:                       
	break;                                                               
    #endif                                                            
  }                                                                   
                                                                      
  the_thread->Start.isr_level         = isr_level;                    
 2008e68:	c2 26 60 ac 	st  %g1, [ %i1 + 0xac ]                        
                                                                      
  the_thread->current_state           = STATES_DORMANT;               
 2008e6c:	82 10 20 01 	mov  1, %g1                                    
 2008e70:	c2 26 60 10 	st  %g1, [ %i1 + 0x10 ]                        
 */                                                                   
RTEMS_INLINE_ROUTINE void* _Scheduler_Allocate(                       
  Thread_Control    *the_thread                                       
)                                                                     
{                                                                     
  return _Scheduler.Operations.allocate( the_thread );                
 2008e74:	03 00 80 6a 	sethi  %hi(0x201a800), %g1                     
 2008e78:	c2 00 61 2c 	ld  [ %g1 + 0x12c ], %g1	! 201a92c <_Scheduler+0x18>
  the_thread->Wait.queue              = NULL;                         
  the_thread->resource_count          = 0;                            
  the_thread->real_priority           = priority;                     
 2008e7c:	fa 26 60 18 	st  %i5, [ %i1 + 0x18 ]                        
  the_thread->Start.initial_priority  = priority;                     
 2008e80:	fa 26 60 b0 	st  %i5, [ %i1 + 0xb0 ]                        
 2008e84:	9f c0 40 00 	call  %g1                                      
 2008e88:	90 10 00 19 	mov  %i1, %o0                                  
  sched =_Scheduler_Allocate( the_thread );                           
  if ( !sched )                                                       
 2008e8c:	b4 92 20 00 	orcc  %o0, 0, %i2                              
 2008e90:	02 80 00 15 	be  2008ee4 <_Thread_Initialize+0x178>         
 2008e94:	90 10 00 19 	mov  %i1, %o0                                  
    goto failed;                                                      
  _Thread_Set_priority( the_thread, priority );                       
 2008e98:	40 00 01 97 	call  20094f4 <_Thread_Set_priority>           
 2008e9c:	92 10 00 1d 	mov  %i5, %o1                                  
  #if defined(RTEMS_DEBUG)                                            
    if ( index > information->maximum )                               
      return;                                                         
  #endif                                                              
                                                                      
  information->local_table[ index ] = the_object;                     
 2008ea0:	c4 06 20 1c 	ld  [ %i0 + 0x1c ], %g2                        
  Objects_Information *information,                                   
  Objects_Control     *the_object,                                    
  Objects_Name         name                                           
)                                                                     
{                                                                     
  _Objects_Set_local_object(                                          
 2008ea4:	c2 16 60 0a 	lduh  [ %i1 + 0xa ], %g1                       
                                                                      
  /*                                                                  
   *  Initialize the CPU usage statistics                             
   */                                                                 
  #ifndef __RTEMS_USE_TICKS_FOR_STATISTICS__                          
    _Timestamp_Set_to_zero( &the_thread->cpu_time_used );             
 2008ea8:	c0 26 60 84 	clr  [ %i1 + 0x84 ]                            
 2008eac:	c0 26 60 88 	clr  [ %i1 + 0x88 ]                            
  #if defined(RTEMS_DEBUG)                                            
    if ( index > information->maximum )                               
      return;                                                         
  #endif                                                              
                                                                      
  information->local_table[ index ] = the_object;                     
 2008eb0:	83 28 60 02 	sll  %g1, 2, %g1                               
 2008eb4:	f2 20 80 01 	st  %i1, [ %g2 + %g1 ]                         
    information,                                                      
    _Objects_Get_index( the_object->id ),                             
    the_object                                                        
  );                                                                  
                                                                      
  the_object->name = name;                                            
 2008eb8:	e0 26 60 0c 	st  %l0, [ %i1 + 0xc ]                         
   *  enabled when we get here.  We want to be able to run the        
   *  user extensions with dispatching enabled.  The Allocator        
   *  Mutex provides sufficient protection to let the user extensions 
   *  run safely.                                                     
   */                                                                 
  extension_status = _User_extensions_Thread_create( the_thread );    
 2008ebc:	90 10 00 19 	mov  %i1, %o0                                  
 2008ec0:	40 00 02 8a 	call  20098e8 <_User_extensions_Thread_create> 
 2008ec4:	b0 10 20 01 	mov  1, %i0                                    
  if ( extension_status )                                             
 2008ec8:	80 8a 20 ff 	btst  0xff, %o0                                
 2008ecc:	02 80 00 06 	be  2008ee4 <_Thread_Initialize+0x178>         
 2008ed0:	01 00 00 00 	nop                                            
 2008ed4:	b0 0e 20 01 	and  %i0, 1, %i0                               
 2008ed8:	81 c7 e0 08 	ret                                            
 2008edc:	81 e8 00 00 	restore                                        
  size_t               actual_stack_size = 0;                         
  void                *stack = NULL;                                  
  #if ( CPU_HARDWARE_FP == TRUE ) || ( CPU_SOFTWARE_FP == TRUE )      
    void              *fp_area;                                       
  #endif                                                              
  void                *sched = NULL;                                  
 2008ee0:	b4 10 20 00 	clr  %i2                                       
  extension_status = _User_extensions_Thread_create( the_thread );    
  if ( extension_status )                                             
    return true;                                                      
                                                                      
failed:                                                               
  _Workspace_Free( the_thread->libc_reent );                          
 2008ee4:	40 00 03 99 	call  2009d48 <_Workspace_Free>                
 2008ee8:	d0 06 61 54 	ld  [ %i1 + 0x154 ], %o0                       
                                                                      
  for ( i=0 ; i <= THREAD_API_LAST ; i++ )                            
    _Workspace_Free( the_thread->API_Extensions[i] );                 
 2008eec:	40 00 03 97 	call  2009d48 <_Workspace_Free>                
 2008ef0:	d0 06 61 58 	ld  [ %i1 + 0x158 ], %o0                       
 2008ef4:	40 00 03 95 	call  2009d48 <_Workspace_Free>                
 2008ef8:	d0 06 61 5c 	ld  [ %i1 + 0x15c ], %o0                       
                                                                      
  _Workspace_Free( extensions_area );                                 
 2008efc:	40 00 03 93 	call  2009d48 <_Workspace_Free>                
 2008f00:	90 10 00 1c 	mov  %i4, %o0                                  
                                                                      
  #if ( CPU_HARDWARE_FP == TRUE ) || ( CPU_SOFTWARE_FP == TRUE )      
    _Workspace_Free( fp_area );                                       
 2008f04:	40 00 03 91 	call  2009d48 <_Workspace_Free>                
 2008f08:	90 10 00 1b 	mov  %i3, %o0                                  
  #endif                                                              
                                                                      
   _Workspace_Free( sched );                                          
 2008f0c:	40 00 03 8f 	call  2009d48 <_Workspace_Free>                
 2008f10:	90 10 00 1a 	mov  %i2, %o0                                  
                                                                      
   _Thread_Stack_Free( the_thread );                                  
 2008f14:	40 00 01 b7 	call  20095f0 <_Thread_Stack_Free>             
 2008f18:	90 10 00 19 	mov  %i1, %o0                                  
   *  Allocate and Initialize the stack for this thread.              
   */                                                                 
  #if !defined(RTEMS_SCORE_THREAD_ENABLE_USER_PROVIDED_STACK_VIA_API) 
    actual_stack_size = _Thread_Stack_Allocate( the_thread, stack_size );
    if ( !actual_stack_size || actual_stack_size < stack_size )       
      return false;                     /* stack allocation failed */ 
 2008f1c:	b0 10 20 00 	clr  %i0                                       
                                                                      
   _Workspace_Free( sched );                                          
                                                                      
   _Thread_Stack_Free( the_thread );                                  
  return false;                                                       
}                                                                     
 2008f20:	b0 0e 20 01 	and  %i0, 1, %i0                               
 2008f24:	81 c7 e0 08 	ret                                            
 2008f28:	81 e8 00 00 	restore                                        
                                                                      

0200943c <_Thread_queue_Requeue>: void _Thread_queue_Requeue( Thread_queue_Control *the_thread_queue, Thread_Control *the_thread ) {
 200943c:	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 )                                            
 2009440:	80 a6 20 00 	cmp  %i0, 0                                    
 2009444:	02 80 00 19 	be  20094a8 <_Thread_queue_Requeue+0x6c>       <== NEVER TAKEN
 2009448:	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 ) {
 200944c:	f8 06 20 34 	ld  [ %i0 + 0x34 ], %i4                        
 2009450:	80 a7 20 01 	cmp  %i4, 1                                    
 2009454:	12 80 00 15 	bne  20094a8 <_Thread_queue_Requeue+0x6c>      <== NEVER TAKEN
 2009458:	01 00 00 00 	nop                                            
    Thread_queue_Control *tq = the_thread_queue;                      
    ISR_Level             level;                                      
    ISR_Level             level_ignored;                              
                                                                      
    _ISR_Disable( level );                                            
 200945c:	7f ff e3 48 	call  200217c <sparc_disable_interrupts>       
 2009460:	01 00 00 00 	nop                                            
 2009464:	ba 10 00 08 	mov  %o0, %i5                                  
 2009468:	c4 06 60 10 	ld  [ %i1 + 0x10 ], %g2                        
    if ( _States_Is_waiting_on_thread_queue( the_thread->current_state ) ) {
 200946c:	03 00 00 ef 	sethi  %hi(0x3bc00), %g1                       
 2009470:	82 10 62 e0 	or  %g1, 0x2e0, %g1	! 3bee0 <PROM_START+0x3bee0>
 2009474:	80 88 80 01 	btst  %g2, %g1                                 
 2009478:	02 80 00 0a 	be  20094a0 <_Thread_queue_Requeue+0x64>       <== NEVER TAKEN
 200947c:	90 10 00 18 	mov  %i0, %o0                                  
      _Thread_queue_Enter_critical_section( tq );                     
      _Thread_queue_Extract_priority_helper( tq, the_thread, true );  
 2009480:	92 10 00 19 	mov  %i1, %o1                                  
 2009484:	94 10 20 01 	mov  1, %o2                                    
 2009488:	40 00 0b f8 	call  200c468 <_Thread_queue_Extract_priority_helper>
 200948c:	f8 26 20 30 	st  %i4, [ %i0 + 0x30 ]                        
      (void) _Thread_queue_Enqueue_priority( tq, the_thread, &level_ignored );
 2009490:	90 10 00 18 	mov  %i0, %o0                                  
 2009494:	92 10 00 19 	mov  %i1, %o1                                  
 2009498:	7f ff ff 50 	call  20091d8 <_Thread_queue_Enqueue_priority> 
 200949c:	94 07 bf fc 	add  %fp, -4, %o2                              
    }                                                                 
    _ISR_Enable( level );                                             
 20094a0:	7f ff e3 3b 	call  200218c <sparc_enable_interrupts>        
 20094a4:	90 10 00 1d 	mov  %i5, %o0                                  
 20094a8:	81 c7 e0 08 	ret                                            
 20094ac:	81 e8 00 00 	restore                                        
                                                                      

020094b0 <_Thread_queue_Timeout>: void _Thread_queue_Timeout( Objects_Id id, void *ignored __attribute__((unused)) ) {
 20094b0:	9d e3 bf 98 	save  %sp, -104, %sp                           
  Thread_Control       *the_thread;                                   
  Objects_Locations     location;                                     
                                                                      
  the_thread = _Thread_Get( id, &location );                          
 20094b4:	90 10 00 18 	mov  %i0, %o0                                  
 20094b8:	7f ff fe 01 	call  2008cbc <_Thread_Get>                    
 20094bc:	92 07 bf fc 	add  %fp, -4, %o1                              
  switch ( location ) {                                               
 20094c0:	c2 07 bf fc 	ld  [ %fp + -4 ], %g1                          
 20094c4:	80 a0 60 00 	cmp  %g1, 0                                    
 20094c8:	12 80 00 09 	bne  20094ec <_Thread_queue_Timeout+0x3c>      <== NEVER TAKEN
 20094cc:	01 00 00 00 	nop                                            
#if defined(RTEMS_MULTIPROCESSING)                                    
    case OBJECTS_REMOTE:  /* impossible */                            
#endif                                                                
      break;                                                          
    case OBJECTS_LOCAL:                                               
      _Thread_queue_Process_timeout( the_thread );                    
 20094d0:	40 00 0c 1d 	call  200c544 <_Thread_queue_Process_timeout>  
 20094d4:	01 00 00 00 	nop                                            
   *                                                                  
   * This routine decrements the thread dispatch level.               
   */                                                                 
  RTEMS_INLINE_ROUTINE uint32_t _Thread_Dispatch_decrement_disable_level(void)
  {                                                                   
    _Thread_Dispatch_disable_level--;                                 
 20094d8:	03 00 80 6d 	sethi  %hi(0x201b400), %g1                     
 20094dc:	c4 00 61 20 	ld  [ %g1 + 0x120 ], %g2	! 201b520 <_Thread_Dispatch_disable_level>
 20094e0:	84 00 bf ff 	add  %g2, -1, %g2                              
 20094e4:	c4 20 61 20 	st  %g2, [ %g1 + 0x120 ]                       
    return _Thread_Dispatch_disable_level;                            
 20094e8:	c2 00 61 20 	ld  [ %g1 + 0x120 ], %g1                       
 20094ec:	81 c7 e0 08 	ret                                            
 20094f0:	81 e8 00 00 	restore                                        
                                                                      

020171e4 <_Timer_server_Body>: * @a arg points to the corresponding timer server control block. */ static rtems_task _Timer_server_Body( rtems_task_argument arg ) {
 20171e4:	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;            
 20171e8:	27 00 80 e8 	sethi  %hi(0x203a000), %l3                     
)                                                                     
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
                                                                      
  head->next = tail;                                                  
 20171ec:	a8 07 bf e8 	add  %fp, -24, %l4                             
 20171f0:	a4 07 bf ec 	add  %fp, -20, %l2                             
 20171f4:	b6 07 bf f4 	add  %fp, -12, %i3                             
 20171f8:	b4 07 bf f8 	add  %fp, -8, %i2                              
 20171fc:	e4 27 bf e8 	st  %l2, [ %fp + -24 ]                         
  head->previous = NULL;                                              
 2017200:	c0 27 bf ec 	clr  [ %fp + -20 ]                             
  tail->previous = head;                                              
 2017204:	e8 27 bf f0 	st  %l4, [ %fp + -16 ]                         
)                                                                     
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
                                                                      
  head->next = tail;                                                  
 2017208:	f4 27 bf f4 	st  %i2, [ %fp + -12 ]                         
  head->previous = NULL;                                              
 201720c:	c0 27 bf f8 	clr  [ %fp + -8 ]                              
  tail->previous = head;                                              
 2017210:	f6 27 bf fc 	st  %i3, [ %fp + -4 ]                          
   */                                                                 
  Watchdog_Interval delta = snapshot - watchdogs->last_snapshot;      
                                                                      
  watchdogs->last_snapshot = snapshot;                                
                                                                      
  _Watchdog_Adjust_to_chain( &watchdogs->Chain, delta, fire_chain );  
 2017214:	b2 06 20 30 	add  %i0, 0x30, %i1                            
     /*                                                               
      *  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 ); 
 2017218:	b8 06 20 68 	add  %i0, 0x68, %i4                            
                                                                      
static void _Timer_server_Stop_interval_system_watchdog(              
  Timer_server_Control *ts                                            
)                                                                     
{                                                                     
  _Watchdog_Remove( &ts->Interval_watchdogs.System_watchdog );        
 201721c:	a2 06 20 08 	add  %i0, 8, %l1                               
                                                                      
static void _Timer_server_Stop_tod_system_watchdog(                   
  Timer_server_Control *ts                                            
)                                                                     
{                                                                     
  _Watchdog_Remove( &ts->TOD_watchdogs.System_watchdog );             
 2017220:	a0 06 20 40 	add  %i0, 0x40, %l0                            
{                                                                     
  /*                                                                  
   *  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;                                    
 2017224:	e8 26 20 78 	st  %l4, [ %i0 + 0x78 ]                        
static void _Timer_server_Process_tod_watchdogs(                      
  Timer_server_Watchdogs *watchdogs,                                  
  Chain_Control *fire_chain                                           
)                                                                     
{                                                                     
  Watchdog_Interval snapshot = (Watchdog_Interval) _TOD_Seconds_since_epoch();
 2017228:	2b 00 80 e8 	sethi  %hi(0x203a000), %l5                     
static void _Timer_server_Process_interval_watchdogs(                 
  Timer_server_Watchdogs *watchdogs,                                  
  Chain_Control *fire_chain                                           
)                                                                     
{                                                                     
  Watchdog_Interval snapshot = _Watchdog_Ticks_since_boot;            
 201722c:	c2 04 e1 7c 	ld  [ %l3 + 0x17c ], %g1                       
                                                                      
  /*                                                                  
   *  We assume adequate unsigned arithmetic here.                    
   */                                                                 
  Watchdog_Interval delta = snapshot - watchdogs->last_snapshot;      
 2017230:	d2 06 20 3c 	ld  [ %i0 + 0x3c ], %o1                        
                                                                      
  watchdogs->last_snapshot = snapshot;                                
                                                                      
  _Watchdog_Adjust_to_chain( &watchdogs->Chain, delta, fire_chain );  
 2017234:	94 10 00 1b 	mov  %i3, %o2                                  
  /*                                                                  
   *  We assume adequate unsigned arithmetic here.                    
   */                                                                 
  Watchdog_Interval delta = snapshot - watchdogs->last_snapshot;      
                                                                      
  watchdogs->last_snapshot = snapshot;                                
 2017238:	c2 26 20 3c 	st  %g1, [ %i0 + 0x3c ]                        
                                                                      
  _Watchdog_Adjust_to_chain( &watchdogs->Chain, delta, fire_chain );  
 201723c:	90 10 00 19 	mov  %i1, %o0                                  
 2017240:	40 00 11 91 	call  201b884 <_Watchdog_Adjust_to_chain>      
 2017244:	92 20 40 09 	sub  %g1, %o1, %o1                             
  Timer_server_Watchdogs *watchdogs,                                  
  Chain_Control *fire_chain                                           
)                                                                     
{                                                                     
  Watchdog_Interval snapshot = (Watchdog_Interval) _TOD_Seconds_since_epoch();
  Watchdog_Interval last_snapshot = watchdogs->last_snapshot;         
 2017248:	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();
 201724c:	fa 05 60 fc 	ld  [ %l5 + 0xfc ], %i5                        
  /*                                                                  
   *  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 ) {                                   
 2017250:	80 a7 40 0a 	cmp  %i5, %o2                                  
 2017254:	08 80 00 06 	bleu  201726c <_Timer_server_Body+0x88>        
 2017258:	92 27 40 0a 	sub  %i5, %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 );
 201725c:	90 10 00 1c 	mov  %i4, %o0                                  
 2017260:	40 00 11 89 	call  201b884 <_Watchdog_Adjust_to_chain>      
 2017264:	94 10 00 1b 	mov  %i3, %o2                                  
 2017268:	30 80 00 06 	b,a   2017280 <_Timer_server_Body+0x9c>        
                                                                      
  } else if ( snapshot < last_snapshot ) {                            
 201726c:	1a 80 00 05 	bcc  2017280 <_Timer_server_Body+0x9c>         
 2017270:	90 10 00 1c 	mov  %i4, %o0                                  
     /*                                                               
      *  The current TOD is before the last TOD which indicates that  
      *  TOD has been set backwards.                                  
      */                                                              
     delta = last_snapshot - snapshot;                                
     _Watchdog_Adjust( &watchdogs->Chain, WATCHDOG_BACKWARD, delta ); 
 2017274:	92 10 20 01 	mov  1, %o1                                    
 2017278:	40 00 11 5c 	call  201b7e8 <_Watchdog_Adjust>               
 201727c:	94 22 80 1d 	sub  %o2, %i5, %o2                             
  }                                                                   
                                                                      
  watchdogs->last_snapshot = snapshot;                                
 2017280:	fa 26 20 74 	st  %i5, [ %i0 + 0x74 ]                        
}                                                                     
                                                                      
static void _Timer_server_Process_insertions( Timer_server_Control *ts )
{                                                                     
  while ( true ) {                                                    
    Timer_Control *timer = (Timer_Control *) _Chain_Get( ts->insert_chain );
 2017284:	d0 06 20 78 	ld  [ %i0 + 0x78 ], %o0                        
 2017288:	40 00 02 bd 	call  2017d7c <_Chain_Get>                     
 201728c:	01 00 00 00 	nop                                            
                                                                      
    if ( timer == NULL ) {                                            
 2017290:	92 92 20 00 	orcc  %o0, 0, %o1                              
 2017294:	02 80 00 0c 	be  20172c4 <_Timer_server_Body+0xe0>          
 2017298:	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 ) {                 
 201729c:	c2 02 60 38 	ld  [ %o1 + 0x38 ], %g1                        
 20172a0:	80 a0 60 01 	cmp  %g1, 1                                    
 20172a4:	02 80 00 05 	be  20172b8 <_Timer_server_Body+0xd4>          
 20172a8:	90 10 00 19 	mov  %i1, %o0                                  
    _Watchdog_Insert( &ts->Interval_watchdogs.Chain, &timer->Ticker );
  } else if ( timer->the_class == TIMER_TIME_OF_DAY_ON_TASK ) {       
 20172ac:	80 a0 60 03 	cmp  %g1, 3                                    
 20172b0:	12 bf ff f5 	bne  2017284 <_Timer_server_Body+0xa0>         <== NEVER TAKEN
 20172b4:	90 10 00 1c 	mov  %i4, %o0                                  
    _Watchdog_Insert( &ts->TOD_watchdogs.Chain, &timer->Ticker );     
 20172b8:	40 00 11 a5 	call  201b94c <_Watchdog_Insert>               
 20172bc:	92 02 60 10 	add  %o1, 0x10, %o1                            
 20172c0:	30 bf ff f1 	b,a   2017284 <_Timer_server_Body+0xa0>        
     *  of zero it will be processed in the next iteration of the timer server
     *  body loop.                                                    
     */                                                               
    _Timer_server_Process_insertions( ts );                           
                                                                      
    _ISR_Disable( level );                                            
 20172c4:	7f ff e3 7f 	call  20100c0 <sparc_disable_interrupts>       
 20172c8:	01 00 00 00 	nop                                            
    if ( _Chain_Is_empty( insert_chain ) ) {                          
 20172cc:	c2 07 bf e8 	ld  [ %fp + -24 ], %g1                         
 20172d0:	80 a0 40 12 	cmp  %g1, %l2                                  
 20172d4:	12 80 00 0a 	bne  20172fc <_Timer_server_Body+0x118>        <== NEVER TAKEN
 20172d8:	01 00 00 00 	nop                                            
      ts->insert_chain = NULL;                                        
 20172dc:	c0 26 20 78 	clr  [ %i0 + 0x78 ]                            
      _ISR_Enable( level );                                           
 20172e0:	7f ff e3 7c 	call  20100d0 <sparc_enable_interrupts>        
 20172e4:	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 ) ) {                          
 20172e8:	c2 07 bf f4 	ld  [ %fp + -12 ], %g1                         
 20172ec:	80 a0 40 1a 	cmp  %g1, %i2                                  
 20172f0:	12 80 00 06 	bne  2017308 <_Timer_server_Body+0x124>        
 20172f4:	01 00 00 00 	nop                                            
 20172f8:	30 80 00 18 	b,a   2017358 <_Timer_server_Body+0x174>       
      ts->insert_chain = NULL;                                        
      _ISR_Enable( level );                                           
                                                                      
      break;                                                          
    } else {                                                          
      _ISR_Enable( level );                                           
 20172fc:	7f ff e3 75 	call  20100d0 <sparc_enable_interrupts>        <== NOT EXECUTED
 2017300:	01 00 00 00 	nop                                            <== NOT EXECUTED
 2017304:	30 bf ff ca 	b,a   201722c <_Timer_server_Body+0x48>        <== NOT EXECUTED
                                                                      
        /*                                                            
         *  It is essential that interrupts are disable here since an interrupt
         *  service routine may remove a watchdog from the chain.     
         */                                                           
        _ISR_Disable( level );                                        
 2017308:	7f ff e3 6e 	call  20100c0 <sparc_disable_interrupts>       
 201730c:	01 00 00 00 	nop                                            
 */                                                                   
RTEMS_INLINE_ROUTINE const Chain_Node *_Chain_Immutable_first(        
  const Chain_Control *the_chain                                      
)                                                                     
{                                                                     
  return _Chain_Immutable_head( the_chain )->next;                    
 2017310:	fa 07 bf f4 	ld  [ %fp + -12 ], %i5                         
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_Get_unprotected(              
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  if ( !_Chain_Is_empty(the_chain))                                   
 2017314:	80 a7 40 1a 	cmp  %i5, %i2                                  
 2017318:	02 80 00 0d 	be  201734c <_Timer_server_Body+0x168>         
 201731c:	01 00 00 00 	nop                                            
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *old_first = head->next;                                 
  Chain_Node *new_first = old_first->next;                            
 2017320:	c2 07 40 00 	ld  [ %i5 ], %g1                               
                                                                      
  head->next = new_first;                                             
  new_first->previous = head;                                         
 2017324:	f6 20 60 04 	st  %i3, [ %g1 + 4 ]                           
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *old_first = head->next;                                 
  Chain_Node *new_first = old_first->next;                            
                                                                      
  head->next = new_first;                                             
 2017328:	c2 27 bf f4 	st  %g1, [ %fp + -12 ]                         
        watchdog = (Watchdog_Control *) _Chain_Get_unprotected( &fire_chain );
        if ( watchdog != NULL ) {                                     
          watchdog->state = WATCHDOG_INACTIVE;                        
 201732c:	c0 27 60 08 	clr  [ %i5 + 8 ]                               
          _ISR_Enable( level );                                       
 2017330:	7f ff e3 68 	call  20100d0 <sparc_enable_interrupts>        
 2017334:	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 );    
 2017338:	c2 07 60 1c 	ld  [ %i5 + 0x1c ], %g1                        
 201733c:	d0 07 60 20 	ld  [ %i5 + 0x20 ], %o0                        
 2017340:	9f c0 40 00 	call  %g1                                      
 2017344:	d2 07 60 24 	ld  [ %i5 + 0x24 ], %o1                        
      }                                                               
 2017348:	30 bf ff f0 	b,a   2017308 <_Timer_server_Body+0x124>       
        watchdog = (Watchdog_Control *) _Chain_Get_unprotected( &fire_chain );
        if ( watchdog != NULL ) {                                     
          watchdog->state = WATCHDOG_INACTIVE;                        
          _ISR_Enable( level );                                       
        } else {                                                      
          _ISR_Enable( level );                                       
 201734c:	7f ff e3 61 	call  20100d0 <sparc_enable_interrupts>        
 2017350:	01 00 00 00 	nop                                            
 2017354:	30 bf ff b4 	b,a   2017224 <_Timer_server_Body+0x40>        
         *  the active flag of the timer server is true.              
         */                                                           
        (*watchdog->routine)( watchdog->id, watchdog->user_data );    
      }                                                               
    } else {                                                          
      ts->active = false;                                             
 2017358:	c0 2e 20 7c 	clrb  [ %i0 + 0x7c ]                           
                                                                      
      /*                                                              
       *  Block until there is something to do.                       
       */                                                             
      _Thread_Disable_dispatch();                                     
 201735c:	7f ff ff 73 	call  2017128 <_Thread_Disable_dispatch>       
 2017360:	01 00 00 00 	nop                                            
        _Thread_Set_state( ts->thread, STATES_DELAYING );             
 2017364:	d0 06 00 00 	ld  [ %i0 ], %o0                               
 2017368:	40 00 0f ac 	call  201b218 <_Thread_Set_state>              
 201736c:	92 10 20 08 	mov  8, %o1                                    
        _Timer_server_Reset_interval_system_watchdog( ts );           
 2017370:	7f ff ff 75 	call  2017144 <_Timer_server_Reset_interval_system_watchdog>
 2017374:	90 10 00 18 	mov  %i0, %o0                                  
        _Timer_server_Reset_tod_system_watchdog( ts );                
 2017378:	7f ff ff 87 	call  2017194 <_Timer_server_Reset_tod_system_watchdog>
 201737c:	90 10 00 18 	mov  %i0, %o0                                  
      _Thread_Enable_dispatch();                                      
 2017380:	40 00 0d 60 	call  201a900 <_Thread_Enable_dispatch>        
 2017384:	01 00 00 00 	nop                                            
                                                                      
      ts->active = true;                                              
 2017388:	82 10 20 01 	mov  1, %g1	! 1 <PROM_START+0x1>               
                                                                      
static void _Timer_server_Stop_interval_system_watchdog(              
  Timer_server_Control *ts                                            
)                                                                     
{                                                                     
  _Watchdog_Remove( &ts->Interval_watchdogs.System_watchdog );        
 201738c:	90 10 00 11 	mov  %l1, %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;                                              
 2017390:	c2 2e 20 7c 	stb  %g1, [ %i0 + 0x7c ]                       
                                                                      
static void _Timer_server_Stop_interval_system_watchdog(              
  Timer_server_Control *ts                                            
)                                                                     
{                                                                     
  _Watchdog_Remove( &ts->Interval_watchdogs.System_watchdog );        
 2017394:	40 00 11 c8 	call  201bab4 <_Watchdog_Remove>               
 2017398:	01 00 00 00 	nop                                            
                                                                      
static void _Timer_server_Stop_tod_system_watchdog(                   
  Timer_server_Control *ts                                            
)                                                                     
{                                                                     
  _Watchdog_Remove( &ts->TOD_watchdogs.System_watchdog );             
 201739c:	40 00 11 c6 	call  201bab4 <_Watchdog_Remove>               
 20173a0:	90 10 00 10 	mov  %l0, %o0                                  
 20173a4:	30 bf ff a0 	b,a   2017224 <_Timer_server_Body+0x40>        
                                                                      

020173a8 <_Timer_server_Schedule_operation_method>: static void _Timer_server_Schedule_operation_method( Timer_server_Control *ts, Timer_Control *timer ) {
 20173a8:	9d e3 bf a0 	save  %sp, -96, %sp                            
  if ( ts->insert_chain == NULL ) {                                   
 20173ac:	c2 06 20 78 	ld  [ %i0 + 0x78 ], %g1                        
 20173b0:	80 a0 60 00 	cmp  %g1, 0                                    
 20173b4:	12 80 00 49 	bne  20174d8 <_Timer_server_Schedule_operation_method+0x130>
 20173b8:	ba 10 00 19 	mov  %i1, %i5                                  
   *  is the reference point for the delta chain.  Thus if we do not update the
   *  reference point we have to add DT to the initial delta of the watchdog
   *  being inserted.  This could result in an integer overflow.      
   */                                                                 
                                                                      
  _Thread_Disable_dispatch();                                         
 20173bc:	7f ff ff 5b 	call  2017128 <_Thread_Disable_dispatch>       
 20173c0:	01 00 00 00 	nop                                            
                                                                      
  if ( timer->the_class == TIMER_INTERVAL_ON_TASK ) {                 
 20173c4:	c2 06 60 38 	ld  [ %i1 + 0x38 ], %g1                        
 20173c8:	80 a0 60 01 	cmp  %g1, 1                                    
 20173cc:	12 80 00 1f 	bne  2017448 <_Timer_server_Schedule_operation_method+0xa0>
 20173d0:	80 a0 60 03 	cmp  %g1, 3                                    
    /*                                                                
     *  We have to advance the last known ticks value of the server and update
     *  the watchdog chain accordingly.                               
     */                                                               
    _ISR_Disable( level );                                            
 20173d4:	7f ff e3 3b 	call  20100c0 <sparc_disable_interrupts>       
 20173d8:	01 00 00 00 	nop                                            
    snapshot = _Watchdog_Ticks_since_boot;                            
 20173dc:	03 00 80 e8 	sethi  %hi(0x203a000), %g1                     
 20173e0:	c4 00 61 7c 	ld  [ %g1 + 0x17c ], %g2	! 203a17c <_Watchdog_Ticks_since_boot>
 */                                                                   
RTEMS_INLINE_ROUTINE const Chain_Node *_Chain_Immutable_first(        
  const Chain_Control *the_chain                                      
)                                                                     
{                                                                     
  return _Chain_Immutable_head( the_chain )->next;                    
 20173e4:	c2 06 20 30 	ld  [ %i0 + 0x30 ], %g1                        
    last_snapshot = ts->Interval_watchdogs.last_snapshot;             
 20173e8:	c8 06 20 3c 	ld  [ %i0 + 0x3c ], %g4                        
RTEMS_INLINE_ROUTINE bool _Chain_Is_empty(                            
  const Chain_Control *the_chain                                      
)                                                                     
{                                                                     
  return _Chain_Immutable_first( the_chain )                          
    == _Chain_Immutable_tail( the_chain );                            
 20173ec:	86 06 20 34 	add  %i0, 0x34, %g3                            
    if ( !_Chain_Is_empty( &ts->Interval_watchdogs.Chain ) ) {        
 20173f0:	80 a0 40 03 	cmp  %g1, %g3                                  
 20173f4:	02 80 00 08 	be  2017414 <_Timer_server_Schedule_operation_method+0x6c>
 20173f8:	88 20 80 04 	sub  %g2, %g4, %g4                             
      /*                                                              
       *  We assume adequate unsigned arithmetic here.                
       */                                                             
      delta = snapshot - last_snapshot;                               
                                                                      
      delta_interval = first_watchdog->delta_interval;                
 20173fc:	de 00 60 10 	ld  [ %g1 + 0x10 ], %o7                        
      if (delta_interval > delta) {                                   
 2017400:	80 a3 c0 04 	cmp  %o7, %g4                                  
 2017404:	08 80 00 03 	bleu  2017410 <_Timer_server_Schedule_operation_method+0x68>
 2017408:	86 10 20 00 	clr  %g3                                       
        delta_interval -= delta;                                      
 201740c:	86 23 c0 04 	sub  %o7, %g4, %g3                             
      } else {                                                        
        delta_interval = 0;                                           
      }                                                               
      first_watchdog->delta_interval = delta_interval;                
 2017410:	c6 20 60 10 	st  %g3, [ %g1 + 0x10 ]                        
    }                                                                 
    ts->Interval_watchdogs.last_snapshot = snapshot;                  
 2017414:	c4 26 20 3c 	st  %g2, [ %i0 + 0x3c ]                        
    _ISR_Enable( level );                                             
 2017418:	7f ff e3 2e 	call  20100d0 <sparc_enable_interrupts>        
 201741c:	01 00 00 00 	nop                                            
                                                                      
    _Watchdog_Insert( &ts->Interval_watchdogs.Chain, &timer->Ticker );
 2017420:	90 06 20 30 	add  %i0, 0x30, %o0                            
 2017424:	40 00 11 4a 	call  201b94c <_Watchdog_Insert>               
 2017428:	92 07 60 10 	add  %i5, 0x10, %o1                            
                                                                      
    if ( !ts->active ) {                                              
 201742c:	c2 0e 20 7c 	ldub  [ %i0 + 0x7c ], %g1                      
 2017430:	80 a0 60 00 	cmp  %g1, 0                                    
 2017434:	12 80 00 27 	bne  20174d0 <_Timer_server_Schedule_operation_method+0x128>
 2017438:	01 00 00 00 	nop                                            
      _Timer_server_Reset_interval_system_watchdog( ts );             
 201743c:	7f ff ff 42 	call  2017144 <_Timer_server_Reset_interval_system_watchdog>
 2017440:	90 10 00 18 	mov  %i0, %o0                                  
 2017444:	30 80 00 23 	b,a   20174d0 <_Timer_server_Schedule_operation_method+0x128>
    }                                                                 
  } else if ( timer->the_class == TIMER_TIME_OF_DAY_ON_TASK ) {       
 2017448:	12 80 00 22 	bne  20174d0 <_Timer_server_Schedule_operation_method+0x128>
 201744c:	01 00 00 00 	nop                                            
    /*                                                                
     *  We have to advance the last known seconds value of the server and update
     *  the watchdog chain accordingly.                               
     */                                                               
    _ISR_Disable( level );                                            
 2017450:	7f ff e3 1c 	call  20100c0 <sparc_disable_interrupts>       
 2017454:	01 00 00 00 	nop                                            
 */                                                                   
RTEMS_INLINE_ROUTINE const Chain_Node *_Chain_Immutable_first(        
  const Chain_Control *the_chain                                      
)                                                                     
{                                                                     
  return _Chain_Immutable_head( the_chain )->next;                    
 2017458:	c4 06 20 68 	ld  [ %i0 + 0x68 ], %g2                        
    snapshot = (Watchdog_Interval) _TOD_Seconds_since_epoch();        
    last_snapshot = ts->TOD_watchdogs.last_snapshot;                  
 201745c:	de 06 20 74 	ld  [ %i0 + 0x74 ], %o7                        
    /*                                                                
     *  We have to advance the last known seconds value of the server and update
     *  the watchdog chain accordingly.                               
     */                                                               
    _ISR_Disable( level );                                            
    snapshot = (Watchdog_Interval) _TOD_Seconds_since_epoch();        
 2017460:	03 00 80 e8 	sethi  %hi(0x203a000), %g1                     
RTEMS_INLINE_ROUTINE bool _Chain_Is_empty(                            
  const Chain_Control *the_chain                                      
)                                                                     
{                                                                     
  return _Chain_Immutable_first( the_chain )                          
    == _Chain_Immutable_tail( the_chain );                            
 2017464:	86 06 20 6c 	add  %i0, 0x6c, %g3                            
    last_snapshot = ts->TOD_watchdogs.last_snapshot;                  
    if ( !_Chain_Is_empty( &ts->TOD_watchdogs.Chain ) ) {             
 2017468:	80 a0 80 03 	cmp  %g2, %g3                                  
 201746c:	02 80 00 0d 	be  20174a0 <_Timer_server_Schedule_operation_method+0xf8>
 2017470:	c2 00 60 fc 	ld  [ %g1 + 0xfc ], %g1                        
      first_watchdog = _Watchdog_First( &ts->TOD_watchdogs.Chain );   
      delta_interval = first_watchdog->delta_interval;                
 2017474:	c8 00 a0 10 	ld  [ %g2 + 0x10 ], %g4                        
      if ( snapshot > last_snapshot ) {                               
 2017478:	80 a0 40 0f 	cmp  %g1, %o7                                  
        }                                                             
      } else {                                                        
        /*                                                            
         *  Someone put us in the past.                               
         */                                                           
        delta = last_snapshot - snapshot;                             
 201747c:	86 01 00 0f 	add  %g4, %o7, %g3                             
    snapshot = (Watchdog_Interval) _TOD_Seconds_since_epoch();        
    last_snapshot = ts->TOD_watchdogs.last_snapshot;                  
    if ( !_Chain_Is_empty( &ts->TOD_watchdogs.Chain ) ) {             
      first_watchdog = _Watchdog_First( &ts->TOD_watchdogs.Chain );   
      delta_interval = first_watchdog->delta_interval;                
      if ( snapshot > last_snapshot ) {                               
 2017480:	08 80 00 07 	bleu  201749c <_Timer_server_Schedule_operation_method+0xf4>
 2017484:	86 20 c0 01 	sub  %g3, %g1, %g3                             
        /*                                                            
         *  We advanced in time.                                      
         */                                                           
        delta = snapshot - last_snapshot;                             
 2017488:	9e 20 40 0f 	sub  %g1, %o7, %o7                             
        if (delta_interval > delta) {                                 
 201748c:	80 a1 00 0f 	cmp  %g4, %o7                                  
 2017490:	08 80 00 03 	bleu  201749c <_Timer_server_Schedule_operation_method+0xf4><== NEVER TAKEN
 2017494:	86 10 20 00 	clr  %g3                                       
          delta_interval -= delta;                                    
 2017498:	86 21 00 0f 	sub  %g4, %o7, %g3                             
         *  Someone put us in the past.                               
         */                                                           
        delta = last_snapshot - snapshot;                             
        delta_interval += delta;                                      
      }                                                               
      first_watchdog->delta_interval = delta_interval;                
 201749c:	c6 20 a0 10 	st  %g3, [ %g2 + 0x10 ]                        
    }                                                                 
    ts->TOD_watchdogs.last_snapshot = snapshot;                       
 20174a0:	c2 26 20 74 	st  %g1, [ %i0 + 0x74 ]                        
    _ISR_Enable( level );                                             
 20174a4:	7f ff e3 0b 	call  20100d0 <sparc_enable_interrupts>        
 20174a8:	01 00 00 00 	nop                                            
                                                                      
    _Watchdog_Insert( &ts->TOD_watchdogs.Chain, &timer->Ticker );     
 20174ac:	90 06 20 68 	add  %i0, 0x68, %o0                            
 20174b0:	40 00 11 27 	call  201b94c <_Watchdog_Insert>               
 20174b4:	92 07 60 10 	add  %i5, 0x10, %o1                            
                                                                      
    if ( !ts->active ) {                                              
 20174b8:	c2 0e 20 7c 	ldub  [ %i0 + 0x7c ], %g1                      
 20174bc:	80 a0 60 00 	cmp  %g1, 0                                    
 20174c0:	12 80 00 04 	bne  20174d0 <_Timer_server_Schedule_operation_method+0x128>
 20174c4:	01 00 00 00 	nop                                            
      _Timer_server_Reset_tod_system_watchdog( ts );                  
 20174c8:	7f ff ff 33 	call  2017194 <_Timer_server_Reset_tod_system_watchdog>
 20174cc:	90 10 00 18 	mov  %i0, %o0                                  
    }                                                                 
  }                                                                   
                                                                      
  _Thread_Enable_dispatch();                                          
 20174d0:	40 00 0d 0c 	call  201a900 <_Thread_Enable_dispatch>        
 20174d4:	81 e8 00 00 	restore                                        
     *  server is not preemptible, so we must be in interrupt context here.  No
     *  thread dispatch will happen until the timer server finishes its
     *  critical section.  We have to use the protected chain methods because
     *  we may be interrupted by a higher priority interrupt.         
     */                                                               
    _Chain_Append( ts->insert_chain, &timer->Object.Node );           
 20174d8:	f0 06 20 78 	ld  [ %i0 + 0x78 ], %i0                        
 20174dc:	40 00 02 14 	call  2017d2c <_Chain_Append>                  
 20174e0:	81 e8 00 00 	restore                                        
                                                                      

02009768 <_User_extensions_Handler_initialization>: #include <rtems/score/userext.h> #include <rtems/score/wkspace.h> #include <string.h> void _User_extensions_Handler_initialization(void) {
 2009768:	9d e3 bf a0 	save  %sp, -96, %sp                            
  User_extensions_Control *extension;                                 
  uint32_t                 i;                                         
  uint32_t                 number_of_extensions;                      
  User_extensions_Table   *initial_extensions;                        
                                                                      
  number_of_extensions = Configuration.number_of_initial_extensions;  
 200976c:	03 00 80 6a 	sethi  %hi(0x201a800), %g1                     
 2009770:	82 10 60 2c 	or  %g1, 0x2c, %g1	! 201a82c <Configuration>   
)                                                                     
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
                                                                      
  head->next = tail;                                                  
 2009774:	05 00 80 6d 	sethi  %hi(0x201b400), %g2                     
  initial_extensions   = Configuration.User_extension_table;          
 2009778:	f4 00 60 3c 	ld  [ %g1 + 0x3c ], %i2                        
  User_extensions_Control *extension;                                 
  uint32_t                 i;                                         
  uint32_t                 number_of_extensions;                      
  User_extensions_Table   *initial_extensions;                        
                                                                      
  number_of_extensions = Configuration.number_of_initial_extensions;  
 200977c:	f6 00 60 38 	ld  [ %g1 + 0x38 ], %i3                        
 2009780:	82 10 a3 08 	or  %g2, 0x308, %g1                            
 2009784:	86 00 60 04 	add  %g1, 4, %g3                               
  head->previous = NULL;                                              
 2009788:	c0 20 60 04 	clr  [ %g1 + 4 ]                               
  tail->previous = head;                                              
 200978c:	c2 20 60 08 	st  %g1, [ %g1 + 8 ]                           
)                                                                     
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
                                                                      
  head->next = tail;                                                  
 2009790:	c6 20 a3 08 	st  %g3, [ %g2 + 0x308 ]                       
 2009794:	05 00 80 6d 	sethi  %hi(0x201b400), %g2                     
 2009798:	82 10 a1 24 	or  %g2, 0x124, %g1	! 201b524 <_User_extensions_Switches_list>
 200979c:	86 00 60 04 	add  %g1, 4, %g3                               
  head->previous = NULL;                                              
 20097a0:	c0 20 60 04 	clr  [ %g1 + 4 ]                               
)                                                                     
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
                                                                      
  head->next = tail;                                                  
 20097a4:	c6 20 a1 24 	st  %g3, [ %g2 + 0x124 ]                       
  initial_extensions   = Configuration.User_extension_table;          
                                                                      
  _Chain_Initialize_empty( &_User_extensions_List );                  
  _Chain_Initialize_empty( &_User_extensions_Switches_list );         
                                                                      
  if ( initial_extensions ) {                                         
 20097a8:	80 a6 a0 00 	cmp  %i2, 0                                    
 20097ac:	02 80 00 1b 	be  2009818 <_User_extensions_Handler_initialization+0xb0><== NEVER TAKEN
 20097b0:	c2 20 60 08 	st  %g1, [ %g1 + 8 ]                           
    extension = (User_extensions_Control *)                           
      _Workspace_Allocate_or_fatal_error(                             
        number_of_extensions * sizeof( User_extensions_Control )      
 20097b4:	83 2e e0 02 	sll  %i3, 2, %g1                               
 20097b8:	bb 2e e0 04 	sll  %i3, 4, %i5                               
 20097bc:	ba 27 40 01 	sub  %i5, %g1, %i5                             
 20097c0:	ba 07 40 1b 	add  %i5, %i3, %i5                             
 20097c4:	bb 2f 60 02 	sll  %i5, 2, %i5                               
                                                                      
  _Chain_Initialize_empty( &_User_extensions_List );                  
  _Chain_Initialize_empty( &_User_extensions_Switches_list );         
                                                                      
  if ( initial_extensions ) {                                         
    extension = (User_extensions_Control *)                           
 20097c8:	40 00 01 66 	call  2009d60 <_Workspace_Allocate_or_fatal_error>
 20097cc:	90 10 00 1d 	mov  %i5, %o0                                  
      _Workspace_Allocate_or_fatal_error(                             
        number_of_extensions * sizeof( User_extensions_Control )      
      );                                                              
                                                                      
    memset (                                                          
 20097d0:	94 10 00 1d 	mov  %i5, %o2                                  
                                                                      
  _Chain_Initialize_empty( &_User_extensions_List );                  
  _Chain_Initialize_empty( &_User_extensions_Switches_list );         
                                                                      
  if ( initial_extensions ) {                                         
    extension = (User_extensions_Control *)                           
 20097d4:	b8 10 00 08 	mov  %o0, %i4                                  
      _Workspace_Allocate_or_fatal_error(                             
        number_of_extensions * sizeof( User_extensions_Control )      
      );                                                              
                                                                      
    memset (                                                          
 20097d8:	92 10 20 00 	clr  %o1                                       
 20097dc:	40 00 13 de 	call  200e754 <memset>                         
 20097e0:	ba 10 20 00 	clr  %i5                                       
      extension,                                                      
      0,                                                              
      number_of_extensions * sizeof( User_extensions_Control )        
    );                                                                
                                                                      
    for ( i = 0 ; i < number_of_extensions ; i++ ) {                  
 20097e4:	10 80 00 0b 	b  2009810 <_User_extensions_Handler_initialization+0xa8>
 20097e8:	80 a7 40 1b 	cmp  %i5, %i3                                  
RTEMS_INLINE_ROUTINE void _User_extensions_Add_set_with_table(        
  User_extensions_Control     *extension,                             
  const User_extensions_Table *extension_table                        
)                                                                     
{                                                                     
  extension->Callouts = *extension_table;                             
 20097ec:	90 07 20 14 	add  %i4, 0x14, %o0                            
 20097f0:	92 06 80 09 	add  %i2, %o1, %o1                             
 20097f4:	40 00 13 9c 	call  200e664 <memcpy>                         
 20097f8:	94 10 20 20 	mov  0x20, %o2                                 
                                                                      
  _User_extensions_Add_set( extension );                              
 20097fc:	90 10 00 1c 	mov  %i4, %o0                                  
 2009800:	40 00 0b 75 	call  200c5d4 <_User_extensions_Add_set>       
 2009804:	ba 07 60 01 	inc  %i5                                       
      _User_extensions_Add_set_with_table (extension, &initial_extensions[i]);
      extension++;                                                    
 2009808:	b8 07 20 34 	add  %i4, 0x34, %i4                            
      extension,                                                      
      0,                                                              
      number_of_extensions * sizeof( User_extensions_Control )        
    );                                                                
                                                                      
    for ( i = 0 ; i < number_of_extensions ; i++ ) {                  
 200980c:	80 a7 40 1b 	cmp  %i5, %i3                                  
 2009810:	12 bf ff f7 	bne  20097ec <_User_extensions_Handler_initialization+0x84>
 2009814:	93 2f 60 05 	sll  %i5, 5, %o1                               
 2009818:	81 c7 e0 08 	ret                                            
 200981c:	81 e8 00 00 	restore                                        
                                                                      

0200b4d8 <_Watchdog_Adjust>: void _Watchdog_Adjust( Chain_Control *header, Watchdog_Adjust_directions direction, Watchdog_Interval units ) {
 200b4d8:	9d e3 bf a0 	save  %sp, -96, %sp                            
  ISR_Level level;                                                    
                                                                      
  _ISR_Disable( level );                                              
 200b4dc:	7f ff de c7 	call  2002ff8 <sparc_disable_interrupts>       
 200b4e0:	ba 10 00 18 	mov  %i0, %i5                                  
 */                                                                   
RTEMS_INLINE_ROUTINE const Chain_Node *_Chain_Immutable_first(        
  const Chain_Control *the_chain                                      
)                                                                     
{                                                                     
  return _Chain_Immutable_head( the_chain )->next;                    
 200b4e4:	c2 06 00 00 	ld  [ %i0 ], %g1                               
RTEMS_INLINE_ROUTINE bool _Chain_Is_empty(                            
  const Chain_Control *the_chain                                      
)                                                                     
{                                                                     
  return _Chain_Immutable_first( the_chain )                          
    == _Chain_Immutable_tail( the_chain );                            
 200b4e8:	b8 06 20 04 	add  %i0, 4, %i4                               
   *       hence the compiler must not assume *header to remain       
   *       unmodified across that call.                               
   *                                                                  
   *       Till Straumann, 7/2003                                     
   */                                                                 
  if ( !_Chain_Is_empty( header ) ) {                                 
 200b4ec:	80 a0 40 1c 	cmp  %g1, %i4                                  
 200b4f0:	02 80 00 1f 	be  200b56c <_Watchdog_Adjust+0x94>            
 200b4f4:	80 a6 60 00 	cmp  %i1, 0                                    
    switch ( direction ) {                                            
 200b4f8:	02 80 00 1a 	be  200b560 <_Watchdog_Adjust+0x88>            
 200b4fc:	b6 10 20 01 	mov  1, %i3                                    
 200b500:	80 a6 60 01 	cmp  %i1, 1                                    
 200b504:	12 80 00 1a 	bne  200b56c <_Watchdog_Adjust+0x94>           <== NEVER TAKEN
 200b508:	01 00 00 00 	nop                                            
      case WATCHDOG_BACKWARD:                                         
        _Watchdog_First( header )->delta_interval += units;           
 200b50c:	c4 00 60 10 	ld  [ %g1 + 0x10 ], %g2                        
 200b510:	10 80 00 07 	b  200b52c <_Watchdog_Adjust+0x54>             
 200b514:	b4 00 80 1a 	add  %g2, %i2, %i2                             
        break;                                                        
      case WATCHDOG_FORWARD:                                          
        while ( units ) {                                             
          if ( units < _Watchdog_First( header )->delta_interval ) {  
 200b518:	c4 00 60 10 	ld  [ %g1 + 0x10 ], %g2                        
 200b51c:	80 a6 80 02 	cmp  %i2, %g2                                  
 200b520:	3a 80 00 05 	bcc,a   200b534 <_Watchdog_Adjust+0x5c>        
 200b524:	f6 20 60 10 	st  %i3, [ %g1 + 0x10 ]                        
            _Watchdog_First( header )->delta_interval -= units;       
 200b528:	b4 20 80 1a 	sub  %g2, %i2, %i2                             
            break;                                                    
 200b52c:	10 80 00 10 	b  200b56c <_Watchdog_Adjust+0x94>             
 200b530:	f4 20 60 10 	st  %i2, [ %g1 + 0x10 ]                        
          } else {                                                    
            units -= _Watchdog_First( header )->delta_interval;       
 200b534:	b4 26 80 02 	sub  %i2, %g2, %i2                             
            _Watchdog_First( header )->delta_interval = 1;            
                                                                      
            _ISR_Enable( level );                                     
 200b538:	7f ff de b4 	call  2003008 <sparc_enable_interrupts>        
 200b53c:	01 00 00 00 	nop                                            
                                                                      
            _Watchdog_Tickle( header );                               
 200b540:	40 00 00 90 	call  200b780 <_Watchdog_Tickle>               
 200b544:	90 10 00 1d 	mov  %i5, %o0                                  
                                                                      
            _ISR_Disable( level );                                    
 200b548:	7f ff de ac 	call  2002ff8 <sparc_disable_interrupts>       
 200b54c:	01 00 00 00 	nop                                            
                                                                      
            if ( _Chain_Is_empty( header ) )                          
 200b550:	c2 07 40 00 	ld  [ %i5 ], %g1                               
 200b554:	80 a0 40 1c 	cmp  %g1, %i4                                  
 200b558:	02 80 00 05 	be  200b56c <_Watchdog_Adjust+0x94>            
 200b55c:	01 00 00 00 	nop                                            
    switch ( direction ) {                                            
      case WATCHDOG_BACKWARD:                                         
        _Watchdog_First( header )->delta_interval += units;           
        break;                                                        
      case WATCHDOG_FORWARD:                                          
        while ( units ) {                                             
 200b560:	80 a6 a0 00 	cmp  %i2, 0                                    
 200b564:	32 bf ff ed 	bne,a   200b518 <_Watchdog_Adjust+0x40>        <== ALWAYS TAKEN
 200b568:	c2 07 40 00 	ld  [ %i5 ], %g1                               
        }                                                             
        break;                                                        
    }                                                                 
  }                                                                   
                                                                      
  _ISR_Enable( level );                                               
 200b56c:	7f ff de a7 	call  2003008 <sparc_enable_interrupts>        
 200b570:	91 e8 00 08 	restore  %g0, %o0, %o0                         
                                                                      

02009b80 <_Watchdog_Remove>: */ Watchdog_States _Watchdog_Remove( Watchdog_Control *the_watchdog ) {
 2009b80:	9d e3 bf a0 	save  %sp, -96, %sp                            
  ISR_Level         level;                                            
  Watchdog_States   previous_state;                                   
  Watchdog_Control *next_watchdog;                                    
                                                                      
  _ISR_Disable( level );                                              
 2009b84:	7f ff e1 7e 	call  200217c <sparc_disable_interrupts>       
 2009b88:	ba 10 00 18 	mov  %i0, %i5                                  
  previous_state = the_watchdog->state;                               
 2009b8c:	f0 06 20 08 	ld  [ %i0 + 8 ], %i0                           
  switch ( previous_state ) {                                         
 2009b90:	80 a6 20 01 	cmp  %i0, 1                                    
 2009b94:	22 80 00 1d 	be,a   2009c08 <_Watchdog_Remove+0x88>         
 2009b98:	c0 27 60 08 	clr  [ %i5 + 8 ]                               
 2009b9c:	0a 80 00 1c 	bcs  2009c0c <_Watchdog_Remove+0x8c>           
 2009ba0:	03 00 80 6d 	sethi  %hi(0x201b400), %g1                     
 2009ba4:	80 a6 20 03 	cmp  %i0, 3                                    
 2009ba8:	18 80 00 19 	bgu  2009c0c <_Watchdog_Remove+0x8c>           <== NEVER TAKEN
 2009bac:	01 00 00 00 	nop                                            
 2009bb0:	c2 07 40 00 	ld  [ %i5 ], %g1                               
      break;                                                          
                                                                      
    case WATCHDOG_ACTIVE:                                             
    case WATCHDOG_REMOVE_IT:                                          
                                                                      
      the_watchdog->state = WATCHDOG_INACTIVE;                        
 2009bb4:	c0 27 60 08 	clr  [ %i5 + 8 ]                               
      next_watchdog = _Watchdog_Next( the_watchdog );                 
                                                                      
      if ( _Watchdog_Next(next_watchdog) )                            
 2009bb8:	c4 00 40 00 	ld  [ %g1 ], %g2                               
 2009bbc:	80 a0 a0 00 	cmp  %g2, 0                                    
 2009bc0:	02 80 00 07 	be  2009bdc <_Watchdog_Remove+0x5c>            
 2009bc4:	05 00 80 6d 	sethi  %hi(0x201b400), %g2                     
        next_watchdog->delta_interval += the_watchdog->delta_interval;
 2009bc8:	c6 00 60 10 	ld  [ %g1 + 0x10 ], %g3                        
 2009bcc:	c4 07 60 10 	ld  [ %i5 + 0x10 ], %g2                        
 2009bd0:	84 00 c0 02 	add  %g3, %g2, %g2                             
 2009bd4:	c4 20 60 10 	st  %g2, [ %g1 + 0x10 ]                        
                                                                      
      if ( _Watchdog_Sync_count )                                     
 2009bd8:	05 00 80 6d 	sethi  %hi(0x201b400), %g2                     
 2009bdc:	c4 00 a2 28 	ld  [ %g2 + 0x228 ], %g2	! 201b628 <_Watchdog_Sync_count>
 2009be0:	80 a0 a0 00 	cmp  %g2, 0                                    
 2009be4:	22 80 00 07 	be,a   2009c00 <_Watchdog_Remove+0x80>         
 2009be8:	c4 07 60 04 	ld  [ %i5 + 4 ], %g2                           
        _Watchdog_Sync_level = _ISR_Nest_level;                       
 2009bec:	05 00 80 6d 	sethi  %hi(0x201b400), %g2                     
 2009bf0:	c6 00 a3 58 	ld  [ %g2 + 0x358 ], %g3	! 201b758 <_Per_CPU_Information+0x8>
 2009bf4:	05 00 80 6d 	sethi  %hi(0x201b400), %g2                     
 2009bf8:	c6 20 a1 c8 	st  %g3, [ %g2 + 0x1c8 ]	! 201b5c8 <_Watchdog_Sync_level>
{                                                                     
  Chain_Node *next;                                                   
  Chain_Node *previous;                                               
                                                                      
  next           = the_node->next;                                    
  previous       = the_node->previous;                                
 2009bfc:	c4 07 60 04 	ld  [ %i5 + 4 ], %g2                           
  next->previous = previous;                                          
 2009c00:	c4 20 60 04 	st  %g2, [ %g1 + 4 ]                           
  previous->next = next;                                              
 2009c04:	c2 20 80 00 	st  %g1, [ %g2 ]                               
                                                                      
      _Chain_Extract_unprotected( &the_watchdog->Node );              
      break;                                                          
  }                                                                   
  the_watchdog->stop_time = _Watchdog_Ticks_since_boot;               
 2009c08:	03 00 80 6d 	sethi  %hi(0x201b400), %g1                     
 2009c0c:	c2 00 62 2c 	ld  [ %g1 + 0x22c ], %g1	! 201b62c <_Watchdog_Ticks_since_boot>
 2009c10:	c2 27 60 18 	st  %g1, [ %i5 + 0x18 ]                        
                                                                      
  _ISR_Enable( level );                                               
 2009c14:	7f ff e1 5e 	call  200218c <sparc_enable_interrupts>        
 2009c18:	01 00 00 00 	nop                                            
  return( previous_state );                                           
}                                                                     
 2009c1c:	81 c7 e0 08 	ret                                            
 2009c20:	81 e8 00 00 	restore                                        
                                                                      

0200acd0 <_Watchdog_Report_chain>: void _Watchdog_Report_chain( const char *name, Chain_Control *header ) {
 200acd0:	9d e3 bf a0 	save  %sp, -96, %sp                            
  ISR_Level          level;                                           
  Chain_Node        *node;                                            
                                                                      
  _ISR_Disable( level );                                              
 200acd4:	7f ff df 99 	call  2002b38 <sparc_disable_interrupts>       
 200acd8:	ba 10 00 18 	mov  %i0, %i5                                  
 200acdc:	b0 10 00 08 	mov  %o0, %i0                                  
    printk( "Watchdog Chain: %s %p\n", name, header );                
 200ace0:	11 00 80 6d 	sethi  %hi(0x201b400), %o0                     
 200ace4:	94 10 00 19 	mov  %i1, %o2                                  
 200ace8:	90 12 21 70 	or  %o0, 0x170, %o0                            
 200acec:	7f ff e6 49 	call  2004610 <printk>                         
 200acf0:	92 10 00 1d 	mov  %i5, %o1                                  
 */                                                                   
RTEMS_INLINE_ROUTINE const Chain_Node *_Chain_Immutable_first(        
  const Chain_Control *the_chain                                      
)                                                                     
{                                                                     
  return _Chain_Immutable_head( the_chain )->next;                    
 200acf4:	f8 06 40 00 	ld  [ %i1 ], %i4                               
RTEMS_INLINE_ROUTINE bool _Chain_Is_empty(                            
  const Chain_Control *the_chain                                      
)                                                                     
{                                                                     
  return _Chain_Immutable_first( the_chain )                          
    == _Chain_Immutable_tail( the_chain );                            
 200acf8:	b2 06 60 04 	add  %i1, 4, %i1                               
    if ( !_Chain_Is_empty( header ) ) {                               
 200acfc:	80 a7 00 19 	cmp  %i4, %i1                                  
 200ad00:	12 80 00 04 	bne  200ad10 <_Watchdog_Report_chain+0x40>     
 200ad04:	92 10 00 1c 	mov  %i4, %o1                                  
                                                                      
        _Watchdog_Report( NULL, watch );                              
      }                                                               
      printk( "== end of %s \n", name );                              
    } else {                                                          
      printk( "Chain is empty\n" );                                   
 200ad08:	10 80 00 0d 	b  200ad3c <_Watchdog_Report_chain+0x6c>       
 200ad0c:	11 00 80 6d 	sethi  %hi(0x201b400), %o0                     
            node != _Chain_Tail(header) ;                             
            node = node->next )                                       
      {                                                               
        Watchdog_Control *watch = (Watchdog_Control *) node;          
                                                                      
        _Watchdog_Report( NULL, watch );                              
 200ad10:	40 00 00 0f 	call  200ad4c <_Watchdog_Report>               
 200ad14:	90 10 20 00 	clr  %o0                                       
  _ISR_Disable( level );                                              
    printk( "Watchdog Chain: %s %p\n", name, header );                
    if ( !_Chain_Is_empty( header ) ) {                               
      for ( node = _Chain_First( header ) ;                           
            node != _Chain_Tail(header) ;                             
            node = node->next )                                       
 200ad18:	f8 07 00 00 	ld  [ %i4 ], %i4                               
  Chain_Node        *node;                                            
                                                                      
  _ISR_Disable( level );                                              
    printk( "Watchdog Chain: %s %p\n", name, header );                
    if ( !_Chain_Is_empty( header ) ) {                               
      for ( node = _Chain_First( header ) ;                           
 200ad1c:	80 a7 00 19 	cmp  %i4, %i1                                  
 200ad20:	12 bf ff fc 	bne  200ad10 <_Watchdog_Report_chain+0x40>     <== NEVER TAKEN
 200ad24:	92 10 00 1c 	mov  %i4, %o1                                  
      {                                                               
        Watchdog_Control *watch = (Watchdog_Control *) node;          
                                                                      
        _Watchdog_Report( NULL, watch );                              
      }                                                               
      printk( "== end of %s \n", name );                              
 200ad28:	11 00 80 6d 	sethi  %hi(0x201b400), %o0                     
 200ad2c:	92 10 00 1d 	mov  %i5, %o1                                  
 200ad30:	7f ff e6 38 	call  2004610 <printk>                         
 200ad34:	90 12 21 88 	or  %o0, 0x188, %o0                            
 200ad38:	30 80 00 03 	b,a   200ad44 <_Watchdog_Report_chain+0x74>    
    } else {                                                          
      printk( "Chain is empty\n" );                                   
 200ad3c:	7f ff e6 35 	call  2004610 <printk>                         
 200ad40:	90 12 21 98 	or  %o0, 0x198, %o0                            
    }                                                                 
  _ISR_Enable( level );                                               
 200ad44:	7f ff df 81 	call  2002b48 <sparc_enable_interrupts>        
 200ad48:	81 e8 00 00 	restore                                        
                                                                      

020182c0 <__kill>: #endif int __kill( pid_t pid, int sig ) { return 0; }
 20182c0:	81 c3 e0 08 	retl                                           <== NOT EXECUTED
 20182c4:	90 10 20 00 	clr  %o0                                       <== NOT EXECUTED
                                                                      

02012ca8 <_fat_block_read>: uint32_t start, uint32_t offset, uint32_t count, void *buff ) {
 2012ca8:	9d e3 bf 98 	save  %sp, -104, %sp                           
    int                     rc = RC_OK;                               
    register fat_fs_info_t *fs_info = mt_entry->fs_info;              
 2012cac:	fa 06 20 34 	ld  [ %i0 + 0x34 ], %i5                        
    ssize_t                 cmpltd = 0;                               
    uint32_t                blk = start;                              
    uint32_t                ofs = offset;                             
    rtems_bdbuf_buffer     *block = NULL;                             
 2012cb0:	c0 27 bf fc 	clr  [ %fp + -4 ]                              
    uint32_t                c = 0;                                    
                                                                      
    while (count > 0)                                                 
 2012cb4:	10 80 00 18 	b  2012d14 <_fat_block_read+0x6c>              
 2012cb8:	b0 10 20 00 	clr  %i0                                       
    {                                                                 
        rc = fat_buf_access(fs_info, blk, FAT_OP_TYPE_READ, &block);  
 2012cbc:	92 10 00 19 	mov  %i1, %o1                                  
 2012cc0:	94 10 20 01 	mov  1, %o2                                    
 2012cc4:	7f ff ff 20 	call  2012944 <fat_buf_access>                 
 2012cc8:	96 07 bf fc 	add  %fp, -4, %o3                              
        if (rc != RC_OK)                                              
 2012ccc:	80 a2 20 00 	cmp  %o0, 0                                    
 2012cd0:	12 80 00 16 	bne  2012d28 <_fat_block_read+0x80>            <== NEVER TAKEN
 2012cd4:	01 00 00 00 	nop                                            
            return -1;                                                
                                                                      
        c = MIN(count, (fs_info->vol.bps - ofs));                     
 2012cd8:	e0 17 40 00 	lduh  [ %i5 ], %l0                             
 2012cdc:	a0 24 00 1a 	sub  %l0, %i2, %l0                             
 2012ce0:	80 a4 00 1b 	cmp  %l0, %i3                                  
 2012ce4:	38 80 00 02 	bgu,a   2012cec <_fat_block_read+0x44>         
 2012ce8:	a0 10 00 1b 	mov  %i3, %l0                                  
        memcpy((buff + cmpltd), (block->buffer + ofs), c);            
 2012cec:	c2 07 bf fc 	ld  [ %fp + -4 ], %g1                          
 2012cf0:	90 07 00 18 	add  %i4, %i0, %o0                             
 2012cf4:	d2 00 60 24 	ld  [ %g1 + 0x24 ], %o1                        
 2012cf8:	94 10 00 10 	mov  %l0, %o2                                  
 2012cfc:	92 02 40 1a 	add  %o1, %i2, %o1                             
 2012d00:	40 00 24 8f 	call  201bf3c <memcpy>                         
 2012d04:	b6 26 c0 10 	sub  %i3, %l0, %i3                             
                                                                      
        count -= c;                                                   
        cmpltd += c;                                                  
 2012d08:	b0 04 00 18 	add  %l0, %i0, %i0                             
        blk++;                                                        
 2012d0c:	b2 06 60 01 	inc  %i1                                       
        ofs = 0;                                                      
 2012d10:	b4 10 20 00 	clr  %i2                                       
    uint32_t                blk = start;                              
    uint32_t                ofs = offset;                             
    rtems_bdbuf_buffer     *block = NULL;                             
    uint32_t                c = 0;                                    
                                                                      
    while (count > 0)                                                 
 2012d14:	80 a6 e0 00 	cmp  %i3, 0                                    
 2012d18:	12 bf ff e9 	bne  2012cbc <_fat_block_read+0x14>            
 2012d1c:	90 10 00 1d 	mov  %i5, %o0                                  
 2012d20:	81 c7 e0 08 	ret                                            
 2012d24:	81 e8 00 00 	restore                                        
        cmpltd += c;                                                  
        blk++;                                                        
        ofs = 0;                                                      
    }                                                                 
    return cmpltd;                                                    
}                                                                     
 2012d28:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2012d2c:	91 e8 3f ff 	restore  %g0, -1, %o0                          <== NOT EXECUTED
                                                                      

02012dc8 <_fat_block_release>: int _fat_block_release( rtems_filesystem_mount_table_entry_t *mt_entry) { fat_fs_info_t *fs_info = mt_entry->fs_info; return fat_buf_release(fs_info);
 2012dc8:	d0 02 20 34 	ld  [ %o0 + 0x34 ], %o0                        <== NOT EXECUTED
 2012dcc:	82 13 c0 00 	mov  %o7, %g1                                  <== NOT EXECUTED
 2012dd0:	7f ff ff 5c 	call  2012b40 <fat_buf_release>                <== NOT EXECUTED
 2012dd4:	9e 10 40 00 	mov  %g1, %o7                                  <== NOT EXECUTED
                                                                      

02012d30 <_fat_block_write>: rtems_filesystem_mount_table_entry_t *mt_entry, uint32_t start, uint32_t offset, uint32_t count, const void *buff) {
 2012d30:	9d e3 bf 98 	save  %sp, -104, %sp                           
}                                                                     
                                                                      
static inline void                                                    
fat_buf_mark_modified(fat_fs_info_t *fs_info)                         
{                                                                     
    fs_info->c.modified = true;                                       
 2012d34:	a2 10 20 01 	mov  1, %l1                                    
    int                 rc = RC_OK;                                   
    fat_fs_info_t      *fs_info = mt_entry->fs_info;                  
 2012d38:	fa 06 20 34 	ld  [ %i0 + 0x34 ], %i5                        
    ssize_t             cmpltd = 0;                                   
    uint32_t            blk  = start;                                 
    uint32_t            ofs = offset;                                 
    rtems_bdbuf_buffer *block = NULL;                                 
 2012d3c:	c0 27 bf fc 	clr  [ %fp + -4 ]                              
    uint32_t            c = 0;                                        
                                                                      
    while(count > 0)                                                  
 2012d40:	10 80 00 1b 	b  2012dac <_fat_block_write+0x7c>             
 2012d44:	b0 10 20 00 	clr  %i0                                       
    {                                                                 
        c = MIN(count, (fs_info->vol.bps - ofs));                     
 2012d48:	a0 20 40 1a 	sub  %g1, %i2, %l0                             
 2012d4c:	80 a4 00 1b 	cmp  %l0, %i3                                  
 2012d50:	38 80 00 02 	bgu,a   2012d58 <_fat_block_write+0x28>        
 2012d54:	a0 10 00 1b 	mov  %i3, %l0                                  
                                                                      
        if (c == fs_info->vol.bps)                                    
            rc = fat_buf_access(fs_info, blk, FAT_OP_TYPE_GET, &block);
 2012d58:	90 10 00 1d 	mov  %i5, %o0                                  
 2012d5c:	92 10 00 19 	mov  %i1, %o1                                  
                                                                      
    while(count > 0)                                                  
    {                                                                 
        c = MIN(count, (fs_info->vol.bps - ofs));                     
                                                                      
        if (c == fs_info->vol.bps)                                    
 2012d60:	80 a4 00 01 	cmp  %l0, %g1                                  
 2012d64:	02 80 00 03 	be  2012d70 <_fat_block_write+0x40>            
 2012d68:	94 10 20 02 	mov  2, %o2                                    
            rc = fat_buf_access(fs_info, blk, FAT_OP_TYPE_GET, &block);
        else                                                          
            rc = fat_buf_access(fs_info, blk, FAT_OP_TYPE_READ, &block);
 2012d6c:	94 10 20 01 	mov  1, %o2                                    
 2012d70:	7f ff fe f5 	call  2012944 <fat_buf_access>                 
 2012d74:	96 07 bf fc 	add  %fp, -4, %o3                              
        if (rc != RC_OK)                                              
 2012d78:	80 a2 20 00 	cmp  %o0, 0                                    
 2012d7c:	12 80 00 11 	bne  2012dc0 <_fat_block_write+0x90>           <== NEVER TAKEN
 2012d80:	c2 07 bf fc 	ld  [ %fp + -4 ], %g1                          
            return -1;                                                
                                                                      
        memcpy((block->buffer + ofs), (buff + cmpltd), c);            
 2012d84:	92 07 00 18 	add  %i4, %i0, %o1                             
 2012d88:	d0 00 60 24 	ld  [ %g1 + 0x24 ], %o0                        
 2012d8c:	94 10 00 10 	mov  %l0, %o2                                  
 2012d90:	90 02 00 1a 	add  %o0, %i2, %o0                             
 2012d94:	40 00 24 6a 	call  201bf3c <memcpy>                         
 2012d98:	b6 26 c0 10 	sub  %i3, %l0, %i3                             
                                                                      
        fat_buf_mark_modified(fs_info);                               
                                                                      
        count -= c;                                                   
        cmpltd +=c;                                                   
 2012d9c:	b0 04 00 18 	add  %l0, %i0, %i0                             
 2012da0:	e2 2f 60 84 	stb  %l1, [ %i5 + 0x84 ]                       
        blk++;                                                        
 2012da4:	b2 06 60 01 	inc  %i1                                       
        ofs = 0;                                                      
 2012da8:	b4 10 20 00 	clr  %i2                                       
    uint32_t            blk  = start;                                 
    uint32_t            ofs = offset;                                 
    rtems_bdbuf_buffer *block = NULL;                                 
    uint32_t            c = 0;                                        
                                                                      
    while(count > 0)                                                  
 2012dac:	80 a6 e0 00 	cmp  %i3, 0                                    
 2012db0:	32 bf ff e6 	bne,a   2012d48 <_fat_block_write+0x18>        
 2012db4:	c2 17 40 00 	lduh  [ %i5 ], %g1                             
 2012db8:	81 c7 e0 08 	ret                                            
 2012dbc:	81 e8 00 00 	restore                                        
        cmpltd +=c;                                                   
        blk++;                                                        
        ofs = 0;                                                      
    }                                                                 
    return cmpltd;                                                    
}                                                                     
 2012dc0:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2012dc4:	91 e8 3f ff 	restore  %g0, -1, %o0                          <== NOT EXECUTED
                                                                      

02002ef4 <_gettimeofday>: int _gettimeofday( struct timeval *tp, struct timezone *tzp ) { return gettimeofday( tp, tzp );
 2002ef4:	82 13 c0 00 	mov  %o7, %g1                                  <== NOT EXECUTED
 2002ef8:	7f ff ff e1 	call  2002e7c <gettimeofday>                   <== NOT EXECUTED
 2002efc:	9e 10 40 00 	mov  %g1, %o7                                  <== NOT EXECUTED
                                                                      

02011cc8 <_hash_search>: rtems_chain_control *hash, uint32_t key1, uint32_t key2, fat_file_fd_t **ret ) {
 2011cc8:	9d e3 bf a0 	save  %sp, -96, %sp                            
    uint32_t          mod = (key1) % FAT_HASH_MODULE;                 
 2011ccc:	84 0e a0 01 	and  %i2, 1, %g2                               
    rtems_chain_node *the_node = rtems_chain_first(hash + mod);       
 2011cd0:	87 28 a0 02 	sll  %g2, 2, %g3                               
 2011cd4:	83 28 a0 04 	sll  %g2, 4, %g1                               
 2011cd8:	82 20 40 03 	sub  %g1, %g3, %g1                             
 2011cdc:	84 06 40 01 	add  %i1, %g1, %g2                             
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_First(                        
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  return _Chain_Head( the_chain )->next;                              
 2011ce0:	fa 06 40 01 	ld  [ %i1 + %g1 ], %i5                         
                                                                      
    for ( ; !rtems_chain_is_tail((hash) + mod, the_node) ; )          
 2011ce4:	10 80 00 11 	b  2011d28 <_hash_search+0x60>                 
 2011ce8:	b2 00 a0 04 	add  %g2, 4, %i1                               
    {                                                                 
        fat_file_fd_t *ffd = (fat_file_fd_t *)the_node;               
        uint32_t       ck =  fat_construct_key(mt_entry, &ffd->dir_pos.sname);
 2011cec:	7f ff ff e5 	call  2011c80 <fat_construct_key>              
 2011cf0:	92 07 60 20 	add  %i5, 0x20, %o1                            
                                                                      
        if ( (key1) == ck)                                            
 2011cf4:	80 a6 80 08 	cmp  %i2, %o0                                  
 2011cf8:	32 80 00 0c 	bne,a   2011d28 <_hash_search+0x60>            
 2011cfc:	fa 07 40 00 	ld  [ %i5 ], %i5                               
        {                                                             
            if ( ((key2) == 0) || ((key2) == ffd->ino) )              
 2011d00:	80 a6 e0 00 	cmp  %i3, 0                                    
 2011d04:	22 80 00 07 	be,a   2011d20 <_hash_search+0x58>             <== ALWAYS TAKEN
 2011d08:	fa 27 00 00 	st  %i5, [ %i4 ]                               
 2011d0c:	c2 07 60 0c 	ld  [ %i5 + 0xc ], %g1                         <== NOT EXECUTED
 2011d10:	80 a6 c0 01 	cmp  %i3, %g1                                  <== NOT EXECUTED
 2011d14:	32 80 00 05 	bne,a   2011d28 <_hash_search+0x60>            <== NOT EXECUTED
 2011d18:	fa 07 40 00 	ld  [ %i5 ], %i5                               <== NOT EXECUTED
            {                                                         
                *ret = (void *)the_node;                              
 2011d1c:	fa 27 00 00 	st  %i5, [ %i4 ]                               <== NOT EXECUTED
                return 0;                                             
 2011d20:	81 c7 e0 08 	ret                                            
 2011d24:	91 e8 20 00 	restore  %g0, 0, %o0                           
    )                                                                 
{                                                                     
    uint32_t          mod = (key1) % FAT_HASH_MODULE;                 
    rtems_chain_node *the_node = rtems_chain_first(hash + mod);       
                                                                      
    for ( ; !rtems_chain_is_tail((hash) + mod, the_node) ; )          
 2011d28:	80 a7 40 19 	cmp  %i5, %i1                                  
 2011d2c:	12 bf ff f0 	bne  2011cec <_hash_search+0x24>               
 2011d30:	90 10 00 18 	mov  %i0, %o0                                  
            }                                                         
        }                                                             
        the_node = the_node->next;                                    
    }                                                                 
    return -1;                                                        
}                                                                     
 2011d34:	81 c7 e0 08 	ret                                            
 2011d38:	91 e8 3f ff 	restore  %g0, -1, %o0                          
                                                                      

0201e654 <_rename_r>: int _rename_r( struct _reent *ptr __attribute__((unused)), const char *old, const char *new ) {
 201e654:	9d e3 bf 58 	save  %sp, -168, %sp                           
                                                                      
  /*                                                                  
   *  Get the parent node of the old path to be renamed. Find the parent path.
   */                                                                 
                                                                      
  old_parent_pathlen = rtems_filesystem_dirname ( old );              
 201e658:	7f ff 9a 37 	call  2004f34 <rtems_filesystem_dirname>       
 201e65c:	90 10 00 19 	mov  %i1, %o0                                  
 201e660:	b8 10 00 08 	mov  %o0, %i4                                  
                                                                      
  if ( old_parent_pathlen == 0 )                                      
 201e664:	80 a7 20 00 	cmp  %i4, 0                                    
 201e668:	12 80 00 08 	bne  201e688 <_rename_r+0x34>                  
 201e66c:	90 10 00 19 	mov  %i1, %o0                                  
    rtems_filesystem_get_start_loc( old, &i, &old_parent_loc );       
 201e670:	92 07 bf f8 	add  %fp, -8, %o1                              
 201e674:	94 07 bf d0 	add  %fp, -48, %o2                             
 201e678:	7f ff a0 1f 	call  20066f4 <rtems_filesystem_get_start_loc> 
 201e67c:	ba 10 20 00 	clr  %i5                                       
                                                                      
  /*                                                                  
   * Start from the parent to find the node that should be under it.  
   */                                                                 
                                                                      
  old_loc = old_parent_loc;                                           
 201e680:	10 80 00 0c 	b  201e6b0 <_rename_r+0x5c>                    
 201e684:	94 10 20 14 	mov  0x14, %o2                                 
  old_parent_pathlen = rtems_filesystem_dirname ( old );              
                                                                      
  if ( old_parent_pathlen == 0 )                                      
    rtems_filesystem_get_start_loc( old, &i, &old_parent_loc );       
  else {                                                              
    result = rtems_filesystem_evaluate_path( old, old_parent_pathlen, 
 201e688:	92 10 00 1c 	mov  %i4, %o1                                  
 201e68c:	94 10 20 02 	mov  2, %o2                                    
 201e690:	96 07 bf d0 	add  %fp, -48, %o3                             
 201e694:	98 10 20 00 	clr  %o4                                       
 201e698:	7f ff 9a 18 	call  2004ef8 <rtems_filesystem_evaluate_path> 
 201e69c:	b0 10 3f ff 	mov  -1, %i0                                   
                                             RTEMS_LIBIO_PERMS_WRITE, 
                                             &old_parent_loc,         
                                             false );                 
    if ( result != 0 )                                                
 201e6a0:	80 a2 20 00 	cmp  %o0, 0                                    
 201e6a4:	12 80 00 1e 	bne  201e71c <_rename_r+0xc8>                  <== NEVER TAKEN
 201e6a8:	ba 10 20 01 	mov  1, %i5                                    
                                                                      
  /*                                                                  
   * Start from the parent to find the node that should be under it.  
   */                                                                 
                                                                      
  old_loc = old_parent_loc;                                           
 201e6ac:	94 10 20 14 	mov  0x14, %o2                                 
 201e6b0:	92 07 bf d0 	add  %fp, -48, %o1                             
 201e6b4:	7f ff ca 4b 	call  2010fe0 <memcpy>                         
 201e6b8:	90 07 bf bc 	add  %fp, -68, %o0                             
  name = old + old_parent_pathlen;                                    
 201e6bc:	b2 06 40 1c 	add  %i1, %i4, %i1                             
 201e6c0:	f2 27 bf fc 	st  %i1, [ %fp + -4 ]                          
  name += rtems_filesystem_prefix_separators( name, strlen( name ) ); 
 201e6c4:	7f ff cd 3a 	call  2011bac <strlen>                         
 201e6c8:	90 10 00 19 	mov  %i1, %o0                                  
 201e6cc:	92 10 00 08 	mov  %o0, %o1                                  
 201e6d0:	7f ff 9a 28 	call  2004f70 <rtems_filesystem_prefix_separators>
 201e6d4:	90 10 00 19 	mov  %i1, %o0                                  
 201e6d8:	b2 06 40 08 	add  %i1, %o0, %i1                             
 201e6dc:	f2 27 bf fc 	st  %i1, [ %fp + -4 ]                          
                                                                      
  result = rtems_filesystem_evaluate_relative_path( name , strlen( name ),
 201e6e0:	7f ff cd 33 	call  2011bac <strlen>                         
 201e6e4:	90 10 00 19 	mov  %i1, %o0                                  
 201e6e8:	94 10 20 00 	clr  %o2                                       
 201e6ec:	92 10 00 08 	mov  %o0, %o1                                  
 201e6f0:	96 07 bf bc 	add  %fp, -68, %o3                             
 201e6f4:	90 10 00 19 	mov  %i1, %o0                                  
 201e6f8:	7f ff 99 e4 	call  2004e88 <rtems_filesystem_evaluate_relative_path>
 201e6fc:	98 10 20 00 	clr  %o4                                       
                                                    0, &old_loc, false );
  if ( result != 0 ) {                                                
 201e700:	80 a2 20 00 	cmp  %o0, 0                                    
 201e704:	02 80 00 08 	be  201e724 <_rename_r+0xd0>                   
 201e708:	80 8f 60 ff 	btst  0xff, %i5                                
    if ( free_old_parentloc )                                         
 201e70c:	02 80 00 04 	be  201e71c <_rename_r+0xc8>                   
 201e710:	b0 10 3f ff 	mov  -1, %i0                                   
      rtems_filesystem_freenode( &old_parent_loc );                   
 201e714:	7f ff 9a 6b 	call  20050c0 <rtems_filesystem_freenode>      
 201e718:	90 07 bf d0 	add  %fp, -48, %o0                             
 201e71c:	81 c7 e0 08 	ret                                            
 201e720:	81 e8 00 00 	restore                                        
                                                                      
  /*                                                                  
   * Get the parent of the new node we are renaming to.               
   */                                                                 
                                                                      
  rtems_filesystem_get_start_loc( new, &i, &new_parent_loc );         
 201e724:	90 10 00 1a 	mov  %i2, %o0                                  
 201e728:	92 07 bf f8 	add  %fp, -8, %o1                              
 201e72c:	7f ff 9f f2 	call  20066f4 <rtems_filesystem_get_start_loc> 
 201e730:	94 07 bf e4 	add  %fp, -28, %o2                             
                                                                      
  result = (*new_parent_loc.ops->evalformake_h)( &new[i], &new_parent_loc, &name );
 201e734:	c2 07 bf f0 	ld  [ %fp + -16 ], %g1                         
 201e738:	d0 07 bf f8 	ld  [ %fp + -8 ], %o0                          
 201e73c:	c2 00 60 04 	ld  [ %g1 + 4 ], %g1                           
 201e740:	90 06 80 08 	add  %i2, %o0, %o0                             
 201e744:	92 07 bf e4 	add  %fp, -28, %o1                             
 201e748:	9f c0 40 00 	call  %g1                                      
 201e74c:	94 07 bf fc 	add  %fp, -4, %o2                              
  if ( result != 0 ) {                                                
 201e750:	80 a2 20 00 	cmp  %o0, 0                                    
 201e754:	02 80 00 0d 	be  201e788 <_rename_r+0x134>                  
 201e758:	c2 07 bf f4 	ld  [ %fp + -12 ], %g1                         
    rtems_filesystem_freenode( &new_parent_loc );                     
 201e75c:	7f ff 9a 59 	call  20050c0 <rtems_filesystem_freenode>      
 201e760:	90 07 bf e4 	add  %fp, -28, %o0                             
    if ( free_old_parentloc )                                         
 201e764:	80 8f 60 ff 	btst  0xff, %i5                                
 201e768:	02 80 00 04 	be  201e778 <_rename_r+0x124>                  
 201e76c:	01 00 00 00 	nop                                            
      rtems_filesystem_freenode( &old_parent_loc );                   
 201e770:	7f ff 9a 54 	call  20050c0 <rtems_filesystem_freenode>      
 201e774:	90 07 bf d0 	add  %fp, -48, %o0                             
    rtems_filesystem_freenode( &old_loc );                            
 201e778:	7f ff 9a 52 	call  20050c0 <rtems_filesystem_freenode>      
 201e77c:	90 07 bf bc 	add  %fp, -68, %o0                             
  if ( old_parent_loc.mt_entry != new_parent_loc.mt_entry ) {         
    rtems_filesystem_freenode( &new_parent_loc );                     
    if ( free_old_parentloc )                                         
      rtems_filesystem_freenode( &old_parent_loc );                   
    rtems_filesystem_freenode( &old_loc );                            
    rtems_set_errno_and_return_minus_one( EXDEV );                    
 201e780:	81 c7 e0 08 	ret                                            
 201e784:	91 e8 3f ff 	restore  %g0, -1, %o0                          
  /*                                                                  
   *  Check to see if the caller is trying to rename across file system
   *  boundaries.                                                     
   */                                                                 
                                                                      
  if ( old_parent_loc.mt_entry != new_parent_loc.mt_entry ) {         
 201e788:	c4 07 bf e0 	ld  [ %fp + -32 ], %g2                         
 201e78c:	80 a0 80 01 	cmp  %g2, %g1                                  
 201e790:	02 80 00 11 	be  201e7d4 <_rename_r+0x180>                  
 201e794:	c2 07 bf f0 	ld  [ %fp + -16 ], %g1                         
    rtems_filesystem_freenode( &new_parent_loc );                     
 201e798:	7f ff 9a 4a 	call  20050c0 <rtems_filesystem_freenode>      
 201e79c:	90 07 bf e4 	add  %fp, -28, %o0                             
    if ( free_old_parentloc )                                         
 201e7a0:	80 8f 60 ff 	btst  0xff, %i5                                
 201e7a4:	02 80 00 04 	be  201e7b4 <_rename_r+0x160>                  
 201e7a8:	01 00 00 00 	nop                                            
      rtems_filesystem_freenode( &old_parent_loc );                   
 201e7ac:	7f ff 9a 45 	call  20050c0 <rtems_filesystem_freenode>      
 201e7b0:	90 07 bf d0 	add  %fp, -48, %o0                             
    rtems_filesystem_freenode( &old_loc );                            
 201e7b4:	7f ff 9a 43 	call  20050c0 <rtems_filesystem_freenode>      
 201e7b8:	90 07 bf bc 	add  %fp, -68, %o0                             
    rtems_set_errno_and_return_minus_one( EXDEV );                    
 201e7bc:	7f ff c7 ad 	call  2010670 <__errno>                        
 201e7c0:	01 00 00 00 	nop                                            
 201e7c4:	82 10 20 12 	mov  0x12, %g1	! 12 <PROM_START+0x12>          
 201e7c8:	c2 22 00 00 	st  %g1, [ %o0 ]                               
 201e7cc:	81 c7 e0 08 	ret                                            
 201e7d0:	91 e8 3f ff 	restore  %g0, -1, %o0                          
  }                                                                   
                                                                      
  result = (*new_parent_loc.ops->rename_h)( &old_parent_loc, &old_loc, &new_parent_loc, name );
 201e7d4:	d6 07 bf fc 	ld  [ %fp + -4 ], %o3                          
 201e7d8:	c2 00 60 40 	ld  [ %g1 + 0x40 ], %g1                        
 201e7dc:	92 07 bf bc 	add  %fp, -68, %o1                             
 201e7e0:	94 07 bf e4 	add  %fp, -28, %o2                             
 201e7e4:	9f c0 40 00 	call  %g1                                      
 201e7e8:	90 07 bf d0 	add  %fp, -48, %o0                             
 201e7ec:	b0 10 00 08 	mov  %o0, %i0                                  
                                                                      
  rtems_filesystem_freenode( &new_parent_loc );                       
 201e7f0:	7f ff 9a 34 	call  20050c0 <rtems_filesystem_freenode>      
 201e7f4:	90 07 bf e4 	add  %fp, -28, %o0                             
  if ( free_old_parentloc )                                           
 201e7f8:	80 8f 60 ff 	btst  0xff, %i5                                
 201e7fc:	02 80 00 04 	be  201e80c <_rename_r+0x1b8>                  
 201e800:	01 00 00 00 	nop                                            
    rtems_filesystem_freenode( &old_parent_loc );                     
 201e804:	7f ff 9a 2f 	call  20050c0 <rtems_filesystem_freenode>      
 201e808:	90 07 bf d0 	add  %fp, -48, %o0                             
  rtems_filesystem_freenode( &old_loc );                              
 201e80c:	7f ff 9a 2d 	call  20050c0 <rtems_filesystem_freenode>      
 201e810:	90 07 bf bc 	add  %fp, -68, %o0                             
                                                                      
  return result;                                                      
}                                                                     
 201e814:	81 c7 e0 08 	ret                                            
 201e818:	81 e8 00 00 	restore                                        
                                                                      

02004d28 <chroot>: #include <rtems/seterr.h> int chroot( const char *pathname ) {
 2004d28:	9d e3 bf 88 	save  %sp, -120, %sp                           
  int                               result;                           
  rtems_filesystem_location_info_t  loc;                              
                                                                      
  /* an automatic call to new private env the first time */           
  if (rtems_current_user_env == &rtems_global_user_env) {             
 2004d2c:	39 00 80 83 	sethi  %hi(0x2020c00), %i4                     
 2004d30:	fa 07 23 dc 	ld  [ %i4 + 0x3dc ], %i5	! 2020fdc <rtems_current_user_env>
 2004d34:	03 00 80 86 	sethi  %hi(0x2021800), %g1                     
 2004d38:	82 10 61 1c 	or  %g1, 0x11c, %g1	! 202191c <rtems_global_user_env>
 2004d3c:	80 a7 40 01 	cmp  %i5, %g1                                  
 2004d40:	12 80 00 0e 	bne  2004d78 <chroot+0x50>                     
 2004d44:	01 00 00 00 	nop                                            
   rtems_libio_set_private_env(); /* try to set a new private env*/   
 2004d48:	40 00 05 59 	call  20062ac <rtems_libio_set_private_env>    
 2004d4c:	01 00 00 00 	nop                                            
   if (rtems_current_user_env == &rtems_global_user_env) /* not ok */ 
 2004d50:	c2 07 23 dc 	ld  [ %i4 + 0x3dc ], %g1                       
 2004d54:	80 a0 40 1d 	cmp  %g1, %i5                                  
 2004d58:	12 80 00 08 	bne  2004d78 <chroot+0x50>                     
 2004d5c:	01 00 00 00 	nop                                            
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
 2004d60:	40 00 2e 44 	call  2010670 <__errno>                        
 2004d64:	b0 10 3f ff 	mov  -1, %i0	! ffffffff <RAM_END+0xfdbfffff>   
 2004d68:	82 10 20 86 	mov  0x86, %g1                                 
 2004d6c:	c2 22 00 00 	st  %g1, [ %o0 ]                               
 2004d70:	81 c7 e0 08 	ret                                            
 2004d74:	81 e8 00 00 	restore                                        
  }                                                                   
                                                                      
  result = chdir(pathname);                                           
 2004d78:	7f ff ff bd 	call  2004c6c <chdir>                          
 2004d7c:	90 10 00 18 	mov  %i0, %o0                                  
  if (result) {                                                       
 2004d80:	80 a2 20 00 	cmp  %o0, 0                                    
 2004d84:	12 80 00 0c 	bne  2004db4 <chroot+0x8c>                     
 2004d88:	01 00 00 00 	nop                                            
    rtems_set_errno_and_return_minus_one( errno );                    
  }                                                                   
                                                                      
  /* clone the new root location */                                   
  if (rtems_filesystem_evaluate_path(".", 1, 0, &loc, 0)) {           
 2004d8c:	11 00 80 7c 	sethi  %hi(0x201f000), %o0                     
 2004d90:	92 10 20 01 	mov  1, %o1                                    
 2004d94:	90 12 22 98 	or  %o0, 0x298, %o0                            
 2004d98:	94 10 20 00 	clr  %o2                                       
 2004d9c:	96 07 bf ec 	add  %fp, -20, %o3                             
 2004da0:	40 00 00 56 	call  2004ef8 <rtems_filesystem_evaluate_path> 
 2004da4:	98 10 20 00 	clr  %o4                                       
 2004da8:	80 a2 20 00 	cmp  %o0, 0                                    
 2004dac:	02 80 00 0a 	be  2004dd4 <chroot+0xac>                      <== ALWAYS TAKEN
 2004db0:	3b 00 80 83 	sethi  %hi(0x2020c00), %i5                     
    /* our cwd has changed, though - but there is no easy way of return :-( */
    rtems_set_errno_and_return_minus_one( errno );                    
 2004db4:	40 00 2e 2f 	call  2010670 <__errno>                        
 2004db8:	b0 10 3f ff 	mov  -1, %i0                                   
 2004dbc:	40 00 2e 2d 	call  2010670 <__errno>                        
 2004dc0:	ba 10 00 08 	mov  %o0, %i5                                  
 2004dc4:	c2 02 00 00 	ld  [ %o0 ], %g1                               
 2004dc8:	c2 27 40 00 	st  %g1, [ %i5 ]                               
 2004dcc:	81 c7 e0 08 	ret                                            
 2004dd0:	81 e8 00 00 	restore                                        
  }                                                                   
  rtems_filesystem_freenode(&rtems_filesystem_root);                  
 2004dd4:	d0 07 63 dc 	ld  [ %i5 + 0x3dc ], %o0                       
  rtems_filesystem_root = loc;                                        
                                                                      
  return 0;                                                           
 2004dd8:	b0 10 20 00 	clr  %i0                                       
  /* clone the new root location */                                   
  if (rtems_filesystem_evaluate_path(".", 1, 0, &loc, 0)) {           
    /* our cwd has changed, though - but there is no easy way of return :-( */
    rtems_set_errno_and_return_minus_one( errno );                    
  }                                                                   
  rtems_filesystem_freenode(&rtems_filesystem_root);                  
 2004ddc:	40 00 00 b9 	call  20050c0 <rtems_filesystem_freenode>      
 2004de0:	90 02 20 18 	add  %o0, 0x18, %o0                            
  rtems_filesystem_root = loc;                                        
 2004de4:	d0 07 63 dc 	ld  [ %i5 + 0x3dc ], %o0                       
 2004de8:	92 07 bf ec 	add  %fp, -20, %o1                             
 2004dec:	94 10 20 14 	mov  0x14, %o2                                 
 2004df0:	40 00 30 7c 	call  2010fe0 <memcpy>                         
 2004df4:	90 02 20 18 	add  %o0, 0x18, %o0                            
                                                                      
  return 0;                                                           
}                                                                     
 2004df8:	81 c7 e0 08 	ret                                            
 2004dfc:	81 e8 00 00 	restore                                        
                                                                      

02002878 <create_disk>: return disktab [major].minor + minor; } static rtems_status_code create_disk(dev_t dev, const char *name, rtems_disk_device **dd_ptr) {
 2002878:	9d e3 bf a0 	save  %sp, -96, %sp                            
  rtems_device_major_number major = 0;                                
  rtems_device_minor_number minor = 0;                                
                                                                      
  rtems_filesystem_split_dev_t(dev, major, minor);                    
                                                                      
  if (major >= disktab_size) {                                        
 200287c:	03 00 80 61 	sethi  %hi(0x2018400), %g1                     
 2002880:	e2 00 62 b4 	ld  [ %g1 + 0x2b4 ], %l1	! 20186b4 <disktab_size>
 2002884:	80 a6 00 11 	cmp  %i0, %l1                                  
 2002888:	0a 80 00 18 	bcs  20028e8 <create_disk+0x70>                
 200288c:	ba 10 00 18 	mov  %i0, %i5                                  
    rtems_disk_device_table *table = disktab;                         
 2002890:	03 00 80 61 	sethi  %hi(0x2018400), %g1                     
    rtems_device_major_number old_size = disktab_size;                
    rtems_device_major_number new_size = 2 * old_size;                
 2002894:	b9 2c 60 01 	sll  %l1, 1, %i4                               
                                                                      
    if (major >= new_size) {                                          
 2002898:	80 a6 00 1c 	cmp  %i0, %i4                                  
 200289c:	0a 80 00 03 	bcs  20028a8 <create_disk+0x30>                <== NEVER TAKEN
 20028a0:	d0 00 62 b8 	ld  [ %g1 + 0x2b8 ], %o0                       
      new_size = major + 1;                                           
 20028a4:	b8 06 20 01 	add  %i0, 1, %i4                               
    }                                                                 
                                                                      
    table = realloc(table, new_size * sizeof(*table));                
 20028a8:	93 2f 20 03 	sll  %i4, 3, %o1                               
 20028ac:	40 00 07 b0 	call  200476c <realloc>                        
 20028b0:	b0 10 20 1a 	mov  0x1a, %i0                                 
    if (table == NULL) {                                              
 20028b4:	80 a2 20 00 	cmp  %o0, 0                                    
 20028b8:	02 80 00 46 	be  20029d0 <create_disk+0x158>                <== ALWAYS TAKEN
 20028bc:	a0 10 00 08 	mov  %o0, %l0                                  
      return NULL;                                                    
    }                                                                 
                                                                      
    memset(table + old_size, 0, (new_size - old_size) * sizeof(*table));
 20028c0:	94 27 00 11 	sub  %i4, %l1, %o2                             <== NOT EXECUTED
 20028c4:	91 2c 60 03 	sll  %l1, 3, %o0                               <== NOT EXECUTED
 20028c8:	92 10 20 00 	clr  %o1                                       <== NOT EXECUTED
 20028cc:	90 04 00 08 	add  %l0, %o0, %o0                             <== NOT EXECUTED
 20028d0:	40 00 3e 6a 	call  2012278 <memset>                         <== NOT EXECUTED
 20028d4:	95 2a a0 03 	sll  %o2, 3, %o2                               <== NOT EXECUTED
    disktab = table;                                                  
 20028d8:	03 00 80 61 	sethi  %hi(0x2018400), %g1                     <== NOT EXECUTED
 20028dc:	e0 20 62 b8 	st  %l0, [ %g1 + 0x2b8 ]	! 20186b8 <disktab>   <== NOT EXECUTED
    disktab_size = new_size;                                          
 20028e0:	03 00 80 61 	sethi  %hi(0x2018400), %g1                     <== NOT EXECUTED
 20028e4:	f8 20 62 b4 	st  %i4, [ %g1 + 0x2b4 ]	! 20186b4 <disktab_size><== NOT EXECUTED
  }                                                                   
                                                                      
  if (disktab [major].minor == NULL || minor >= disktab[major].size) {
 20028e8:	03 00 80 61 	sethi  %hi(0x2018400), %g1                     
 20028ec:	e4 00 62 b8 	ld  [ %g1 + 0x2b8 ], %l2	! 20186b8 <disktab>   
 20028f0:	a3 2f 60 03 	sll  %i5, 3, %l1                               
 20028f4:	d0 04 80 11 	ld  [ %l2 + %l1 ], %o0                         
 20028f8:	a6 04 80 11 	add  %l2, %l1, %l3                             
 20028fc:	80 a2 20 00 	cmp  %o0, 0                                    
 2002900:	02 80 00 05 	be  2002914 <create_disk+0x9c>                 
 2002904:	e8 04 e0 04 	ld  [ %l3 + 4 ], %l4                           
 2002908:	80 a6 40 14 	cmp  %i1, %l4                                  
 200290c:	2a 80 00 18 	bcs,a   200296c <create_disk+0xf4>             <== ALWAYS TAKEN
 2002910:	e2 04 80 11 	ld  [ %l2 + %l1 ], %l1                         
    rtems_disk_device **table = disktab [major].minor;                
    rtems_device_minor_number old_size = disktab [major].size;        
    rtems_device_minor_number new_size = 0;                           
                                                                      
    if (old_size == 0) {                                              
 2002914:	80 a5 20 00 	cmp  %l4, 0                                    
 2002918:	02 80 00 03 	be  2002924 <create_disk+0xac>                 <== ALWAYS TAKEN
 200291c:	b8 10 20 08 	mov  8, %i4                                    
      new_size = DISKTAB_INITIAL_SIZE;                                
    } else {                                                          
      new_size = 2 * old_size;                                        
 2002920:	b9 2d 20 01 	sll  %l4, 1, %i4                               <== NOT EXECUTED
    }                                                                 
    if (minor >= new_size) {                                          
 2002924:	80 a6 40 1c 	cmp  %i1, %i4                                  
 2002928:	3a 80 00 02 	bcc,a   2002930 <create_disk+0xb8>             
 200292c:	b8 06 60 01 	add  %i1, 1, %i4                               
      new_size = minor + 1;                                           
    }                                                                 
                                                                      
    table = realloc(table, new_size * sizeof(*table));                
 2002930:	93 2f 20 02 	sll  %i4, 2, %o1                               
 2002934:	40 00 07 8e 	call  200476c <realloc>                        
 2002938:	b0 10 20 1a 	mov  0x1a, %i0                                 
    if (table == NULL) {                                              
 200293c:	80 a2 20 00 	cmp  %o0, 0                                    
 2002940:	02 80 00 24 	be  20029d0 <create_disk+0x158>                
 2002944:	a0 10 00 08 	mov  %o0, %l0                                  
      return NULL;                                                    
    }                                                                 
                                                                      
    memset(table + old_size, 0, (new_size - old_size) * sizeof(*table));
 2002948:	94 27 00 14 	sub  %i4, %l4, %o2                             
 200294c:	91 2d 20 02 	sll  %l4, 2, %o0                               
 2002950:	92 10 20 00 	clr  %o1                                       
 2002954:	90 04 00 08 	add  %l0, %o0, %o0                             
 2002958:	40 00 3e 48 	call  2012278 <memset>                         
 200295c:	95 2a a0 02 	sll  %o2, 2, %o2                               
    disktab [major].minor = table;                                    
 2002960:	e0 24 80 11 	st  %l0, [ %l2 + %l1 ]                         
    disktab [major].size = new_size;                                  
 2002964:	f8 24 e0 04 	st  %i4, [ %l3 + 4 ]                           
  }                                                                   
                                                                      
  return disktab [major].minor + minor;                               
 2002968:	e2 04 80 11 	ld  [ %l2 + %l1 ], %l1                         
 200296c:	a1 2e 60 02 	sll  %i1, 2, %l0                               
 2002970:	82 04 40 10 	add  %l1, %l0, %g1                             
{                                                                     
  rtems_disk_device **dd_entry = create_disk_table_entry(dev);        
  rtems_disk_device *dd = NULL;                                       
  char *alloc_name = NULL;                                            
                                                                      
  if (dd_entry == NULL) {                                             
 2002974:	80 a0 60 00 	cmp  %g1, 0                                    
 2002978:	02 80 00 16 	be  20029d0 <create_disk+0x158>                <== NEVER TAKEN
 200297c:	b0 10 20 1a 	mov  0x1a, %i0                                 
    return RTEMS_NO_MEMORY;                                           
  }                                                                   
                                                                      
  if (*dd_entry != NULL) {                                            
 2002980:	c2 04 40 10 	ld  [ %l1 + %l0 ], %g1                         
 2002984:	80 a0 60 00 	cmp  %g1, 0                                    
 2002988:	12 80 00 12 	bne  20029d0 <create_disk+0x158>               
 200298c:	b0 10 20 0c 	mov  0xc, %i0                                  
    return RTEMS_RESOURCE_IN_USE;                                     
  }                                                                   
                                                                      
  dd = malloc(sizeof(*dd));                                           
 2002990:	90 10 20 38 	mov  0x38, %o0                                 
 2002994:	40 00 04 cb 	call  2003cc0 <malloc>                         
 2002998:	b0 10 20 1a 	mov  0x1a, %i0                                 
  if (dd == NULL) {                                                   
 200299c:	80 a2 20 00 	cmp  %o0, 0                                    
 20029a0:	02 80 00 0c 	be  20029d0 <create_disk+0x158>                <== NEVER TAKEN
 20029a4:	b8 10 00 08 	mov  %o0, %i4                                  
    return RTEMS_NO_MEMORY;                                           
  }                                                                   
                                                                      
  if (name != NULL) {                                                 
 20029a8:	80 a6 a0 00 	cmp  %i2, 0                                    
 20029ac:	02 80 00 12 	be  20029f4 <create_disk+0x17c>                
 20029b0:	a4 10 20 00 	clr  %l2                                       
    alloc_name = strdup(name);                                        
 20029b4:	40 00 3f 0f 	call  20125f0 <strdup>                         
 20029b8:	90 10 00 1a 	mov  %i2, %o0                                  
                                                                      
    if (alloc_name == NULL) {                                         
 20029bc:	a4 92 20 00 	orcc  %o0, 0, %l2                              
 20029c0:	12 80 00 17 	bne  2002a1c <create_disk+0x1a4>               <== ALWAYS TAKEN
 20029c4:	b4 10 00 08 	mov  %o0, %i2                                  
      free(dd);                                                       
 20029c8:	40 00 03 e1 	call  200394c <free>                           <== NOT EXECUTED
 20029cc:	90 10 00 1c 	mov  %i4, %o0                                  <== NOT EXECUTED
                                                                      
      return RTEMS_NO_MEMORY;                                         
 20029d0:	81 c7 e0 08 	ret                                            
 20029d4:	81 e8 00 00 	restore                                        
    }                                                                 
  }                                                                   
                                                                      
  if (name != NULL) {                                                 
    if (mknod(alloc_name, 0777 | S_IFBLK, dev) < 0) {                 
      free(alloc_name);                                               
 20029d8:	40 00 03 dd 	call  200394c <free>                           <== NOT EXECUTED
 20029dc:	90 10 00 1a 	mov  %i2, %o0                                  <== NOT EXECUTED
      free(dd);                                                       
 20029e0:	90 10 00 1c 	mov  %i4, %o0                                  <== NOT EXECUTED
 20029e4:	40 00 03 da 	call  200394c <free>                           <== NOT EXECUTED
 20029e8:	b0 10 20 0d 	mov  0xd, %i0                                  <== NOT EXECUTED
      return RTEMS_UNSATISFIED;                                       
 20029ec:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 20029f0:	81 e8 00 00 	restore                                        <== NOT EXECUTED
    }                                                                 
  }                                                                   
                                                                      
  dd->dev = dev;                                                      
 20029f4:	fa 27 00 00 	st  %i5, [ %i4 ]                               
 20029f8:	f2 27 20 04 	st  %i1, [ %i4 + 4 ]                           
  dd->name = alloc_name;                                              
 20029fc:	e4 27 20 10 	st  %l2, [ %i4 + 0x10 ]                        
  dd->uses = 0;                                                       
 2002a00:	c0 27 20 14 	clr  [ %i4 + 0x14 ]                            
  dd->deleted = false;                                                
 2002a04:	c0 2f 20 30 	clrb  [ %i4 + 0x30 ]                           
                                                                      
  *dd_entry = dd;                                                     
 2002a08:	f8 24 40 10 	st  %i4, [ %l1 + %l0 ]                         
  *dd_ptr = dd;                                                       
 2002a0c:	f8 26 c0 00 	st  %i4, [ %i3 ]                               
                                                                      
  return RTEMS_SUCCESSFUL;                                            
 2002a10:	b0 10 20 00 	clr  %i0                                       
}                                                                     
 2002a14:	81 c7 e0 08 	ret                                            
 2002a18:	81 e8 00 00 	restore                                        
      return RTEMS_NO_MEMORY;                                         
    }                                                                 
  }                                                                   
                                                                      
  if (name != NULL) {                                                 
    if (mknod(alloc_name, 0777 | S_IFBLK, dev) < 0) {                 
 2002a1c:	13 00 00 18 	sethi  %hi(0x6000), %o1                        
 2002a20:	94 10 00 1d 	mov  %i5, %o2                                  
 2002a24:	92 12 61 ff 	or  %o1, 0x1ff, %o1                            
 2002a28:	40 00 04 eb 	call  2003dd4 <mknod>                          
 2002a2c:	96 10 00 19 	mov  %i1, %o3                                  
 2002a30:	80 a2 20 00 	cmp  %o0, 0                                    
 2002a34:	36 bf ff f1 	bge,a   20029f8 <create_disk+0x180>            <== ALWAYS TAKEN
 2002a38:	fa 27 00 00 	st  %i5, [ %i4 ]                               
 2002a3c:	30 bf ff e7 	b,a   20029d8 <create_disk+0x160>              <== NOT EXECUTED
                                                                      

02009fa8 <devFS_evaluate_path>: const char *pathname, size_t pathnamelen, int flags, rtems_filesystem_location_info_t *pathloc ) {
 2009fa8:	9d e3 bf a0 	save  %sp, -96, %sp                            
  int                   i;                                            
  rtems_device_name_t  *device_name_table;                            
                                                                      
  /* see if 'flags' is valid */                                       
  if ( !rtems_libio_is_valid_perms( flags ) )                         
 2009fac:	80 8e bf f8 	btst  -8, %i2                                  
 2009fb0:	22 80 00 06 	be,a   2009fc8 <devFS_evaluate_path+0x20>      <== ALWAYS TAKEN
 2009fb4:	fa 06 c0 00 	ld  [ %i3 ], %i5                               
    rtems_set_errno_and_return_minus_one( EPERM );                    
 2009fb8:	40 00 07 d5 	call  200bf0c <__errno>                        <== NOT EXECUTED
 2009fbc:	01 00 00 00 	nop                                            <== NOT EXECUTED
 2009fc0:	10 80 00 09 	b  2009fe4 <devFS_evaluate_path+0x3c>          <== NOT EXECUTED
 2009fc4:	82 10 20 01 	mov  1, %g1	! 1 <PROM_START+0x1>               <== NOT EXECUTED
                                                                      
  /* get the device name table */                                     
  device_name_table = (rtems_device_name_t *)pathloc->node_access;    
  if (!device_name_table)                                             
 2009fc8:	b8 10 20 00 	clr  %i4                                       
 2009fcc:	80 a7 60 00 	cmp  %i5, 0                                    
 2009fd0:	12 80 00 24 	bne  200a060 <devFS_evaluate_path+0xb8>        
 2009fd4:	21 00 80 5c 	sethi  %hi(0x2017000), %l0                     
    rtems_set_errno_and_return_minus_one( EFAULT );                   
 2009fd8:	40 00 07 cd 	call  200bf0c <__errno>                        
 2009fdc:	01 00 00 00 	nop                                            
 2009fe0:	82 10 20 0e 	mov  0xe, %g1	! e <PROM_START+0xe>             
 2009fe4:	c2 22 00 00 	st  %g1, [ %o0 ]                               
 2009fe8:	81 c7 e0 08 	ret                                            
 2009fec:	91 e8 3f ff 	restore  %g0, -1, %o0                          
                                                                      
  for (i = 0; i < rtems_device_table_size; i++) {                     
    if (!device_name_table[i].device_name)                            
 2009ff0:	80 a6 a0 00 	cmp  %i2, 0                                    
 2009ff4:	02 80 00 19 	be  200a058 <devFS_evaluate_path+0xb0>         
 2009ff8:	90 10 00 18 	mov  %i0, %o0                                  
      continue;                                                       
                                                                      
    if (strncmp(pathname, device_name_table[i].device_name, pathnamelen) != 0)
 2009ffc:	92 10 00 1a 	mov  %i2, %o1                                  
 200a000:	40 00 0d 25 	call  200d494 <strncmp>                        
 200a004:	94 10 00 19 	mov  %i1, %o2                                  
 200a008:	80 a2 20 00 	cmp  %o0, 0                                    
 200a00c:	32 80 00 14 	bne,a   200a05c <devFS_evaluate_path+0xb4>     
 200a010:	b8 07 20 01 	inc  %i4                                       
      continue;                                                       
                                                                      
    if (device_name_table[i].device_name[pathnamelen] != '\0')        
 200a014:	c2 4e 80 19 	ldsb  [ %i2 + %i1 ], %g1                       
 200a018:	80 a0 60 00 	cmp  %g1, 0                                    
 200a01c:	32 80 00 10 	bne,a   200a05c <devFS_evaluate_path+0xb4>     
 200a020:	b8 07 20 01 	inc  %i4                                       
      continue;                                                       
                                                                      
    /* find the device, set proper values */                          
    pathloc->node_access = (void *)&device_name_table[i];             
    pathloc->handlers = &devFS_file_handlers;                         
 200a024:	03 00 80 5d 	sethi  %hi(0x2017400), %g1                     
 200a028:	82 10 60 44 	or  %g1, 0x44, %g1	! 2017444 <devFS_file_handlers>
 200a02c:	c2 26 e0 08 	st  %g1, [ %i3 + 8 ]                           
    pathloc->ops = &devFS_ops;                                        
 200a030:	03 00 80 5d 	sethi  %hi(0x2017400), %g1                     
 200a034:	82 10 60 7c 	or  %g1, 0x7c, %g1	! 201747c <devFS_ops>       
 200a038:	c2 26 e0 0c 	st  %g1, [ %i3 + 0xc ]                         
    pathloc->mt_entry = rtems_filesystem_root.mt_entry;               
 200a03c:	03 00 80 5d 	sethi  %hi(0x2017400), %g1                     
 200a040:	c2 00 60 e4 	ld  [ %g1 + 0xe4 ], %g1	! 20174e4 <rtems_current_user_env>
                                                                      
    if (device_name_table[i].device_name[pathnamelen] != '\0')        
      continue;                                                       
                                                                      
    /* find the device, set proper values */                          
    pathloc->node_access = (void *)&device_name_table[i];             
 200a044:	fa 26 c0 00 	st  %i5, [ %i3 ]                               
    pathloc->handlers = &devFS_file_handlers;                         
    pathloc->ops = &devFS_ops;                                        
    pathloc->mt_entry = rtems_filesystem_root.mt_entry;               
 200a048:	c2 00 60 28 	ld  [ %g1 + 0x28 ], %g1                        
 200a04c:	c2 26 e0 10 	st  %g1, [ %i3 + 0x10 ]                        
    return 0;                                                         
 200a050:	81 c7 e0 08 	ret                                            
 200a054:	91 e8 20 00 	restore  %g0, 0, %o0                           
  /* get the device name table */                                     
  device_name_table = (rtems_device_name_t *)pathloc->node_access;    
  if (!device_name_table)                                             
    rtems_set_errno_and_return_minus_one( EFAULT );                   
                                                                      
  for (i = 0; i < rtems_device_table_size; i++) {                     
 200a058:	b8 07 20 01 	inc  %i4                                       
 200a05c:	ba 07 60 14 	add  %i5, 0x14, %i5                            
 200a060:	c2 04 23 7c 	ld  [ %l0 + 0x37c ], %g1                       
 200a064:	80 a7 00 01 	cmp  %i4, %g1                                  
 200a068:	2a bf ff e2 	bcs,a   2009ff0 <devFS_evaluate_path+0x48>     
 200a06c:	f4 07 40 00 	ld  [ %i5 ], %i2                               
    pathloc->mt_entry = rtems_filesystem_root.mt_entry;               
    return 0;                                                         
  }                                                                   
                                                                      
  /* no such file or directory */                                     
  rtems_set_errno_and_return_minus_one( ENOENT );                     
 200a070:	40 00 07 a7 	call  200bf0c <__errno>                        
 200a074:	b0 10 3f ff 	mov  -1, %i0                                   
 200a078:	82 10 20 02 	mov  2, %g1                                    
 200a07c:	c2 22 00 00 	st  %g1, [ %o0 ]                               
}                                                                     
 200a080:	81 c7 e0 08 	ret                                            
 200a084:	81 e8 00 00 	restore                                        
                                                                      

02002cc8 <devFS_mknod>: const char *path, mode_t mode, dev_t dev, rtems_filesystem_location_info_t *pathloc ) {
 2002cc8:	9d e3 bf a0 	save  %sp, -96, %sp                            
   * condition and do not create the '/dev' and the 'path'            
   * actually passed in is 'dev', not '/dev'. Just return 0 to        
   * indicate we are OK.                                              
   */                                                                 
                                                                      
  if ((path[0] == 'd') && (path[1] == 'e') &&                         
 2002ccc:	c2 4e 00 00 	ldsb  [ %i0 ], %g1                             
 2002cd0:	80 a0 60 64 	cmp  %g1, 0x64                                 
 2002cd4:	12 80 00 0e 	bne  2002d0c <devFS_mknod+0x44>                
 2002cd8:	ba 10 00 18 	mov  %i0, %i5                                  
 2002cdc:	c2 4e 20 01 	ldsb  [ %i0 + 1 ], %g1                         
 2002ce0:	80 a0 60 65 	cmp  %g1, 0x65                                 
 2002ce4:	12 80 00 0b 	bne  2002d10 <devFS_mknod+0x48>                <== NEVER TAKEN
 2002ce8:	03 00 00 3c 	sethi  %hi(0xf000), %g1                        
 2002cec:	c2 4e 20 02 	ldsb  [ %i0 + 2 ], %g1                         
 2002cf0:	80 a0 60 76 	cmp  %g1, 0x76                                 
 2002cf4:	12 80 00 07 	bne  2002d10 <devFS_mknod+0x48>                <== NEVER TAKEN
 2002cf8:	03 00 00 3c 	sethi  %hi(0xf000), %g1                        
      (path[2] == 'v') && (path[3] == '\0'))                          
 2002cfc:	c2 4e 20 03 	ldsb  [ %i0 + 3 ], %g1                         
 2002d00:	80 a0 60 00 	cmp  %g1, 0                                    
 2002d04:	02 80 00 37 	be  2002de0 <devFS_mknod+0x118>                
 2002d08:	b0 10 20 00 	clr  %i0                                       
      return 0;                                                       
                                                                      
  /* must be a character device or a block device */                  
  if (!S_ISBLK(mode) && !S_ISCHR(mode))                               
 2002d0c:	03 00 00 3c 	sethi  %hi(0xf000), %g1                        
 2002d10:	05 00 00 08 	sethi  %hi(0x2000), %g2                        
 2002d14:	82 0e 40 01 	and  %i1, %g1, %g1                             
 2002d18:	80 a0 40 02 	cmp  %g1, %g2                                  
 2002d1c:	22 80 00 0a 	be,a   2002d44 <devFS_mknod+0x7c>              
 2002d20:	f8 07 00 00 	ld  [ %i4 ], %i4                               
 2002d24:	05 00 00 18 	sethi  %hi(0x6000), %g2                        
 2002d28:	80 a0 40 02 	cmp  %g1, %g2                                  
 2002d2c:	22 80 00 06 	be,a   2002d44 <devFS_mknod+0x7c>              
 2002d30:	f8 07 00 00 	ld  [ %i4 ], %i4                               
    rtems_set_errno_and_return_minus_one( EINVAL );                   
 2002d34:	40 00 24 76 	call  200bf0c <__errno>                        
 2002d38:	01 00 00 00 	nop                                            
 2002d3c:	10 80 00 19 	b  2002da0 <devFS_mknod+0xd8>                  
 2002d40:	82 10 20 16 	mov  0x16, %g1	! 16 <PROM_START+0x16>          
  else                                                                
    rtems_filesystem_split_dev_t(dev, major, minor);                  
                                                                      
  /* Find an empty slot in device name table */                       
  device_name_table = (rtems_device_name_t *)pathloc->node_access;    
  if (!device_name_table)                                             
 2002d44:	80 a7 20 00 	cmp  %i4, 0                                    
 2002d48:	02 80 00 07 	be  2002d64 <devFS_mknod+0x9c>                 
 2002d4c:	01 00 00 00 	nop                                            
 2002d50:	a2 10 00 1c 	mov  %i4, %l1                                  
 2002d54:	b0 10 3f ff 	mov  -1, %i0                                   
 2002d58:	a0 10 20 00 	clr  %l0                                       
    rtems_set_errno_and_return_minus_one( EFAULT );                   
                                                                      
  for (slot = -1, i = 0; i < rtems_device_table_size; i++){           
 2002d5c:	10 80 00 16 	b  2002db4 <devFS_mknod+0xec>                  
 2002d60:	25 00 80 5c 	sethi  %hi(0x2017000), %l2                     
    rtems_filesystem_split_dev_t(dev, major, minor);                  
                                                                      
  /* Find an empty slot in device name table */                       
  device_name_table = (rtems_device_name_t *)pathloc->node_access;    
  if (!device_name_table)                                             
    rtems_set_errno_and_return_minus_one( EFAULT );                   
 2002d64:	40 00 24 6a 	call  200bf0c <__errno>                        
 2002d68:	01 00 00 00 	nop                                            
 2002d6c:	10 80 00 0d 	b  2002da0 <devFS_mknod+0xd8>                  
 2002d70:	82 10 20 0e 	mov  0xe, %g1	! e <PROM_START+0xe>             
                                                                      
  for (slot = -1, i = 0; i < rtems_device_table_size; i++){           
      if (device_name_table[i].device_name == NULL)                   
 2002d74:	80 a2 60 00 	cmp  %o1, 0                                    
 2002d78:	22 80 00 0d 	be,a   2002dac <devFS_mknod+0xe4>              
 2002d7c:	b0 10 00 10 	mov  %l0, %i0                                  
          slot = i;                                                   
      else                                                            
          if (strcmp(path, device_name_table[i].device_name) == 0)    
 2002d80:	40 00 29 67 	call  200d31c <strcmp>                         
 2002d84:	90 10 00 1d 	mov  %i5, %o0                                  
 2002d88:	80 a2 20 00 	cmp  %o0, 0                                    
 2002d8c:	32 80 00 09 	bne,a   2002db0 <devFS_mknod+0xe8>             
 2002d90:	a0 04 20 01 	inc  %l0                                       
              rtems_set_errno_and_return_minus_one( EEXIST );         
 2002d94:	40 00 24 5e 	call  200bf0c <__errno>                        
 2002d98:	01 00 00 00 	nop                                            
 2002d9c:	82 10 20 11 	mov  0x11, %g1	! 11 <PROM_START+0x11>          
 2002da0:	c2 22 00 00 	st  %g1, [ %o0 ]                               
 2002da4:	81 c7 e0 08 	ret                                            
 2002da8:	91 e8 3f ff 	restore  %g0, -1, %o0                          
  /* Find an empty slot in device name table */                       
  device_name_table = (rtems_device_name_t *)pathloc->node_access;    
  if (!device_name_table)                                             
    rtems_set_errno_and_return_minus_one( EFAULT );                   
                                                                      
  for (slot = -1, i = 0; i < rtems_device_table_size; i++){           
 2002dac:	a0 04 20 01 	inc  %l0                                       
 2002db0:	a2 04 60 14 	add  %l1, 0x14, %l1                            
 2002db4:	c2 04 a3 7c 	ld  [ %l2 + 0x37c ], %g1                       
 2002db8:	80 a4 00 01 	cmp  %l0, %g1                                  
 2002dbc:	2a bf ff ee 	bcs,a   2002d74 <devFS_mknod+0xac>             
 2002dc0:	d2 04 40 00 	ld  [ %l1 ], %o1                               
      else                                                            
          if (strcmp(path, device_name_table[i].device_name) == 0)    
              rtems_set_errno_and_return_minus_one( EEXIST );         
  }                                                                   
                                                                      
  if (slot == -1)                                                     
 2002dc4:	80 a6 3f ff 	cmp  %i0, -1                                   
 2002dc8:	12 80 00 08 	bne  2002de8 <devFS_mknod+0x120>               
 2002dcc:	01 00 00 00 	nop                                            
      rtems_set_errno_and_return_minus_one( ENOMEM );                 
 2002dd0:	40 00 24 4f 	call  200bf0c <__errno>                        
 2002dd4:	01 00 00 00 	nop                                            
 2002dd8:	82 10 20 0c 	mov  0xc, %g1	! c <PROM_START+0xc>             
 2002ddc:	c2 22 00 00 	st  %g1, [ %o0 ]                               
 2002de0:	81 c7 e0 08 	ret                                            
 2002de4:	81 e8 00 00 	restore                                        
                                                                      
  _ISR_Disable(level);                                                
 2002de8:	7f ff ff 2a 	call  2002a90 <sparc_disable_interrupts>       
 2002dec:	01 00 00 00 	nop                                            
 2002df0:	a2 10 00 08 	mov  %o0, %l1                                  
  device_name_table[slot].device_name  = (char *)path;                
 2002df4:	83 2e 20 02 	sll  %i0, 2, %g1                               
  device_name_table[slot].device_name_length = strlen(path);          
 2002df8:	90 10 00 1d 	mov  %i5, %o0                                  
                                                                      
  if (slot == -1)                                                     
      rtems_set_errno_and_return_minus_one( ENOMEM );                 
                                                                      
  _ISR_Disable(level);                                                
  device_name_table[slot].device_name  = (char *)path;                
 2002dfc:	b1 2e 20 04 	sll  %i0, 4, %i0                               
 2002e00:	b0 00 40 18 	add  %g1, %i0, %i0                             
 2002e04:	a0 07 00 18 	add  %i4, %i0, %l0                             
  device_name_table[slot].device_name_length = strlen(path);          
 2002e08:	40 00 29 72 	call  200d3d0 <strlen>                         
 2002e0c:	fa 27 00 18 	st  %i5, [ %i4 + %i0 ]                         
  device_name_table[slot].major = major;                              
 2002e10:	f4 24 20 08 	st  %i2, [ %l0 + 8 ]                           
  if (slot == -1)                                                     
      rtems_set_errno_and_return_minus_one( ENOMEM );                 
                                                                      
  _ISR_Disable(level);                                                
  device_name_table[slot].device_name  = (char *)path;                
  device_name_table[slot].device_name_length = strlen(path);          
 2002e14:	d0 24 20 04 	st  %o0, [ %l0 + 4 ]                           
  device_name_table[slot].major = major;                              
  device_name_table[slot].minor = minor;                              
 2002e18:	f6 24 20 0c 	st  %i3, [ %l0 + 0xc ]                         
  device_name_table[slot].mode  = mode;                               
 2002e1c:	f2 24 20 10 	st  %i1, [ %l0 + 0x10 ]                        
  _ISR_Enable(level);                                                 
                                                                      
  return 0;                                                           
 2002e20:	b0 10 20 00 	clr  %i0                                       
  device_name_table[slot].device_name  = (char *)path;                
  device_name_table[slot].device_name_length = strlen(path);          
  device_name_table[slot].major = major;                              
  device_name_table[slot].minor = minor;                              
  device_name_table[slot].mode  = mode;                               
  _ISR_Enable(level);                                                 
 2002e24:	7f ff ff 1f 	call  2002aa0 <sparc_enable_interrupts>        
 2002e28:	90 10 00 11 	mov  %l1, %o0                                  
                                                                      
  return 0;                                                           
}                                                                     
 2002e2c:	81 c7 e0 08 	ret                                            
 2002e30:	81 e8 00 00 	restore                                        
                                                                      

02002808 <disk_lock>: */ static volatile bool diskdevs_protected; static rtems_status_code disk_lock(void) {
 2002808:	9d e3 bf a0 	save  %sp, -96, %sp                            
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
                                                                      
  sc = rtems_semaphore_obtain(diskdevs_mutex, RTEMS_WAIT, RTEMS_NO_TIMEOUT);
 200280c:	03 00 80 61 	sethi  %hi(0x2018400), %g1                     
 2002810:	d0 00 62 b0 	ld  [ %g1 + 0x2b0 ], %o0	! 20186b0 <diskdevs_mutex>
 2002814:	92 10 20 00 	clr  %o1                                       
 2002818:	94 10 20 00 	clr  %o2                                       
 200281c:	40 00 12 62 	call  20071a4 <rtems_semaphore_obtain>         
 2002820:	b0 10 20 16 	mov  0x16, %i0                                 
  if (sc == RTEMS_SUCCESSFUL) {                                       
 2002824:	80 a2 20 00 	cmp  %o0, 0                                    
 2002828:	12 80 00 05 	bne  200283c <disk_lock+0x34>                  <== NEVER TAKEN
 200282c:	84 10 20 01 	mov  1, %g2                                    
    diskdevs_protected = true;                                        
 2002830:	03 00 80 61 	sethi  %hi(0x2018400), %g1                     
                                                                      
    return RTEMS_SUCCESSFUL;                                          
 2002834:	b0 10 20 00 	clr  %i0                                       
{                                                                     
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
                                                                      
  sc = rtems_semaphore_obtain(diskdevs_mutex, RTEMS_WAIT, RTEMS_NO_TIMEOUT);
  if (sc == RTEMS_SUCCESSFUL) {                                       
    diskdevs_protected = true;                                        
 2002838:	c4 28 62 ac 	stb  %g2, [ %g1 + 0x2ac ]                      
                                                                      
    return RTEMS_SUCCESSFUL;                                          
  } else {                                                            
    return RTEMS_NOT_CONFIGURED;                                      
  }                                                                   
}                                                                     
 200283c:	81 c7 e0 08 	ret                                            
 2002840:	81 e8 00 00 	restore                                        
                                                                      

02002844 <disk_unlock>: static void disk_unlock(void) {
 2002844:	9d e3 bf a0 	save  %sp, -96, %sp                            
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
                                                                      
  diskdevs_protected = false;                                         
 2002848:	03 00 80 61 	sethi  %hi(0x2018400), %g1                     
 200284c:	c0 28 62 ac 	clrb  [ %g1 + 0x2ac ]	! 20186ac <diskdevs_protected>
                                                                      
  sc = rtems_semaphore_release(diskdevs_mutex);                       
 2002850:	03 00 80 61 	sethi  %hi(0x2018400), %g1                     
 2002854:	40 00 12 9e 	call  20072cc <rtems_semaphore_release>        
 2002858:	d0 00 62 b0 	ld  [ %g1 + 0x2b0 ], %o0	! 20186b0 <diskdevs_mutex>
  if (sc != RTEMS_SUCCESSFUL) {                                       
 200285c:	80 a2 20 00 	cmp  %o0, 0                                    
 2002860:	02 80 00 04 	be  2002870 <disk_unlock+0x2c>                 <== ALWAYS TAKEN
 2002864:	11 37 ab 6f 	sethi  %hi(0xdeadbc00), %o0                    
    /* FIXME: Error number */                                         
    rtems_fatal_error_occurred(0xdeadbeef);                           
 2002868:	40 00 13 e7 	call  2007804 <rtems_fatal_error_occurred>     <== NOT EXECUTED
 200286c:	90 12 22 ef 	or  %o0, 0x2ef, %o0	! deadbeef <RAM_END+0xdc6dbeef><== NOT EXECUTED
 2002870:	81 c7 e0 08 	ret                                            
 2002874:	81 e8 00 00 	restore                                        
                                                                      

02003d48 <drainOutput.part.0>: /* * Drain output queue */ static void drainOutput (struct rtems_termios_tty *tty)
 2003d48:	9d e3 bf a0 	save  %sp, -96, %sp                            
{                                                                     
  rtems_interrupt_level level;                                        
  rtems_status_code sc;                                               
                                                                      
  if (tty->device.outputUsesInterrupts != TERMIOS_POLLED) {           
    rtems_interrupt_disable (level);                                  
 2003d4c:	7f ff f9 0c 	call  200217c <sparc_disable_interrupts>       
 2003d50:	ba 10 00 18 	mov  %i0, %i5                                  
    while (tty->rawOutBuf.Tail != tty->rawOutBuf.Head) {              
      tty->rawOutBufState = rob_wait;                                 
 2003d54:	10 80 00 0f 	b  2003d90 <drainOutput.part.0+0x48>           
 2003d58:	b8 10 20 02 	mov  2, %i4                                    
      rtems_interrupt_enable (level);                                 
 2003d5c:	7f ff f9 0c 	call  200218c <sparc_enable_interrupts>        <== NOT EXECUTED
 2003d60:	01 00 00 00 	nop                                            <== NOT EXECUTED
      sc = rtems_semaphore_obtain(                                    
 2003d64:	d0 07 60 8c 	ld  [ %i5 + 0x8c ], %o0                        <== NOT EXECUTED
 2003d68:	92 10 20 00 	clr  %o1                                       <== NOT EXECUTED
 2003d6c:	40 00 09 cd 	call  20064a0 <rtems_semaphore_obtain>         <== NOT EXECUTED
 2003d70:	94 10 20 00 	clr  %o2                                       <== NOT EXECUTED
        tty->rawOutBuf.Semaphore, RTEMS_WAIT, RTEMS_NO_TIMEOUT);      
      if (sc != RTEMS_SUCCESSFUL)                                     
 2003d74:	80 a2 20 00 	cmp  %o0, 0                                    <== NOT EXECUTED
 2003d78:	02 80 00 04 	be  2003d88 <drainOutput.part.0+0x40>          <== NOT EXECUTED
 2003d7c:	01 00 00 00 	nop                                            <== NOT EXECUTED
        rtems_fatal_error_occurred (sc);                              
 2003d80:	40 00 0b 8a 	call  2006ba8 <rtems_fatal_error_occurred>     <== NOT EXECUTED
 2003d84:	01 00 00 00 	nop                                            <== NOT EXECUTED
      rtems_interrupt_disable (level);                                
 2003d88:	7f ff f8 fd 	call  200217c <sparc_disable_interrupts>       <== NOT EXECUTED
 2003d8c:	01 00 00 00 	nop                                            <== NOT EXECUTED
  rtems_interrupt_level level;                                        
  rtems_status_code sc;                                               
                                                                      
  if (tty->device.outputUsesInterrupts != TERMIOS_POLLED) {           
    rtems_interrupt_disable (level);                                  
    while (tty->rawOutBuf.Tail != tty->rawOutBuf.Head) {              
 2003d90:	c4 07 60 84 	ld  [ %i5 + 0x84 ], %g2                        
 2003d94:	c2 07 60 80 	ld  [ %i5 + 0x80 ], %g1                        
 2003d98:	80 a0 80 01 	cmp  %g2, %g1                                  
 2003d9c:	32 bf ff f0 	bne,a   2003d5c <drainOutput.part.0+0x14>      <== NEVER TAKEN
 2003da0:	f8 27 60 94 	st  %i4, [ %i5 + 0x94 ]                        <== NOT EXECUTED
        tty->rawOutBuf.Semaphore, RTEMS_WAIT, RTEMS_NO_TIMEOUT);      
      if (sc != RTEMS_SUCCESSFUL)                                     
        rtems_fatal_error_occurred (sc);                              
      rtems_interrupt_disable (level);                                
    }                                                                 
    rtems_interrupt_enable (level);                                   
 2003da4:	7f ff f8 fa 	call  200218c <sparc_enable_interrupts>        
 2003da8:	91 e8 00 08 	restore  %g0, %o0, %o0                         
                                                                      

02004ab0 <echo>: /* * Echo a typed character */ static void echo (unsigned char c, struct rtems_termios_tty *tty) {
 2004ab0:	9d e3 bf 98 	save  %sp, -104, %sp                           
  if ((tty->termios.c_lflag & ECHOCTL) &&                             
 2004ab4:	c2 06 60 3c 	ld  [ %i1 + 0x3c ], %g1                        
 2004ab8:	80 88 62 00 	btst  0x200, %g1                               
 2004abc:	02 80 00 19 	be  2004b20 <echo+0x70>                        <== NEVER TAKEN
 2004ac0:	90 10 00 18 	mov  %i0, %o0                                  
       iscntrl(c) && (c != '\t') && (c != '\n')) {                    
 2004ac4:	03 00 80 6a 	sethi  %hi(0x201a800), %g1                     
 2004ac8:	c2 00 63 bc 	ld  [ %g1 + 0x3bc ], %g1	! 201abbc <__ctype_ptr__>
 2004acc:	82 00 40 18 	add  %g1, %i0, %g1                             
 2004ad0:	c2 08 60 01 	ldub  [ %g1 + 1 ], %g1                         
 2004ad4:	80 88 60 20 	btst  0x20, %g1                                
 2004ad8:	02 80 00 12 	be  2004b20 <echo+0x70>                        
 2004adc:	80 a6 20 09 	cmp  %i0, 9                                    
 2004ae0:	02 80 00 10 	be  2004b20 <echo+0x70>                        
 2004ae4:	80 a6 20 0a 	cmp  %i0, 0xa                                  
 2004ae8:	02 80 00 0e 	be  2004b20 <echo+0x70>                        
 2004aec:	82 10 20 5e 	mov  0x5e, %g1                                 
    char echobuf[2];                                                  
                                                                      
    echobuf[0] = '^';                                                 
    echobuf[1] = c ^ 0x40;                                            
 2004af0:	90 1e 20 40 	xor  %i0, 0x40, %o0                            
{                                                                     
  if ((tty->termios.c_lflag & ECHOCTL) &&                             
       iscntrl(c) && (c != '\t') && (c != '\n')) {                    
    char echobuf[2];                                                  
                                                                      
    echobuf[0] = '^';                                                 
 2004af4:	c2 2f bf f8 	stb  %g1, [ %fp + -8 ]                         
    echobuf[1] = c ^ 0x40;                                            
 2004af8:	d0 2f bf f9 	stb  %o0, [ %fp + -7 ]                         
    rtems_termios_puts (echobuf, 2, tty);                             
 2004afc:	92 10 20 02 	mov  2, %o1                                    
 2004b00:	90 07 bf f8 	add  %fp, -8, %o0                              
 2004b04:	7f ff ff 40 	call  2004804 <rtems_termios_puts>             
 2004b08:	94 10 00 19 	mov  %i1, %o2                                  
    tty->column += 2;                                                 
 2004b0c:	c2 06 60 28 	ld  [ %i1 + 0x28 ], %g1                        
 2004b10:	82 00 60 02 	add  %g1, 2, %g1                               
 2004b14:	c2 26 60 28 	st  %g1, [ %i1 + 0x28 ]                        
 2004b18:	81 c7 e0 08 	ret                                            
 2004b1c:	81 e8 00 00 	restore                                        
  } else {                                                            
    oproc (c, tty);                                                   
 2004b20:	7f ff ff 82 	call  2004928 <oproc>                          
 2004b24:	92 10 00 19 	mov  %i1, %o1                                  
 2004b28:	81 c7 e0 08 	ret                                            
 2004b2c:	81 e8 00 00 	restore                                        
                                                                      

020039ec <endgrent>: void endgrent(void) { if (group_fp != NULL)
 20039ec:	03 00 80 59 	sethi  %hi(0x2016400), %g1                     
 20039f0:	d0 00 62 10 	ld  [ %g1 + 0x210 ], %o0	! 2016610 <group_fp>  
 20039f4:	80 a2 20 00 	cmp  %o0, 0                                    
 20039f8:	02 80 00 05 	be  2003a0c <endgrent+0x20>                    <== NEVER TAKEN
 20039fc:	01 00 00 00 	nop                                            
    fclose(group_fp);                                                 
 2003a00:	82 13 c0 00 	mov  %o7, %g1                                  
 2003a04:	40 00 2b 84 	call  200e814 <fclose>                         
 2003a08:	9e 10 40 00 	mov  %g1, %o7                                  
 2003a0c:	81 c3 e0 08 	retl                                           <== NOT EXECUTED
                                                                      

02003858 <endpwent>: void endpwent(void) { if (passwd_fp != NULL)
 2003858:	03 00 80 59 	sethi  %hi(0x2016400), %g1                     
 200385c:	d0 00 61 30 	ld  [ %g1 + 0x130 ], %o0	! 2016530 <passwd_fp> 
 2003860:	80 a2 20 00 	cmp  %o0, 0                                    
 2003864:	02 80 00 05 	be  2003878 <endpwent+0x20>                    <== NEVER TAKEN
 2003868:	01 00 00 00 	nop                                            
    fclose(passwd_fp);                                                
 200386c:	82 13 c0 00 	mov  %o7, %g1                                  
 2003870:	40 00 2b e9 	call  200e814 <fclose>                         
 2003874:	9e 10 40 00 	mov  %g1, %o7                                  
 2003878:	81 c3 e0 08 	retl                                           <== NOT EXECUTED
                                                                      

02004b30 <erase>: * FIXME: Needs support for WERASE and ECHOPRT. * FIXME: Some of the tests should check for IEXTEN, too. */ static void erase (struct rtems_termios_tty *tty, int lineFlag) {
 2004b30:	9d e3 bf a0 	save  %sp, -96, %sp                            
  if (tty->ccount == 0)                                               
 2004b34:	c2 06 20 20 	ld  [ %i0 + 0x20 ], %g1                        
 2004b38:	80 a0 60 00 	cmp  %g1, 0                                    
 2004b3c:	02 80 00 0a 	be  2004b64 <erase+0x34>                       
 2004b40:	ba 10 00 18 	mov  %i0, %i5                                  
    return;                                                           
  if (lineFlag) {                                                     
 2004b44:	80 a6 60 00 	cmp  %i1, 0                                    
 2004b48:	02 80 00 76 	be  2004d20 <erase+0x1f0>                      
 2004b4c:	35 00 80 65 	sethi  %hi(0x2019400), %i2                     
    if (!(tty->termios.c_lflag & ECHO)) {                             
 2004b50:	c2 06 20 3c 	ld  [ %i0 + 0x3c ], %g1                        
 2004b54:	80 88 60 08 	btst  8, %g1                                   
 2004b58:	32 80 00 05 	bne,a   2004b6c <erase+0x3c>                   <== ALWAYS TAKEN
 2004b5c:	80 88 60 10 	btst  0x10, %g1                                
      tty->ccount = 0;                                                
 2004b60:	c0 26 20 20 	clr  [ %i0 + 0x20 ]                            <== NOT EXECUTED
      return;                                                         
 2004b64:	81 c7 e0 08 	ret                                            
 2004b68:	81 e8 00 00 	restore                                        
    }                                                                 
    if (!(tty->termios.c_lflag & ECHOE)) {                            
 2004b6c:	12 80 00 6d 	bne  2004d20 <erase+0x1f0>                     <== ALWAYS TAKEN
 2004b70:	35 00 80 65 	sethi  %hi(0x2019400), %i2                     
      tty->ccount = 0;                                                
      echo (tty->termios.c_cc[VKILL], tty);                           
 2004b74:	d0 0e 20 44 	ldub  [ %i0 + 0x44 ], %o0                      <== NOT EXECUTED
    if (!(tty->termios.c_lflag & ECHO)) {                             
      tty->ccount = 0;                                                
      return;                                                         
    }                                                                 
    if (!(tty->termios.c_lflag & ECHOE)) {                            
      tty->ccount = 0;                                                
 2004b78:	c0 26 20 20 	clr  [ %i0 + 0x20 ]                            <== NOT EXECUTED
      echo (tty->termios.c_cc[VKILL], tty);                           
 2004b7c:	7f ff ff cd 	call  2004ab0 <echo>                           <== NOT EXECUTED
 2004b80:	92 10 00 18 	mov  %i0, %o1                                  <== NOT EXECUTED
      if (tty->termios.c_lflag & ECHOK)                               
 2004b84:	c2 06 20 3c 	ld  [ %i0 + 0x3c ], %g1                        <== NOT EXECUTED
 2004b88:	80 88 60 20 	btst  0x20, %g1                                <== NOT EXECUTED
 2004b8c:	02 bf ff f6 	be  2004b64 <erase+0x34>                       <== NOT EXECUTED
 2004b90:	b0 10 20 0a 	mov  0xa, %i0                                  <== NOT EXECUTED
 2004b94:	30 80 00 0e 	b,a   2004bcc <erase+0x9c>                     <== NOT EXECUTED
  }                                                                   
                                                                      
  while (tty->ccount) {                                               
    unsigned char c = tty->cbuf[--tty->ccount];                       
                                                                      
    if (tty->termios.c_lflag & ECHO) {                                
 2004b98:	c2 07 60 3c 	ld  [ %i5 + 0x3c ], %g1                        
      return;                                                         
    }                                                                 
  }                                                                   
                                                                      
  while (tty->ccount) {                                               
    unsigned char c = tty->cbuf[--tty->ccount];                       
 2004b9c:	86 00 ff ff 	add  %g3, -1, %g3                              
 2004ba0:	c6 27 60 20 	st  %g3, [ %i5 + 0x20 ]                        
                                                                      
    if (tty->termios.c_lflag & ECHO) {                                
 2004ba4:	80 88 60 08 	btst  8, %g1                                   
 2004ba8:	02 80 00 59 	be  2004d0c <erase+0x1dc>                      <== NEVER TAKEN
 2004bac:	f8 09 00 03 	ldub  [ %g4 + %g3 ], %i4                       
      if (!lineFlag && !(tty->termios.c_lflag & ECHOE)) {             
 2004bb0:	80 a6 60 00 	cmp  %i1, 0                                    
 2004bb4:	32 80 00 08 	bne,a   2004bd4 <erase+0xa4>                   
 2004bb8:	b8 0f 20 ff 	and  %i4, 0xff, %i4                            
 2004bbc:	80 88 60 10 	btst  0x10, %g1                                
 2004bc0:	32 80 00 05 	bne,a   2004bd4 <erase+0xa4>                   <== ALWAYS TAKEN
 2004bc4:	b8 0f 20 ff 	and  %i4, 0xff, %i4                            
        echo (tty->termios.c_cc[VERASE], tty);                        
 2004bc8:	f0 0f 60 43 	ldub  [ %i5 + 0x43 ], %i0                      <== NOT EXECUTED
 2004bcc:	7f ff ff b9 	call  2004ab0 <echo>                           <== NOT EXECUTED
 2004bd0:	93 e8 00 1d 	restore  %g0, %i5, %o1                         <== NOT EXECUTED
      } else if (c == '\t') {                                         
 2004bd4:	80 a7 20 09 	cmp  %i4, 9                                    
 2004bd8:	32 80 00 28 	bne,a   2004c78 <erase+0x148>                  
 2004bdc:	c4 06 e3 bc 	ld  [ %i3 + 0x3bc ], %g2                       
        int col = tty->read_start_column;                             
 2004be0:	f8 07 60 2c 	ld  [ %i5 + 0x2c ], %i4                        
         */                                                           
        while (i != tty->ccount) {                                    
          c = tty->cbuf[i++];                                         
          if (c == '\t') {                                            
            col = (col | 7) + 1;                                      
          } else if (iscntrl (c)) {                                   
 2004be4:	da 06 e3 bc 	ld  [ %i3 + 0x3bc ], %o5                       
    if (tty->termios.c_lflag & ECHO) {                                
      if (!lineFlag && !(tty->termios.c_lflag & ECHOE)) {             
        echo (tty->termios.c_cc[VERASE], tty);                        
      } else if (c == '\t') {                                         
        int col = tty->read_start_column;                             
        int i = 0;                                                    
 2004be8:	84 10 20 00 	clr  %g2                                       
        while (i != tty->ccount) {                                    
          c = tty->cbuf[i++];                                         
          if (c == '\t') {                                            
            col = (col | 7) + 1;                                      
          } else if (iscntrl (c)) {                                   
            if (tty->termios.c_lflag & ECHOCTL)                       
 2004bec:	10 80 00 12 	b  2004c34 <erase+0x104>                       
 2004bf0:	82 08 62 00 	and  %g1, 0x200, %g1                           
        /*                                                            
         * Find the character before the tab                          
         */                                                           
        while (i != tty->ccount) {                                    
          c = tty->cbuf[i++];                                         
          if (c == '\t') {                                            
 2004bf4:	80 a3 e0 09 	cmp  %o7, 9                                    
 2004bf8:	12 80 00 04 	bne  2004c08 <erase+0xd8>                      
 2004bfc:	84 00 a0 01 	inc  %g2                                       
            col = (col | 7) + 1;                                      
 2004c00:	10 80 00 0c 	b  2004c30 <erase+0x100>                       
 2004c04:	b8 17 20 07 	or  %i4, 7, %i4                                
          } else if (iscntrl (c)) {                                   
 2004c08:	9e 03 40 0f 	add  %o5, %o7, %o7                             
 2004c0c:	de 0b e0 01 	ldub  [ %o7 + 1 ], %o7                         
 2004c10:	80 8b e0 20 	btst  0x20, %o7                                
 2004c14:	22 80 00 08 	be,a   2004c34 <erase+0x104>                   <== ALWAYS TAKEN
 2004c18:	b8 07 20 01 	inc  %i4                                       
            if (tty->termios.c_lflag & ECHOCTL)                       
 2004c1c:	80 a0 60 00 	cmp  %g1, 0                                    <== NOT EXECUTED
 2004c20:	32 80 00 05 	bne,a   2004c34 <erase+0x104>                  <== NOT EXECUTED
 2004c24:	b8 07 20 02 	add  %i4, 2, %i4                               <== NOT EXECUTED
        int i = 0;                                                    
                                                                      
        /*                                                            
         * Find the character before the tab                          
         */                                                           
        while (i != tty->ccount) {                                    
 2004c28:	10 80 00 04 	b  2004c38 <erase+0x108>                       <== NOT EXECUTED
 2004c2c:	80 a0 80 03 	cmp  %g2, %g3                                  <== NOT EXECUTED
            col = (col | 7) + 1;                                      
          } else if (iscntrl (c)) {                                   
            if (tty->termios.c_lflag & ECHOCTL)                       
              col += 2;                                               
          } else {                                                    
            col++;                                                    
 2004c30:	b8 07 20 01 	inc  %i4                                       
        int i = 0;                                                    
                                                                      
        /*                                                            
         * Find the character before the tab                          
         */                                                           
        while (i != tty->ccount) {                                    
 2004c34:	80 a0 80 03 	cmp  %g2, %g3                                  
 2004c38:	32 bf ff ef 	bne,a   2004bf4 <erase+0xc4>                   
 2004c3c:	de 09 00 02 	ldub  [ %g4 + %g2 ], %o7                       
        }                                                             
                                                                      
        /*                                                            
         * Back up over the tab                                       
         */                                                           
        while (tty->column > col) {                                   
 2004c40:	10 80 00 09 	b  2004c64 <erase+0x134>                       
 2004c44:	c2 07 60 28 	ld  [ %i5 + 0x28 ], %g1                        
          rtems_termios_puts ("\b", 1, tty);                          
 2004c48:	92 10 20 01 	mov  1, %o1                                    
 2004c4c:	7f ff fe ee 	call  2004804 <rtems_termios_puts>             
 2004c50:	94 10 00 1d 	mov  %i5, %o2                                  
          tty->column--;                                              
 2004c54:	c2 07 60 28 	ld  [ %i5 + 0x28 ], %g1                        
 2004c58:	82 00 7f ff 	add  %g1, -1, %g1                              
 2004c5c:	c2 27 60 28 	st  %g1, [ %i5 + 0x28 ]                        
        }                                                             
                                                                      
        /*                                                            
         * Back up over the tab                                       
         */                                                           
        while (tty->column > col) {                                   
 2004c60:	c2 07 60 28 	ld  [ %i5 + 0x28 ], %g1                        
 2004c64:	80 a0 40 1c 	cmp  %g1, %i4                                  
 2004c68:	14 bf ff f8 	bg  2004c48 <erase+0x118>                      
 2004c6c:	90 10 00 18 	mov  %i0, %o0                                  
          if (tty->column)                                            
            tty->column--;                                            
        }                                                             
      }                                                               
    }                                                                 
    if (!lineFlag)                                                    
 2004c70:	10 80 00 28 	b  2004d10 <erase+0x1e0>                       
 2004c74:	80 a6 60 00 	cmp  %i1, 0                                    
          rtems_termios_puts ("\b", 1, tty);                          
          tty->column--;                                              
        }                                                             
      }                                                               
      else {                                                          
        if (iscntrl (c) && (tty->termios.c_lflag & ECHOCTL)) {        
 2004c78:	b8 07 20 01 	inc  %i4                                       
 2004c7c:	c4 08 80 1c 	ldub  [ %g2 + %i4 ], %g2                       
 2004c80:	80 88 a0 20 	btst  0x20, %g2                                
 2004c84:	22 80 00 10 	be,a   2004cc4 <erase+0x194>                   <== ALWAYS TAKEN
 2004c88:	c2 06 e3 bc 	ld  [ %i3 + 0x3bc ], %g1                       
 2004c8c:	80 88 62 00 	btst  0x200, %g1                               <== NOT EXECUTED
 2004c90:	02 80 00 0d 	be  2004cc4 <erase+0x194>                      <== NOT EXECUTED
 2004c94:	c2 06 e3 bc 	ld  [ %i3 + 0x3bc ], %g1                       <== NOT EXECUTED
          rtems_termios_puts ("\b \b", 3, tty);                       
 2004c98:	90 10 00 1a 	mov  %i2, %o0                                  <== NOT EXECUTED
 2004c9c:	92 10 20 03 	mov  3, %o1                                    <== NOT EXECUTED
 2004ca0:	7f ff fe d9 	call  2004804 <rtems_termios_puts>             <== NOT EXECUTED
 2004ca4:	94 10 00 1d 	mov  %i5, %o2                                  <== NOT EXECUTED
          if (tty->column)                                            
 2004ca8:	c2 07 60 28 	ld  [ %i5 + 0x28 ], %g1                        <== NOT EXECUTED
 2004cac:	80 a0 60 00 	cmp  %g1, 0                                    <== NOT EXECUTED
 2004cb0:	22 80 00 05 	be,a   2004cc4 <erase+0x194>                   <== NOT EXECUTED
 2004cb4:	c2 06 e3 bc 	ld  [ %i3 + 0x3bc ], %g1                       <== NOT EXECUTED
            tty->column--;                                            
 2004cb8:	82 00 7f ff 	add  %g1, -1, %g1                              <== NOT EXECUTED
 2004cbc:	c2 27 60 28 	st  %g1, [ %i5 + 0x28 ]                        <== NOT EXECUTED
        }                                                             
        if (!iscntrl (c) || (tty->termios.c_lflag & ECHOCTL)) {       
 2004cc0:	c2 06 e3 bc 	ld  [ %i3 + 0x3bc ], %g1                       <== NOT EXECUTED
 2004cc4:	c2 08 40 1c 	ldub  [ %g1 + %i4 ], %g1                       
 2004cc8:	80 88 60 20 	btst  0x20, %g1                                
 2004ccc:	02 80 00 07 	be  2004ce8 <erase+0x1b8>                      <== ALWAYS TAKEN
 2004cd0:	90 10 00 1a 	mov  %i2, %o0                                  
 2004cd4:	c2 07 60 3c 	ld  [ %i5 + 0x3c ], %g1                        <== NOT EXECUTED
 2004cd8:	80 88 62 00 	btst  0x200, %g1                               <== NOT EXECUTED
 2004cdc:	02 80 00 0d 	be  2004d10 <erase+0x1e0>                      <== NOT EXECUTED
 2004ce0:	80 a6 60 00 	cmp  %i1, 0                                    <== NOT EXECUTED
          rtems_termios_puts ("\b \b", 3, tty);                       
 2004ce4:	90 10 00 1a 	mov  %i2, %o0                                  <== NOT EXECUTED
 2004ce8:	92 10 20 03 	mov  3, %o1                                    
 2004cec:	7f ff fe c6 	call  2004804 <rtems_termios_puts>             
 2004cf0:	94 10 00 1d 	mov  %i5, %o2                                  
          if (tty->column)                                            
 2004cf4:	c2 07 60 28 	ld  [ %i5 + 0x28 ], %g1                        
 2004cf8:	80 a0 60 00 	cmp  %g1, 0                                    
 2004cfc:	02 80 00 05 	be  2004d10 <erase+0x1e0>                      <== NEVER TAKEN
 2004d00:	80 a6 60 00 	cmp  %i1, 0                                    
            tty->column--;                                            
 2004d04:	82 00 7f ff 	add  %g1, -1, %g1                              
 2004d08:	c2 27 60 28 	st  %g1, [ %i5 + 0x28 ]                        
        }                                                             
      }                                                               
    }                                                                 
    if (!lineFlag)                                                    
 2004d0c:	80 a6 60 00 	cmp  %i1, 0                                    
 2004d10:	32 80 00 09 	bne,a   2004d34 <erase+0x204>                  
 2004d14:	c6 07 60 20 	ld  [ %i5 + 0x20 ], %g3                        
 2004d18:	81 c7 e0 08 	ret                                            
 2004d1c:	81 e8 00 00 	restore                                        
                                                                      
        /*                                                            
         * Back up over the tab                                       
         */                                                           
        while (tty->column > col) {                                   
          rtems_termios_puts ("\b", 1, tty);                          
 2004d20:	31 00 80 65 	sethi  %hi(0x2019400), %i0                     
 2004d24:	37 00 80 6a 	sethi  %hi(0x201a800), %i3                     
          rtems_termios_puts ("\b \b", 3, tty);                       
          if (tty->column)                                            
            tty->column--;                                            
        }                                                             
        if (!iscntrl (c) || (tty->termios.c_lflag & ECHOCTL)) {       
          rtems_termios_puts ("\b \b", 3, tty);                       
 2004d28:	b4 16 a2 28 	or  %i2, 0x228, %i2                            
                                                                      
        /*                                                            
         * Back up over the tab                                       
         */                                                           
        while (tty->column > col) {                                   
          rtems_termios_puts ("\b", 1, tty);                          
 2004d2c:	b0 16 22 20 	or  %i0, 0x220, %i0                            
        echo ('\n', tty);                                             
      return;                                                         
    }                                                                 
  }                                                                   
                                                                      
  while (tty->ccount) {                                               
 2004d30:	c6 07 60 20 	ld  [ %i5 + 0x20 ], %g3                        
 2004d34:	80 a0 e0 00 	cmp  %g3, 0                                    
 2004d38:	32 bf ff 98 	bne,a   2004b98 <erase+0x68>                   
 2004d3c:	c8 07 60 1c 	ld  [ %i5 + 0x1c ], %g4                        
 2004d40:	81 c7 e0 08 	ret                                            
 2004d44:	81 e8 00 00 	restore                                        
                                                                      

02012944 <fat_buf_access>: #include "fat_fat_operations.h" int fat_buf_access(fat_fs_info_t *fs_info, uint32_t blk, int op_type, rtems_bdbuf_buffer **buf) {
 2012944:	9d e3 bf 98 	save  %sp, -104, %sp                           
    rtems_status_code sc = RTEMS_SUCCESSFUL;                          
    uint8_t           i;                                              
    bool              sec_of_fat;                                     
                                                                      
                                                                      
    if (fs_info->c.state == FAT_CACHE_EMPTY)                          
 2012948:	c2 0e 20 85 	ldub  [ %i0 + 0x85 ], %g1                      
 201294c:	80 a0 60 00 	cmp  %g1, 0                                    
 2012950:	32 80 00 15 	bne,a   20129a4 <fat_buf_access+0x60>          
 2012954:	c2 06 20 80 	ld  [ %i0 + 0x80 ], %g1                        
    {                                                                 
        if (op_type == FAT_OP_TYPE_READ)                              
            sc = rtems_bdbuf_read(fs_info->vol.dev, blk, &fs_info->c.buf);
 2012958:	94 10 00 19 	mov  %i1, %o2                                  
    bool              sec_of_fat;                                     
                                                                      
                                                                      
    if (fs_info->c.state == FAT_CACHE_EMPTY)                          
    {                                                                 
        if (op_type == FAT_OP_TYPE_READ)                              
 201295c:	80 a6 a0 01 	cmp  %i2, 1                                    
 2012960:	d0 1e 20 58 	ldd  [ %i0 + 0x58 ], %o0                       
 2012964:	12 80 00 06 	bne  201297c <fat_buf_access+0x38>             
 2012968:	96 06 20 88 	add  %i0, 0x88, %o3                            
            sc = rtems_bdbuf_read(fs_info->vol.dev, blk, &fs_info->c.buf);
 201296c:	7f ff f9 ae 	call  2011024 <rtems_bdbuf_read>               
 2012970:	01 00 00 00 	nop                                            
        else                                                          
            sc = rtems_bdbuf_get(fs_info->vol.dev, blk, &fs_info->c.buf);
        if (sc != RTEMS_SUCCESSFUL)                                   
 2012974:	10 80 00 05 	b  2012988 <fat_buf_access+0x44>               
 2012978:	80 a2 20 00 	cmp  %o0, 0                                    
    if (fs_info->c.state == FAT_CACHE_EMPTY)                          
    {                                                                 
        if (op_type == FAT_OP_TYPE_READ)                              
            sc = rtems_bdbuf_read(fs_info->vol.dev, blk, &fs_info->c.buf);
        else                                                          
            sc = rtems_bdbuf_get(fs_info->vol.dev, blk, &fs_info->c.buf);
 201297c:	7f ff f9 75 	call  2010f50 <rtems_bdbuf_get>                
 2012980:	01 00 00 00 	nop                                            
        if (sc != RTEMS_SUCCESSFUL)                                   
 2012984:	80 a2 20 00 	cmp  %o0, 0                                    
 2012988:	12 80 00 62 	bne  2012b10 <fat_buf_access+0x1cc>            <== NEVER TAKEN
 201298c:	01 00 00 00 	nop                                            
            rtems_set_errno_and_return_minus_one(EIO);                
        fs_info->c.blk_num = blk;                                     
        fs_info->c.modified = 0;                                      
        fs_info->c.state = FAT_CACHE_ACTUAL;                          
 2012990:	82 10 20 01 	mov  1, %g1	! 1 <PROM_START+0x1>               
            sc = rtems_bdbuf_read(fs_info->vol.dev, blk, &fs_info->c.buf);
        else                                                          
            sc = rtems_bdbuf_get(fs_info->vol.dev, blk, &fs_info->c.buf);
        if (sc != RTEMS_SUCCESSFUL)                                   
            rtems_set_errno_and_return_minus_one(EIO);                
        fs_info->c.blk_num = blk;                                     
 2012994:	f2 26 20 80 	st  %i1, [ %i0 + 0x80 ]                        
        fs_info->c.modified = 0;                                      
 2012998:	c0 2e 20 84 	clrb  [ %i0 + 0x84 ]                           
        fs_info->c.state = FAT_CACHE_ACTUAL;                          
 201299c:	c2 2e 20 85 	stb  %g1, [ %i0 + 0x85 ]                       
    }                                                                 
                                                                      
    sec_of_fat = ((fs_info->c.blk_num >= fs_info->vol.fat_loc) &&     
 20129a0:	c2 06 20 80 	ld  [ %i0 + 0x80 ], %g1                        
 20129a4:	c4 16 20 14 	lduh  [ %i0 + 0x14 ], %g2                      
 20129a8:	80 a0 40 02 	cmp  %g1, %g2                                  
 20129ac:	0a 80 00 05 	bcs  20129c0 <fat_buf_access+0x7c>             <== NEVER TAKEN
 20129b0:	b8 10 20 00 	clr  %i4                                       
 20129b4:	c4 06 20 1c 	ld  [ %i0 + 0x1c ], %g2                        
 20129b8:	80 a0 40 02 	cmp  %g1, %g2                                  
 20129bc:	b8 40 20 00 	addx  %g0, 0, %i4                              
                  (fs_info->c.blk_num < fs_info->vol.rdir_loc));      
                                                                      
    if (fs_info->c.blk_num != blk)                                    
 20129c0:	80 a0 40 19 	cmp  %g1, %i1                                  
 20129c4:	22 80 00 5c 	be,a   2012b34 <fat_buf_access+0x1f0>          
 20129c8:	c2 06 20 88 	ld  [ %i0 + 0x88 ], %g1                        
    {                                                                 
        if (fs_info->c.modified)                                      
 20129cc:	c2 0e 20 84 	ldub  [ %i0 + 0x84 ], %g1                      
 20129d0:	80 a0 60 00 	cmp  %g1, 0                                    
 20129d4:	02 80 00 3c 	be  2012ac4 <fat_buf_access+0x180>             
 20129d8:	80 8f 20 ff 	btst  0xff, %i4                                
        {                                                             
            if (sec_of_fat && !fs_info->vol.mirror)                   
 20129dc:	02 80 00 0b 	be  2012a08 <fat_buf_access+0xc4>              <== ALWAYS TAKEN
 20129e0:	01 00 00 00 	nop                                            
 20129e4:	c2 0e 20 48 	ldub  [ %i0 + 0x48 ], %g1                      <== NOT EXECUTED
 20129e8:	80 a0 60 00 	cmp  %g1, 0                                    <== NOT EXECUTED
 20129ec:	12 80 00 07 	bne  2012a08 <fat_buf_access+0xc4>             <== NOT EXECUTED
 20129f0:	01 00 00 00 	nop                                            <== NOT EXECUTED
                memcpy(fs_info->sec_buf, fs_info->c.buf->buffer,      
 20129f4:	c2 06 20 88 	ld  [ %i0 + 0x88 ], %g1                        <== NOT EXECUTED
 20129f8:	d0 06 20 8c 	ld  [ %i0 + 0x8c ], %o0                        <== NOT EXECUTED
 20129fc:	d2 00 60 24 	ld  [ %g1 + 0x24 ], %o1                        <== NOT EXECUTED
 2012a00:	40 00 25 4f 	call  201bf3c <memcpy>                         <== NOT EXECUTED
 2012a04:	d4 16 00 00 	lduh  [ %i0 ], %o2                             <== NOT EXECUTED
                       fs_info->vol.bps);                             
                                                                      
            sc = rtems_bdbuf_release_modified(fs_info->c.buf);        
 2012a08:	7f ff fa 5d 	call  201137c <rtems_bdbuf_release_modified>   
 2012a0c:	d0 06 20 88 	ld  [ %i0 + 0x88 ], %o0                        
            fs_info->c.state = FAT_CACHE_EMPTY;                       
 2012a10:	c0 2e 20 85 	clrb  [ %i0 + 0x85 ]                           
            fs_info->c.modified = 0;                                  
            if (sc != RTEMS_SUCCESSFUL)                               
 2012a14:	80 a2 20 00 	cmp  %o0, 0                                    
 2012a18:	12 80 00 3e 	bne  2012b10 <fat_buf_access+0x1cc>            <== NEVER TAKEN
 2012a1c:	c0 2e 20 84 	clrb  [ %i0 + 0x84 ]                           
                rtems_set_errno_and_return_minus_one(EIO);            
                                                                      
            if (sec_of_fat && !fs_info->vol.mirror)                   
 2012a20:	80 8f 20 ff 	btst  0xff, %i4                                
 2012a24:	02 80 00 2e 	be  2012adc <fat_buf_access+0x198>             <== ALWAYS TAKEN
 2012a28:	94 10 00 19 	mov  %i1, %o2                                  
 2012a2c:	c2 0e 20 48 	ldub  [ %i0 + 0x48 ], %g1                      <== NOT EXECUTED
 2012a30:	80 a0 60 00 	cmp  %g1, 0                                    <== NOT EXECUTED
 2012a34:	02 80 00 1d 	be  2012aa8 <fat_buf_access+0x164>             <== NOT EXECUTED
 2012a38:	a0 10 20 01 	mov  1, %l0                                    <== NOT EXECUTED
            fs_info->c.state = FAT_CACHE_EMPTY;                       
            if (sc != RTEMS_SUCCESSFUL)                               
                rtems_set_errno_and_return_minus_one(EIO);            
                                                                      
        }                                                             
        if (op_type == FAT_OP_TYPE_READ)                              
 2012a3c:	10 80 00 29 	b  2012ae0 <fat_buf_access+0x19c>              <== NOT EXECUTED
 2012a40:	80 a6 a0 01 	cmp  %i2, 1                                    <== NOT EXECUTED
                                                                      
                for (i = 1; i < fs_info->vol.fats; i++)               
                {                                                     
                    sc = rtems_bdbuf_get(fs_info->vol.dev,            
                                         fs_info->c.blk_num +         
                                         fs_info->vol.fat_length * i, 
 2012a44:	40 00 55 1b 	call  2027eb0 <.umul>                          <== NOT EXECUTED
 2012a48:	f8 1e 20 58 	ldd  [ %i0 + 0x58 ], %i4                       <== NOT EXECUTED
            {                                                         
                rtems_bdbuf_buffer *b;                                
                                                                      
                for (i = 1; i < fs_info->vol.fats; i++)               
                {                                                     
                    sc = rtems_bdbuf_get(fs_info->vol.dev,            
 2012a4c:	d4 06 20 80 	ld  [ %i0 + 0x80 ], %o2                        <== NOT EXECUTED
 2012a50:	92 10 00 1d 	mov  %i5, %o1                                  <== NOT EXECUTED
 2012a54:	94 02 00 0a 	add  %o0, %o2, %o2                             <== NOT EXECUTED
 2012a58:	96 07 bf fc 	add  %fp, -4, %o3                              <== NOT EXECUTED
 2012a5c:	7f ff f9 3d 	call  2010f50 <rtems_bdbuf_get>                <== NOT EXECUTED
 2012a60:	90 10 00 1c 	mov  %i4, %o0                                  <== NOT EXECUTED
                                         fs_info->c.blk_num +         
                                         fs_info->vol.fat_length * i, 
                                         &b);                         
                    if ( sc != RTEMS_SUCCESSFUL)                      
 2012a64:	80 a2 20 00 	cmp  %o0, 0                                    <== NOT EXECUTED
 2012a68:	12 80 00 0c 	bne  2012a98 <fat_buf_access+0x154>            <== NOT EXECUTED
 2012a6c:	01 00 00 00 	nop                                            <== NOT EXECUTED
                        rtems_set_errno_and_return_minus_one(ENOMEM); 
                    memcpy(b->buffer, fs_info->sec_buf, fs_info->vol.bps);
 2012a70:	c2 07 bf fc 	ld  [ %fp + -4 ], %g1                          <== NOT EXECUTED
 2012a74:	d2 06 20 8c 	ld  [ %i0 + 0x8c ], %o1                        <== NOT EXECUTED
 2012a78:	d0 00 60 24 	ld  [ %g1 + 0x24 ], %o0                        <== NOT EXECUTED
 2012a7c:	40 00 25 30 	call  201bf3c <memcpy>                         <== NOT EXECUTED
 2012a80:	d4 16 00 00 	lduh  [ %i0 ], %o2                             <== NOT EXECUTED
                    sc = rtems_bdbuf_release_modified(b);             
 2012a84:	7f ff fa 3e 	call  201137c <rtems_bdbuf_release_modified>   <== NOT EXECUTED
 2012a88:	d0 07 bf fc 	ld  [ %fp + -4 ], %o0                          <== NOT EXECUTED
                    if ( sc != RTEMS_SUCCESSFUL)                      
 2012a8c:	80 a2 20 00 	cmp  %o0, 0                                    <== NOT EXECUTED
 2012a90:	22 80 00 06 	be,a   2012aa8 <fat_buf_access+0x164>          <== NOT EXECUTED
 2012a94:	a0 04 20 01 	inc  %l0                                       <== NOT EXECUTED
                        rtems_set_errno_and_return_minus_one(ENOMEM); 
 2012a98:	40 00 22 5a 	call  201b400 <__errno>                        <== NOT EXECUTED
 2012a9c:	01 00 00 00 	nop                                            <== NOT EXECUTED
 2012aa0:	10 80 00 1f 	b  2012b1c <fat_buf_access+0x1d8>              <== NOT EXECUTED
 2012aa4:	82 10 20 0c 	mov  0xc, %g1	! c <PROM_START+0xc>             <== NOT EXECUTED
                                                                      
            if (sec_of_fat && !fs_info->vol.mirror)                   
            {                                                         
                rtems_bdbuf_buffer *b;                                
                                                                      
                for (i = 1; i < fs_info->vol.fats; i++)               
 2012aa8:	c2 0e 20 09 	ldub  [ %i0 + 9 ], %g1                         <== NOT EXECUTED
 2012aac:	90 0c 20 ff 	and  %l0, 0xff, %o0                            <== NOT EXECUTED
 2012ab0:	80 a2 00 01 	cmp  %o0, %g1                                  <== NOT EXECUTED
 2012ab4:	2a bf ff e4 	bcs,a   2012a44 <fat_buf_access+0x100>         <== NOT EXECUTED
 2012ab8:	d2 06 20 18 	ld  [ %i0 + 0x18 ], %o1                        <== NOT EXECUTED
            if (sc != RTEMS_SUCCESSFUL)                               
                rtems_set_errno_and_return_minus_one(EIO);            
                                                                      
        }                                                             
        if (op_type == FAT_OP_TYPE_READ)                              
            sc = rtems_bdbuf_read(fs_info->vol.dev, blk, &fs_info->c.buf);
 2012abc:	10 80 00 08 	b  2012adc <fat_buf_access+0x198>              <== NOT EXECUTED
 2012ac0:	94 10 00 19 	mov  %i1, %o2                                  <== NOT EXECUTED
                }                                                     
            }                                                         
        }                                                             
        else                                                          
        {                                                             
            sc = rtems_bdbuf_release(fs_info->c.buf);                 
 2012ac4:	7f ff f9 f2 	call  201128c <rtems_bdbuf_release>            
 2012ac8:	d0 06 20 88 	ld  [ %i0 + 0x88 ], %o0                        
            fs_info->c.state = FAT_CACHE_EMPTY;                       
            if (sc != RTEMS_SUCCESSFUL)                               
 2012acc:	80 a2 20 00 	cmp  %o0, 0                                    
 2012ad0:	12 80 00 10 	bne  2012b10 <fat_buf_access+0x1cc>            <== NEVER TAKEN
 2012ad4:	c0 2e 20 85 	clrb  [ %i0 + 0x85 ]                           
                rtems_set_errno_and_return_minus_one(EIO);            
                                                                      
        }                                                             
        if (op_type == FAT_OP_TYPE_READ)                              
            sc = rtems_bdbuf_read(fs_info->vol.dev, blk, &fs_info->c.buf);
 2012ad8:	94 10 00 19 	mov  %i1, %o2                                  
            fs_info->c.state = FAT_CACHE_EMPTY;                       
            if (sc != RTEMS_SUCCESSFUL)                               
                rtems_set_errno_and_return_minus_one(EIO);            
                                                                      
        }                                                             
        if (op_type == FAT_OP_TYPE_READ)                              
 2012adc:	80 a6 a0 01 	cmp  %i2, 1                                    
 2012ae0:	d0 1e 20 58 	ldd  [ %i0 + 0x58 ], %o0                       
 2012ae4:	12 80 00 06 	bne  2012afc <fat_buf_access+0x1b8>            
 2012ae8:	96 06 20 88 	add  %i0, 0x88, %o3                            
            sc = rtems_bdbuf_read(fs_info->vol.dev, blk, &fs_info->c.buf);
 2012aec:	7f ff f9 4e 	call  2011024 <rtems_bdbuf_read>               
 2012af0:	01 00 00 00 	nop                                            
        else                                                          
            sc = rtems_bdbuf_get(fs_info->vol.dev, blk, &fs_info->c.buf);
        if (sc != RTEMS_SUCCESSFUL)                                   
 2012af4:	10 80 00 05 	b  2012b08 <fat_buf_access+0x1c4>              
 2012af8:	80 a2 20 00 	cmp  %o0, 0                                    
                                                                      
        }                                                             
        if (op_type == FAT_OP_TYPE_READ)                              
            sc = rtems_bdbuf_read(fs_info->vol.dev, blk, &fs_info->c.buf);
        else                                                          
            sc = rtems_bdbuf_get(fs_info->vol.dev, blk, &fs_info->c.buf);
 2012afc:	7f ff f9 15 	call  2010f50 <rtems_bdbuf_get>                
 2012b00:	01 00 00 00 	nop                                            
        if (sc != RTEMS_SUCCESSFUL)                                   
 2012b04:	80 a2 20 00 	cmp  %o0, 0                                    
 2012b08:	02 80 00 08 	be  2012b28 <fat_buf_access+0x1e4>             <== ALWAYS TAKEN
 2012b0c:	82 10 20 01 	mov  1, %g1                                    
            rtems_set_errno_and_return_minus_one(EIO);                
 2012b10:	40 00 22 3c 	call  201b400 <__errno>                        <== NOT EXECUTED
 2012b14:	01 00 00 00 	nop                                            <== NOT EXECUTED
 2012b18:	82 10 20 05 	mov  5, %g1	! 5 <PROM_START+0x5>               <== NOT EXECUTED
 2012b1c:	c2 22 00 00 	st  %g1, [ %o0 ]                               <== NOT EXECUTED
 2012b20:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2012b24:	91 e8 3f ff 	restore  %g0, -1, %o0                          <== NOT EXECUTED
        fs_info->c.blk_num = blk;                                     
 2012b28:	f2 26 20 80 	st  %i1, [ %i0 + 0x80 ]                        
        fs_info->c.state = FAT_CACHE_ACTUAL;                          
 2012b2c:	c2 2e 20 85 	stb  %g1, [ %i0 + 0x85 ]                       
    }                                                                 
    *buf = fs_info->c.buf;                                            
 2012b30:	c2 06 20 88 	ld  [ %i0 + 0x88 ], %g1                        
 2012b34:	c2 26 c0 00 	st  %g1, [ %i3 ]                               
    return RC_OK;                                                     
}                                                                     
 2012b38:	81 c7 e0 08 	ret                                            
 2012b3c:	91 e8 20 00 	restore  %g0, 0, %o0                           
                                                                      

02012b40 <fat_buf_release>: int fat_buf_release(fat_fs_info_t *fs_info) {
 2012b40:	9d e3 bf 98 	save  %sp, -104, %sp                           
    rtems_status_code sc = RTEMS_SUCCESSFUL;                          
    uint8_t           i;                                              
    bool              sec_of_fat;                                     
                                                                      
    if (fs_info->c.state == FAT_CACHE_EMPTY)                          
 2012b44:	c2 0e 20 85 	ldub  [ %i0 + 0x85 ], %g1                      
    return RC_OK;                                                     
}                                                                     
                                                                      
int                                                                   
fat_buf_release(fat_fs_info_t *fs_info)                               
{                                                                     
 2012b48:	b6 10 00 18 	mov  %i0, %i3                                  
    rtems_status_code sc = RTEMS_SUCCESSFUL;                          
    uint8_t           i;                                              
    bool              sec_of_fat;                                     
                                                                      
    if (fs_info->c.state == FAT_CACHE_EMPTY)                          
 2012b4c:	80 a0 60 00 	cmp  %g1, 0                                    
 2012b50:	02 80 00 54 	be  2012ca0 <fat_buf_release+0x160>            
 2012b54:	b0 10 20 00 	clr  %i0                                       
        return RC_OK;                                                 
                                                                      
    sec_of_fat = ((fs_info->c.blk_num >= fs_info->vol.fat_loc) &&     
 2012b58:	c2 06 e0 80 	ld  [ %i3 + 0x80 ], %g1                        
 2012b5c:	c4 16 e0 14 	lduh  [ %i3 + 0x14 ], %g2                      
 2012b60:	80 a0 40 02 	cmp  %g1, %g2                                  
 2012b64:	0a 80 00 05 	bcs  2012b78 <fat_buf_release+0x38>            <== NEVER TAKEN
 2012b68:	b8 10 20 00 	clr  %i4                                       
    *buf = fs_info->c.buf;                                            
    return RC_OK;                                                     
}                                                                     
                                                                      
int                                                                   
fat_buf_release(fat_fs_info_t *fs_info)                               
 2012b6c:	c4 06 e0 1c 	ld  [ %i3 + 0x1c ], %g2                        
 2012b70:	80 a0 40 02 	cmp  %g1, %g2                                  
 2012b74:	b8 40 20 00 	addx  %g0, 0, %i4                              
        return RC_OK;                                                 
                                                                      
    sec_of_fat = ((fs_info->c.blk_num >= fs_info->vol.fat_loc) &&     
                  (fs_info->c.blk_num < fs_info->vol.rdir_loc));      
                                                                      
    if (fs_info->c.modified)                                          
 2012b78:	c2 0e e0 84 	ldub  [ %i3 + 0x84 ], %g1                      
 2012b7c:	80 a0 60 00 	cmp  %g1, 0                                    
 2012b80:	02 80 00 3b 	be  2012c6c <fat_buf_release+0x12c>            
 2012b84:	80 8f 20 ff 	btst  0xff, %i4                                
    {                                                                 
        if (sec_of_fat && !fs_info->vol.mirror)                       
 2012b88:	02 80 00 0b 	be  2012bb4 <fat_buf_release+0x74>             
 2012b8c:	01 00 00 00 	nop                                            
 2012b90:	c2 0e e0 48 	ldub  [ %i3 + 0x48 ], %g1                      
 2012b94:	80 a0 60 00 	cmp  %g1, 0                                    
 2012b98:	12 80 00 07 	bne  2012bb4 <fat_buf_release+0x74>            <== NEVER TAKEN
 2012b9c:	01 00 00 00 	nop                                            
            memcpy(fs_info->sec_buf, fs_info->c.buf->buffer, fs_info->vol.bps);
 2012ba0:	c2 06 e0 88 	ld  [ %i3 + 0x88 ], %g1                        
 2012ba4:	d0 06 e0 8c 	ld  [ %i3 + 0x8c ], %o0                        
 2012ba8:	d2 00 60 24 	ld  [ %g1 + 0x24 ], %o1                        
 2012bac:	40 00 24 e4 	call  201bf3c <memcpy>                         
 2012bb0:	d4 16 c0 00 	lduh  [ %i3 ], %o2                             
                                                                      
        sc = rtems_bdbuf_release_modified(fs_info->c.buf);            
 2012bb4:	7f ff f9 f2 	call  201137c <rtems_bdbuf_release_modified>   
 2012bb8:	d0 06 e0 88 	ld  [ %i3 + 0x88 ], %o0                        
        if (sc != RTEMS_SUCCESSFUL)                                   
 2012bbc:	80 a2 20 00 	cmp  %o0, 0                                    
 2012bc0:	12 80 00 30 	bne  2012c80 <fat_buf_release+0x140>           <== NEVER TAKEN
 2012bc4:	01 00 00 00 	nop                                            
            rtems_set_errno_and_return_minus_one(EIO);                
        fs_info->c.modified = 0;                                      
                                                                      
        if (sec_of_fat && !fs_info->vol.mirror)                       
 2012bc8:	80 8f 20 ff 	btst  0xff, %i4                                
 2012bcc:	02 80 00 33 	be  2012c98 <fat_buf_release+0x158>            
 2012bd0:	c0 2e e0 84 	clrb  [ %i3 + 0x84 ]                           
 2012bd4:	c2 0e e0 48 	ldub  [ %i3 + 0x48 ], %g1                      
 2012bd8:	80 a0 60 00 	cmp  %g1, 0                                    
 2012bdc:	02 80 00 1d 	be  2012c50 <fat_buf_release+0x110>            <== ALWAYS TAKEN
 2012be0:	b4 10 20 01 	mov  1, %i2                                    
    {                                                                 
        sc = rtems_bdbuf_release(fs_info->c.buf);                     
        if (sc != RTEMS_SUCCESSFUL)                                   
            rtems_set_errno_and_return_minus_one(EIO);                
    }                                                                 
    fs_info->c.state = FAT_CACHE_EMPTY;                               
 2012be4:	10 80 00 2e 	b  2012c9c <fat_buf_release+0x15c>             <== NOT EXECUTED
 2012be8:	c0 2e e0 85 	clrb  [ %i3 + 0x85 ]                           <== NOT EXECUTED
                                                                      
            for (i = 1; i < fs_info->vol.fats; i++)                   
            {                                                         
                sc = rtems_bdbuf_get(fs_info->vol.dev,                
                                     fs_info->c.blk_num +             
                                     fs_info->vol.fat_length * i,     
 2012bec:	40 00 54 b1 	call  2027eb0 <.umul>                          
 2012bf0:	f8 1e e0 58 	ldd  [ %i3 + 0x58 ], %i4                       
        {                                                             
            rtems_bdbuf_buffer *b;                                    
                                                                      
            for (i = 1; i < fs_info->vol.fats; i++)                   
            {                                                         
                sc = rtems_bdbuf_get(fs_info->vol.dev,                
 2012bf4:	d4 06 e0 80 	ld  [ %i3 + 0x80 ], %o2                        
 2012bf8:	92 10 00 1d 	mov  %i5, %o1                                  
 2012bfc:	94 02 00 0a 	add  %o0, %o2, %o2                             
 2012c00:	96 07 bf fc 	add  %fp, -4, %o3                              
 2012c04:	7f ff f8 d3 	call  2010f50 <rtems_bdbuf_get>                
 2012c08:	90 10 00 1c 	mov  %i4, %o0                                  
                                     fs_info->c.blk_num +             
                                     fs_info->vol.fat_length * i,     
                                     &b);                             
                if ( sc != RTEMS_SUCCESSFUL)                          
 2012c0c:	80 a2 20 00 	cmp  %o0, 0                                    
 2012c10:	12 80 00 0c 	bne  2012c40 <fat_buf_release+0x100>           <== NEVER TAKEN
 2012c14:	01 00 00 00 	nop                                            
                    rtems_set_errno_and_return_minus_one(ENOMEM);     
                memcpy(b->buffer, fs_info->sec_buf, fs_info->vol.bps);
 2012c18:	c2 07 bf fc 	ld  [ %fp + -4 ], %g1                          
 2012c1c:	d2 06 e0 8c 	ld  [ %i3 + 0x8c ], %o1                        
 2012c20:	d0 00 60 24 	ld  [ %g1 + 0x24 ], %o0                        
 2012c24:	40 00 24 c6 	call  201bf3c <memcpy>                         
 2012c28:	d4 16 c0 00 	lduh  [ %i3 ], %o2                             
                sc = rtems_bdbuf_release_modified(b);                 
 2012c2c:	7f ff f9 d4 	call  201137c <rtems_bdbuf_release_modified>   
 2012c30:	d0 07 bf fc 	ld  [ %fp + -4 ], %o0                          
                if ( sc != RTEMS_SUCCESSFUL)                          
 2012c34:	80 a2 20 00 	cmp  %o0, 0                                    
 2012c38:	22 80 00 06 	be,a   2012c50 <fat_buf_release+0x110>         <== ALWAYS TAKEN
 2012c3c:	b4 06 a0 01 	inc  %i2                                       
                    rtems_set_errno_and_return_minus_one(ENOMEM);     
 2012c40:	40 00 21 f0 	call  201b400 <__errno>                        <== NOT EXECUTED
 2012c44:	01 00 00 00 	nop                                            <== NOT EXECUTED
 2012c48:	10 80 00 11 	b  2012c8c <fat_buf_release+0x14c>             <== NOT EXECUTED
 2012c4c:	82 10 20 0c 	mov  0xc, %g1	! c <PROM_START+0xc>             <== NOT EXECUTED
                                                                      
        if (sec_of_fat && !fs_info->vol.mirror)                       
        {                                                             
            rtems_bdbuf_buffer *b;                                    
                                                                      
            for (i = 1; i < fs_info->vol.fats; i++)                   
 2012c50:	c2 0e e0 09 	ldub  [ %i3 + 9 ], %g1                         
 2012c54:	90 0e a0 ff 	and  %i2, 0xff, %o0                            
 2012c58:	80 a2 00 01 	cmp  %o0, %g1                                  
 2012c5c:	2a bf ff e4 	bcs,a   2012bec <fat_buf_release+0xac>         
 2012c60:	d2 06 e0 18 	ld  [ %i3 + 0x18 ], %o1                        
    {                                                                 
        sc = rtems_bdbuf_release(fs_info->c.buf);                     
        if (sc != RTEMS_SUCCESSFUL)                                   
            rtems_set_errno_and_return_minus_one(EIO);                
    }                                                                 
    fs_info->c.state = FAT_CACHE_EMPTY;                               
 2012c64:	10 80 00 0e 	b  2012c9c <fat_buf_release+0x15c>             
 2012c68:	c0 2e e0 85 	clrb  [ %i3 + 0x85 ]                           
            }                                                         
        }                                                             
    }                                                                 
    else                                                              
    {                                                                 
        sc = rtems_bdbuf_release(fs_info->c.buf);                     
 2012c6c:	7f ff f9 88 	call  201128c <rtems_bdbuf_release>            
 2012c70:	d0 06 e0 88 	ld  [ %i3 + 0x88 ], %o0                        
        if (sc != RTEMS_SUCCESSFUL)                                   
 2012c74:	80 a2 20 00 	cmp  %o0, 0                                    
 2012c78:	22 80 00 09 	be,a   2012c9c <fat_buf_release+0x15c>         <== ALWAYS TAKEN
 2012c7c:	c0 2e e0 85 	clrb  [ %i3 + 0x85 ]                           
            rtems_set_errno_and_return_minus_one(EIO);                
 2012c80:	40 00 21 e0 	call  201b400 <__errno>                        <== NOT EXECUTED
 2012c84:	01 00 00 00 	nop                                            <== NOT EXECUTED
 2012c88:	82 10 20 05 	mov  5, %g1	! 5 <PROM_START+0x5>               <== NOT EXECUTED
 2012c8c:	c2 22 00 00 	st  %g1, [ %o0 ]                               <== NOT EXECUTED
 2012c90:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2012c94:	91 e8 3f ff 	restore  %g0, -1, %o0                          <== NOT EXECUTED
    }                                                                 
    fs_info->c.state = FAT_CACHE_EMPTY;                               
 2012c98:	c0 2e e0 85 	clrb  [ %i3 + 0x85 ]                           
    return RC_OK;                                                     
 2012c9c:	b0 10 20 00 	clr  %i0                                       
}                                                                     
 2012ca0:	81 c7 e0 08 	ret                                            
 2012ca4:	81 e8 00 00 	restore                                        
                                                                      

02011c48 <fat_cluster_num_to_sector_num.isra.0>: uint32_t cln ) { register fat_fs_info_t *fs_info = mt_entry->fs_info; if ( (cln == 0) && (fs_info->vol.type & (FAT_FAT12 | FAT_FAT16)) )
 2011c48:	80 a2 60 00 	cmp  %o1, 0                                    
 2011c4c:	32 80 00 08 	bne,a   2011c6c <fat_cluster_num_to_sector_num.isra.0+0x24>
 2011c50:	c2 0a 20 05 	ldub  [ %o0 + 5 ], %g1                         
 2011c54:	c2 0a 20 0a 	ldub  [ %o0 + 0xa ], %g1                       
 2011c58:	80 88 60 03 	btst  3, %g1                                   
 2011c5c:	22 80 00 04 	be,a   2011c6c <fat_cluster_num_to_sector_num.isra.0+0x24><== NEVER TAKEN
 2011c60:	c2 0a 20 05 	ldub  [ %o0 + 5 ], %g1                         <== NOT EXECUTED
        return fs_info->vol.rdir_loc;                                 
 2011c64:	81 c3 e0 08 	retl                                           
 2011c68:	d0 02 20 1c 	ld  [ %o0 + 0x1c ], %o0                        
                                                                      
    return (((cln - FAT_RSRVD_CLN) << fs_info->vol.spc_log2) +        
 2011c6c:	92 02 7f fe 	add  %o1, -2, %o1                              
 2011c70:	93 2a 40 01 	sll  %o1, %g1, %o1                             
 2011c74:	c2 02 20 30 	ld  [ %o0 + 0x30 ], %g1                        
            fs_info->vol.data_fsec);                                  
}                                                                     
 2011c78:	81 c3 e0 08 	retl                                           
 2011c7c:	90 02 40 01 	add  %o1, %g1, %o0                             
                                                                      

02012dd8 <fat_cluster_read>: fat_cluster_read( rtems_filesystem_mount_table_entry_t *mt_entry, uint32_t cln, void *buff ) {
 2012dd8:	9d e3 bf a0 	save  %sp, -96, %sp                            <== NOT EXECUTED
    fat_fs_info_t *fs_info = mt_entry->fs_info;                       
 2012ddc:	fa 06 20 34 	ld  [ %i0 + 0x34 ], %i5                        <== NOT EXECUTED
    uint32_t       fsec = 0;                                          
                                                                      
    fsec = fat_cluster_num_to_sector_num(mt_entry, cln);              
 2012de0:	92 10 00 19 	mov  %i1, %o1                                  <== NOT EXECUTED
 2012de4:	7f ff fe ca 	call  201290c <fat_cluster_num_to_sector_num.isra.0><== NOT EXECUTED
 2012de8:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
                                                                      
    return _fat_block_read(mt_entry, fsec, 0,                         
                           fs_info->vol.spc << fs_info->vol.sec_log2, buff);
 2012dec:	c2 0f 60 02 	ldub  [ %i5 + 2 ], %g1                         <== NOT EXECUTED
 2012df0:	f6 0f 60 04 	ldub  [ %i5 + 4 ], %i3                         <== NOT EXECUTED
fat_cluster_read(                                                     
    rtems_filesystem_mount_table_entry_t *mt_entry,                   
    uint32_t                              cln,                        
    void                                 *buff                        
    )                                                                 
{                                                                     
 2012df4:	b8 10 00 1a 	mov  %i2, %i4                                  <== NOT EXECUTED
    fat_fs_info_t *fs_info = mt_entry->fs_info;                       
    uint32_t       fsec = 0;                                          
                                                                      
    fsec = fat_cluster_num_to_sector_num(mt_entry, cln);              
                                                                      
    return _fat_block_read(mt_entry, fsec, 0,                         
 2012df8:	b2 10 00 08 	mov  %o0, %i1                                  <== NOT EXECUTED
 2012dfc:	b7 2e c0 01 	sll  %i3, %g1, %i3                             <== NOT EXECUTED
 2012e00:	7f ff ff aa 	call  2012ca8 <_fat_block_read>                <== NOT EXECUTED
 2012e04:	95 e8 20 00 	restore  %g0, 0, %o2                           <== NOT EXECUTED
                                                                      

02013004 <fat_fat32_update_fsinfo_sector>: fat_fat32_update_fsinfo_sector( rtems_filesystem_mount_table_entry_t *mt_entry, uint32_t free_count, uint32_t next_free ) {
 2013004:	9d e3 bf 98 	save  %sp, -104, %sp                           <== NOT EXECUTED
    ssize_t                 ret1 = 0, ret2 = 0;                       
    register fat_fs_info_t *fs_info = mt_entry->fs_info;              
 2013008:	fa 06 20 34 	ld  [ %i0 + 0x34 ], %i5                        <== NOT EXECUTED
    uint32_t                le_free_count = 0;                        
    uint32_t                le_next_free = 0;                         
                                                                      
    le_free_count = CT_LE_L(free_count);                              
 201300c:	7f ff fe 34 	call  20128dc <CPU_swap_u32>                   <== NOT EXECUTED
 2013010:	90 10 00 19 	mov  %i1, %o0                                  <== NOT EXECUTED
 2013014:	d0 27 bf f8 	st  %o0, [ %fp + -8 ]                          <== NOT EXECUTED
    le_next_free = CT_LE_L(next_free);                                
 2013018:	7f ff fe 31 	call  20128dc <CPU_swap_u32>                   <== NOT EXECUTED
 201301c:	90 10 00 1a 	mov  %i2, %o0                                  <== NOT EXECUTED
                                                                      
    ret1 = _fat_block_write(mt_entry,                                 
 2013020:	d2 17 60 3c 	lduh  [ %i5 + 0x3c ], %o1                      <== NOT EXECUTED
    register fat_fs_info_t *fs_info = mt_entry->fs_info;              
    uint32_t                le_free_count = 0;                        
    uint32_t                le_next_free = 0;                         
                                                                      
    le_free_count = CT_LE_L(free_count);                              
    le_next_free = CT_LE_L(next_free);                                
 2013024:	d0 27 bf fc 	st  %o0, [ %fp + -4 ]                          <== NOT EXECUTED
                                                                      
    ret1 = _fat_block_write(mt_entry,                                 
 2013028:	94 10 21 e8 	mov  0x1e8, %o2                                <== NOT EXECUTED
 201302c:	96 10 20 04 	mov  4, %o3                                    <== NOT EXECUTED
 2013030:	98 07 bf f8 	add  %fp, -8, %o4                              <== NOT EXECUTED
 2013034:	7f ff ff 3f 	call  2012d30 <_fat_block_write>               <== NOT EXECUTED
 2013038:	90 10 00 18 	mov  %i0, %o0                                  <== NOT EXECUTED
                            fs_info->vol.info_sec,                    
                            FAT_FSINFO_FREE_CLUSTER_COUNT_OFFSET,     
                            4,                                        
                            (char *)(&le_free_count));                
                                                                      
    ret2 = _fat_block_write(mt_entry,                                 
 201303c:	d2 17 60 3c 	lduh  [ %i5 + 0x3c ], %o1                      <== NOT EXECUTED
    uint32_t                le_next_free = 0;                         
                                                                      
    le_free_count = CT_LE_L(free_count);                              
    le_next_free = CT_LE_L(next_free);                                
                                                                      
    ret1 = _fat_block_write(mt_entry,                                 
 2013040:	b8 10 00 08 	mov  %o0, %i4                                  <== NOT EXECUTED
                            fs_info->vol.info_sec,                    
                            FAT_FSINFO_FREE_CLUSTER_COUNT_OFFSET,     
                            4,                                        
                            (char *)(&le_free_count));                
                                                                      
    ret2 = _fat_block_write(mt_entry,                                 
 2013044:	94 10 21 ec 	mov  0x1ec, %o2                                <== NOT EXECUTED
 2013048:	90 10 00 18 	mov  %i0, %o0                                  <== NOT EXECUTED
 201304c:	96 10 20 04 	mov  4, %o3                                    <== NOT EXECUTED
 2013050:	7f ff ff 38 	call  2012d30 <_fat_block_write>               <== NOT EXECUTED
 2013054:	98 07 bf fc 	add  %fp, -4, %o4                              <== NOT EXECUTED
                            fs_info->vol.info_sec,                    
                            FAT_FSINFO_NEXT_FREE_CLUSTER_OFFSET,      
                            4,                                        
                            (char *)(&le_next_free));                 
                                                                      
    if ( (ret1 < 0) || (ret2 < 0) )                                   
 2013058:	80 a2 20 00 	cmp  %o0, 0                                    <== NOT EXECUTED
 201305c:	06 80 00 04 	bl  201306c <fat_fat32_update_fsinfo_sector+0x68><== NOT EXECUTED
 2013060:	80 a7 20 00 	cmp  %i4, 0                                    <== NOT EXECUTED
 2013064:	16 80 00 03 	bge  2013070 <fat_fat32_update_fsinfo_sector+0x6c><== NOT EXECUTED
 2013068:	b0 10 20 00 	clr  %i0                                       <== NOT EXECUTED
        return -1;                                                    
 201306c:	b0 10 3f ff 	mov  -1, %i0                                   <== NOT EXECUTED
                                                                      
    return RC_OK;                                                     
}                                                                     
 2013070:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2013074:	81 e8 00 00 	restore                                        <== NOT EXECUTED
                                                                      

02012168 <fat_file_close>: int fat_file_close( rtems_filesystem_mount_table_entry_t *mt_entry, fat_file_fd_t *fat_fd ) {
 2012168:	9d e3 bf a0 	save  %sp, -96, %sp                            
                                                                      
    /*                                                                
     * if links_num field of fat-file descriptor is greater than 1    
     * decrement the count of links and return                        
     */                                                               
    if (fat_fd->links_num > 1)                                        
 201216c:	c2 06 60 08 	ld  [ %i1 + 8 ], %g1                           
 2012170:	80 a0 60 01 	cmp  %g1, 1                                    
 2012174:	08 80 00 06 	bleu  201218c <fat_file_close+0x24>            
 2012178:	f8 06 20 34 	ld  [ %i0 + 0x34 ], %i4                        
    {                                                                 
        fat_fd->links_num--;                                          
 201217c:	82 00 7f ff 	add  %g1, -1, %g1                              
        return rc;                                                    
 2012180:	90 10 20 00 	clr  %o0                                       
 2012184:	10 80 00 25 	b  2012218 <fat_file_close+0xb0>               
 2012188:	c2 26 60 08 	st  %g1, [ %i1 + 8 ]                           
    }                                                                 
                                                                      
    key = fat_construct_key(mt_entry, &fat_fd->dir_pos.sname);        
                                                                      
    if (fat_fd->flags & FAT_FILE_REMOVED)                             
 201218c:	c2 0e 60 30 	ldub  [ %i1 + 0x30 ], %g1                      
 2012190:	80 88 60 01 	btst  1, %g1                                   
 2012194:	02 80 00 14 	be  20121e4 <fat_file_close+0x7c>              <== ALWAYS TAKEN
 2012198:	90 10 00 18 	mov  %i0, %o0                                  
    {                                                                 
        rc = fat_file_truncate(mt_entry, fat_fd, 0);                  
 201219c:	92 10 00 19 	mov  %i1, %o1                                  <== NOT EXECUTED
 20121a0:	7f ff ff ae 	call  2012058 <fat_file_truncate>              <== NOT EXECUTED
 20121a4:	94 10 20 00 	clr  %o2                                       <== NOT EXECUTED
        if ( rc != RC_OK )                                            
 20121a8:	80 a2 20 00 	cmp  %o0, 0                                    <== NOT EXECUTED
 20121ac:	12 80 00 1b 	bne  2012218 <fat_file_close+0xb0>             <== NOT EXECUTED
 20121b0:	01 00 00 00 	nop                                            <== NOT EXECUTED
 */                                                                   
RTEMS_INLINE_ROUTINE void rtems_chain_extract(                        
  rtems_chain_node *the_node                                          
)                                                                     
{                                                                     
  _Chain_Extract( the_node );                                         
 20121b4:	7f ff e2 49 	call  200aad8 <_Chain_Extract>                 <== NOT EXECUTED
 20121b8:	90 10 00 19 	mov  %i1, %o0                                  <== NOT EXECUTED
            return rc;                                                
                                                                      
        _hash_delete(fs_info->rhash, key, fat_fd->ino, fat_fd);       
                                                                      
        if ( fat_ino_is_unique(mt_entry, fat_fd->ino) )               
 20121bc:	d2 06 60 0c 	ld  [ %i1 + 0xc ], %o1                         <== NOT EXECUTED
 20121c0:	40 00 03 8c 	call  2012ff0 <fat_ino_is_unique>              <== NOT EXECUTED
 20121c4:	90 10 00 18 	mov  %i0, %o0                                  <== NOT EXECUTED
 20121c8:	80 8a 20 ff 	btst  0xff, %o0                                <== NOT EXECUTED
 20121cc:	02 80 00 0f 	be  2012208 <fat_file_close+0xa0>              <== NOT EXECUTED
 20121d0:	01 00 00 00 	nop                                            <== NOT EXECUTED
            fat_free_unique_ino(mt_entry, fat_fd->ino);               
 20121d4:	d2 06 60 0c 	ld  [ %i1 + 0xc ], %o1                         <== NOT EXECUTED
 20121d8:	40 00 03 7a 	call  2012fc0 <fat_free_unique_ino>            <== NOT EXECUTED
 20121dc:	90 10 00 18 	mov  %i0, %o0                                  <== NOT EXECUTED
 20121e0:	30 80 00 0a 	b,a   2012208 <fat_file_close+0xa0>            <== NOT EXECUTED
                                                                      
        free(fat_fd);                                                 
    }                                                                 
    else                                                              
    {                                                                 
        if (fat_ino_is_unique(mt_entry, fat_fd->ino))                 
 20121e4:	40 00 03 83 	call  2012ff0 <fat_ino_is_unique>              
 20121e8:	d2 06 60 0c 	ld  [ %i1 + 0xc ], %o1                         
 20121ec:	80 8a 20 ff 	btst  0xff, %o0                                
 20121f0:	02 80 00 04 	be  2012200 <fat_file_close+0x98>              <== ALWAYS TAKEN
 20121f4:	01 00 00 00 	nop                                            
        {                                                             
            fat_fd->links_num = 0;                                    
 20121f8:	10 80 00 06 	b  2012210 <fat_file_close+0xa8>               <== NOT EXECUTED
 20121fc:	c0 26 60 08 	clr  [ %i1 + 8 ]                               <== NOT EXECUTED
 2012200:	7f ff e2 36 	call  200aad8 <_Chain_Extract>                 
 2012204:	90 10 00 19 	mov  %i1, %o0                                  
        }                                                             
        else                                                          
        {                                                             
            _hash_delete(fs_info->vhash, key, fat_fd->ino, fat_fd);   
            free(fat_fd);                                             
 2012208:	7f ff ce 99 	call  2005c6c <free>                           
 201220c:	90 10 00 19 	mov  %i1, %o0                                  
        }                                                             
    }                                                                 
    /*                                                                
     * flush any modified "cached" buffer back to disk                
     */                                                               
    rc = fat_buf_release(fs_info);                                    
 2012210:	40 00 02 4c 	call  2012b40 <fat_buf_release>                
 2012214:	91 e8 00 1c 	restore  %g0, %i4, %o0                         
                                                                      
    return rc;                                                        
}                                                                     
 2012218:	81 c7 e0 08 	ret                                            
 201221c:	91 e8 00 08 	restore  %g0, %o0, %o0                         
                                                                      

0201273c <fat_file_datasync>: int fat_file_datasync( rtems_filesystem_mount_table_entry_t *mt_entry, fat_file_fd_t *fat_fd ) {
 201273c:	9d e3 bf 98 	save  %sp, -104, %sp                           <== NOT EXECUTED
    int                 rc = RC_OK;                                   
    rtems_status_code   sc = RTEMS_SUCCESSFUL;                        
    fat_fs_info_t      *fs_info = mt_entry->fs_info;                  
    uint32_t            cur_cln = fat_fd->cln;                        
 2012740:	c2 06 60 1c 	ld  [ %i1 + 0x1c ], %g1                        <== NOT EXECUTED
    rtems_bdbuf_buffer *block = NULL;                                 
 2012744:	c0 27 bf fc 	clr  [ %fp + -4 ]                              <== NOT EXECUTED
    )                                                                 
{                                                                     
    int                 rc = RC_OK;                                   
    rtems_status_code   sc = RTEMS_SUCCESSFUL;                        
    fat_fs_info_t      *fs_info = mt_entry->fs_info;                  
    uint32_t            cur_cln = fat_fd->cln;                        
 2012748:	c2 27 bf f8 	st  %g1, [ %fp + -8 ]                          <== NOT EXECUTED
    rtems_bdbuf_buffer *block = NULL;                                 
    uint32_t            sec = 0;                                      
    uint32_t            i = 0;                                        
                                                                      
    if (fat_fd->fat_file_size == 0)                                   
 201274c:	c2 06 60 18 	ld  [ %i1 + 0x18 ], %g1                        <== NOT EXECUTED
int                                                                   
fat_file_datasync(                                                    
    rtems_filesystem_mount_table_entry_t *mt_entry,                   
    fat_file_fd_t                        *fat_fd                      
    )                                                                 
{                                                                     
 2012750:	ba 10 00 18 	mov  %i0, %i5                                  <== NOT EXECUTED
    int                 rc = RC_OK;                                   
    rtems_status_code   sc = RTEMS_SUCCESSFUL;                        
    fat_fs_info_t      *fs_info = mt_entry->fs_info;                  
 2012754:	f8 06 20 34 	ld  [ %i0 + 0x34 ], %i4                        <== NOT EXECUTED
    uint32_t            cur_cln = fat_fd->cln;                        
    rtems_bdbuf_buffer *block = NULL;                                 
    uint32_t            sec = 0;                                      
    uint32_t            i = 0;                                        
                                                                      
    if (fat_fd->fat_file_size == 0)                                   
 2012758:	80 a0 60 00 	cmp  %g1, 0                                    <== NOT EXECUTED
 201275c:	02 80 00 07 	be  2012778 <fat_file_datasync+0x3c>           <== NOT EXECUTED
 2012760:	b0 10 20 00 	clr  %i0                                       <== NOT EXECUTED
                                                                      
    /*                                                                
     * we can use only one bdbuf :( and we also know that cache is useless
     * for sync operation, so don't use it                            
     */                                                               
    rc = fat_buf_release(fs_info);                                    
 2012764:	40 00 00 f7 	call  2012b40 <fat_buf_release>                <== NOT EXECUTED
 2012768:	90 10 00 1c 	mov  %i4, %o0                                  <== NOT EXECUTED
    if (rc != RC_OK)                                                  
 201276c:	b0 92 20 00 	orcc  %o0, 0, %i0                              <== NOT EXECUTED
 2012770:	02 80 00 24 	be  2012800 <fat_file_datasync+0xc4>           <== NOT EXECUTED
 2012774:	d2 07 bf f8 	ld  [ %fp + -8 ], %o1                          <== NOT EXECUTED
 2012778:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 201277c:	81 e8 00 00 	restore                                        <== NOT EXECUTED
        return rc;                                                    
                                                                      
    /* for each cluster of the file ... */                            
    while ((cur_cln & fs_info->vol.mask) < fs_info->vol.eoc_val)      
    {                                                                 
        sec = fat_cluster_num_to_sector_num(mt_entry, cur_cln);       
 2012780:	7f ff fd 32 	call  2011c48 <fat_cluster_num_to_sector_num.isra.0><== NOT EXECUTED
 2012784:	b6 10 20 00 	clr  %i3                                       <== NOT EXECUTED
        /* for each sector in cluster ... */                          
        for ( i = 0; i < fs_info->vol.spc; i++ )                      
 2012788:	10 80 00 13 	b  20127d4 <fat_file_datasync+0x98>            <== NOT EXECUTED
 201278c:	b4 10 00 08 	mov  %o0, %i2                                  <== NOT EXECUTED
        {                                                             
            /* ... sync it */                                         
            sc = rtems_bdbuf_read(fs_info->vol.dev, (sec + i), &block);
 2012790:	94 06 c0 1a 	add  %i3, %i2, %o2                             <== NOT EXECUTED
 2012794:	7f ff fa 24 	call  2011024 <rtems_bdbuf_read>               <== NOT EXECUTED
 2012798:	96 07 bf fc 	add  %fp, -4, %o3                              <== NOT EXECUTED
            if (sc != RTEMS_SUCCESSFUL)                               
 201279c:	80 a2 20 00 	cmp  %o0, 0                                    <== NOT EXECUTED
 20127a0:	12 80 00 07 	bne  20127bc <fat_file_datasync+0x80>          <== NOT EXECUTED
 20127a4:	01 00 00 00 	nop                                            <== NOT EXECUTED
                rtems_set_errno_and_return_minus_one( EIO );          
                                                                      
            sc = rtems_bdbuf_sync(block);                             
 20127a8:	7f ff fb 1b 	call  2011414 <rtems_bdbuf_sync>               <== NOT EXECUTED
 20127ac:	d0 07 bf fc 	ld  [ %fp + -4 ], %o0                          <== NOT EXECUTED
            if ( sc != RTEMS_SUCCESSFUL )                             
 20127b0:	80 a2 20 00 	cmp  %o0, 0                                    <== NOT EXECUTED
 20127b4:	22 80 00 08 	be,a   20127d4 <fat_file_datasync+0x98>        <== NOT EXECUTED
 20127b8:	b6 06 e0 01 	inc  %i3                                       <== NOT EXECUTED
                rtems_set_errno_and_return_minus_one( EIO );          
 20127bc:	40 00 23 11 	call  201b400 <__errno>                        <== NOT EXECUTED
 20127c0:	b0 10 3f ff 	mov  -1, %i0                                   <== NOT EXECUTED
 20127c4:	82 10 20 05 	mov  5, %g1                                    <== NOT EXECUTED
 20127c8:	c2 22 00 00 	st  %g1, [ %o0 ]                               <== NOT EXECUTED
 20127cc:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 20127d0:	81 e8 00 00 	restore                                        <== NOT EXECUTED
    /* for each cluster of the file ... */                            
    while ((cur_cln & fs_info->vol.mask) < fs_info->vol.eoc_val)      
    {                                                                 
        sec = fat_cluster_num_to_sector_num(mt_entry, cur_cln);       
        /* for each sector in cluster ... */                          
        for ( i = 0; i < fs_info->vol.spc; i++ )                      
 20127d4:	c2 0f 20 04 	ldub  [ %i4 + 4 ], %g1                         <== NOT EXECUTED
 20127d8:	80 a6 c0 01 	cmp  %i3, %g1                                  <== NOT EXECUTED
 20127dc:	2a bf ff ed 	bcs,a   2012790 <fat_file_datasync+0x54>       <== NOT EXECUTED
 20127e0:	d0 1f 20 58 	ldd  [ %i4 + 0x58 ], %o0                       <== NOT EXECUTED
            sc = rtems_bdbuf_sync(block);                             
            if ( sc != RTEMS_SUCCESSFUL )                             
                rtems_set_errno_and_return_minus_one( EIO );          
        }                                                             
                                                                      
        rc = fat_get_fat_cluster(mt_entry, cur_cln, &cur_cln);        
 20127e4:	d2 07 bf f8 	ld  [ %fp + -8 ], %o1                          <== NOT EXECUTED
 20127e8:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
 20127ec:	40 00 1c 72 	call  20199b4 <fat_get_fat_cluster>            <== NOT EXECUTED
 20127f0:	94 07 bf f8 	add  %fp, -8, %o2                              <== NOT EXECUTED
        if ( rc != RC_OK )                                            
 20127f4:	80 a2 20 00 	cmp  %o0, 0                                    <== NOT EXECUTED
 20127f8:	12 80 00 0a 	bne  2012820 <fat_file_datasync+0xe4>          <== NOT EXECUTED
 20127fc:	d2 07 bf f8 	ld  [ %fp + -8 ], %o1                          <== NOT EXECUTED
    rc = fat_buf_release(fs_info);                                    
    if (rc != RC_OK)                                                  
        return rc;                                                    
                                                                      
    /* for each cluster of the file ... */                            
    while ((cur_cln & fs_info->vol.mask) < fs_info->vol.eoc_val)      
 2012800:	c4 07 20 0c 	ld  [ %i4 + 0xc ], %g2                         <== NOT EXECUTED
 2012804:	c2 07 20 10 	ld  [ %i4 + 0x10 ], %g1                        <== NOT EXECUTED
 2012808:	84 0a 40 02 	and  %o1, %g2, %g2                             <== NOT EXECUTED
 201280c:	80 a0 80 01 	cmp  %g2, %g1                                  <== NOT EXECUTED
 2012810:	2a bf ff dc 	bcs,a   2012780 <fat_file_datasync+0x44>       <== NOT EXECUTED
 2012814:	d0 07 60 34 	ld  [ %i5 + 0x34 ], %o0                        <== NOT EXECUTED
 2012818:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 201281c:	81 e8 00 00 	restore                                        <== NOT EXECUTED
            sc = rtems_bdbuf_sync(block);                             
            if ( sc != RTEMS_SUCCESSFUL )                             
                rtems_set_errno_and_return_minus_one( EIO );          
        }                                                             
                                                                      
        rc = fat_get_fat_cluster(mt_entry, cur_cln, &cur_cln);        
 2012820:	b0 10 00 08 	mov  %o0, %i0                                  <== NOT EXECUTED
        if ( rc != RC_OK )                                            
            return rc;                                                
    }                                                                 
    return rc;                                                        
}                                                                     
 2012824:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2012828:	81 e8 00 00 	restore                                        <== NOT EXECUTED
                                                                      

020122f4 <fat_file_extend>: rtems_filesystem_mount_table_entry_t *mt_entry, fat_file_fd_t *fat_fd, uint32_t new_length, uint32_t *a_length ) {
 20122f4:	9d e3 bf 90 	save  %sp, -112, %sp                           
    int            rc = RC_OK;                                        
    fat_fs_info_t *fs_info = mt_entry->fs_info;                       
 20122f8:	f8 06 20 34 	ld  [ %i0 + 0x34 ], %i4                        
    uint32_t       old_last_cl;                                       
    uint32_t       last_cl = 0;                                       
    uint32_t       bytes_remain = 0;                                  
    uint32_t       cls_added;                                         
                                                                      
    *a_length = new_length;                                           
 20122fc:	f4 26 c0 00 	st  %i2, [ %i3 ]                               
                                                                      
    if (new_length <= fat_fd->fat_file_size)                          
 2012300:	e4 06 60 18 	ld  [ %i1 + 0x18 ], %l2                        
    uint32_t                             *a_length                    
    )                                                                 
{                                                                     
    int            rc = RC_OK;                                        
    fat_fs_info_t *fs_info = mt_entry->fs_info;                       
    uint32_t       chain = 0;                                         
 2012304:	c0 27 bf f0 	clr  [ %fp + -16 ]                             
    uint32_t       bytes2add = 0;                                     
    uint32_t       cls2add = 0;                                       
    uint32_t       old_last_cl;                                       
    uint32_t       last_cl = 0;                                       
 2012308:	c0 27 bf f8 	clr  [ %fp + -8 ]                              
    rtems_filesystem_mount_table_entry_t *mt_entry,                   
    fat_file_fd_t                        *fat_fd,                     
    uint32_t                              new_length,                 
    uint32_t                             *a_length                    
    )                                                                 
{                                                                     
 201230c:	ba 10 00 18 	mov  %i0, %i5                                  
    uint32_t       bytes_remain = 0;                                  
    uint32_t       cls_added;                                         
                                                                      
    *a_length = new_length;                                           
                                                                      
    if (new_length <= fat_fd->fat_file_size)                          
 2012310:	80 a6 80 12 	cmp  %i2, %l2                                  
 2012314:	08 80 00 2d 	bleu  20123c8 <fat_file_extend+0xd4>           
 2012318:	b0 10 20 00 	clr  %i0                                       
        return RC_OK;                                                 
                                                                      
    if ((FAT_FD_OF_ROOT_DIR(fat_fd)) &&                               
 201231c:	c2 06 60 20 	ld  [ %i1 + 0x20 ], %g1                        
 2012320:	80 a0 60 01 	cmp  %g1, 1                                    
 2012324:	32 80 00 0b 	bne,a   2012350 <fat_file_extend+0x5c>         <== ALWAYS TAKEN
 2012328:	c4 17 20 06 	lduh  [ %i4 + 6 ], %g2                         
 201232c:	c2 06 60 24 	ld  [ %i1 + 0x24 ], %g1                        <== NOT EXECUTED
 2012330:	80 a0 60 00 	cmp  %g1, 0                                    <== NOT EXECUTED
 2012334:	32 80 00 07 	bne,a   2012350 <fat_file_extend+0x5c>         <== NOT EXECUTED
 2012338:	c4 17 20 06 	lduh  [ %i4 + 6 ], %g2                         <== NOT EXECUTED
        (fs_info->vol.type & (FAT_FAT12 | FAT_FAT16)))                
 201233c:	c2 0f 20 0a 	ldub  [ %i4 + 0xa ], %g1                       <== NOT EXECUTED
    *a_length = new_length;                                           
                                                                      
    if (new_length <= fat_fd->fat_file_size)                          
        return RC_OK;                                                 
                                                                      
    if ((FAT_FD_OF_ROOT_DIR(fat_fd)) &&                               
 2012340:	80 88 60 03 	btst  3, %g1                                   <== NOT EXECUTED
 2012344:	12 80 00 1d 	bne  20123b8 <fat_file_extend+0xc4>            <== NOT EXECUTED
 2012348:	01 00 00 00 	nop                                            <== NOT EXECUTED
        (fs_info->vol.type & (FAT_FAT12 | FAT_FAT16)))                
        rtems_set_errno_and_return_minus_one( ENOSPC );               
                                                                      
    bytes_remain = (fs_info->vol.bpc -                                
                   (fat_fd->fat_file_size & (fs_info->vol.bpc - 1))) &
 201234c:	c4 17 20 06 	lduh  [ %i4 + 6 ], %g2                         <== NOT EXECUTED
 2012350:	82 00 bf ff 	add  %g2, -1, %g1                              
 2012354:	a0 08 40 12 	and  %g1, %l2, %l0                             
                   (fs_info->vol.bpc - 1);                            
                                                                      
    bytes2add = new_length - fat_fd->fat_file_size;                   
 2012358:	a4 26 80 12 	sub  %i2, %l2, %l2                             
                                                                      
    if ((FAT_FD_OF_ROOT_DIR(fat_fd)) &&                               
        (fs_info->vol.type & (FAT_FAT12 | FAT_FAT16)))                
        rtems_set_errno_and_return_minus_one( ENOSPC );               
                                                                      
    bytes_remain = (fs_info->vol.bpc -                                
 201235c:	a0 20 80 10 	sub  %g2, %l0, %l0                             
 2012360:	a0 0c 00 01 	and  %l0, %g1, %l0                             
                   (fat_fd->fat_file_size & (fs_info->vol.bpc - 1))) &
                   (fs_info->vol.bpc - 1);                            
                                                                      
    bytes2add = new_length - fat_fd->fat_file_size;                   
                                                                      
    if (bytes2add > bytes_remain)                                     
 2012364:	80 a4 80 10 	cmp  %l2, %l0                                  
 2012368:	08 80 00 18 	bleu  20123c8 <fat_file_extend+0xd4>           
 201236c:	b0 10 20 00 	clr  %i0                                       
    /*                                                                
     * if in last cluster allocated for the file there is enough room to
     * handle extention (hence we don't need to add even one cluster to the
     * file ) - return                                                
     */                                                               
    if (bytes2add == 0)                                               
 2012370:	a4 a4 80 10 	subcc  %l2, %l0, %l2                           
 2012374:	02 80 00 15 	be  20123c8 <fat_file_extend+0xd4>             <== NEVER TAKEN
 2012378:	a2 04 bf ff 	add  %l2, -1, %l1                              
        return RC_OK;                                                 
                                                                      
    cls2add = ((bytes2add - 1) >> fs_info->vol.bpc_log2) + 1;         
 201237c:	c2 0f 20 08 	ldub  [ %i4 + 8 ], %g1                         
                                                                      
    rc = fat_scan_fat_for_free_clusters(mt_entry, &chain, cls2add,    
 2012380:	90 10 00 1d 	mov  %i5, %o0                                  
     * file ) - return                                                
     */                                                               
    if (bytes2add == 0)                                               
        return RC_OK;                                                 
                                                                      
    cls2add = ((bytes2add - 1) >> fs_info->vol.bpc_log2) + 1;         
 2012384:	a3 34 40 01 	srl  %l1, %g1, %l1                             
                                                                      
    rc = fat_scan_fat_for_free_clusters(mt_entry, &chain, cls2add,    
 2012388:	92 07 bf f0 	add  %fp, -16, %o1                             
     * file ) - return                                                
     */                                                               
    if (bytes2add == 0)                                               
        return RC_OK;                                                 
                                                                      
    cls2add = ((bytes2add - 1) >> fs_info->vol.bpc_log2) + 1;         
 201238c:	a2 04 60 01 	inc  %l1                                       
                                                                      
    rc = fat_scan_fat_for_free_clusters(mt_entry, &chain, cls2add,    
 2012390:	96 07 bf fc 	add  %fp, -4, %o3                              
 2012394:	94 10 00 11 	mov  %l1, %o2                                  
 2012398:	40 00 1e d6 	call  2019ef0 <fat_scan_fat_for_free_clusters> 
 201239c:	98 07 bf f8 	add  %fp, -8, %o4                              
                                        &cls_added, &last_cl);        
                                                                      
    /* this means that low level I/O error occured */                 
    if (rc != RC_OK)                                                  
 20123a0:	b0 92 20 00 	orcc  %o0, 0, %i0                              
 20123a4:	12 80 00 09 	bne  20123c8 <fat_file_extend+0xd4>            <== NEVER TAKEN
 20123a8:	c2 07 bf fc 	ld  [ %fp + -4 ], %g1                          
        return rc;                                                    
                                                                      
    /* this means that no space left on device */                     
    if ((cls_added == 0) && (bytes_remain == 0))                      
 20123ac:	80 94 00 01 	orcc  %l0, %g1, %g0                            
 20123b0:	12 80 00 08 	bne  20123d0 <fat_file_extend+0xdc>            <== ALWAYS TAKEN
 20123b4:	80 a4 40 01 	cmp  %l1, %g1                                  
        rtems_set_errno_and_return_minus_one(ENOSPC);                 
 20123b8:	40 00 24 12 	call  201b400 <__errno>                        <== NOT EXECUTED
 20123bc:	b0 10 3f ff 	mov  -1, %i0                                   <== NOT EXECUTED
 20123c0:	82 10 20 1c 	mov  0x1c, %g1                                 <== NOT EXECUTED
 20123c4:	c2 22 00 00 	st  %g1, [ %o0 ]                               <== NOT EXECUTED
 20123c8:	81 c7 e0 08 	ret                                            
 20123cc:	81 e8 00 00 	restore                                        
                                                                      
    /*  check wether we satisfied request for 'cls2add' clusters */   
    if (cls2add != cls_added)                                         
 20123d0:	02 80 00 0b 	be  20123fc <fat_file_extend+0x108>            <== ALWAYS TAKEN
 20123d4:	82 38 00 01 	xnor  %g0, %g1, %g1                            
        *a_length = new_length -                                      
                    ((cls2add - cls_added - 1) << fs_info->vol.bpc_log2) -
 20123d8:	c4 0f 20 08 	ldub  [ %i4 + 8 ], %g2                         <== NOT EXECUTED
 20123dc:	a2 00 40 11 	add  %g1, %l1, %l1                             <== NOT EXECUTED
                    (bytes2add & (fs_info->vol.bpc - 1));             
 20123e0:	c2 17 20 06 	lduh  [ %i4 + 6 ], %g1                         <== NOT EXECUTED
        rtems_set_errno_and_return_minus_one(ENOSPC);                 
                                                                      
    /*  check wether we satisfied request for 'cls2add' clusters */   
    if (cls2add != cls_added)                                         
        *a_length = new_length -                                      
                    ((cls2add - cls_added - 1) << fs_info->vol.bpc_log2) -
 20123e4:	a3 2c 40 02 	sll  %l1, %g2, %l1                             <== NOT EXECUTED
                    (bytes2add & (fs_info->vol.bpc - 1));             
 20123e8:	82 00 7f ff 	add  %g1, -1, %g1                              <== NOT EXECUTED
    if ((cls_added == 0) && (bytes_remain == 0))                      
        rtems_set_errno_and_return_minus_one(ENOSPC);                 
                                                                      
    /*  check wether we satisfied request for 'cls2add' clusters */   
    if (cls2add != cls_added)                                         
        *a_length = new_length -                                      
 20123ec:	a2 26 80 11 	sub  %i2, %l1, %l1                             <== NOT EXECUTED
                    ((cls2add - cls_added - 1) << fs_info->vol.bpc_log2) -
                    (bytes2add & (fs_info->vol.bpc - 1));             
 20123f0:	a4 0c 80 01 	and  %l2, %g1, %l2                             <== NOT EXECUTED
        rtems_set_errno_and_return_minus_one(ENOSPC);                 
                                                                      
    /*  check wether we satisfied request for 'cls2add' clusters */   
    if (cls2add != cls_added)                                         
        *a_length = new_length -                                      
                    ((cls2add - cls_added - 1) << fs_info->vol.bpc_log2) -
 20123f4:	a4 24 40 12 	sub  %l1, %l2, %l2                             <== NOT EXECUTED
    if ((cls_added == 0) && (bytes_remain == 0))                      
        rtems_set_errno_and_return_minus_one(ENOSPC);                 
                                                                      
    /*  check wether we satisfied request for 'cls2add' clusters */   
    if (cls2add != cls_added)                                         
        *a_length = new_length -                                      
 20123f8:	e4 26 c0 00 	st  %l2, [ %i3 ]                               <== NOT EXECUTED
                    ((cls2add - cls_added - 1) << fs_info->vol.bpc_log2) -
                    (bytes2add & (fs_info->vol.bpc - 1));             
                                                                      
    /* add new chain to the end of existed */                         
    if ( fat_fd->fat_file_size == 0 )                                 
 20123fc:	d6 06 60 18 	ld  [ %i1 + 0x18 ], %o3                        
 2012400:	80 a2 e0 00 	cmp  %o3, 0                                    
 2012404:	32 80 00 07 	bne,a   2012420 <fat_file_extend+0x12c>        
 2012408:	c2 06 60 3c 	ld  [ %i1 + 0x3c ], %g1                        
    {                                                                 
        fat_fd->map.disk_cln = fat_fd->cln = chain;                   
 201240c:	c2 07 bf f0 	ld  [ %fp + -16 ], %g1                         
        fat_fd->map.file_cln = 0;                                     
 2012410:	c0 26 60 34 	clr  [ %i1 + 0x34 ]                            
                    (bytes2add & (fs_info->vol.bpc - 1));             
                                                                      
    /* add new chain to the end of existed */                         
    if ( fat_fd->fat_file_size == 0 )                                 
    {                                                                 
        fat_fd->map.disk_cln = fat_fd->cln = chain;                   
 2012414:	c2 26 60 1c 	st  %g1, [ %i1 + 0x1c ]                        
 2012418:	10 80 00 1d 	b  201248c <fat_file_extend+0x198>             
 201241c:	c2 26 60 38 	st  %g1, [ %i1 + 0x38 ]                        
        fat_fd->map.file_cln = 0;                                     
    }                                                                 
    else                                                              
    {                                                                 
        if (fat_fd->map.last_cln != FAT_UNDEFINED_VALUE)              
 2012420:	80 a0 7f ff 	cmp  %g1, -1                                   
 2012424:	02 80 00 04 	be  2012434 <fat_file_extend+0x140>            <== NEVER TAKEN
 2012428:	90 10 00 1d 	mov  %i5, %o0                                  
        {                                                             
            old_last_cl = fat_fd->map.last_cln;                       
 201242c:	10 80 00 0a 	b  2012454 <fat_file_extend+0x160>             
 2012430:	c2 27 bf f4 	st  %g1, [ %fp + -12 ]                         
        }                                                             
        else                                                          
        {                                                             
            rc = fat_file_ioctl(mt_entry, fat_fd, F_CLU_NUM,          
 2012434:	92 10 00 19 	mov  %i1, %o1                                  <== NOT EXECUTED
 2012438:	94 10 20 01 	mov  1, %o2                                    <== NOT EXECUTED
 201243c:	96 02 ff ff 	add  %o3, -1, %o3                              <== NOT EXECUTED
 2012440:	7f ff ff 78 	call  2012220 <fat_file_ioctl>                 <== NOT EXECUTED
 2012444:	98 07 bf f4 	add  %fp, -12, %o4                             <== NOT EXECUTED
                                (fat_fd->fat_file_size - 1), &old_last_cl);
            if ( rc != RC_OK )                                        
 2012448:	b6 92 20 00 	orcc  %o0, 0, %i3                              <== NOT EXECUTED
 201244c:	12 80 00 09 	bne  2012470 <fat_file_extend+0x17c>           <== NOT EXECUTED
 2012450:	d2 07 bf f0 	ld  [ %fp + -16 ], %o1                         <== NOT EXECUTED
                fat_free_fat_clusters_chain(mt_entry, chain);         
                return rc;                                            
            }                                                         
        }                                                             
                                                                      
        rc = fat_set_fat_cluster(mt_entry, old_last_cl, chain);       
 2012454:	d2 07 bf f4 	ld  [ %fp + -12 ], %o1                         
 2012458:	d4 07 bf f0 	ld  [ %fp + -16 ], %o2                         
 201245c:	40 00 1d c6 	call  2019b74 <fat_set_fat_cluster>            
 2012460:	90 10 00 1d 	mov  %i5, %o0                                  
        if ( rc != RC_OK )                                            
 2012464:	b6 92 20 00 	orcc  %o0, 0, %i3                              
 2012468:	02 80 00 07 	be  2012484 <fat_file_extend+0x190>            <== ALWAYS TAKEN
 201246c:	d2 07 bf f0 	ld  [ %fp + -16 ], %o1                         
        {                                                             
            fat_free_fat_clusters_chain(mt_entry, chain);             
 2012470:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
 2012474:	40 00 1e 6f 	call  2019e30 <fat_free_fat_clusters_chain>    <== NOT EXECUTED
 2012478:	b0 10 00 1b 	mov  %i3, %i0                                  <== NOT EXECUTED
            return rc;                                                
 201247c:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2012480:	81 e8 00 00 	restore                                        <== NOT EXECUTED
        }                                                             
        fat_buf_release(fs_info);                                     
 2012484:	40 00 01 af 	call  2012b40 <fat_buf_release>                
 2012488:	90 10 00 1c 	mov  %i4, %o0                                  
    }                                                                 
                                                                      
    /* update number of the last cluster of the file if it changed */ 
    if (cls_added != 0)                                               
 201248c:	c2 07 bf fc 	ld  [ %fp + -4 ], %g1                          
 2012490:	80 a0 60 00 	cmp  %g1, 0                                    
 2012494:	22 bf ff cd 	be,a   20123c8 <fat_file_extend+0xd4>          <== NEVER TAKEN
 2012498:	f4 26 60 18 	st  %i2, [ %i1 + 0x18 ]                        <== NOT EXECUTED
    {                                                                 
        fat_fd->map.last_cln = last_cl;                               
 201249c:	c2 07 bf f8 	ld  [ %fp + -8 ], %g1                          
 20124a0:	c2 26 60 3c 	st  %g1, [ %i1 + 0x3c ]                        
        if (fat_fd->fat_file_type == FAT_DIRECTORY)                   
 20124a4:	c2 06 60 10 	ld  [ %i1 + 0x10 ], %g1                        
 20124a8:	80 a0 60 01 	cmp  %g1, 1                                    
 20124ac:	32 bf ff c7 	bne,a   20123c8 <fat_file_extend+0xd4>         
 20124b0:	f4 26 60 18 	st  %i2, [ %i1 + 0x18 ]                        
        {                                                             
            rc = fat_init_clusters_chain(mt_entry, chain);            
 20124b4:	d2 07 bf f0 	ld  [ %fp + -16 ], %o1                         
 20124b8:	40 00 02 60 	call  2012e38 <fat_init_clusters_chain>        
 20124bc:	90 10 00 1d 	mov  %i5, %o0                                  
            if ( rc != RC_OK )                                        
 20124c0:	b8 92 20 00 	orcc  %o0, 0, %i4                              
 20124c4:	22 bf ff c1 	be,a   20123c8 <fat_file_extend+0xd4>          <== ALWAYS TAKEN
 20124c8:	f4 26 60 18 	st  %i2, [ %i1 + 0x18 ]                        
            {                                                         
                fat_free_fat_clusters_chain(mt_entry, chain);         
 20124cc:	d2 07 bf f0 	ld  [ %fp + -16 ], %o1                         <== NOT EXECUTED
 20124d0:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
 20124d4:	40 00 1e 57 	call  2019e30 <fat_free_fat_clusters_chain>    <== NOT EXECUTED
 20124d8:	b0 10 00 1c 	mov  %i4, %i0                                  <== NOT EXECUTED
                return rc;                                            
 20124dc:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 20124e0:	81 e8 00 00 	restore                                        <== NOT EXECUTED
                                                                      

02012220 <fat_file_ioctl>: fat_file_ioctl( rtems_filesystem_mount_table_entry_t *mt_entry, fat_file_fd_t *fat_fd, int cmd, ...) {
 2012220:	9d e3 bf 98 	save  %sp, -104, %sp                           
    uint32_t       cl_start = 0;                                      
    uint32_t       pos = 0;                                           
    uint32_t      *ret;                                               
    va_list        ap;                                                
                                                                      
    va_start(ap, cmd);                                                
 2012224:	f6 27 a0 50 	st  %i3, [ %fp + 0x50 ]                        
 2012228:	f8 27 a0 54 	st  %i4, [ %fp + 0x54 ]                        
 201222c:	fa 27 a0 58 	st  %i5, [ %fp + 0x58 ]                        
 2012230:	84 07 a0 50 	add  %fp, 0x50, %g2                            
    int                                   cmd,                        
    ...)                                                              
{                                                                     
    int            rc = RC_OK;                                        
    fat_fs_info_t *fs_info = mt_entry->fs_info;                       
    uint32_t       cur_cln = 0;                                       
 2012234:	c0 27 bf f8 	clr  [ %fp + -8 ]                              
    uint32_t       cl_start = 0;                                      
    uint32_t       pos = 0;                                           
    uint32_t      *ret;                                               
    va_list        ap;                                                
                                                                      
    va_start(ap, cmd);                                                
 2012238:	c4 27 bf fc 	st  %g2, [ %fp + -4 ]                          
fat_file_ioctl(                                                       
    rtems_filesystem_mount_table_entry_t *mt_entry,                   
    fat_file_fd_t                        *fat_fd,                     
    int                                   cmd,                        
    ...)                                                              
{                                                                     
 201223c:	90 10 00 18 	mov  %i0, %o0                                  
 2012240:	92 10 00 19 	mov  %i1, %o1                                  
    uint32_t      *ret;                                               
    va_list        ap;                                                
                                                                      
    va_start(ap, cmd);                                                
                                                                      
    switch (cmd)                                                      
 2012244:	80 a6 a0 01 	cmp  %i2, 1                                    
 2012248:	12 80 00 24 	bne  20122d8 <fat_file_ioctl+0xb8>             <== NEVER TAKEN
 201224c:	c6 06 20 34 	ld  [ %i0 + 0x34 ], %g3                        
    {                                                                 
        case F_CLU_NUM:                                               
            pos = va_arg(ap, uint32_t);                               
            ret = va_arg(ap, uint32_t *);                             
 2012250:	84 07 a0 58 	add  %fp, 0x58, %g2                            
 2012254:	c4 27 bf fc 	st  %g2, [ %fp + -4 ]                          
                                                                      
            /* sanity check */                                        
            if ( pos >= fat_fd->fat_file_size ) {                     
 2012258:	c4 06 60 18 	ld  [ %i1 + 0x18 ], %g2                        
    va_start(ap, cmd);                                                
                                                                      
    switch (cmd)                                                      
    {                                                                 
        case F_CLU_NUM:                                               
            pos = va_arg(ap, uint32_t);                               
 201225c:	82 10 00 1b 	mov  %i3, %g1                                  
            ret = va_arg(ap, uint32_t *);                             
                                                                      
            /* sanity check */                                        
            if ( pos >= fat_fd->fat_file_size ) {                     
 2012260:	80 a6 c0 02 	cmp  %i3, %g2                                  
 2012264:	0a 80 00 06 	bcs  201227c <fat_file_ioctl+0x5c>             <== ALWAYS TAKEN
 2012268:	ba 10 00 1c 	mov  %i4, %i5                                  
                va_end(ap);                                           
                rtems_set_errno_and_return_minus_one( EIO );          
 201226c:	40 00 24 65 	call  201b400 <__errno>                        <== NOT EXECUTED
 2012270:	01 00 00 00 	nop                                            <== NOT EXECUTED
 2012274:	10 80 00 1c 	b  20122e4 <fat_file_ioctl+0xc4>               <== NOT EXECUTED
 2012278:	82 10 20 05 	mov  5, %g1	! 5 <PROM_START+0x5>               <== NOT EXECUTED
            }                                                         
                                                                      
            if ((FAT_FD_OF_ROOT_DIR(fat_fd)) &&                       
 201227c:	c4 06 60 20 	ld  [ %i1 + 0x20 ], %g2                        
 2012280:	80 a0 a0 01 	cmp  %g2, 1                                    
 2012284:	32 80 00 0d 	bne,a   20122b8 <fat_file_ioctl+0x98>          
 2012288:	d4 08 e0 08 	ldub  [ %g3 + 8 ], %o2                         
 201228c:	c4 06 60 24 	ld  [ %i1 + 0x24 ], %g2                        
 2012290:	80 a0 a0 00 	cmp  %g2, 0                                    
 2012294:	32 80 00 09 	bne,a   20122b8 <fat_file_ioctl+0x98>          <== NEVER TAKEN
 2012298:	d4 08 e0 08 	ldub  [ %g3 + 8 ], %o2                         <== NOT EXECUTED
                (fs_info->vol.type & (FAT_FAT12 | FAT_FAT16)))        
 201229c:	c4 08 e0 0a 	ldub  [ %g3 + 0xa ], %g2                       
            if ( pos >= fat_fd->fat_file_size ) {                     
                va_end(ap);                                           
                rtems_set_errno_and_return_minus_one( EIO );          
            }                                                         
                                                                      
            if ((FAT_FD_OF_ROOT_DIR(fat_fd)) &&                       
 20122a0:	80 88 a0 03 	btst  3, %g2                                   
 20122a4:	22 80 00 05 	be,a   20122b8 <fat_file_ioctl+0x98>           <== NEVER TAKEN
 20122a8:	d4 08 e0 08 	ldub  [ %g3 + 8 ], %o2                         <== NOT EXECUTED
                (fs_info->vol.type & (FAT_FAT12 | FAT_FAT16)))        
            {                                                         
                /* cluster 0 (zero) reserved for root dir */          
                *ret  = 0;                                            
 20122ac:	c0 27 00 00 	clr  [ %i4 ]                                   
                rc = RC_OK;                                           
                break;                                                
 20122b0:	10 80 00 0f 	b  20122ec <fat_file_ioctl+0xcc>               
 20122b4:	92 10 20 00 	clr  %o1                                       
            }                                                         
                                                                      
            cl_start = pos >> fs_info->vol.bpc_log2;                  
                                                                      
            rc = fat_file_lseek(mt_entry, fat_fd, cl_start, &cur_cln);
 20122b8:	96 07 bf f8 	add  %fp, -8, %o3                              
 20122bc:	7f ff fe 3d 	call  2011bb0 <fat_file_lseek>                 
 20122c0:	95 30 40 0a 	srl  %g1, %o2, %o2                             
            if ( rc != RC_OK )                                        
 20122c4:	80 a2 60 00 	cmp  %o1, 0                                    
 20122c8:	12 80 00 09 	bne  20122ec <fat_file_ioctl+0xcc>             <== NEVER TAKEN
 20122cc:	c2 07 bf f8 	ld  [ %fp + -8 ], %g1                          
                break;                                                
                                                                      
            *ret = cur_cln;                                           
            break;                                                    
 20122d0:	10 80 00 07 	b  20122ec <fat_file_ioctl+0xcc>               
 20122d4:	c2 27 40 00 	st  %g1, [ %i5 ]                               
                                                                      
        default:                                                      
            errno = EINVAL;                                           
 20122d8:	40 00 24 4a 	call  201b400 <__errno>                        <== NOT EXECUTED
 20122dc:	01 00 00 00 	nop                                            <== NOT EXECUTED
 20122e0:	82 10 20 16 	mov  0x16, %g1	! 16 <PROM_START+0x16>          <== NOT EXECUTED
 20122e4:	c2 22 00 00 	st  %g1, [ %o0 ]                               <== NOT EXECUTED
            rc = -1;                                                  
 20122e8:	92 10 3f ff 	mov  -1, %o1                                   <== NOT EXECUTED
            break;                                                    
    }                                                                 
    va_end(ap);                                                       
    return rc;                                                        
}                                                                     
 20122ec:	81 c7 e0 08 	ret                                            
 20122f0:	91 e8 00 09 	restore  %g0, %o1, %o0                         
                                                                      

02011bb0 <fat_file_lseek>: rtems_filesystem_mount_table_entry_t *mt_entry, fat_file_fd_t *fat_fd, uint32_t file_cln, uint32_t *disk_cln ) {
 2011bb0:	9d e3 bf 98 	save  %sp, -104, %sp                           
    int rc = RC_OK;                                                   
                                                                      
    if (file_cln == fat_fd->map.file_cln)                             
 2011bb4:	f8 06 60 34 	ld  [ %i1 + 0x34 ], %i4                        
 2011bb8:	80 a6 80 1c 	cmp  %i2, %i4                                  
 2011bbc:	12 80 00 07 	bne  2011bd8 <fat_file_lseek+0x28>             <== NEVER TAKEN
 2011bc0:	01 00 00 00 	nop                                            
        *disk_cln = fat_fd->map.disk_cln;                             
 2011bc4:	c2 06 60 38 	ld  [ %i1 + 0x38 ], %g1                        
        fat_fd->map.file_cln = file_cln;                              
        fat_fd->map.disk_cln = cur_cln;                               
                                                                      
        *disk_cln = cur_cln;                                          
    }                                                                 
    return RC_OK;                                                     
 2011bc8:	b0 10 20 00 	clr  %i0                                       
    )                                                                 
{                                                                     
    int rc = RC_OK;                                                   
                                                                      
    if (file_cln == fat_fd->map.file_cln)                             
        *disk_cln = fat_fd->map.disk_cln;                             
 2011bcc:	c2 26 c0 00 	st  %g1, [ %i3 ]                               
        fat_fd->map.file_cln = file_cln;                              
        fat_fd->map.disk_cln = cur_cln;                               
                                                                      
        *disk_cln = cur_cln;                                          
    }                                                                 
    return RC_OK;                                                     
 2011bd0:	81 c7 e0 08 	ret                                            
 2011bd4:	93 e8 20 00 	restore  %g0, 0, %o1                           
    {                                                                 
        uint32_t   cur_cln;                                           
        uint32_t   count;                                             
        uint32_t   i;                                                 
                                                                      
        if (file_cln > fat_fd->map.file_cln)                          
 2011bd8:	28 80 00 06 	bleu,a   2011bf0 <fat_file_lseek+0x40>         <== NOT EXECUTED
 2011bdc:	c2 06 60 1c 	ld  [ %i1 + 0x1c ], %g1                        <== NOT EXECUTED
        {                                                             
            cur_cln = fat_fd->map.disk_cln;                           
 2011be0:	c2 06 60 38 	ld  [ %i1 + 0x38 ], %g1                        <== NOT EXECUTED
            count = file_cln - fat_fd->map.file_cln;                  
 2011be4:	b8 26 80 1c 	sub  %i2, %i4, %i4                             <== NOT EXECUTED
        uint32_t   count;                                             
        uint32_t   i;                                                 
                                                                      
        if (file_cln > fat_fd->map.file_cln)                          
        {                                                             
            cur_cln = fat_fd->map.disk_cln;                           
 2011be8:	10 80 00 04 	b  2011bf8 <fat_file_lseek+0x48>               <== NOT EXECUTED
 2011bec:	c2 27 bf fc 	st  %g1, [ %fp + -4 ]                          <== NOT EXECUTED
            count = file_cln - fat_fd->map.file_cln;                  
        }                                                             
        else                                                          
        {                                                             
            cur_cln = fat_fd->cln;                                    
 2011bf0:	b8 10 00 1a 	mov  %i2, %i4                                  <== NOT EXECUTED
 2011bf4:	c2 27 bf fc 	st  %g1, [ %fp + -4 ]                          <== NOT EXECUTED
            count = file_cln;                                         
        }                                                             
                                                                      
        /* skip over the clusters */                                  
        for (i = 0; i < count; i++)                                   
 2011bf8:	10 80 00 0b 	b  2011c24 <fat_file_lseek+0x74>               <== NOT EXECUTED
 2011bfc:	ba 10 20 00 	clr  %i5                                       <== NOT EXECUTED
        {                                                             
            rc = fat_get_fat_cluster(mt_entry, cur_cln, &cur_cln);    
 2011c00:	90 10 00 18 	mov  %i0, %o0                                  <== NOT EXECUTED
 2011c04:	40 00 1f 6c 	call  20199b4 <fat_get_fat_cluster>            <== NOT EXECUTED
 2011c08:	94 07 bf fc 	add  %fp, -4, %o2                              <== NOT EXECUTED
            if ( rc != RC_OK )                                        
 2011c0c:	80 a2 20 00 	cmp  %o0, 0                                    <== NOT EXECUTED
 2011c10:	22 80 00 05 	be,a   2011c24 <fat_file_lseek+0x74>           <== NOT EXECUTED
 2011c14:	ba 07 60 01 	inc  %i5                                       <== NOT EXECUTED
                return rc;                                            
 2011c18:	b1 3a 20 1f 	sra  %o0, 0x1f, %i0                            <== NOT EXECUTED
 2011c1c:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2011c20:	93 e8 00 08 	restore  %g0, %o0, %o1                         <== NOT EXECUTED
            cur_cln = fat_fd->cln;                                    
            count = file_cln;                                         
        }                                                             
                                                                      
        /* skip over the clusters */                                  
        for (i = 0; i < count; i++)                                   
 2011c24:	80 a7 40 1c 	cmp  %i5, %i4                                  <== NOT EXECUTED
 2011c28:	12 bf ff f6 	bne  2011c00 <fat_file_lseek+0x50>             <== NOT EXECUTED
 2011c2c:	d2 07 bf fc 	ld  [ %fp + -4 ], %o1                          <== NOT EXECUTED
            if ( rc != RC_OK )                                        
                return rc;                                            
        }                                                             
                                                                      
        /* update cache */                                            
        fat_fd->map.file_cln = file_cln;                              
 2011c30:	f4 26 60 34 	st  %i2, [ %i1 + 0x34 ]                        <== NOT EXECUTED
        fat_fd->map.disk_cln = cur_cln;                               
 2011c34:	d2 26 60 38 	st  %o1, [ %i1 + 0x38 ]                        <== NOT EXECUTED
                                                                      
        *disk_cln = cur_cln;                                          
 2011c38:	d2 26 c0 00 	st  %o1, [ %i3 ]                               <== NOT EXECUTED
    }                                                                 
    return RC_OK;                                                     
 2011c3c:	b0 10 20 00 	clr  %i0                                       <== NOT EXECUTED
}                                                                     
 2011c40:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2011c44:	93 e8 20 00 	restore  %g0, 0, %o1                           <== NOT EXECUTED
                                                                      

020126e8 <fat_file_mark_removed>: void fat_file_mark_removed( rtems_filesystem_mount_table_entry_t *mt_entry, fat_file_fd_t *fat_fd ) {
 20126e8:	9d e3 bf a0 	save  %sp, -96, %sp                            <== NOT EXECUTED
    fat_fs_info_t *fs_info = mt_entry->fs_info;                       
    uint32_t       key = 0;                                           
                                                                      
    key = fat_construct_key(mt_entry, &fat_fd->dir_pos.sname);        
 20126ec:	92 06 60 20 	add  %i1, 0x20, %o1                            <== NOT EXECUTED
fat_file_mark_removed(                                                
    rtems_filesystem_mount_table_entry_t *mt_entry,                   
    fat_file_fd_t                        *fat_fd                      
    )                                                                 
{                                                                     
    fat_fs_info_t *fs_info = mt_entry->fs_info;                       
 20126f0:	fa 06 20 34 	ld  [ %i0 + 0x34 ], %i5                        <== NOT EXECUTED
    uint32_t       key = 0;                                           
                                                                      
    key = fat_construct_key(mt_entry, &fat_fd->dir_pos.sname);        
 20126f4:	7f ff fd 63 	call  2011c80 <fat_construct_key>              <== NOT EXECUTED
 20126f8:	90 10 00 18 	mov  %i0, %o0                                  <== NOT EXECUTED
 20126fc:	b8 10 00 08 	mov  %o0, %i4                                  <== NOT EXECUTED
 2012700:	7f ff e0 f6 	call  200aad8 <_Chain_Extract>                 <== NOT EXECUTED
 2012704:	90 10 00 19 	mov  %i1, %o0                                  <== NOT EXECUTED
 */                                                                   
static inline void                                                    
_hash_insert(rtems_chain_control *hash, uint32_t   key1, uint32_t   key2,
             fat_file_fd_t *el)                                       
{                                                                     
    rtems_chain_append((hash) + ((key1) % FAT_HASH_MODULE), &(el)->link);
 2012708:	d0 07 60 6c 	ld  [ %i5 + 0x6c ], %o0                        <== NOT EXECUTED
 201270c:	b8 0f 20 01 	and  %i4, 1, %i4                               <== NOT EXECUTED
 2012710:	83 2f 20 02 	sll  %i4, 2, %g1                               <== NOT EXECUTED
RTEMS_INLINE_ROUTINE void rtems_chain_append(                         
  rtems_chain_control *the_chain,                                     
  rtems_chain_node    *the_node                                       
)                                                                     
{                                                                     
  _Chain_Append( the_chain, the_node );                               
 2012714:	92 10 00 19 	mov  %i1, %o1                                  <== NOT EXECUTED
 2012718:	b9 2f 20 04 	sll  %i4, 4, %i4                               <== NOT EXECUTED
 201271c:	b8 27 00 01 	sub  %i4, %g1, %i4                             <== NOT EXECUTED
 2012720:	7f ff e0 e3 	call  200aaac <_Chain_Append>                  <== NOT EXECUTED
 2012724:	90 02 00 1c 	add  %o0, %i4, %o0                             <== NOT EXECUTED
                                                                      
    _hash_delete(fs_info->vhash, key, fat_fd->ino, fat_fd);           
                                                                      
    _hash_insert(fs_info->rhash, key, fat_fd->ino, fat_fd);           
                                                                      
    fat_fd->flags |= FAT_FILE_REMOVED;                                
 2012728:	c2 0e 60 30 	ldub  [ %i1 + 0x30 ], %g1                      <== NOT EXECUTED
 201272c:	82 10 60 01 	or  %g1, 1, %g1                                <== NOT EXECUTED
 2012730:	c2 2e 60 30 	stb  %g1, [ %i1 + 0x30 ]                       <== NOT EXECUTED
}                                                                     
 2012734:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2012738:	81 e8 00 00 	restore                                        <== NOT EXECUTED
                                                                      

02011d3c <fat_file_open>: fat_file_open( rtems_filesystem_mount_table_entry_t *mt_entry, fat_dir_pos_t *dir_pos, fat_file_fd_t **fat_fd ) {
 2011d3c:	9d e3 bf 98 	save  %sp, -104, %sp                           
    int            rc = RC_OK;                                        
    fat_fs_info_t *fs_info = mt_entry->fs_info;                       
 2011d40:	f6 06 20 34 	ld  [ %i0 + 0x34 ], %i3                        
    fat_file_fd_t *lfat_fd = NULL;                                    
    uint32_t       key = 0;                                           
                                                                      
    /* construct key */                                               
    key = fat_construct_key(mt_entry, &dir_pos->sname);               
 2011d44:	90 10 00 18 	mov  %i0, %o0                                  
 2011d48:	92 10 00 19 	mov  %i1, %o1                                  
 2011d4c:	7f ff ff cd 	call  2011c80 <fat_construct_key>              
 2011d50:	c0 27 bf fc 	clr  [ %fp + -4 ]                              
                                                                      
    /* access "valid" hash table */                                   
    rc = _hash_search(mt_entry, fs_info->vhash, key, 0, &lfat_fd);    
 2011d54:	d2 06 e0 68 	ld  [ %i3 + 0x68 ], %o1                        
    fat_fs_info_t *fs_info = mt_entry->fs_info;                       
    fat_file_fd_t *lfat_fd = NULL;                                    
    uint32_t       key = 0;                                           
                                                                      
    /* construct key */                                               
    key = fat_construct_key(mt_entry, &dir_pos->sname);               
 2011d58:	b8 10 00 08 	mov  %o0, %i4                                  
fat_file_open(                                                        
    rtems_filesystem_mount_table_entry_t  *mt_entry,                  
    fat_dir_pos_t                         *dir_pos,                   
    fat_file_fd_t                        **fat_fd                     
    )                                                                 
{                                                                     
 2011d5c:	ba 10 00 18 	mov  %i0, %i5                                  
                                                                      
    /* construct key */                                               
    key = fat_construct_key(mt_entry, &dir_pos->sname);               
                                                                      
    /* access "valid" hash table */                                   
    rc = _hash_search(mt_entry, fs_info->vhash, key, 0, &lfat_fd);    
 2011d60:	90 10 00 18 	mov  %i0, %o0                                  
 2011d64:	94 10 00 1c 	mov  %i4, %o2                                  
 2011d68:	96 10 20 00 	clr  %o3                                       
 2011d6c:	7f ff ff d7 	call  2011cc8 <_hash_search>                   
 2011d70:	98 07 bf fc 	add  %fp, -4, %o4                              
    if ( rc == RC_OK )                                                
 2011d74:	b0 92 20 00 	orcc  %o0, 0, %i0                              
 2011d78:	12 80 00 08 	bne  2011d98 <fat_file_open+0x5c>              
 2011d7c:	c2 07 bf fc 	ld  [ %fp + -4 ], %g1                          
    {                                                                 
        /* return pointer to fat_file_descriptor allocated before */  
        (*fat_fd) = lfat_fd;                                          
        lfat_fd->links_num++;                                         
 2011d80:	c4 00 60 08 	ld  [ %g1 + 8 ], %g2                           
    /* access "valid" hash table */                                   
    rc = _hash_search(mt_entry, fs_info->vhash, key, 0, &lfat_fd);    
    if ( rc == RC_OK )                                                
    {                                                                 
        /* return pointer to fat_file_descriptor allocated before */  
        (*fat_fd) = lfat_fd;                                          
 2011d84:	c2 26 80 00 	st  %g1, [ %i2 ]                               
        lfat_fd->links_num++;                                         
 2011d88:	84 00 a0 01 	inc  %g2                                       
 2011d8c:	c4 20 60 08 	st  %g2, [ %g1 + 8 ]                           
        return rc;                                                    
 2011d90:	81 c7 e0 08 	ret                                            
 2011d94:	81 e8 00 00 	restore                                        
    }                                                                 
                                                                      
    /* access "removed-but-still-open" hash table */                  
    rc = _hash_search(mt_entry, fs_info->rhash, key, key, &lfat_fd);  
 2011d98:	d2 06 e0 6c 	ld  [ %i3 + 0x6c ], %o1                        
 2011d9c:	94 10 00 1c 	mov  %i4, %o2                                  
 2011da0:	96 10 00 1c 	mov  %i4, %o3                                  
 2011da4:	98 07 bf fc 	add  %fp, -4, %o4                              
 2011da8:	7f ff ff c8 	call  2011cc8 <_hash_search>                   
 2011dac:	90 10 00 1d 	mov  %i5, %o0                                  
 2011db0:	a0 10 00 08 	mov  %o0, %l0                                  
                                                                      
    lfat_fd = (*fat_fd) = (fat_file_fd_t*)malloc(sizeof(fat_file_fd_t));
 2011db4:	7f ff d1 69 	call  2006358 <malloc>                         
 2011db8:	90 10 20 44 	mov  0x44, %o0                                 
 2011dbc:	d0 26 80 00 	st  %o0, [ %i2 ]                               
 2011dc0:	d0 27 bf fc 	st  %o0, [ %fp + -4 ]                          
    if ( lfat_fd == NULL )                                            
 2011dc4:	80 a2 20 00 	cmp  %o0, 0                                    
 2011dc8:	02 80 00 1f 	be  2011e44 <fat_file_open+0x108>              <== NEVER TAKEN
 2011dcc:	b0 10 00 08 	mov  %o0, %i0                                  
        rtems_set_errno_and_return_minus_one( ENOMEM );               
                                                                      
    memset(lfat_fd, 0, sizeof(fat_file_fd_t));                        
 2011dd0:	92 10 20 00 	clr  %o1                                       
 2011dd4:	40 00 28 96 	call  201c02c <memset>                         
 2011dd8:	94 10 20 44 	mov  0x44, %o2                                 
                                                                      
    lfat_fd->links_num = 1;                                           
 2011ddc:	82 10 20 01 	mov  1, %g1                                    
 2011de0:	c2 26 20 08 	st  %g1, [ %i0 + 8 ]                           
    lfat_fd->flags &= ~FAT_FILE_REMOVED;                              
 2011de4:	c2 0e 20 30 	ldub  [ %i0 + 0x30 ], %g1                      
    lfat_fd->map.last_cln = FAT_UNDEFINED_VALUE;                      
                                                                      
    lfat_fd->dir_pos = *dir_pos;                                      
 2011de8:	90 06 20 20 	add  %i0, 0x20, %o0                            
        rtems_set_errno_and_return_minus_one( ENOMEM );               
                                                                      
    memset(lfat_fd, 0, sizeof(fat_file_fd_t));                        
                                                                      
    lfat_fd->links_num = 1;                                           
    lfat_fd->flags &= ~FAT_FILE_REMOVED;                              
 2011dec:	82 08 7f fe 	and  %g1, -2, %g1                              
 2011df0:	c2 2e 20 30 	stb  %g1, [ %i0 + 0x30 ]                       
    lfat_fd->map.last_cln = FAT_UNDEFINED_VALUE;                      
 2011df4:	82 10 3f ff 	mov  -1, %g1                                   
                                                                      
    lfat_fd->dir_pos = *dir_pos;                                      
 2011df8:	92 10 00 19 	mov  %i1, %o1                                  
                                                                      
    memset(lfat_fd, 0, sizeof(fat_file_fd_t));                        
                                                                      
    lfat_fd->links_num = 1;                                           
    lfat_fd->flags &= ~FAT_FILE_REMOVED;                              
    lfat_fd->map.last_cln = FAT_UNDEFINED_VALUE;                      
 2011dfc:	c2 26 20 3c 	st  %g1, [ %i0 + 0x3c ]                        
                                                                      
    lfat_fd->dir_pos = *dir_pos;                                      
 2011e00:	40 00 28 4f 	call  201bf3c <memcpy>                         
 2011e04:	94 10 20 10 	mov  0x10, %o2                                 
                                                                      
    if ( rc != RC_OK )                                                
 2011e08:	80 a4 20 00 	cmp  %l0, 0                                    
 2011e0c:	02 80 00 04 	be  2011e1c <fat_file_open+0xe0>               <== NEVER TAKEN
 2011e10:	01 00 00 00 	nop                                            
        lfat_fd->ino = key;                                           
 2011e14:	10 80 00 12 	b  2011e5c <fat_file_open+0x120>               
 2011e18:	f8 26 20 0c 	st  %i4, [ %i0 + 0xc ]                         
    else                                                              
    {                                                                 
        lfat_fd->ino = fat_get_unique_ino(mt_entry);                  
 2011e1c:	40 00 04 35 	call  2012ef0 <fat_get_unique_ino>             <== NOT EXECUTED
 2011e20:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
                                                                      
        if ( lfat_fd->ino == 0 )                                      
 2011e24:	c2 07 bf fc 	ld  [ %fp + -4 ], %g1                          <== NOT EXECUTED
                                                                      
    if ( rc != RC_OK )                                                
        lfat_fd->ino = key;                                           
    else                                                              
    {                                                                 
        lfat_fd->ino = fat_get_unique_ino(mt_entry);                  
 2011e28:	d0 26 20 0c 	st  %o0, [ %i0 + 0xc ]                         <== NOT EXECUTED
                                                                      
        if ( lfat_fd->ino == 0 )                                      
 2011e2c:	c2 00 60 0c 	ld  [ %g1 + 0xc ], %g1                         <== NOT EXECUTED
 2011e30:	80 a0 60 00 	cmp  %g1, 0                                    <== NOT EXECUTED
 2011e34:	32 80 00 0b 	bne,a   2011e60 <fat_file_open+0x124>          <== NOT EXECUTED
 2011e38:	d0 06 e0 68 	ld  [ %i3 + 0x68 ], %o0                        <== NOT EXECUTED
        {                                                             
            free((*fat_fd));                                          
 2011e3c:	7f ff cf 8c 	call  2005c6c <free>                           <== NOT EXECUTED
 2011e40:	d0 06 80 00 	ld  [ %i2 ], %o0                               <== NOT EXECUTED
            /*                                                        
             * XXX: kernel resource is unsufficient, but not the memory,
             * but there is no suitable errno :(                      
             */                                                       
            rtems_set_errno_and_return_minus_one( ENOMEM );           
 2011e44:	40 00 25 6f 	call  201b400 <__errno>                        <== NOT EXECUTED
 2011e48:	b0 10 3f ff 	mov  -1, %i0                                   <== NOT EXECUTED
 2011e4c:	82 10 20 0c 	mov  0xc, %g1                                  <== NOT EXECUTED
 2011e50:	c2 22 00 00 	st  %g1, [ %o0 ]                               <== NOT EXECUTED
 2011e54:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2011e58:	81 e8 00 00 	restore                                        <== NOT EXECUTED
 */                                                                   
static inline void                                                    
_hash_insert(rtems_chain_control *hash, uint32_t   key1, uint32_t   key2,
             fat_file_fd_t *el)                                       
{                                                                     
    rtems_chain_append((hash) + ((key1) % FAT_HASH_MODULE), &(el)->link);
 2011e5c:	d0 06 e0 68 	ld  [ %i3 + 0x68 ], %o0                        
 2011e60:	d2 07 bf fc 	ld  [ %fp + -4 ], %o1                          
 2011e64:	b8 0f 20 01 	and  %i4, 1, %i4                               
 2011e68:	83 2f 20 02 	sll  %i4, 2, %g1                               
    /*                                                                
     * other fields of fat-file descriptor will be initialized on upper
     * level                                                          
     */                                                               
                                                                      
    return RC_OK;                                                     
 2011e6c:	b0 10 20 00 	clr  %i0                                       
 */                                                                   
static inline void                                                    
_hash_insert(rtems_chain_control *hash, uint32_t   key1, uint32_t   key2,
             fat_file_fd_t *el)                                       
{                                                                     
    rtems_chain_append((hash) + ((key1) % FAT_HASH_MODULE), &(el)->link);
 2011e70:	b9 2f 20 04 	sll  %i4, 4, %i4                               
 2011e74:	b8 27 00 01 	sub  %i4, %g1, %i4                             
 2011e78:	7f ff e3 0d 	call  200aaac <_Chain_Append>                  
 2011e7c:	90 02 00 1c 	add  %o0, %i4, %o0                             
     * other fields of fat-file descriptor will be initialized on upper
     * level                                                          
     */                                                               
                                                                      
    return RC_OK;                                                     
}                                                                     
 2011e80:	81 c7 e0 08 	ret                                            
 2011e84:	81 e8 00 00 	restore                                        
                                                                      

02011e9c <fat_file_read>: fat_file_fd_t *fat_fd, uint32_t start, uint32_t count, uint8_t *buf ) {
 2011e9c:	9d e3 bf 98 	save  %sp, -104, %sp                           
    int            rc = RC_OK;                                        
    ssize_t        ret = 0;                                           
    fat_fs_info_t *fs_info = mt_entry->fs_info;                       
    uint32_t       cmpltd = 0;                                        
    uint32_t       cur_cln = 0;                                       
 2011ea0:	c0 27 bf fc 	clr  [ %fp + -4 ]                              
    fat_file_fd_t                        *fat_fd,                     
    uint32_t                              start,                      
    uint32_t                              count,                      
    uint8_t                              *buf                         
)                                                                     
{                                                                     
 2011ea4:	ba 10 00 18 	mov  %i0, %i5                                  
    int            rc = RC_OK;                                        
    ssize_t        ret = 0;                                           
    fat_fs_info_t *fs_info = mt_entry->fs_info;                       
 2011ea8:	e0 06 20 34 	ld  [ %i0 + 0x34 ], %l0                        
    uint32_t       sec = 0;                                           
    uint32_t       byte = 0;                                          
    uint32_t       c = 0;                                             
                                                                      
    /* it couldn't be removed - otherwise cache update will be broken */
    if (count == 0)                                                   
 2011eac:	80 a6 e0 00 	cmp  %i3, 0                                    
 2011eb0:	02 80 00 63 	be  201203c <fat_file_read+0x1a0>              <== NEVER TAKEN
 2011eb4:	b0 10 20 00 	clr  %i0                                       
                                                                      
    /*                                                                
     * >= because start is offset and computed from 0 and file_size   
     * computed from 1                                                
     */                                                               
    if ( start >= fat_fd->fat_file_size )                             
 2011eb8:	c2 06 60 18 	ld  [ %i1 + 0x18 ], %g1                        
 2011ebc:	80 a6 80 01 	cmp  %i2, %g1                                  
 2011ec0:	1a 80 00 5f 	bcc  201203c <fat_file_read+0x1a0>             <== NEVER TAKEN
 2011ec4:	80 a6 c0 01 	cmp  %i3, %g1                                  
        return FAT_EOF;                                               
                                                                      
    if ((count > fat_fd->fat_file_size) ||                            
 2011ec8:	38 80 00 07 	bgu,a   2011ee4 <fat_file_read+0x48>           <== NEVER TAKEN
 2011ecc:	b6 20 40 1a 	sub  %g1, %i2, %i3                             <== NOT EXECUTED
        (start > fat_fd->fat_file_size - count))                      
 2011ed0:	84 20 40 1b 	sub  %g1, %i3, %g2                             
     * computed from 1                                                
     */                                                               
    if ( start >= fat_fd->fat_file_size )                             
        return FAT_EOF;                                               
                                                                      
    if ((count > fat_fd->fat_file_size) ||                            
 2011ed4:	80 a6 80 02 	cmp  %i2, %g2                                  
 2011ed8:	28 80 00 04 	bleu,a   2011ee8 <fat_file_read+0x4c>          <== ALWAYS TAKEN
 2011edc:	c2 06 60 20 	ld  [ %i1 + 0x20 ], %g1                        
        (start > fat_fd->fat_file_size - count))                      
        count = fat_fd->fat_file_size - start;                        
 2011ee0:	b6 20 40 1a 	sub  %g1, %i2, %i3                             <== NOT EXECUTED
                                                                      
    if ((FAT_FD_OF_ROOT_DIR(fat_fd)) &&                               
 2011ee4:	c2 06 60 20 	ld  [ %i1 + 0x20 ], %g1                        <== NOT EXECUTED
 2011ee8:	80 a0 60 01 	cmp  %g1, 1                                    
 2011eec:	32 80 00 1c 	bne,a   2011f5c <fat_file_read+0xc0>           
 2011ef0:	e4 0c 20 08 	ldub  [ %l0 + 8 ], %l2                         
 2011ef4:	c2 06 60 24 	ld  [ %i1 + 0x24 ], %g1                        
 2011ef8:	80 a0 60 00 	cmp  %g1, 0                                    
 2011efc:	32 80 00 18 	bne,a   2011f5c <fat_file_read+0xc0>           <== NEVER TAKEN
 2011f00:	e4 0c 20 08 	ldub  [ %l0 + 8 ], %l2                         <== NOT EXECUTED
        (fs_info->vol.type & (FAT_FAT12 | FAT_FAT16)))                
 2011f04:	c2 0c 20 0a 	ldub  [ %l0 + 0xa ], %g1                       
                                                                      
    if ((count > fat_fd->fat_file_size) ||                            
        (start > fat_fd->fat_file_size - count))                      
        count = fat_fd->fat_file_size - start;                        
                                                                      
    if ((FAT_FD_OF_ROOT_DIR(fat_fd)) &&                               
 2011f08:	80 88 60 03 	btst  3, %g1                                   
 2011f0c:	22 80 00 14 	be,a   2011f5c <fat_file_read+0xc0>            <== NEVER TAKEN
 2011f10:	e4 0c 20 08 	ldub  [ %l0 + 8 ], %l2                         <== NOT EXECUTED
        (fs_info->vol.type & (FAT_FAT12 | FAT_FAT16)))                
    {                                                                 
        sec = fat_cluster_num_to_sector_num(mt_entry, fat_fd->cln);   
 2011f14:	d2 06 60 1c 	ld  [ %i1 + 0x1c ], %o1                        
 2011f18:	7f ff ff 4c 	call  2011c48 <fat_cluster_num_to_sector_num.isra.0>
 2011f1c:	90 10 00 10 	mov  %l0, %o0                                  
        sec += (start >> fs_info->vol.sec_log2);                      
 2011f20:	d2 0c 20 02 	ldub  [ %l0 + 2 ], %o1                         
        byte = start & (fs_info->vol.bps - 1);                        
 2011f24:	d4 14 00 00 	lduh  [ %l0 ], %o2                             
                                                                      
    if ((FAT_FD_OF_ROOT_DIR(fat_fd)) &&                               
        (fs_info->vol.type & (FAT_FAT12 | FAT_FAT16)))                
    {                                                                 
        sec = fat_cluster_num_to_sector_num(mt_entry, fat_fd->cln);   
        sec += (start >> fs_info->vol.sec_log2);                      
 2011f28:	93 36 80 09 	srl  %i2, %o1, %o1                             
        byte = start & (fs_info->vol.bps - 1);                        
 2011f2c:	94 02 bf ff 	add  %o2, -1, %o2                              
                                                                      
    if ((FAT_FD_OF_ROOT_DIR(fat_fd)) &&                               
        (fs_info->vol.type & (FAT_FAT12 | FAT_FAT16)))                
    {                                                                 
        sec = fat_cluster_num_to_sector_num(mt_entry, fat_fd->cln);   
        sec += (start >> fs_info->vol.sec_log2);                      
 2011f30:	92 02 00 09 	add  %o0, %o1, %o1                             
        byte = start & (fs_info->vol.bps - 1);                        
                                                                      
        ret = _fat_block_read(mt_entry, sec, byte, count, buf);       
 2011f34:	94 0e 80 0a 	and  %i2, %o2, %o2                             
 2011f38:	90 10 00 1d 	mov  %i5, %o0                                  
 2011f3c:	96 10 00 1b 	mov  %i3, %o3                                  
 2011f40:	40 00 03 5a 	call  2012ca8 <_fat_block_read>                
 2011f44:	98 10 00 1c 	mov  %i4, %o4                                  
        if ( ret < 0 )                                                
 2011f48:	b0 92 20 00 	orcc  %o0, 0, %i0                              
 2011f4c:	16 80 00 41 	bge  2012050 <fat_file_read+0x1b4>             <== ALWAYS TAKEN
 2011f50:	01 00 00 00 	nop                                            
        sec += (ofs >> fs_info->vol.sec_log2);                        
        byte = ofs & (fs_info->vol.bps - 1);                          
                                                                      
        ret = _fat_block_read(mt_entry, sec, byte, c, buf + cmpltd);  
        if ( ret < 0 )                                                
            return -1;                                                
 2011f54:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2011f58:	91 e8 3f ff 	restore  %g0, -1, %o0                          <== NOT EXECUTED
                                                                      
        return ret;                                                   
    }                                                                 
                                                                      
    cl_start = start >> fs_info->vol.bpc_log2;                        
    save_ofs = ofs = start & (fs_info->vol.bpc - 1);                  
 2011f5c:	e2 14 20 06 	lduh  [ %l0 + 6 ], %l1                         
            return -1;                                                
                                                                      
        return ret;                                                   
    }                                                                 
                                                                      
    cl_start = start >> fs_info->vol.bpc_log2;                        
 2011f60:	a5 36 80 12 	srl  %i2, %l2, %l2                             
    save_ofs = ofs = start & (fs_info->vol.bpc - 1);                  
                                                                      
    rc = fat_file_lseek(mt_entry, fat_fd, cl_start, &cur_cln);        
 2011f64:	a6 07 bf fc 	add  %fp, -4, %l3                              
 2011f68:	90 10 00 1d 	mov  %i5, %o0                                  
 2011f6c:	92 10 00 19 	mov  %i1, %o1                                  
 2011f70:	94 10 00 12 	mov  %l2, %o2                                  
 2011f74:	7f ff ff 0f 	call  2011bb0 <fat_file_lseek>                 
 2011f78:	96 10 00 13 	mov  %l3, %o3                                  
    if (rc != RC_OK)                                                  
 2011f7c:	b0 92 60 00 	orcc  %o1, 0, %i0                              
 2011f80:	12 80 00 2f 	bne  201203c <fat_file_read+0x1a0>             <== NEVER TAKEN
 2011f84:	a3 2c 60 10 	sll  %l1, 0x10, %l1                            
                                                                      
        return ret;                                                   
    }                                                                 
                                                                      
    cl_start = start >> fs_info->vol.bpc_log2;                        
    save_ofs = ofs = start & (fs_info->vol.bpc - 1);                  
 2011f88:	a3 34 60 10 	srl  %l1, 0x10, %l1                            
 2011f8c:	a2 04 7f ff 	add  %l1, -1, %l1                              
 2011f90:	b4 0e 80 11 	and  %i2, %l1, %i2                             
 2011f94:	a2 10 20 00 	clr  %l1                                       
 2011f98:	10 80 00 1f 	b  2012014 <fat_file_read+0x178>               
 2011f9c:	a8 10 00 1a 	mov  %i2, %l4                                  
    if (rc != RC_OK)                                                  
        return rc;                                                    
                                                                      
    while (count > 0)                                                 
    {                                                                 
        c = MIN(count, (fs_info->vol.bpc - ofs));                     
 2011fa0:	a2 24 40 14 	sub  %l1, %l4, %l1                             
 2011fa4:	80 a4 40 1b 	cmp  %l1, %i3                                  
 2011fa8:	38 80 00 02 	bgu,a   2011fb0 <fat_file_read+0x114>          
 2011fac:	a2 10 00 1b 	mov  %i3, %l1                                  
                                                                      
        sec = fat_cluster_num_to_sector_num(mt_entry, cur_cln);       
 2011fb0:	d2 07 bf fc 	ld  [ %fp + -4 ], %o1                          
 2011fb4:	7f ff ff 25 	call  2011c48 <fat_cluster_num_to_sector_num.isra.0>
 2011fb8:	d0 07 60 34 	ld  [ %i5 + 0x34 ], %o0                        
        sec += (ofs >> fs_info->vol.sec_log2);                        
 2011fbc:	d2 0c 20 02 	ldub  [ %l0 + 2 ], %o1                         
        byte = ofs & (fs_info->vol.bps - 1);                          
 2011fc0:	d4 14 00 00 	lduh  [ %l0 ], %o2                             
    while (count > 0)                                                 
    {                                                                 
        c = MIN(count, (fs_info->vol.bpc - ofs));                     
                                                                      
        sec = fat_cluster_num_to_sector_num(mt_entry, cur_cln);       
        sec += (ofs >> fs_info->vol.sec_log2);                        
 2011fc4:	93 35 00 09 	srl  %l4, %o1, %o1                             
        byte = ofs & (fs_info->vol.bps - 1);                          
 2011fc8:	94 02 bf ff 	add  %o2, -1, %o2                              
    while (count > 0)                                                 
    {                                                                 
        c = MIN(count, (fs_info->vol.bpc - ofs));                     
                                                                      
        sec = fat_cluster_num_to_sector_num(mt_entry, cur_cln);       
        sec += (ofs >> fs_info->vol.sec_log2);                        
 2011fcc:	92 02 00 09 	add  %o0, %o1, %o1                             
        byte = ofs & (fs_info->vol.bps - 1);                          
                                                                      
        ret = _fat_block_read(mt_entry, sec, byte, c, buf + cmpltd);  
 2011fd0:	94 0d 00 0a 	and  %l4, %o2, %o2                             
 2011fd4:	90 10 00 1d 	mov  %i5, %o0                                  
 2011fd8:	96 10 00 11 	mov  %l1, %o3                                  
 2011fdc:	40 00 03 33 	call  2012ca8 <_fat_block_read>                
 2011fe0:	98 07 00 18 	add  %i4, %i0, %o4                             
        if ( ret < 0 )                                                
 2011fe4:	80 a2 20 00 	cmp  %o0, 0                                    
 2011fe8:	06 80 00 17 	bl  2012044 <fat_file_read+0x1a8>              <== NEVER TAKEN
 2011fec:	b6 26 c0 11 	sub  %i3, %l1, %i3                             
            return -1;                                                
                                                                      
        count -= c;                                                   
        cmpltd += c;                                                  
 2011ff0:	b0 06 00 11 	add  %i0, %l1, %i0                             
        save_cln = cur_cln;                                           
 2011ff4:	e2 07 bf fc 	ld  [ %fp + -4 ], %l1                          
        rc = fat_get_fat_cluster(mt_entry, cur_cln, &cur_cln);        
 2011ff8:	90 10 00 1d 	mov  %i5, %o0                                  
 2011ffc:	92 10 00 11 	mov  %l1, %o1                                  
 2012000:	40 00 1e 6d 	call  20199b4 <fat_get_fat_cluster>            
 2012004:	94 10 00 13 	mov  %l3, %o2                                  
        if ( rc != RC_OK )                                            
 2012008:	80 a2 20 00 	cmp  %o0, 0                                    
 201200c:	12 80 00 10 	bne  201204c <fat_file_read+0x1b0>             <== NEVER TAKEN
 2012010:	a8 10 20 00 	clr  %l4                                       
                                                                      
    rc = fat_file_lseek(mt_entry, fat_fd, cl_start, &cur_cln);        
    if (rc != RC_OK)                                                  
        return rc;                                                    
                                                                      
    while (count > 0)                                                 
 2012014:	80 a6 e0 00 	cmp  %i3, 0                                    
 2012018:	32 bf ff e2 	bne,a   2011fa0 <fat_file_read+0x104>          
 201201c:	e2 14 20 06 	lduh  [ %l0 + 6 ], %l1                         
    }                                                                 
                                                                      
    /* update cache */                                                
    /* XXX: check this - I'm not sure :( */                           
    fat_fd->map.file_cln = cl_start +                                 
                           ((save_ofs + cmpltd - 1) >> fs_info->vol.bpc_log2);
 2012020:	c2 0c 20 08 	ldub  [ %l0 + 8 ], %g1                         
 2012024:	b4 06 bf ff 	add  %i2, -1, %i2                              
    fat_fd->map.disk_cln = save_cln;                                  
 2012028:	e2 26 60 38 	st  %l1, [ %i1 + 0x38 ]                        
    }                                                                 
                                                                      
    /* update cache */                                                
    /* XXX: check this - I'm not sure :( */                           
    fat_fd->map.file_cln = cl_start +                                 
                           ((save_ofs + cmpltd - 1) >> fs_info->vol.bpc_log2);
 201202c:	b4 06 80 18 	add  %i2, %i0, %i2                             
 2012030:	b5 36 80 01 	srl  %i2, %g1, %i2                             
        ofs = 0;                                                      
    }                                                                 
                                                                      
    /* update cache */                                                
    /* XXX: check this - I'm not sure :( */                           
    fat_fd->map.file_cln = cl_start +                                 
 2012034:	a4 06 80 12 	add  %i2, %l2, %l2                             
 2012038:	e4 26 60 34 	st  %l2, [ %i1 + 0x34 ]                        
                           ((save_ofs + cmpltd - 1) >> fs_info->vol.bpc_log2);
    fat_fd->map.disk_cln = save_cln;                                  
                                                                      
    return cmpltd;                                                    
 201203c:	81 c7 e0 08 	ret                                            
 2012040:	81 e8 00 00 	restore                                        
        sec += (ofs >> fs_info->vol.sec_log2);                        
        byte = ofs & (fs_info->vol.bps - 1);                          
                                                                      
        ret = _fat_block_read(mt_entry, sec, byte, c, buf + cmpltd);  
        if ( ret < 0 )                                                
            return -1;                                                
 2012044:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2012048:	91 e8 3f ff 	restore  %g0, -1, %o0                          <== NOT EXECUTED
                                                                      
        count -= c;                                                   
        cmpltd += c;                                                  
        save_cln = cur_cln;                                           
        rc = fat_get_fat_cluster(mt_entry, cur_cln, &cur_cln);        
 201204c:	b0 10 00 08 	mov  %o0, %i0                                  <== NOT EXECUTED
    fat_fd->map.file_cln = cl_start +                                 
                           ((save_ofs + cmpltd - 1) >> fs_info->vol.bpc_log2);
    fat_fd->map.disk_cln = save_cln;                                  
                                                                      
    return cmpltd;                                                    
}                                                                     
 2012050:	81 c7 e0 08 	ret                                            
 2012054:	81 e8 00 00 	restore                                        
                                                                      

0201282c <fat_file_size>: int fat_file_size( rtems_filesystem_mount_table_entry_t *mt_entry, fat_file_fd_t *fat_fd ) {
 201282c:	9d e3 bf 98 	save  %sp, -104, %sp                           
    int            rc = RC_OK;                                        
    fat_fs_info_t *fs_info = mt_entry->fs_info;                       
    uint32_t       cur_cln = fat_fd->cln;                             
 2012830:	c2 06 60 1c 	ld  [ %i1 + 0x1c ], %g1                        
int                                                                   
fat_file_size(                                                        
    rtems_filesystem_mount_table_entry_t *mt_entry,                   
    fat_file_fd_t                        *fat_fd                      
    )                                                                 
{                                                                     
 2012834:	ba 10 00 18 	mov  %i0, %i5                                  
    int            rc = RC_OK;                                        
    fat_fs_info_t *fs_info = mt_entry->fs_info;                       
    uint32_t       cur_cln = fat_fd->cln;                             
 2012838:	c2 27 bf fc 	st  %g1, [ %fp + -4 ]                          
    uint32_t       save_cln = 0;                                      
                                                                      
    /* Have we requested root dir size for FAT12/16? */               
    if ((FAT_FD_OF_ROOT_DIR(fat_fd)) &&                               
 201283c:	c2 06 60 20 	ld  [ %i1 + 0x20 ], %g1                        
 2012840:	80 a0 60 01 	cmp  %g1, 1                                    
 2012844:	12 80 00 0d 	bne  2012878 <fat_file_size+0x4c>              <== ALWAYS TAKEN
 2012848:	f8 06 20 34 	ld  [ %i0 + 0x34 ], %i4                        
 201284c:	c2 06 60 24 	ld  [ %i1 + 0x24 ], %g1                        <== NOT EXECUTED
 2012850:	80 a0 60 00 	cmp  %g1, 0                                    <== NOT EXECUTED
 2012854:	32 80 00 0a 	bne,a   201287c <fat_file_size+0x50>           <== NOT EXECUTED
 2012858:	c0 26 60 18 	clr  [ %i1 + 0x18 ]                            <== NOT EXECUTED
        (fs_info->vol.type & (FAT_FAT12 | FAT_FAT16)))                
 201285c:	c2 0f 20 0a 	ldub  [ %i4 + 0xa ], %g1                       <== NOT EXECUTED
    fat_fs_info_t *fs_info = mt_entry->fs_info;                       
    uint32_t       cur_cln = fat_fd->cln;                             
    uint32_t       save_cln = 0;                                      
                                                                      
    /* Have we requested root dir size for FAT12/16? */               
    if ((FAT_FD_OF_ROOT_DIR(fat_fd)) &&                               
 2012860:	80 88 60 03 	btst  3, %g1                                   <== NOT EXECUTED
 2012864:	22 80 00 06 	be,a   201287c <fat_file_size+0x50>            <== NOT EXECUTED
 2012868:	c0 26 60 18 	clr  [ %i1 + 0x18 ]                            <== NOT EXECUTED
        (fs_info->vol.type & (FAT_FAT12 | FAT_FAT16)))                
    {                                                                 
        fat_fd->fat_file_size = fs_info->vol.rdir_size;               
 201286c:	c2 07 20 28 	ld  [ %i4 + 0x28 ], %g1                        <== NOT EXECUTED
 2012870:	10 80 00 18 	b  20128d0 <fat_file_size+0xa4>                <== NOT EXECUTED
 2012874:	c2 26 60 18 	st  %g1, [ %i1 + 0x18 ]                        <== NOT EXECUTED
        return rc;                                                    
    }                                                                 
                                                                      
    fat_fd->fat_file_size = 0;                                        
 2012878:	c0 26 60 18 	clr  [ %i1 + 0x18 ]                            
                                                                      
    while ((cur_cln & fs_info->vol.mask) < fs_info->vol.eoc_val)      
 201287c:	10 80 00 0d 	b  20128b0 <fat_file_size+0x84>                
 2012880:	82 10 20 00 	clr  %g1                                       
    {                                                                 
        save_cln = cur_cln;                                           
        rc = fat_get_fat_cluster(mt_entry, cur_cln, &cur_cln);        
 2012884:	92 10 00 1b 	mov  %i3, %o1                                  
 2012888:	40 00 1c 4b 	call  20199b4 <fat_get_fat_cluster>            
 201288c:	94 07 bf fc 	add  %fp, -4, %o2                              
        if ( rc != RC_OK )                                            
 2012890:	80 a2 20 00 	cmp  %o0, 0                                    
 2012894:	12 80 00 10 	bne  20128d4 <fat_file_size+0xa8>              <== NEVER TAKEN
 2012898:	01 00 00 00 	nop                                            
            return rc;                                                
                                                                      
        fat_fd->fat_file_size += fs_info->vol.bpc;                    
 201289c:	c2 17 20 06 	lduh  [ %i4 + 6 ], %g1                         
 20128a0:	c4 06 60 18 	ld  [ %i1 + 0x18 ], %g2                        
 20128a4:	82 00 80 01 	add  %g2, %g1, %g1                             
 20128a8:	c2 26 60 18 	st  %g1, [ %i1 + 0x18 ]                        
                                                                      
    fat_fd->fat_file_size = 0;                                        
                                                                      
    while ((cur_cln & fs_info->vol.mask) < fs_info->vol.eoc_val)      
    {                                                                 
        save_cln = cur_cln;                                           
 20128ac:	82 10 00 1b 	mov  %i3, %g1                                  
        return rc;                                                    
    }                                                                 
                                                                      
    fat_fd->fat_file_size = 0;                                        
                                                                      
    while ((cur_cln & fs_info->vol.mask) < fs_info->vol.eoc_val)      
 20128b0:	f6 07 bf fc 	ld  [ %fp + -4 ], %i3                          
 20128b4:	c6 07 20 0c 	ld  [ %i4 + 0xc ], %g3                         
 20128b8:	c4 07 20 10 	ld  [ %i4 + 0x10 ], %g2                        
 20128bc:	86 0e c0 03 	and  %i3, %g3, %g3                             
 20128c0:	80 a0 c0 02 	cmp  %g3, %g2                                  
 20128c4:	0a bf ff f0 	bcs  2012884 <fat_file_size+0x58>              
 20128c8:	90 10 00 1d 	mov  %i5, %o0                                  
        if ( rc != RC_OK )                                            
            return rc;                                                
                                                                      
        fat_fd->fat_file_size += fs_info->vol.bpc;                    
    }                                                                 
    fat_fd->map.last_cln = save_cln;                                  
 20128cc:	c2 26 60 3c 	st  %g1, [ %i1 + 0x3c ]                        
    return rc;                                                        
 20128d0:	90 10 20 00 	clr  %o0                                       
}                                                                     
 20128d4:	81 c7 e0 08 	ret                                            
 20128d8:	91 e8 00 08 	restore  %g0, %o0, %o0                         
                                                                      

02012058 <fat_file_truncate>: fat_file_truncate( rtems_filesystem_mount_table_entry_t *mt_entry, fat_file_fd_t *fat_fd, uint32_t new_length ) {
 2012058:	9d e3 bf 98 	save  %sp, -104, %sp                           
    int            rc = RC_OK;                                        
    fat_fs_info_t *fs_info = mt_entry->fs_info;                       
    uint32_t       cur_cln = 0;                                       
    uint32_t       cl_start = 0;                                      
    uint32_t       new_last_cln = FAT_UNDEFINED_VALUE;                
 201205c:	82 10 3f ff 	mov  -1, %g1                                   
 2012060:	c2 27 bf fc 	st  %g1, [ %fp + -4 ]                          
                                                                      
                                                                      
    if ( new_length >= fat_fd->fat_file_size )                        
 2012064:	c2 06 60 18 	ld  [ %i1 + 0x18 ], %g1                        
    uint32_t                              new_length                  
    )                                                                 
{                                                                     
    int            rc = RC_OK;                                        
    fat_fs_info_t *fs_info = mt_entry->fs_info;                       
    uint32_t       cur_cln = 0;                                       
 2012068:	c0 27 bf f8 	clr  [ %fp + -8 ]                              
fat_file_truncate(                                                    
    rtems_filesystem_mount_table_entry_t *mt_entry,                   
    fat_file_fd_t                        *fat_fd,                     
    uint32_t                              new_length                  
    )                                                                 
{                                                                     
 201206c:	ba 10 00 18 	mov  %i0, %i5                                  
    uint32_t       cur_cln = 0;                                       
    uint32_t       cl_start = 0;                                      
    uint32_t       new_last_cln = FAT_UNDEFINED_VALUE;                
                                                                      
                                                                      
    if ( new_length >= fat_fd->fat_file_size )                        
 2012070:	80 a6 80 01 	cmp  %i2, %g1                                  
 2012074:	1a 80 00 3a 	bcc  201215c <fat_file_truncate+0x104>         <== NEVER TAKEN
 2012078:	c6 06 20 34 	ld  [ %i0 + 0x34 ], %g3                        
        return rc;                                                    
                                                                      
    assert(fat_fd->fat_file_size);                                    
 201207c:	80 a0 60 00 	cmp  %g1, 0                                    
 2012080:	32 80 00 0a 	bne,a   20120a8 <fat_file_truncate+0x50>       <== ALWAYS TAKEN
 2012084:	c4 08 e0 08 	ldub  [ %g3 + 8 ], %g2                         
 2012088:	11 00 80 ab 	sethi  %hi(0x202ac00), %o0                     <== NOT EXECUTED
 201208c:	15 00 80 ab 	sethi  %hi(0x202ac00), %o2                     <== NOT EXECUTED
 2012090:	17 00 80 ab 	sethi  %hi(0x202ac00), %o3                     <== NOT EXECUTED
 2012094:	90 12 23 78 	or  %o0, 0x378, %o0                            <== NOT EXECUTED
 2012098:	92 10 22 6d 	mov  0x26d, %o1                                <== NOT EXECUTED
 201209c:	94 12 a3 d8 	or  %o2, 0x3d8, %o2                            <== NOT EXECUTED
 20120a0:	40 00 09 db 	call  201480c <__assert_func>                  <== NOT EXECUTED
 20120a4:	96 12 e3 c0 	or  %o3, 0x3c0, %o3                            <== NOT EXECUTED
                                                                      
    cl_start = (new_length + fs_info->vol.bpc - 1) >> fs_info->vol.bpc_log2;
 20120a8:	c6 10 e0 06 	lduh  [ %g3 + 6 ], %g3                         
 20120ac:	86 00 ff ff 	add  %g3, -1, %g3                              
 20120b0:	b4 00 c0 1a 	add  %g3, %i2, %i2                             
 20120b4:	b5 36 80 02 	srl  %i2, %g2, %i2                             
                                                                      
    if ((cl_start << fs_info->vol.bpc_log2) >= fat_fd->fat_file_size) 
 20120b8:	85 2e 80 02 	sll  %i2, %g2, %g2                             
 20120bc:	80 a0 80 01 	cmp  %g2, %g1                                  
 20120c0:	1a 80 00 28 	bcc  2012160 <fat_file_truncate+0x108>         <== NEVER TAKEN
 20120c4:	92 10 20 00 	clr  %o1                                       
        return RC_OK;                                                 
                                                                      
    if (cl_start != 0)                                                
 20120c8:	80 a6 a0 00 	cmp  %i2, 0                                    
 20120cc:	02 80 00 0a 	be  20120f4 <fat_file_truncate+0x9c>           <== ALWAYS TAKEN
 20120d0:	90 10 00 1d 	mov  %i5, %o0                                  
    {                                                                 
        rc = fat_file_lseek(mt_entry, fat_fd, cl_start - 1, &new_last_cln);
 20120d4:	90 10 00 18 	mov  %i0, %o0                                  <== NOT EXECUTED
 20120d8:	92 10 00 19 	mov  %i1, %o1                                  <== NOT EXECUTED
 20120dc:	94 06 bf ff 	add  %i2, -1, %o2                              <== NOT EXECUTED
 20120e0:	7f ff fe b4 	call  2011bb0 <fat_file_lseek>                 <== NOT EXECUTED
 20120e4:	96 07 bf fc 	add  %fp, -4, %o3                              <== NOT EXECUTED
        if (rc != RC_OK)                                              
 20120e8:	80 a2 60 00 	cmp  %o1, 0                                    <== NOT EXECUTED
 20120ec:	12 80 00 1d 	bne  2012160 <fat_file_truncate+0x108>         <== NOT EXECUTED
 20120f0:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
            return rc;                                                
                                                                      
    }                                                                 
                                                                      
    rc = fat_file_lseek(mt_entry, fat_fd, cl_start, &cur_cln);        
 20120f4:	92 10 00 19 	mov  %i1, %o1                                  
 20120f8:	94 10 00 1a 	mov  %i2, %o2                                  
 20120fc:	7f ff fe ad 	call  2011bb0 <fat_file_lseek>                 
 2012100:	96 07 bf f8 	add  %fp, -8, %o3                              
    if (rc != RC_OK)                                                  
 2012104:	80 a2 60 00 	cmp  %o1, 0                                    
 2012108:	12 80 00 16 	bne  2012160 <fat_file_truncate+0x108>         <== NEVER TAKEN
 201210c:	01 00 00 00 	nop                                            
        return rc;                                                    
                                                                      
    rc = fat_free_fat_clusters_chain(mt_entry, cur_cln);              
 2012110:	d2 07 bf f8 	ld  [ %fp + -8 ], %o1                          
 2012114:	40 00 1f 47 	call  2019e30 <fat_free_fat_clusters_chain>    
 2012118:	90 10 00 1d 	mov  %i5, %o0                                  
    if (rc != RC_OK)                                                  
 201211c:	92 92 20 00 	orcc  %o0, 0, %o1                              
 2012120:	12 80 00 10 	bne  2012160 <fat_file_truncate+0x108>         <== NEVER TAKEN
 2012124:	80 a6 a0 00 	cmp  %i2, 0                                    
        return rc;                                                    
                                                                      
    if (cl_start != 0)                                                
 2012128:	02 80 00 0e 	be  2012160 <fat_file_truncate+0x108>          <== ALWAYS TAKEN
 201212c:	90 10 00 1d 	mov  %i5, %o0                                  
    {                                                                 
        rc = fat_set_fat_cluster(mt_entry, new_last_cln, FAT_GENFAT_EOC);
 2012130:	d2 07 bf fc 	ld  [ %fp + -4 ], %o1                          <== NOT EXECUTED
 2012134:	40 00 1e 90 	call  2019b74 <fat_set_fat_cluster>            <== NOT EXECUTED
 2012138:	94 10 3f ff 	mov  -1, %o2                                   <== NOT EXECUTED
        if ( rc != RC_OK )                                            
 201213c:	92 92 20 00 	orcc  %o0, 0, %o1                              <== NOT EXECUTED
 2012140:	12 80 00 08 	bne  2012160 <fat_file_truncate+0x108>         <== NOT EXECUTED
 2012144:	c2 07 bf fc 	ld  [ %fp + -4 ], %g1                          <== NOT EXECUTED
            return rc;                                                
        fat_fd->map.file_cln = cl_start - 1;                          
 2012148:	b4 06 bf ff 	add  %i2, -1, %i2                              <== NOT EXECUTED
        fat_fd->map.disk_cln = new_last_cln;                          
 201214c:	c2 26 60 38 	st  %g1, [ %i1 + 0x38 ]                        <== NOT EXECUTED
    if (cl_start != 0)                                                
    {                                                                 
        rc = fat_set_fat_cluster(mt_entry, new_last_cln, FAT_GENFAT_EOC);
        if ( rc != RC_OK )                                            
            return rc;                                                
        fat_fd->map.file_cln = cl_start - 1;                          
 2012150:	f4 26 60 34 	st  %i2, [ %i1 + 0x34 ]                        <== NOT EXECUTED
        fat_fd->map.disk_cln = new_last_cln;                          
        fat_fd->map.last_cln = new_last_cln;                          
 2012154:	10 80 00 03 	b  2012160 <fat_file_truncate+0x108>           <== NOT EXECUTED
 2012158:	c2 26 60 3c 	st  %g1, [ %i1 + 0x3c ]                        <== NOT EXECUTED
    uint32_t       cl_start = 0;                                      
    uint32_t       new_last_cln = FAT_UNDEFINED_VALUE;                
                                                                      
                                                                      
    if ( new_length >= fat_fd->fat_file_size )                        
        return rc;                                                    
 201215c:	92 10 20 00 	clr  %o1                                       <== NOT EXECUTED
        fat_fd->map.file_cln = cl_start - 1;                          
        fat_fd->map.disk_cln = new_last_cln;                          
        fat_fd->map.last_cln = new_last_cln;                          
    }                                                                 
    return RC_OK;                                                     
}                                                                     
 2012160:	81 c7 e0 08 	ret                                            
 2012164:	91 e8 00 09 	restore  %g0, %o1, %o0                         
                                                                      

020124e4 <fat_file_write>: fat_file_fd_t *fat_fd, uint32_t start, uint32_t count, const uint8_t *buf ) {
 20124e4:	9d e3 bf 98 	save  %sp, -104, %sp                           
    int            rc = 0;                                            
    ssize_t        ret = 0;                                           
    fat_fs_info_t *fs_info = mt_entry->fs_info;                       
    uint32_t       cmpltd = 0;                                        
    uint32_t       cur_cln = 0;                                       
 20124e8:	c0 27 bf f8 	clr  [ %fp + -8 ]                              
    uint32_t       cl_start = 0;                                      
    uint32_t       ofs = 0;                                           
    uint32_t       save_ofs;                                          
    uint32_t       sec = 0;                                           
    uint32_t       byte = 0;                                          
    uint32_t       c = 0;                                             
 20124ec:	c0 27 bf fc 	clr  [ %fp + -4 ]                              
    fat_file_fd_t                        *fat_fd,                     
    uint32_t                              start,                      
    uint32_t                              count,                      
    const uint8_t                        *buf                         
    )                                                                 
{                                                                     
 20124f0:	ba 10 00 18 	mov  %i0, %i5                                  
    int            rc = 0;                                            
    ssize_t        ret = 0;                                           
    fat_fs_info_t *fs_info = mt_entry->fs_info;                       
 20124f4:	e0 06 20 34 	ld  [ %i0 + 0x34 ], %l0                        
    uint32_t       save_ofs;                                          
    uint32_t       sec = 0;                                           
    uint32_t       byte = 0;                                          
    uint32_t       c = 0;                                             
                                                                      
    if ( count == 0 )                                                 
 20124f8:	80 a6 e0 00 	cmp  %i3, 0                                    
 20124fc:	02 80 00 79 	be  20126e0 <fat_file_write+0x1fc>             <== NEVER TAKEN
 2012500:	90 10 20 00 	clr  %o0                                       
        return cmpltd;                                                
                                                                      
    if ( start > fat_fd->fat_file_size )                              
 2012504:	c2 06 60 18 	ld  [ %i1 + 0x18 ], %g1                        
 2012508:	80 a6 80 01 	cmp  %i2, %g1                                  
 201250c:	18 80 00 09 	bgu  2012530 <fat_file_write+0x4c>             <== NEVER TAKEN
 2012510:	01 00 00 00 	nop                                            
        rtems_set_errno_and_return_minus_one( EIO );                  
                                                                      
    if ((count > fat_fd->size_limit) ||                               
 2012514:	c2 06 60 14 	ld  [ %i1 + 0x14 ], %g1                        
 2012518:	80 a6 c0 01 	cmp  %i3, %g1                                  
 201251c:	18 80 00 05 	bgu  2012530 <fat_file_write+0x4c>             <== NEVER TAKEN
 2012520:	82 20 40 1b 	sub  %g1, %i3, %g1                             
 2012524:	80 a6 80 01 	cmp  %i2, %g1                                  
 2012528:	08 80 00 07 	bleu  2012544 <fat_file_write+0x60>            <== ALWAYS TAKEN
 201252c:	a2 06 c0 1a 	add  %i3, %i2, %l1                             
        (start > fat_fd->size_limit - count))                         
        rtems_set_errno_and_return_minus_one( EIO );                  
 2012530:	40 00 23 b4 	call  201b400 <__errno>                        <== NOT EXECUTED
 2012534:	01 00 00 00 	nop                                            <== NOT EXECUTED
 2012538:	82 10 20 05 	mov  5, %g1	! 5 <PROM_START+0x5>               <== NOT EXECUTED
 201253c:	10 80 00 68 	b  20126dc <fat_file_write+0x1f8>              <== NOT EXECUTED
 2012540:	c2 22 00 00 	st  %g1, [ %o0 ]                               <== NOT EXECUTED
                                                                      
    rc = fat_file_extend(mt_entry, fat_fd, start + count, &c);        
 2012544:	90 10 00 18 	mov  %i0, %o0                                  
 2012548:	92 10 00 19 	mov  %i1, %o1                                  
 201254c:	94 10 00 11 	mov  %l1, %o2                                  
 2012550:	7f ff ff 69 	call  20122f4 <fat_file_extend>                
 2012554:	96 07 bf fc 	add  %fp, -4, %o3                              
    if (rc != RC_OK)                                                  
 2012558:	80 a2 20 00 	cmp  %o0, 0                                    
 201255c:	12 80 00 61 	bne  20126e0 <fat_file_write+0x1fc>            <== NEVER TAKEN
 2012560:	c2 07 bf fc 	ld  [ %fp + -4 ], %g1                          
                                                                      
    /*                                                                
     * check whether there was enough room on device to locate        
     * file of 'start + count' bytes                                  
     */                                                               
    if (c != (start + count))                                         
 2012564:	80 a0 40 11 	cmp  %g1, %l1                                  
 2012568:	32 80 00 02 	bne,a   2012570 <fat_file_write+0x8c>          <== NEVER TAKEN
 201256c:	b6 20 40 1a 	sub  %g1, %i2, %i3                             <== NOT EXECUTED
        count = c - start;                                            
                                                                      
    if ((FAT_FD_OF_ROOT_DIR(fat_fd)) &&                               
 2012570:	c2 06 60 20 	ld  [ %i1 + 0x20 ], %g1                        
 2012574:	80 a0 60 01 	cmp  %g1, 1                                    
 2012578:	32 80 00 1c 	bne,a   20125e8 <fat_file_write+0x104>         
 201257c:	e4 0c 20 08 	ldub  [ %l0 + 8 ], %l2                         
 2012580:	c2 06 60 24 	ld  [ %i1 + 0x24 ], %g1                        
 2012584:	80 a0 60 00 	cmp  %g1, 0                                    
 2012588:	32 80 00 18 	bne,a   20125e8 <fat_file_write+0x104>         <== NEVER TAKEN
 201258c:	e4 0c 20 08 	ldub  [ %l0 + 8 ], %l2                         <== NOT EXECUTED
        (fs_info->vol.type & (FAT_FAT12 | FAT_FAT16)))                
 2012590:	c2 0c 20 0a 	ldub  [ %l0 + 0xa ], %g1                       
     * file of 'start + count' bytes                                  
     */                                                               
    if (c != (start + count))                                         
        count = c - start;                                            
                                                                      
    if ((FAT_FD_OF_ROOT_DIR(fat_fd)) &&                               
 2012594:	80 88 60 03 	btst  3, %g1                                   
 2012598:	22 80 00 14 	be,a   20125e8 <fat_file_write+0x104>          <== NEVER TAKEN
 201259c:	e4 0c 20 08 	ldub  [ %l0 + 8 ], %l2                         <== NOT EXECUTED
        (fs_info->vol.type & (FAT_FAT12 | FAT_FAT16)))                
    {                                                                 
        sec = fat_cluster_num_to_sector_num(mt_entry, fat_fd->cln);   
 20125a0:	d2 06 60 1c 	ld  [ %i1 + 0x1c ], %o1                        
 20125a4:	7f ff fd a9 	call  2011c48 <fat_cluster_num_to_sector_num.isra.0>
 20125a8:	d0 07 60 34 	ld  [ %i5 + 0x34 ], %o0                        
        sec += (start >> fs_info->vol.sec_log2);                      
 20125ac:	d2 0c 20 02 	ldub  [ %l0 + 2 ], %o1                         
        byte = start & (fs_info->vol.bps - 1);                        
 20125b0:	d4 14 00 00 	lduh  [ %l0 ], %o2                             
                                                                      
    if ((FAT_FD_OF_ROOT_DIR(fat_fd)) &&                               
        (fs_info->vol.type & (FAT_FAT12 | FAT_FAT16)))                
    {                                                                 
        sec = fat_cluster_num_to_sector_num(mt_entry, fat_fd->cln);   
        sec += (start >> fs_info->vol.sec_log2);                      
 20125b4:	93 36 80 09 	srl  %i2, %o1, %o1                             
        byte = start & (fs_info->vol.bps - 1);                        
 20125b8:	94 02 bf ff 	add  %o2, -1, %o2                              
                                                                      
    if ((FAT_FD_OF_ROOT_DIR(fat_fd)) &&                               
        (fs_info->vol.type & (FAT_FAT12 | FAT_FAT16)))                
    {                                                                 
        sec = fat_cluster_num_to_sector_num(mt_entry, fat_fd->cln);   
        sec += (start >> fs_info->vol.sec_log2);                      
 20125bc:	92 02 00 09 	add  %o0, %o1, %o1                             
        byte = start & (fs_info->vol.bps - 1);                        
                                                                      
        ret = _fat_block_write(mt_entry, sec, byte, count, buf);      
 20125c0:	94 0e 80 0a 	and  %i2, %o2, %o2                             
 20125c4:	90 10 00 1d 	mov  %i5, %o0                                  
 20125c8:	96 10 00 1b 	mov  %i3, %o3                                  
 20125cc:	40 00 01 d9 	call  2012d30 <_fat_block_write>               
 20125d0:	98 10 00 1c 	mov  %i4, %o4                                  
        if ( ret < 0 )                                                
 20125d4:	80 a2 20 00 	cmp  %o0, 0                                    
 20125d8:	16 80 00 42 	bge  20126e0 <fat_file_write+0x1fc>            <== ALWAYS TAKEN
 20125dc:	01 00 00 00 	nop                                            
        sec += (ofs >> fs_info->vol.sec_log2);                        
        byte = ofs & (fs_info->vol.bps - 1);                          
                                                                      
        ret = _fat_block_write(mt_entry, sec, byte, c, buf + cmpltd); 
        if ( ret < 0 )                                                
            return -1;                                                
 20125e0:	10 80 00 40 	b  20126e0 <fat_file_write+0x1fc>              <== NOT EXECUTED
 20125e4:	90 10 3f ff 	mov  -1, %o0	! ffffffff <RAM_END+0xfdbfffff>   <== NOT EXECUTED
                                                                      
        return ret;                                                   
    }                                                                 
                                                                      
    cl_start = start >> fs_info->vol.bpc_log2;                        
    save_ofs = ofs = start & (fs_info->vol.bpc - 1);                  
 20125e8:	e2 14 20 06 	lduh  [ %l0 + 6 ], %l1                         
            return -1;                                                
                                                                      
        return ret;                                                   
    }                                                                 
                                                                      
    cl_start = start >> fs_info->vol.bpc_log2;                        
 20125ec:	a5 36 80 12 	srl  %i2, %l2, %l2                             
    save_ofs = ofs = start & (fs_info->vol.bpc - 1);                  
                                                                      
    rc = fat_file_lseek(mt_entry, fat_fd, cl_start, &cur_cln);        
 20125f0:	a6 07 bf f8 	add  %fp, -8, %l3                              
 20125f4:	90 10 00 1d 	mov  %i5, %o0                                  
 20125f8:	92 10 00 19 	mov  %i1, %o1                                  
 20125fc:	94 10 00 12 	mov  %l2, %o2                                  
 2012600:	7f ff fd 6c 	call  2011bb0 <fat_file_lseek>                 
 2012604:	96 10 00 13 	mov  %l3, %o3                                  
    if (rc != RC_OK)                                                  
 2012608:	90 92 60 00 	orcc  %o1, 0, %o0                              
 201260c:	12 80 00 35 	bne  20126e0 <fat_file_write+0x1fc>            <== NEVER TAKEN
 2012610:	a3 2c 60 10 	sll  %l1, 0x10, %l1                            
                                                                      
        return ret;                                                   
    }                                                                 
                                                                      
    cl_start = start >> fs_info->vol.bpc_log2;                        
    save_ofs = ofs = start & (fs_info->vol.bpc - 1);                  
 2012614:	a3 34 60 10 	srl  %l1, 0x10, %l1                            
 2012618:	a2 04 7f ff 	add  %l1, -1, %l1                              
 201261c:	a8 10 20 00 	clr  %l4                                       
 2012620:	b4 0e 80 11 	and  %i2, %l1, %i2                             
 2012624:	a2 10 20 00 	clr  %l1                                       
 2012628:	10 80 00 21 	b  20126ac <fat_file_write+0x1c8>              
 201262c:	aa 10 00 1a 	mov  %i2, %l5                                  
    if (rc != RC_OK)                                                  
        return rc;                                                    
                                                                      
    while (count > 0)                                                 
    {                                                                 
        c = MIN(count, (fs_info->vol.bpc - ofs));                     
 2012630:	b0 26 00 15 	sub  %i0, %l5, %i0                             
 2012634:	80 a6 00 1b 	cmp  %i0, %i3                                  
 2012638:	38 80 00 02 	bgu,a   2012640 <fat_file_write+0x15c>         
 201263c:	b0 10 00 1b 	mov  %i3, %i0                                  
                                                                      
        sec = fat_cluster_num_to_sector_num(mt_entry, cur_cln);       
 2012640:	d2 07 bf f8 	ld  [ %fp + -8 ], %o1                          
 2012644:	d0 07 60 34 	ld  [ %i5 + 0x34 ], %o0                        
 2012648:	7f ff fd 80 	call  2011c48 <fat_cluster_num_to_sector_num.isra.0>
 201264c:	f0 27 bf fc 	st  %i0, [ %fp + -4 ]                          
        sec += (ofs >> fs_info->vol.sec_log2);                        
 2012650:	d2 0c 20 02 	ldub  [ %l0 + 2 ], %o1                         
        byte = ofs & (fs_info->vol.bps - 1);                          
 2012654:	d4 14 00 00 	lduh  [ %l0 ], %o2                             
    while (count > 0)                                                 
    {                                                                 
        c = MIN(count, (fs_info->vol.bpc - ofs));                     
                                                                      
        sec = fat_cluster_num_to_sector_num(mt_entry, cur_cln);       
        sec += (ofs >> fs_info->vol.sec_log2);                        
 2012658:	93 35 40 09 	srl  %l5, %o1, %o1                             
        byte = ofs & (fs_info->vol.bps - 1);                          
 201265c:	94 02 bf ff 	add  %o2, -1, %o2                              
    while (count > 0)                                                 
    {                                                                 
        c = MIN(count, (fs_info->vol.bpc - ofs));                     
                                                                      
        sec = fat_cluster_num_to_sector_num(mt_entry, cur_cln);       
        sec += (ofs >> fs_info->vol.sec_log2);                        
 2012660:	92 02 00 09 	add  %o0, %o1, %o1                             
        byte = ofs & (fs_info->vol.bps - 1);                          
                                                                      
        ret = _fat_block_write(mt_entry, sec, byte, c, buf + cmpltd); 
 2012664:	94 0d 40 0a 	and  %l5, %o2, %o2                             
 2012668:	90 10 00 1d 	mov  %i5, %o0                                  
 201266c:	96 10 00 18 	mov  %i0, %o3                                  
 2012670:	40 00 01 b0 	call  2012d30 <_fat_block_write>               
 2012674:	98 07 00 11 	add  %i4, %l1, %o4                             
        if ( ret < 0 )                                                
 2012678:	80 a2 20 00 	cmp  %o0, 0                                    
 201267c:	06 80 00 18 	bl  20126dc <fat_file_write+0x1f8>             <== NEVER TAKEN
 2012680:	c2 07 bf fc 	ld  [ %fp + -4 ], %g1                          
            return -1;                                                
                                                                      
        count -= c;                                                   
        cmpltd += c;                                                  
        save_cln = cur_cln;                                           
 2012684:	e8 07 bf f8 	ld  [ %fp + -8 ], %l4                          
                                                                      
        ret = _fat_block_write(mt_entry, sec, byte, c, buf + cmpltd); 
        if ( ret < 0 )                                                
            return -1;                                                
                                                                      
        count -= c;                                                   
 2012688:	b6 26 c0 01 	sub  %i3, %g1, %i3                             
        cmpltd += c;                                                  
 201268c:	a2 04 40 01 	add  %l1, %g1, %l1                             
        save_cln = cur_cln;                                           
        rc = fat_get_fat_cluster(mt_entry, cur_cln, &cur_cln);        
 2012690:	90 10 00 1d 	mov  %i5, %o0                                  
 2012694:	92 10 00 14 	mov  %l4, %o1                                  
 2012698:	40 00 1c c7 	call  20199b4 <fat_get_fat_cluster>            
 201269c:	94 10 00 13 	mov  %l3, %o2                                  
        if ( rc != RC_OK )                                            
 20126a0:	80 a2 20 00 	cmp  %o0, 0                                    
 20126a4:	12 80 00 0f 	bne  20126e0 <fat_file_write+0x1fc>            <== NEVER TAKEN
 20126a8:	aa 10 20 00 	clr  %l5                                       
                                                                      
    rc = fat_file_lseek(mt_entry, fat_fd, cl_start, &cur_cln);        
    if (rc != RC_OK)                                                  
        return rc;                                                    
                                                                      
    while (count > 0)                                                 
 20126ac:	80 a6 e0 00 	cmp  %i3, 0                                    
 20126b0:	32 bf ff e0 	bne,a   2012630 <fat_file_write+0x14c>         
 20126b4:	f0 14 20 06 	lduh  [ %l0 + 6 ], %i0                         
    }                                                                 
                                                                      
    /* update cache */                                                
    /* XXX: check this - I'm not sure :( */                           
    fat_fd->map.file_cln = cl_start +                                 
                           ((save_ofs + cmpltd - 1) >> fs_info->vol.bpc_log2);
 20126b8:	c2 0c 20 08 	ldub  [ %l0 + 8 ], %g1                         
 20126bc:	b4 06 bf ff 	add  %i2, -1, %i2                              
    fat_fd->map.disk_cln = save_cln;                                  
 20126c0:	e8 26 60 38 	st  %l4, [ %i1 + 0x38 ]                        
    }                                                                 
                                                                      
    /* update cache */                                                
    /* XXX: check this - I'm not sure :( */                           
    fat_fd->map.file_cln = cl_start +                                 
                           ((save_ofs + cmpltd - 1) >> fs_info->vol.bpc_log2);
 20126c4:	b4 06 80 11 	add  %i2, %l1, %i2                             
    fat_fd->map.disk_cln = save_cln;                                  
                                                                      
    return cmpltd;                                                    
 20126c8:	90 10 00 11 	mov  %l1, %o0                                  
    }                                                                 
                                                                      
    /* update cache */                                                
    /* XXX: check this - I'm not sure :( */                           
    fat_fd->map.file_cln = cl_start +                                 
                           ((save_ofs + cmpltd - 1) >> fs_info->vol.bpc_log2);
 20126cc:	b5 36 80 01 	srl  %i2, %g1, %i2                             
        ofs = 0;                                                      
    }                                                                 
                                                                      
    /* update cache */                                                
    /* XXX: check this - I'm not sure :( */                           
    fat_fd->map.file_cln = cl_start +                                 
 20126d0:	a4 06 80 12 	add  %i2, %l2, %l2                             
                           ((save_ofs + cmpltd - 1) >> fs_info->vol.bpc_log2);
    fat_fd->map.disk_cln = save_cln;                                  
                                                                      
    return cmpltd;                                                    
 20126d4:	10 80 00 03 	b  20126e0 <fat_file_write+0x1fc>              
 20126d8:	e4 26 60 34 	st  %l2, [ %i1 + 0x34 ]                        
        sec += (ofs >> fs_info->vol.sec_log2);                        
        byte = ofs & (fs_info->vol.bps - 1);                          
                                                                      
        ret = _fat_block_write(mt_entry, sec, byte, c, buf + cmpltd); 
        if ( ret < 0 )                                                
            return -1;                                                
 20126dc:	90 10 3f ff 	mov  -1, %o0                                   <== NOT EXECUTED
    fat_fd->map.file_cln = cl_start +                                 
                           ((save_ofs + cmpltd - 1) >> fs_info->vol.bpc_log2);
    fat_fd->map.disk_cln = save_cln;                                  
                                                                      
    return cmpltd;                                                    
}                                                                     
 20126e0:	81 c7 e0 08 	ret                                            
 20126e4:	91 e8 00 08 	restore  %g0, %o0, %o0                         
                                                                      

02019e30 <fat_free_fat_clusters_chain>: int fat_free_fat_clusters_chain( rtems_filesystem_mount_table_entry_t *mt_entry, uint32_t chain ) {
 2019e30:	9d e3 bf 98 	save  %sp, -104, %sp                           
    int            rc = RC_OK, rc1 = RC_OK;                           
    fat_fs_info_t *fs_info = mt_entry->fs_info;                       
    uint32_t       cur_cln = chain;                                   
    uint32_t       next_cln = 0;                                      
    uint32_t       freed_cls_cnt = 0;                                 
 2019e34:	b6 10 20 00 	clr  %i3                                       
int                                                                   
fat_free_fat_clusters_chain(                                          
    rtems_filesystem_mount_table_entry_t *mt_entry,                   
    uint32_t                              chain                       
    )                                                                 
{                                                                     
 2019e38:	ba 10 00 18 	mov  %i0, %i5                                  
    int            rc = RC_OK, rc1 = RC_OK;                           
    fat_fs_info_t *fs_info = mt_entry->fs_info;                       
 2019e3c:	f8 06 20 34 	ld  [ %i0 + 0x34 ], %i4                        
    uint32_t       cur_cln = chain;                                   
    uint32_t       next_cln = 0;                                      
 2019e40:	c0 27 bf fc 	clr  [ %fp + -4 ]                              
    uint32_t                              chain                       
    )                                                                 
{                                                                     
    int            rc = RC_OK, rc1 = RC_OK;                           
    fat_fs_info_t *fs_info = mt_entry->fs_info;                       
    uint32_t       cur_cln = chain;                                   
 2019e44:	b4 10 00 19 	mov  %i1, %i2                                  
    uint32_t       next_cln = 0;                                      
    uint32_t       freed_cls_cnt = 0;                                 
                                                                      
    while ((cur_cln & fs_info->vol.mask) < fs_info->vol.eoc_val)      
 2019e48:	10 80 00 19 	b  2019eac <fat_free_fat_clusters_chain+0x7c>  
 2019e4c:	a0 10 20 00 	clr  %l0                                       
    {                                                                 
        rc = fat_get_fat_cluster(mt_entry, cur_cln, &next_cln);       
 2019e50:	92 10 00 1a 	mov  %i2, %o1                                  
 2019e54:	7f ff fe d8 	call  20199b4 <fat_get_fat_cluster>            
 2019e58:	94 07 bf fc 	add  %fp, -4, %o2                              
        if ( rc != RC_OK )                                            
 2019e5c:	b0 92 20 00 	orcc  %o0, 0, %i0                              
 2019e60:	02 80 00 0b 	be  2019e8c <fat_free_fat_clusters_chain+0x5c> <== ALWAYS TAKEN
 2019e64:	90 10 00 1d 	mov  %i5, %o0                                  
        {                                                             
              if(fs_info->vol.free_cls != FAT_UNDEFINED_VALUE)        
 2019e68:	c2 07 20 40 	ld  [ %i4 + 0x40 ], %g1                        <== NOT EXECUTED
 2019e6c:	80 a0 7f ff 	cmp  %g1, -1                                   <== NOT EXECUTED
 2019e70:	02 80 00 03 	be  2019e7c <fat_free_fat_clusters_chain+0x4c> <== NOT EXECUTED
 2019e74:	b6 06 c0 01 	add  %i3, %g1, %i3                             <== NOT EXECUTED
                fs_info->vol.free_cls += freed_cls_cnt;               
 2019e78:	f6 27 20 40 	st  %i3, [ %i4 + 0x40 ]                        <== NOT EXECUTED
                                                                      
            fat_buf_release(fs_info);                                 
 2019e7c:	7f ff e3 31 	call  2012b40 <fat_buf_release>                <== NOT EXECUTED
 2019e80:	90 10 00 1c 	mov  %i4, %o0                                  <== NOT EXECUTED
            return rc;                                                
 2019e84:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2019e88:	81 e8 00 00 	restore                                        <== NOT EXECUTED
        }                                                             
                                                                      
        rc = fat_set_fat_cluster(mt_entry, cur_cln, FAT_GENFAT_FREE); 
 2019e8c:	92 10 00 1a 	mov  %i2, %o1                                  
 2019e90:	7f ff ff 39 	call  2019b74 <fat_set_fat_cluster>            
 2019e94:	94 10 20 00 	clr  %o2                                       
        if ( rc != RC_OK )                                            
 2019e98:	80 a2 20 00 	cmp  %o0, 0                                    
 2019e9c:	32 80 00 02 	bne,a   2019ea4 <fat_free_fat_clusters_chain+0x74><== NEVER TAKEN
 2019ea0:	a0 10 00 08 	mov  %o0, %l0                                  <== NOT EXECUTED
            rc1 = rc;                                                 
                                                                      
        freed_cls_cnt++;                                              
        cur_cln = next_cln;                                           
 2019ea4:	f4 07 bf fc 	ld  [ %fp + -4 ], %i2                          
                                                                      
        rc = fat_set_fat_cluster(mt_entry, cur_cln, FAT_GENFAT_FREE); 
        if ( rc != RC_OK )                                            
            rc1 = rc;                                                 
                                                                      
        freed_cls_cnt++;                                              
 2019ea8:	b6 06 e0 01 	inc  %i3                                       
    fat_fs_info_t *fs_info = mt_entry->fs_info;                       
    uint32_t       cur_cln = chain;                                   
    uint32_t       next_cln = 0;                                      
    uint32_t       freed_cls_cnt = 0;                                 
                                                                      
    while ((cur_cln & fs_info->vol.mask) < fs_info->vol.eoc_val)      
 2019eac:	c4 07 20 0c 	ld  [ %i4 + 0xc ], %g2                         
 2019eb0:	c2 07 20 10 	ld  [ %i4 + 0x10 ], %g1                        
 2019eb4:	84 0e 80 02 	and  %i2, %g2, %g2                             
 2019eb8:	80 a0 80 01 	cmp  %g2, %g1                                  
 2019ebc:	0a bf ff e5 	bcs  2019e50 <fat_free_fat_clusters_chain+0x20>
 2019ec0:	90 10 00 1d 	mov  %i5, %o0                                  
        freed_cls_cnt++;                                              
        cur_cln = next_cln;                                           
    }                                                                 
                                                                      
        fs_info->vol.next_cl = chain;                                 
        if (fs_info->vol.free_cls != FAT_UNDEFINED_VALUE)             
 2019ec4:	c2 07 20 40 	ld  [ %i4 + 0x40 ], %g1                        
 2019ec8:	80 a0 7f ff 	cmp  %g1, -1                                   
 2019ecc:	02 80 00 04 	be  2019edc <fat_free_fat_clusters_chain+0xac> <== ALWAYS TAKEN
 2019ed0:	f2 27 20 44 	st  %i1, [ %i4 + 0x44 ]                        
            fs_info->vol.free_cls += freed_cls_cnt;                   
 2019ed4:	b6 06 c0 01 	add  %i3, %g1, %i3                             <== NOT EXECUTED
 2019ed8:	f6 27 20 40 	st  %i3, [ %i4 + 0x40 ]                        <== NOT EXECUTED
                                                                      
    fat_buf_release(fs_info);                                         
 2019edc:	90 10 00 1c 	mov  %i4, %o0                                  
 2019ee0:	7f ff e3 18 	call  2012b40 <fat_buf_release>                
 2019ee4:	b0 10 00 10 	mov  %l0, %i0                                  
    if (rc1 != RC_OK)                                                 
        return rc1;                                                   
                                                                      
    return RC_OK;                                                     
}                                                                     
 2019ee8:	81 c7 e0 08 	ret                                            
 2019eec:	81 e8 00 00 	restore                                        
                                                                      

02012fc0 <fat_free_unique_ino>: fat_free_unique_ino( rtems_filesystem_mount_table_entry_t *mt_entry, uint32_t ino ) { fat_fs_info_t *fs_info = mt_entry->fs_info;
 2012fc0:	c2 02 20 34 	ld  [ %o0 + 0x34 ], %g1                        <== NOT EXECUTED
                                                                      
    FAT_SET_UNIQ_INO_FREE((ino - fs_info->uino_base), fs_info->uino); 
 2012fc4:	88 10 20 01 	mov  1, %g4                                    <== NOT EXECUTED
 2012fc8:	c4 00 60 7c 	ld  [ %g1 + 0x7c ], %g2                        <== NOT EXECUTED
 2012fcc:	c2 00 60 70 	ld  [ %g1 + 0x70 ], %g1                        <== NOT EXECUTED
 2012fd0:	84 22 40 02 	sub  %o1, %g2, %g2                             <== NOT EXECUTED
 2012fd4:	87 30 a0 03 	srl  %g2, 3, %g3                               <== NOT EXECUTED
 2012fd8:	84 08 a0 07 	and  %g2, 7, %g2                               <== NOT EXECUTED
 2012fdc:	85 29 00 02 	sll  %g4, %g2, %g2                             <== NOT EXECUTED
 2012fe0:	c8 08 40 03 	ldub  [ %g1 + %g3 ], %g4                       <== NOT EXECUTED
 2012fe4:	84 29 00 02 	andn  %g4, %g2, %g2                            <== NOT EXECUTED
}                                                                     
 2012fe8:	81 c3 e0 08 	retl                                           <== NOT EXECUTED
 2012fec:	c4 28 40 03 	stb  %g2, [ %g1 + %g3 ]                        <== NOT EXECUTED
                                                                      

020199b4 <fat_get_fat_cluster>: fat_get_fat_cluster( rtems_filesystem_mount_table_entry_t *mt_entry, uint32_t cln, uint32_t *ret_val ) {
 20199b4:	9d e3 bf 98 	save  %sp, -104, %sp                           
    int                     rc = RC_OK;                               
    register fat_fs_info_t *fs_info = mt_entry->fs_info;              
    rtems_bdbuf_buffer     *block0 = NULL;                            
 20199b8:	c0 27 bf fc 	clr  [ %fp + -4 ]                              
    uint32_t                sec = 0;                                  
    uint32_t                ofs = 0;                                  
                                                                      
    /* sanity check */                                                
    if ( (cln < 2) || (cln > (fs_info->vol.data_cls + 1)) )           
 20199bc:	80 a6 60 01 	cmp  %i1, 1                                    
 20199c0:	08 80 00 64 	bleu  2019b50 <fat_get_fat_cluster+0x19c>      <== NEVER TAKEN
 20199c4:	fa 06 20 34 	ld  [ %i0 + 0x34 ], %i5                        
 20199c8:	c2 07 60 34 	ld  [ %i5 + 0x34 ], %g1                        
 20199cc:	82 00 60 01 	inc  %g1                                       
 20199d0:	80 a6 40 01 	cmp  %i1, %g1                                  
 20199d4:	18 80 00 5f 	bgu  2019b50 <fat_get_fat_cluster+0x19c>       <== NEVER TAKEN
 20199d8:	01 00 00 00 	nop                                            
        rtems_set_errno_and_return_minus_one(EIO);                    
                                                                      
    sec = (FAT_FAT_OFFSET(fs_info->vol.type, cln) >> fs_info->vol.sec_log2) +
 20199dc:	c2 0f 60 0a 	ldub  [ %i5 + 0xa ], %g1                       
 20199e0:	b7 36 60 01 	srl  %i1, 1, %i3                               
 20199e4:	84 88 60 01 	andcc  %g1, 1, %g2                             
 20199e8:	12 80 00 06 	bne  2019a00 <fat_get_fat_cluster+0x4c>        <== ALWAYS TAKEN
 20199ec:	b6 06 c0 19 	add  %i3, %i1, %i3                             
 20199f0:	80 88 60 02 	btst  2, %g1                                   <== NOT EXECUTED
 20199f4:	02 80 00 03 	be  2019a00 <fat_get_fat_cluster+0x4c>         <== NOT EXECUTED
 20199f8:	b7 2e 60 02 	sll  %i1, 2, %i3                               <== NOT EXECUTED
 20199fc:	b7 2e 60 01 	sll  %i1, 1, %i3                               <== NOT EXECUTED
 2019a00:	c6 0f 60 02 	ldub  [ %i5 + 2 ], %g3                         
          fs_info->vol.afat_loc;                                      
    ofs = FAT_FAT_OFFSET(fs_info->vol.type, cln) & (fs_info->vol.bps - 1);
 2019a04:	b9 36 60 01 	srl  %i1, 1, %i4                               
                                                                      
    /* sanity check */                                                
    if ( (cln < 2) || (cln > (fs_info->vol.data_cls + 1)) )           
        rtems_set_errno_and_return_minus_one(EIO);                    
                                                                      
    sec = (FAT_FAT_OFFSET(fs_info->vol.type, cln) >> fs_info->vol.sec_log2) +
 2019a08:	b7 36 c0 03 	srl  %i3, %g3, %i3                             
 2019a0c:	c6 07 60 4c 	ld  [ %i5 + 0x4c ], %g3                        
          fs_info->vol.afat_loc;                                      
    ofs = FAT_FAT_OFFSET(fs_info->vol.type, cln) & (fs_info->vol.bps - 1);
 2019a10:	b8 07 00 19 	add  %i4, %i1, %i4                             
 2019a14:	80 a0 a0 00 	cmp  %g2, 0                                    
 2019a18:	12 80 00 06 	bne  2019a30 <fat_get_fat_cluster+0x7c>        <== ALWAYS TAKEN
 2019a1c:	b6 06 c0 03 	add  %i3, %g3, %i3                             
 2019a20:	80 88 60 02 	btst  2, %g1                                   <== NOT EXECUTED
 2019a24:	02 80 00 03 	be  2019a30 <fat_get_fat_cluster+0x7c>         <== NOT EXECUTED
 2019a28:	b9 2e 60 02 	sll  %i1, 2, %i4                               <== NOT EXECUTED
 2019a2c:	b9 2e 60 01 	sll  %i1, 1, %i4                               <== NOT EXECUTED
 2019a30:	e0 17 40 00 	lduh  [ %i5 ], %l0                             
                                                                      
    rc = fat_buf_access(fs_info, sec, FAT_OP_TYPE_READ, &block0);     
 2019a34:	90 10 00 1d 	mov  %i5, %o0                                  
 2019a38:	92 10 00 1b 	mov  %i3, %o1                                  
 2019a3c:	94 10 20 01 	mov  1, %o2                                    
 2019a40:	7f ff e3 c1 	call  2012944 <fat_buf_access>                 
 2019a44:	96 07 bf fc 	add  %fp, -4, %o3                              
    if (rc != RC_OK)                                                  
 2019a48:	b0 92 20 00 	orcc  %o0, 0, %i0                              
 2019a4c:	12 80 00 38 	bne  2019b2c <fat_get_fat_cluster+0x178>       <== NEVER TAKEN
 2019a50:	a1 2c 20 10 	sll  %l0, 0x10, %l0                            
        return rc;                                                    
                                                                      
    switch ( fs_info->vol.type )                                      
 2019a54:	c2 0f 60 0a 	ldub  [ %i5 + 0xa ], %g1                       
 2019a58:	80 a0 60 02 	cmp  %g1, 2                                    
    if ( (cln < 2) || (cln > (fs_info->vol.data_cls + 1)) )           
        rtems_set_errno_and_return_minus_one(EIO);                    
                                                                      
    sec = (FAT_FAT_OFFSET(fs_info->vol.type, cln) >> fs_info->vol.sec_log2) +
          fs_info->vol.afat_loc;                                      
    ofs = FAT_FAT_OFFSET(fs_info->vol.type, cln) & (fs_info->vol.bps - 1);
 2019a5c:	a1 34 20 10 	srl  %l0, 0x10, %l0                            
 2019a60:	a0 04 3f ff 	add  %l0, -1, %l0                              
                                                                      
    rc = fat_buf_access(fs_info, sec, FAT_OP_TYPE_READ, &block0);     
    if (rc != RC_OK)                                                  
        return rc;                                                    
                                                                      
    switch ( fs_info->vol.type )                                      
 2019a64:	02 80 00 27 	be  2019b00 <fat_get_fat_cluster+0x14c>        <== NEVER TAKEN
 2019a68:	b8 0f 00 10 	and  %i4, %l0, %i4                             
 2019a6c:	80 a0 60 04 	cmp  %g1, 4                                    
 2019a70:	02 80 00 31 	be  2019b34 <fat_get_fat_cluster+0x180>        <== NEVER TAKEN
 2019a74:	80 a0 60 01 	cmp  %g1, 1                                    
 2019a78:	12 80 00 36 	bne  2019b50 <fat_get_fat_cluster+0x19c>       <== NEVER TAKEN
 2019a7c:	c2 07 bf fc 	ld  [ %fp + -4 ], %g1                          
            /*                                                        
             * we are enforced in complex computations for FAT12 to escape CPU
             * align problems for some architectures                  
             */                                                       
            *ret_val = (*((uint8_t   *)(block0->buffer + ofs)));      
            if ( ofs == (fs_info->vol.bps - 1) )                      
 2019a80:	c6 17 40 00 	lduh  [ %i5 ], %g3                             
        case FAT_FAT12:                                               
            /*                                                        
             * we are enforced in complex computations for FAT12 to escape CPU
             * align problems for some architectures                  
             */                                                       
            *ret_val = (*((uint8_t   *)(block0->buffer + ofs)));      
 2019a84:	c4 00 60 24 	ld  [ %g1 + 0x24 ], %g2                        
            if ( ofs == (fs_info->vol.bps - 1) )                      
 2019a88:	86 00 ff ff 	add  %g3, -1, %g3                              
        case FAT_FAT12:                                               
            /*                                                        
             * we are enforced in complex computations for FAT12 to escape CPU
             * align problems for some architectures                  
             */                                                       
            *ret_val = (*((uint8_t   *)(block0->buffer + ofs)));      
 2019a8c:	c2 08 80 1c 	ldub  [ %g2 + %i4 ], %g1                       
            if ( ofs == (fs_info->vol.bps - 1) )                      
 2019a90:	80 a7 00 03 	cmp  %i4, %g3                                  
 2019a94:	12 80 00 0f 	bne  2019ad0 <fat_get_fat_cluster+0x11c>       <== ALWAYS TAKEN
 2019a98:	c2 26 80 00 	st  %g1, [ %i2 ]                               
            {                                                         
                rc = fat_buf_access(fs_info, sec + 1, FAT_OP_TYPE_READ,
 2019a9c:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
 2019aa0:	92 06 e0 01 	add  %i3, 1, %o1                               <== NOT EXECUTED
 2019aa4:	94 10 20 01 	mov  1, %o2                                    <== NOT EXECUTED
 2019aa8:	7f ff e3 a7 	call  2012944 <fat_buf_access>                 <== NOT EXECUTED
 2019aac:	96 07 bf fc 	add  %fp, -4, %o3                              <== NOT EXECUTED
                                    &block0);                         
                if (rc != RC_OK)                                      
 2019ab0:	80 a2 20 00 	cmp  %o0, 0                                    <== NOT EXECUTED
 2019ab4:	12 80 00 2d 	bne  2019b68 <fat_get_fat_cluster+0x1b4>       <== NOT EXECUTED
 2019ab8:	c2 07 bf fc 	ld  [ %fp + -4 ], %g1                          <== NOT EXECUTED
                    return rc;                                        
                                                                      
                *ret_val |= (*((uint8_t   *)(block0->buffer)))<<8;    
 2019abc:	c4 06 80 00 	ld  [ %i2 ], %g2                               <== NOT EXECUTED
 2019ac0:	c2 00 60 24 	ld  [ %g1 + 0x24 ], %g1                        <== NOT EXECUTED
 2019ac4:	c2 08 40 00 	ldub  [ %g1 ], %g1                             <== NOT EXECUTED
 2019ac8:	10 80 00 05 	b  2019adc <fat_get_fat_cluster+0x128>         <== NOT EXECUTED
 2019acc:	83 28 60 08 	sll  %g1, 8, %g1                               <== NOT EXECUTED
            }                                                         
            else                                                      
            {                                                         
                *ret_val |= (*((uint8_t   *)(block0->buffer + ofs + 1)))<<8;
 2019ad0:	b8 00 80 1c 	add  %g2, %i4, %i4                             
 2019ad4:	c4 0f 20 01 	ldub  [ %i4 + 1 ], %g2                         
 2019ad8:	85 28 a0 08 	sll  %g2, 8, %g2                               
 2019adc:	82 10 80 01 	or  %g2, %g1, %g1                              
 2019ae0:	c2 26 80 00 	st  %g1, [ %i2 ]                               
            }                                                         
                                                                      
            if ( FAT_CLUSTER_IS_ODD(cln) )                            
 2019ae4:	80 8e 60 01 	btst  1, %i1                                   
 2019ae8:	02 80 00 04 	be  2019af8 <fat_get_fat_cluster+0x144>        
 2019aec:	c2 06 80 00 	ld  [ %i2 ], %g1                               
                *ret_val = (*ret_val) >> FAT12_SHIFT;                 
 2019af0:	10 80 00 0e 	b  2019b28 <fat_get_fat_cluster+0x174>         
 2019af4:	83 30 60 04 	srl  %g1, 4, %g1                               
            else                                                      
                *ret_val = (*ret_val) & FAT_FAT12_MASK;               
 2019af8:	10 80 00 0c 	b  2019b28 <fat_get_fat_cluster+0x174>         
 2019afc:	82 08 6f ff 	and  %g1, 0xfff, %g1                           
            break;                                                    
                                                                      
        case FAT_FAT16:                                               
            *ret_val = *((uint16_t   *)(block0->buffer + ofs));       
 2019b00:	c2 07 bf fc 	ld  [ %fp + -4 ], %g1                          <== NOT EXECUTED
            *ret_val = CF_LE_W(*ret_val);                             
 2019b04:	07 00 00 3f 	sethi  %hi(0xfc00), %g3                        <== NOT EXECUTED
            else                                                      
                *ret_val = (*ret_val) & FAT_FAT12_MASK;               
            break;                                                    
                                                                      
        case FAT_FAT16:                                               
            *ret_val = *((uint16_t   *)(block0->buffer + ofs));       
 2019b08:	c2 00 60 24 	ld  [ %g1 + 0x24 ], %g1                        <== NOT EXECUTED
            *ret_val = CF_LE_W(*ret_val);                             
 2019b0c:	86 10 e3 ff 	or  %g3, 0x3ff, %g3                            <== NOT EXECUTED
            else                                                      
                *ret_val = (*ret_val) & FAT_FAT12_MASK;               
            break;                                                    
                                                                      
        case FAT_FAT16:                                               
            *ret_val = *((uint16_t   *)(block0->buffer + ofs));       
 2019b10:	c2 10 40 1c 	lduh  [ %g1 + %i4 ], %g1                       <== NOT EXECUTED
            *ret_val = CF_LE_W(*ret_val);                             
 2019b14:	83 28 60 10 	sll  %g1, 0x10, %g1                            <== NOT EXECUTED
 2019b18:	85 30 60 18 	srl  %g1, 0x18, %g2                            <== NOT EXECUTED
 2019b1c:	83 30 60 08 	srl  %g1, 8, %g1                               <== NOT EXECUTED
 2019b20:	82 08 40 03 	and  %g1, %g3, %g1                             <== NOT EXECUTED
 2019b24:	82 10 80 01 	or  %g2, %g1, %g1                              <== NOT EXECUTED
 2019b28:	c2 26 80 00 	st  %g1, [ %i2 ]                               
            break;                                                    
 2019b2c:	81 c7 e0 08 	ret                                            
 2019b30:	81 e8 00 00 	restore                                        
                                                                      
        case FAT_FAT32:                                               
            *ret_val = *((uint32_t   *)(block0->buffer + ofs));       
 2019b34:	c2 07 bf fc 	ld  [ %fp + -4 ], %g1                          <== NOT EXECUTED
 2019b38:	c2 00 60 24 	ld  [ %g1 + 0x24 ], %g1                        <== NOT EXECUTED
            *ret_val = CF_LE_L(*ret_val);                             
 2019b3c:	7f ff ff 92 	call  2019984 <CPU_swap_u32>                   <== NOT EXECUTED
 2019b40:	d0 00 40 1c 	ld  [ %g1 + %i4 ], %o0                         <== NOT EXECUTED
 2019b44:	d0 26 80 00 	st  %o0, [ %i2 ]                               <== NOT EXECUTED
            break;                                                    
 2019b48:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2019b4c:	81 e8 00 00 	restore                                        <== NOT EXECUTED
                                                                      
        default:                                                      
            rtems_set_errno_and_return_minus_one(EIO);                
 2019b50:	40 00 06 2c 	call  201b400 <__errno>                        <== NOT EXECUTED
 2019b54:	b0 10 3f ff 	mov  -1, %i0                                   <== NOT EXECUTED
 2019b58:	82 10 20 05 	mov  5, %g1                                    <== NOT EXECUTED
 2019b5c:	c2 22 00 00 	st  %g1, [ %o0 ]                               <== NOT EXECUTED
 2019b60:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2019b64:	81 e8 00 00 	restore                                        <== NOT EXECUTED
            *ret_val = (*((uint8_t   *)(block0->buffer + ofs)));      
            if ( ofs == (fs_info->vol.bps - 1) )                      
            {                                                         
                rc = fat_buf_access(fs_info, sec + 1, FAT_OP_TYPE_READ,
                                    &block0);                         
                if (rc != RC_OK)                                      
 2019b68:	b0 10 00 08 	mov  %o0, %i0                                  <== NOT EXECUTED
            rtems_set_errno_and_return_minus_one(EIO);                
            break;                                                    
    }                                                                 
                                                                      
    return RC_OK;                                                     
}                                                                     
 2019b6c:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2019b70:	81 e8 00 00 	restore                                        <== NOT EXECUTED
                                                                      

02012ef0 <fat_get_unique_ino>: * 0 means FAILED !!! * */ uint32_t fat_get_unique_ino(rtems_filesystem_mount_table_entry_t *mt_entry) {
 2012ef0:	9d e3 bf a0 	save  %sp, -96, %sp                            <== NOT EXECUTED
            fs_info->index++;                                         
            if (fs_info->index >= fs_info->uino_pool_size)            
                fs_info->index = 0;                                   
        }                                                             
                                                                      
        if ((fs_info->uino_pool_size << 1) < (0x0FFFFFFF - fs_info->uino_base))
 2012ef4:	39 03 ff ff 	sethi  %hi(0xffffc00), %i4                     <== NOT EXECUTED
 *                                                                    
 */                                                                   
uint32_t                                                              
fat_get_unique_ino(rtems_filesystem_mount_table_entry_t *mt_entry)    
{                                                                     
    register fat_fs_info_t *fs_info = mt_entry->fs_info;              
 2012ef8:	fa 06 20 34 	ld  [ %i0 + 0x34 ], %i5                        <== NOT EXECUTED
    uint32_t                j = 0;                                    
    bool                    resrc_unsuff = false;                     
                                                                      
    while (!resrc_unsuff)                                             
 2012efc:	10 80 00 2a 	b  2012fa4 <fat_get_unique_ino+0xb4>           <== NOT EXECUTED
 2012f00:	b8 17 23 ff 	or  %i4, 0x3ff, %i4                            <== NOT EXECUTED
    {                                                                 
        for (j = 0; j < fs_info->uino_pool_size; j++)                 
        {                                                             
            if (!FAT_UNIQ_INO_IS_BUSY(fs_info->index, fs_info->uino)) 
 2012f04:	c2 07 60 74 	ld  [ %i5 + 0x74 ], %g1                        <== NOT EXECUTED
 2012f08:	85 30 60 03 	srl  %g1, 3, %g2                               <== NOT EXECUTED
 2012f0c:	9e 00 c0 02 	add  %g3, %g2, %o7                             <== NOT EXECUTED
 2012f10:	da 08 c0 02 	ldub  [ %g3 + %g2 ], %o5                       <== NOT EXECUTED
 2012f14:	c4 48 c0 02 	ldsb  [ %g3 + %g2 ], %g2                       <== NOT EXECUTED
 2012f18:	88 08 60 07 	and  %g1, 7, %g4                               <== NOT EXECUTED
 2012f1c:	85 38 80 04 	sra  %g2, %g4, %g2                             <== NOT EXECUTED
 2012f20:	80 88 a0 01 	btst  1, %g2                                   <== NOT EXECUTED
 2012f24:	12 80 00 0a 	bne  2012f4c <fat_get_unique_ino+0x5c>         <== NOT EXECUTED
 2012f28:	82 00 60 01 	inc  %g1                                       <== NOT EXECUTED
            {                                                         
                FAT_SET_UNIQ_INO_BUSY(fs_info->index, fs_info->uino); 
 2012f2c:	82 10 20 01 	mov  1, %g1                                    <== NOT EXECUTED
 2012f30:	89 28 40 04 	sll  %g1, %g4, %g4                             <== NOT EXECUTED
 2012f34:	88 11 00 0d 	or  %g4, %o5, %g4                              <== NOT EXECUTED
 2012f38:	c8 2b c0 00 	stb  %g4, [ %o7 ]                              <== NOT EXECUTED
                return (fs_info->uino_base + fs_info->index);         
 2012f3c:	f0 07 60 74 	ld  [ %i5 + 0x74 ], %i0                        <== NOT EXECUTED
 2012f40:	c2 07 60 7c 	ld  [ %i5 + 0x7c ], %g1                        <== NOT EXECUTED
 2012f44:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2012f48:	91 ee 00 01 	restore  %i0, %g1, %o0                         <== NOT EXECUTED
            }                                                         
            fs_info->index++;                                         
            if (fs_info->index >= fs_info->uino_pool_size)            
 2012f4c:	80 a0 40 18 	cmp  %g1, %i0                                  <== NOT EXECUTED
 2012f50:	0a 80 00 03 	bcs  2012f5c <fat_get_unique_ino+0x6c>         <== NOT EXECUTED
 2012f54:	c2 27 60 74 	st  %g1, [ %i5 + 0x74 ]                        <== NOT EXECUTED
                fs_info->index = 0;                                   
 2012f58:	c0 27 60 74 	clr  [ %i5 + 0x74 ]                            <== NOT EXECUTED
    uint32_t                j = 0;                                    
    bool                    resrc_unsuff = false;                     
                                                                      
    while (!resrc_unsuff)                                             
    {                                                                 
        for (j = 0; j < fs_info->uino_pool_size; j++)                 
 2012f5c:	92 02 60 01 	inc  %o1                                       <== NOT EXECUTED
 2012f60:	80 a2 40 18 	cmp  %o1, %i0                                  <== NOT EXECUTED
 2012f64:	32 bf ff e8 	bne,a   2012f04 <fat_get_unique_ino+0x14>      <== NOT EXECUTED
 2012f68:	c6 07 60 70 	ld  [ %i5 + 0x70 ], %g3                        <== NOT EXECUTED
            fs_info->index++;                                         
            if (fs_info->index >= fs_info->uino_pool_size)            
                fs_info->index = 0;                                   
        }                                                             
                                                                      
        if ((fs_info->uino_pool_size << 1) < (0x0FFFFFFF - fs_info->uino_base))
 2012f6c:	c2 07 60 7c 	ld  [ %i5 + 0x7c ], %g1                        <== NOT EXECUTED
 2012f70:	93 2a 60 01 	sll  %o1, 1, %o1                               <== NOT EXECUTED
 2012f74:	82 27 00 01 	sub  %i4, %g1, %g1                             <== NOT EXECUTED
 2012f78:	80 a2 40 01 	cmp  %o1, %g1                                  <== NOT EXECUTED
 2012f7c:	1a 80 00 0d 	bcc  2012fb0 <fat_get_unique_ino+0xc0>         <== NOT EXECUTED
 2012f80:	01 00 00 00 	nop                                            <== NOT EXECUTED
        {                                                             
            fs_info->uino_pool_size <<= 1;                            
            fs_info->uino = realloc(fs_info->uino, fs_info->uino_pool_size);
 2012f84:	d0 07 60 70 	ld  [ %i5 + 0x70 ], %o0                        <== NOT EXECUTED
 2012f88:	7f ff d0 42 	call  2007090 <realloc>                        <== NOT EXECUTED
 2012f8c:	d2 27 60 78 	st  %o1, [ %i5 + 0x78 ]                        <== NOT EXECUTED
            if (fs_info->uino != NULL)                                
 2012f90:	80 a2 20 00 	cmp  %o0, 0                                    <== NOT EXECUTED
 2012f94:	02 80 00 09 	be  2012fb8 <fat_get_unique_ino+0xc8>          <== NOT EXECUTED
 2012f98:	d0 27 60 70 	st  %o0, [ %i5 + 0x70 ]                        <== NOT EXECUTED
                fs_info->index = fs_info->uino_pool_size;             
 2012f9c:	c2 07 60 78 	ld  [ %i5 + 0x78 ], %g1                        <== NOT EXECUTED
 2012fa0:	c2 27 60 74 	st  %g1, [ %i5 + 0x74 ]                        <== NOT EXECUTED
    uint32_t                j = 0;                                    
    bool                    resrc_unsuff = false;                     
                                                                      
    while (!resrc_unsuff)                                             
    {                                                                 
        for (j = 0; j < fs_info->uino_pool_size; j++)                 
 2012fa4:	f0 07 60 78 	ld  [ %i5 + 0x78 ], %i0                        <== NOT EXECUTED
 2012fa8:	10 bf ff ee 	b  2012f60 <fat_get_unique_ino+0x70>           <== NOT EXECUTED
 2012fac:	92 10 20 00 	clr  %o1                                       <== NOT EXECUTED
                resrc_unsuff = true;                                  
        }                                                             
        else                                                          
            resrc_unsuff = true;                                      
    }                                                                 
    return 0;                                                         
 2012fb0:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2012fb4:	91 e8 20 00 	restore  %g0, 0, %o0                           <== NOT EXECUTED
}                                                                     
 2012fb8:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2012fbc:	91 e8 20 00 	restore  %g0, 0, %o0                           <== NOT EXECUTED
                                                                      

02012e38 <fat_init_clusters_chain>: int fat_init_clusters_chain( rtems_filesystem_mount_table_entry_t *mt_entry, uint32_t start_cln ) {
 2012e38:	9d e3 bf 98 	save  %sp, -104, %sp                           
    int                     rc = RC_OK;                               
    ssize_t                 ret = 0;                                  
    register fat_fs_info_t *fs_info = mt_entry->fs_info;              
 2012e3c:	fa 06 20 34 	ld  [ %i0 + 0x34 ], %i5                        
    uint32_t                cur_cln = start_cln;                      
 2012e40:	f2 27 bf fc 	st  %i1, [ %fp + -4 ]                          
    char                   *buf;                                      
                                                                      
    buf = calloc(fs_info->vol.bpc, sizeof(char));                     
 2012e44:	d0 17 60 06 	lduh  [ %i5 + 6 ], %o0                         
 2012e48:	92 10 20 01 	mov  1, %o1                                    
 2012e4c:	7f ff ca 55 	call  20057a0 <calloc>                         
 2012e50:	b8 10 00 18 	mov  %i0, %i4                                  
    if ( buf == NULL )                                                
 2012e54:	b6 92 20 00 	orcc  %o0, 0, %i3                              
 2012e58:	12 80 00 1b 	bne  2012ec4 <fat_init_clusters_chain+0x8c>    <== ALWAYS TAKEN
 2012e5c:	d2 07 bf fc 	ld  [ %fp + -4 ], %o1                          
        rtems_set_errno_and_return_minus_one( EIO );                  
 2012e60:	40 00 21 68 	call  201b400 <__errno>                        <== NOT EXECUTED
 2012e64:	b0 10 3f ff 	mov  -1, %i0                                   <== NOT EXECUTED
 2012e68:	82 10 20 05 	mov  5, %g1                                    <== NOT EXECUTED
 2012e6c:	c2 22 00 00 	st  %g1, [ %o0 ]                               <== NOT EXECUTED
 2012e70:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2012e74:	81 e8 00 00 	restore                                        <== NOT EXECUTED
                                                                      
    while ((cur_cln & fs_info->vol.mask) < fs_info->vol.eoc_val)      
    {                                                                 
        ret = fat_cluster_write(mt_entry, cur_cln, buf);              
 2012e78:	7f ff ff e4 	call  2012e08 <fat_cluster_write>              
 2012e7c:	94 10 00 1b 	mov  %i3, %o2                                  
        if ( ret == -1 )                                              
 2012e80:	80 a2 3f ff 	cmp  %o0, -1                                   
 2012e84:	12 80 00 06 	bne  2012e9c <fat_init_clusters_chain+0x64>    <== ALWAYS TAKEN
 2012e88:	d2 07 bf fc 	ld  [ %fp + -4 ], %o1                          
        {                                                             
            free(buf);                                                
 2012e8c:	7f ff cb 78 	call  2005c6c <free>                           <== NOT EXECUTED
 2012e90:	90 10 00 1b 	mov  %i3, %o0                                  <== NOT EXECUTED
            return -1;                                                
 2012e94:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2012e98:	91 e8 3f ff 	restore  %g0, -1, %o0                          <== NOT EXECUTED
        }                                                             
                                                                      
        rc  = fat_get_fat_cluster(mt_entry, cur_cln, &cur_cln);       
 2012e9c:	90 10 00 1c 	mov  %i4, %o0                                  
 2012ea0:	40 00 1a c5 	call  20199b4 <fat_get_fat_cluster>            
 2012ea4:	94 07 bf fc 	add  %fp, -4, %o2                              
        if ( rc != RC_OK )                                            
 2012ea8:	b0 92 20 00 	orcc  %o0, 0, %i0                              
 2012eac:	02 80 00 06 	be  2012ec4 <fat_init_clusters_chain+0x8c>     <== ALWAYS TAKEN
 2012eb0:	d2 07 bf fc 	ld  [ %fp + -4 ], %o1                          
        {                                                             
            free(buf);                                                
 2012eb4:	7f ff cb 6e 	call  2005c6c <free>                           <== NOT EXECUTED
 2012eb8:	90 10 00 1b 	mov  %i3, %o0                                  <== NOT EXECUTED
            return rc;                                                
 2012ebc:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2012ec0:	81 e8 00 00 	restore                                        <== NOT EXECUTED
                                                                      
    buf = calloc(fs_info->vol.bpc, sizeof(char));                     
    if ( buf == NULL )                                                
        rtems_set_errno_and_return_minus_one( EIO );                  
                                                                      
    while ((cur_cln & fs_info->vol.mask) < fs_info->vol.eoc_val)      
 2012ec4:	c4 07 60 0c 	ld  [ %i5 + 0xc ], %g2                         
 2012ec8:	c2 07 60 10 	ld  [ %i5 + 0x10 ], %g1                        
 2012ecc:	84 0a 40 02 	and  %o1, %g2, %g2                             
 2012ed0:	80 a0 80 01 	cmp  %g2, %g1                                  
 2012ed4:	0a bf ff e9 	bcs  2012e78 <fat_init_clusters_chain+0x40>    
 2012ed8:	90 10 00 1c 	mov  %i4, %o0                                  
            free(buf);                                                
            return rc;                                                
        }                                                             
                                                                      
    }                                                                 
    free(buf);                                                        
 2012edc:	90 10 00 1b 	mov  %i3, %o0                                  
 2012ee0:	7f ff cb 63 	call  2005c6c <free>                           
 2012ee4:	b0 10 20 00 	clr  %i0                                       
    return rc;                                                        
}                                                                     
 2012ee8:	81 c7 e0 08 	ret                                            
 2012eec:	81 e8 00 00 	restore                                        
                                                                      

0201318c <fat_init_volume_info>: * RC_OK on success, or -1 if error occured * and errno set appropriately */ int fat_init_volume_info(rtems_filesystem_mount_table_entry_t *mt_entry) {
 201318c:	9d e3 bf 10 	save  %sp, -240, %sp                           
    ssize_t             ret = 0;                                      
    struct stat         stat_buf;                                     
    int                 i = 0;                                        
    rtems_bdbuf_buffer *block = NULL;                                 
                                                                      
    rc = stat(mt_entry->dev, &stat_buf);                              
 2013190:	d0 06 20 70 	ld  [ %i0 + 0x70 ], %o0                        
int                                                                   
fat_init_volume_info(rtems_filesystem_mount_table_entry_t *mt_entry)  
{                                                                     
    rtems_status_code   sc = RTEMS_SUCCESSFUL;                        
    int                 rc = RC_OK;                                   
    fat_fs_info_t      *fs_info = mt_entry->fs_info;                  
 2013194:	fa 06 20 34 	ld  [ %i0 + 0x34 ], %i5                        
 *     RC_OK on success, or -1 if error occured                       
 *     and errno set appropriately                                    
 */                                                                   
int                                                                   
fat_init_volume_info(rtems_filesystem_mount_table_entry_t *mt_entry)  
{                                                                     
 2013198:	b8 10 00 18 	mov  %i0, %i4                                  
    char                boot_rec[FAT_MAX_BPB_SIZE];                   
    char                fs_info_sector[FAT_USEFUL_INFO_SIZE];         
    ssize_t             ret = 0;                                      
    struct stat         stat_buf;                                     
    int                 i = 0;                                        
    rtems_bdbuf_buffer *block = NULL;                                 
 201319c:	c0 27 bf fc 	clr  [ %fp + -4 ]                              
                                                                      
    rc = stat(mt_entry->dev, &stat_buf);                              
 20131a0:	7f ff d0 5e 	call  2007318 <stat>                           
 20131a4:	92 07 bf a8 	add  %fp, -88, %o1                             
    if (rc == -1)                                                     
 20131a8:	80 a2 3f ff 	cmp  %o0, -1                                   
 20131ac:	02 80 01 68 	be  201374c <fat_init_volume_info+0x5c0>       <== NEVER TAKEN
 20131b0:	b0 10 00 08 	mov  %o0, %i0                                  
        return rc;                                                    
                                                                      
    /* Must be a block device. */                                     
    if (!S_ISBLK(stat_buf.st_mode))                                   
 20131b4:	c4 07 bf b4 	ld  [ %fp + -76 ], %g2                         
 20131b8:	03 00 00 3c 	sethi  %hi(0xf000), %g1                        
 20131bc:	84 08 80 01 	and  %g2, %g1, %g2                             
 20131c0:	03 00 00 18 	sethi  %hi(0x6000), %g1                        
 20131c4:	80 a0 80 01 	cmp  %g2, %g1                                  
 20131c8:	02 80 00 06 	be  20131e0 <fat_init_volume_info+0x54>        <== ALWAYS TAKEN
 20131cc:	01 00 00 00 	nop                                            
        rtems_set_errno_and_return_minus_one(ENOTTY);                 
 20131d0:	40 00 20 8c 	call  201b400 <__errno>                        <== NOT EXECUTED
 20131d4:	01 00 00 00 	nop                                            <== NOT EXECUTED
 20131d8:	10 80 01 ab 	b  2013884 <fat_init_volume_info+0x6f8>        <== NOT EXECUTED
 20131dc:	82 10 20 19 	mov  0x19, %g1	! 19 <PROM_START+0x19>          <== NOT EXECUTED
                                                                      
    /* check that device is registred as block device and lock it */  
    vol->dd = rtems_disk_obtain(stat_buf.st_rdev);                    
 20131e0:	7f ff c6 e1 	call  2004d64 <rtems_disk_obtain>              
 20131e4:	d0 1f bf c0 	ldd  [ %fp + -64 ], %o0                        
    if (vol->dd == NULL)                                              
 20131e8:	80 a2 20 00 	cmp  %o0, 0                                    
 20131ec:	02 80 00 3e 	be  20132e4 <fat_init_volume_info+0x158>       <== NEVER TAKEN
 20131f0:	d0 27 60 60 	st  %o0, [ %i5 + 0x60 ]                        
        rtems_set_errno_and_return_minus_one(EIO);                    
                                                                      
    vol->dev = stat_buf.st_rdev;                                      
 20131f4:	d0 1f bf c0 	ldd  [ %fp + -64 ], %o0                        
                                                                      
    /* Read boot record */                                            
    /* FIXME: Asserts FAT_MAX_BPB_SIZE < bdbuf block size */          
    sc = rtems_bdbuf_read( vol->dev, 0, &block);                      
 20131f8:	94 10 20 00 	clr  %o2                                       
    /* check that device is registred as block device and lock it */  
    vol->dd = rtems_disk_obtain(stat_buf.st_rdev);                    
    if (vol->dd == NULL)                                              
        rtems_set_errno_and_return_minus_one(EIO);                    
                                                                      
    vol->dev = stat_buf.st_rdev;                                      
 20131fc:	d0 3f 60 58 	std  %o0, [ %i5 + 0x58 ]                       
                                                                      
    /* Read boot record */                                            
    /* FIXME: Asserts FAT_MAX_BPB_SIZE < bdbuf block size */          
    sc = rtems_bdbuf_read( vol->dev, 0, &block);                      
 2013200:	7f ff f7 89 	call  2011024 <rtems_bdbuf_read>               
 2013204:	96 07 bf fc 	add  %fp, -4, %o3                              
    if (sc != RTEMS_SUCCESSFUL)                                       
 2013208:	80 a2 20 00 	cmp  %o0, 0                                    
 201320c:	12 80 00 34 	bne  20132dc <fat_init_volume_info+0x150>      <== NEVER TAKEN
 2013210:	01 00 00 00 	nop                                            
    {                                                                 
        rtems_disk_release(vol->dd);                                  
        rtems_set_errno_and_return_minus_one( EIO);                   
    }                                                                 
                                                                      
    memcpy( boot_rec, block->buffer, FAT_MAX_BPB_SIZE);               
 2013214:	d0 07 bf fc 	ld  [ %fp + -4 ], %o0                          
 2013218:	de 02 20 24 	ld  [ %o0 + 0x24 ], %o7                        
 201321c:	d6 0b e0 17 	ldub  [ %o7 + 0x17 ], %o3                      
 2013220:	f4 0b e0 20 	ldub  [ %o7 + 0x20 ], %i2                      
 2013224:	d6 2f bf 99 	stb  %o3, [ %fp + -103 ]                       
 2013228:	d6 0b e0 23 	ldub  [ %o7 + 0x23 ], %o3                      
 201322c:	f4 2f bf 9a 	stb  %i2, [ %fp + -102 ]                       
 2013230:	d6 2f bf 97 	stb  %o3, [ %fp + -105 ]                       
 2013234:	d6 0b e0 2c 	ldub  [ %o7 + 0x2c ], %o3                      
 2013238:	da 0b e0 0b 	ldub  [ %o7 + 0xb ], %o5                       
 201323c:	d6 2f bf 9d 	stb  %o3, [ %fp + -99 ]                        
 2013240:	d6 0b e0 2d 	ldub  [ %o7 + 0x2d ], %o3                      
 2013244:	d8 0b e0 0c 	ldub  [ %o7 + 0xc ], %o4                       
 2013248:	d6 2f bf 9c 	stb  %o3, [ %fp + -100 ]                       
 201324c:	d6 0b e0 2e 	ldub  [ %o7 + 0x2e ], %o3                      
 2013250:	c6 0b e0 0e 	ldub  [ %o7 + 0xe ], %g3                       
 2013254:	d6 2f bf 9b 	stb  %o3, [ %fp + -101 ]                       
 2013258:	d6 0b e0 2f 	ldub  [ %o7 + 0x2f ], %o3                      
 201325c:	c8 0b e0 0f 	ldub  [ %o7 + 0xf ], %g4                       
 2013260:	c2 0b e0 11 	ldub  [ %o7 + 0x11 ], %g1                      
 2013264:	c4 0b e0 12 	ldub  [ %o7 + 0x12 ], %g2                      
 2013268:	f6 0b e0 0d 	ldub  [ %o7 + 0xd ], %i3                       
 201326c:	f2 0b e0 10 	ldub  [ %o7 + 0x10 ], %i1                      
 2013270:	e2 0b e0 13 	ldub  [ %o7 + 0x13 ], %l1                      
 2013274:	e4 0b e0 14 	ldub  [ %o7 + 0x14 ], %l2                      
 2013278:	ee 0b e0 16 	ldub  [ %o7 + 0x16 ], %l7                      
 201327c:	e0 0b e0 21 	ldub  [ %o7 + 0x21 ], %l0                      
 2013280:	f0 0b e0 22 	ldub  [ %o7 + 0x22 ], %i0                      
 2013284:	e8 0b e0 24 	ldub  [ %o7 + 0x24 ], %l4                      
 2013288:	ec 0b e0 25 	ldub  [ %o7 + 0x25 ], %l6                      
 201328c:	ea 0b e0 26 	ldub  [ %o7 + 0x26 ], %l5                      
 2013290:	e6 0b e0 27 	ldub  [ %o7 + 0x27 ], %l3                      
 2013294:	f4 0b e0 28 	ldub  [ %o7 + 0x28 ], %i2                      
 2013298:	d6 2f bf a7 	stb  %o3, [ %fp + -89 ]                        
 201329c:	d6 0b e0 30 	ldub  [ %o7 + 0x30 ], %o3                      
 20132a0:	de 0b e0 31 	ldub  [ %o7 + 0x31 ], %o7                      
 20132a4:	d6 2f bf 9f 	stb  %o3, [ %fp + -97 ]                        
                                                                      
    sc = rtems_bdbuf_release( block);                                 
 20132a8:	c2 27 bf 8c 	st  %g1, [ %fp + -116 ]                        
 20132ac:	c4 3f bf 80 	std  %g2, [ %fp + -128 ]                       
 20132b0:	c8 27 bf 7c 	st  %g4, [ %fp + -132 ]                        
 20132b4:	d8 3f bf 70 	std  %o4, [ %fp + -144 ]                       
    {                                                                 
        rtems_disk_release(vol->dd);                                  
        rtems_set_errno_and_return_minus_one( EIO);                   
    }                                                                 
                                                                      
    memcpy( boot_rec, block->buffer, FAT_MAX_BPB_SIZE);               
 20132b8:	de 2f bf 9e 	stb  %o7, [ %fp + -98 ]                        
                                                                      
    sc = rtems_bdbuf_release( block);                                 
 20132bc:	7f ff f7 f4 	call  201128c <rtems_bdbuf_release>            
 20132c0:	01 00 00 00 	nop                                            
    if (sc != RTEMS_SUCCESSFUL)                                       
 20132c4:	c2 07 bf 8c 	ld  [ %fp + -116 ], %g1                        
 20132c8:	80 a2 20 00 	cmp  %o0, 0                                    
 20132cc:	c4 1f bf 80 	ldd  [ %fp + -128 ], %g2                       
 20132d0:	c8 07 bf 7c 	ld  [ %fp + -132 ], %g4                        
 20132d4:	02 80 00 08 	be  20132f4 <fat_init_volume_info+0x168>       <== ALWAYS TAKEN
 20132d8:	d8 1f bf 70 	ldd  [ %fp + -144 ], %o4                       
    {                                                                 
        rtems_disk_release(vol->dd);                                  
 20132dc:	7f ff c6 c1 	call  2004de0 <rtems_disk_release>             <== NOT EXECUTED
 20132e0:	d0 07 60 60 	ld  [ %i5 + 0x60 ], %o0                        <== NOT EXECUTED
        rtems_set_errno_and_return_minus_one( EIO );                  
 20132e4:	40 00 20 47 	call  201b400 <__errno>                        <== NOT EXECUTED
 20132e8:	01 00 00 00 	nop                                            <== NOT EXECUTED
 20132ec:	10 80 01 66 	b  2013884 <fat_init_volume_info+0x6f8>        <== NOT EXECUTED
 20132f0:	82 10 20 05 	mov  5, %g1	! 5 <PROM_START+0x5>               <== NOT EXECUTED
    }                                                                 
                                                                      
    /* Evaluate boot record */                                        
    vol->bps = FAT_GET_BR_BYTES_PER_SECTOR(boot_rec);                 
 20132f4:	98 0b 20 ff 	and  %o4, 0xff, %o4                            
 20132f8:	9a 0b 60 ff 	and  %o5, 0xff, %o5                            
 20132fc:	99 2b 20 08 	sll  %o4, 8, %o4                               
 2013300:	9a 13 00 0d 	or  %o4, %o5, %o5                              
                                                                      
    if ( (vol->bps != 512)  &&                                        
 2013304:	9f 2b 60 10 	sll  %o5, 0x10, %o7                            
 2013308:	9f 33 e0 10 	srl  %o7, 0x10, %o7                            
 201330c:	80 a3 e4 00 	cmp  %o7, 0x400                                
 2013310:	02 80 00 0b 	be  201333c <fat_init_volume_info+0x1b0>       <== NEVER TAKEN
 2013314:	da 37 40 00 	sth  %o5, [ %i5 ]                              
 2013318:	80 a3 e2 00 	cmp  %o7, 0x200                                
 201331c:	22 80 00 09 	be,a   2013340 <fat_init_volume_info+0x1b4>    <== ALWAYS TAKEN
 2013320:	9f 2b 60 10 	sll  %o5, 0x10, %o7                            
         (vol->bps != 1024) &&                                        
 2013324:	80 a3 e8 00 	cmp  %o7, 0x800                                <== NOT EXECUTED
 2013328:	02 80 00 05 	be  201333c <fat_init_volume_info+0x1b0>       <== NOT EXECUTED
 201332c:	19 00 00 04 	sethi  %hi(0x1000), %o4                        <== NOT EXECUTED
         (vol->bps != 2048) &&                                        
 2013330:	80 a3 c0 0c 	cmp  %o7, %o4                                  <== NOT EXECUTED
 2013334:	12 80 00 d2 	bne  201367c <fat_init_volume_info+0x4f0>      <== NOT EXECUTED
 2013338:	01 00 00 00 	nop                                            <== NOT EXECUTED
    {                                                                 
        rtems_disk_release(vol->dd);                                  
        rtems_set_errno_and_return_minus_one( EINVAL );               
    }                                                                 
                                                                      
    for (vol->sec_mul = 0, i = (vol->bps >> FAT_SECTOR512_BITS); (i & 1) == 0;
 201333c:	9f 2b 60 10 	sll  %o5, 0x10, %o7                            <== NOT EXECUTED
 2013340:	c0 2f 60 03 	clrb  [ %i5 + 3 ]                              
 2013344:	10 80 00 05 	b  2013358 <fat_init_volume_info+0x1cc>        
 2013348:	9f 33 e0 19 	srl  %o7, 0x19, %o7                            
         i >>= 1, vol->sec_mul++);                                    
 201334c:	9f 3b e0 01 	sra  %o7, 1, %o7                               <== NOT EXECUTED
 2013350:	98 03 20 01 	inc  %o4                                       <== NOT EXECUTED
 2013354:	d8 2f 60 03 	stb  %o4, [ %i5 + 3 ]                          <== NOT EXECUTED
    {                                                                 
        rtems_disk_release(vol->dd);                                  
        rtems_set_errno_and_return_minus_one( EINVAL );               
    }                                                                 
                                                                      
    for (vol->sec_mul = 0, i = (vol->bps >> FAT_SECTOR512_BITS); (i & 1) == 0;
 2013358:	80 8b e0 01 	btst  1, %o7                                   
 201335c:	22 bf ff fc 	be,a   201334c <fat_init_volume_info+0x1c0>    <== NEVER TAKEN
 2013360:	d8 0f 60 03 	ldub  [ %i5 + 3 ], %o4                         <== NOT EXECUTED
         i >>= 1, vol->sec_mul++);                                    
    for (vol->sec_log2 = 0, i = vol->bps; (i & 1) == 0;               
 2013364:	9b 2b 60 10 	sll  %o5, 0x10, %o5                            
 2013368:	c0 2f 60 02 	clrb  [ %i5 + 2 ]                              
 201336c:	93 33 60 10 	srl  %o5, 0x10, %o1                            
 2013370:	10 80 00 05 	b  2013384 <fat_init_volume_info+0x1f8>        
 2013374:	9e 10 00 09 	mov  %o1, %o7                                  
         i >>= 1, vol->sec_log2++);                                   
 2013378:	9f 3b e0 01 	sra  %o7, 1, %o7                               
 201337c:	9a 03 60 01 	inc  %o5                                       
 2013380:	da 2f 60 02 	stb  %o5, [ %i5 + 2 ]                          
        rtems_set_errno_and_return_minus_one( EINVAL );               
    }                                                                 
                                                                      
    for (vol->sec_mul = 0, i = (vol->bps >> FAT_SECTOR512_BITS); (i & 1) == 0;
         i >>= 1, vol->sec_mul++);                                    
    for (vol->sec_log2 = 0, i = vol->bps; (i & 1) == 0;               
 2013384:	80 8b e0 01 	btst  1, %o7                                   
 2013388:	22 bf ff fc 	be,a   2013378 <fat_init_volume_info+0x1ec>    
 201338c:	da 0f 60 02 	ldub  [ %i5 + 2 ], %o5                         
    vol->spc = FAT_GET_BR_SECTORS_PER_CLUSTER(boot_rec);              
    /*                                                                
     * "sectors per cluster" of zero is invalid                       
     * (and would hang the following loop)                            
     */                                                               
    if (vol->spc == 0)                                                
 2013390:	9a 8e e0 ff 	andcc  %i3, 0xff, %o5                          
 2013394:	02 80 00 ba 	be  201367c <fat_init_volume_info+0x4f0>       <== NEVER TAKEN
 2013398:	f6 2f 60 04 	stb  %i3, [ %i5 + 4 ]                          
    {                                                                 
        rtems_disk_release(vol->dd);                                  
        rtems_set_errno_and_return_minus_one(EINVAL);                 
    }                                                                 
                                                                      
    for (vol->spc_log2 = 0, i = vol->spc; (i & 1) == 0;               
 201339c:	10 80 00 05 	b  20133b0 <fat_init_volume_info+0x224>        
 20133a0:	c0 2f 60 05 	clrb  [ %i5 + 5 ]                              
         i >>= 1, vol->spc_log2++);                                   
 20133a4:	9e 03 e0 01 	inc  %o7                                       
 20133a8:	9b 3b 60 01 	sra  %o5, 1, %o5                               
 20133ac:	de 2f 60 05 	stb  %o7, [ %i5 + 5 ]                          
    {                                                                 
        rtems_disk_release(vol->dd);                                  
        rtems_set_errno_and_return_minus_one(EINVAL);                 
    }                                                                 
                                                                      
    for (vol->spc_log2 = 0, i = vol->spc; (i & 1) == 0;               
 20133b0:	80 8b 60 01 	btst  1, %o5                                   
 20133b4:	02 bf ff fc 	be  20133a4 <fat_init_volume_info+0x218>       
 20133b8:	de 0f 60 05 	ldub  [ %i5 + 5 ], %o7                         
         i >>= 1, vol->spc_log2++);                                   
                                                                      
    /*                                                                
     * "bytes per cluster" value greater than 32K is invalid          
     */                                                               
    if ((vol->bpc = vol->bps << vol->spc_log2) > MS_BYTES_PER_CLUSTER_LIMIT)
 20133bc:	9f 2a 40 0f 	sll  %o1, %o7, %o7                             
 20133c0:	de 37 60 06 	sth  %o7, [ %i5 + 6 ]                          
 20133c4:	1b 00 00 20 	sethi  %hi(0x8000), %o5                        
 20133c8:	9f 2b e0 10 	sll  %o7, 0x10, %o7                            
 20133cc:	9f 33 e0 10 	srl  %o7, 0x10, %o7                            
 20133d0:	80 a3 c0 0d 	cmp  %o7, %o5                                  
 20133d4:	18 80 00 aa 	bgu  201367c <fat_init_volume_info+0x4f0>      <== NEVER TAKEN
 20133d8:	01 00 00 00 	nop                                            
    {                                                                 
        rtems_disk_release(vol->dd);                                  
        rtems_set_errno_and_return_minus_one(EINVAL);                 
    }                                                                 
                                                                      
    for (vol->bpc_log2 = 0, i = vol->bpc; (i & 1) == 0;               
 20133dc:	10 80 00 05 	b  20133f0 <fat_init_volume_info+0x264>        
 20133e0:	c0 2f 60 08 	clrb  [ %i5 + 8 ]                              
         i >>= 1, vol->bpc_log2++);                                   
 20133e4:	9f 3b e0 01 	sra  %o7, 1, %o7                               
 20133e8:	9a 03 60 01 	inc  %o5                                       
 20133ec:	da 2f 60 08 	stb  %o5, [ %i5 + 8 ]                          
    {                                                                 
        rtems_disk_release(vol->dd);                                  
        rtems_set_errno_and_return_minus_one(EINVAL);                 
    }                                                                 
                                                                      
    for (vol->bpc_log2 = 0, i = vol->bpc; (i & 1) == 0;               
 20133f0:	80 8b e0 01 	btst  1, %o7                                   
 20133f4:	22 bf ff fc 	be,a   20133e4 <fat_init_volume_info+0x258>    
 20133f8:	da 0f 60 08 	ldub  [ %i5 + 8 ], %o5                         
         i >>= 1, vol->bpc_log2++);                                   
                                                                      
    vol->fats = FAT_GET_BR_FAT_NUM(boot_rec);                         
    vol->fat_loc = FAT_GET_BR_RESERVED_SECTORS_NUM(boot_rec);         
                                                                      
    vol->rdir_entrs = FAT_GET_BR_FILES_PER_ROOT_DIR(boot_rec);        
 20133fc:	84 08 a0 ff 	and  %g2, 0xff, %g2                            
 2013400:	85 28 a0 08 	sll  %g2, 8, %g2                               
    }                                                                 
                                                                      
    for (vol->bpc_log2 = 0, i = vol->bpc; (i & 1) == 0;               
         i >>= 1, vol->bpc_log2++);                                   
                                                                      
    vol->fats = FAT_GET_BR_FAT_NUM(boot_rec);                         
 2013404:	f2 2f 60 09 	stb  %i1, [ %i5 + 9 ]                          
    vol->fat_loc = FAT_GET_BR_RESERVED_SECTORS_NUM(boot_rec);         
 2013408:	88 09 20 ff 	and  %g4, 0xff, %g4                            
 201340c:	86 08 e0 ff 	and  %g3, 0xff, %g3                            
 2013410:	89 29 20 08 	sll  %g4, 8, %g4                               
                                                                      
    vol->rdir_entrs = FAT_GET_BR_FILES_PER_ROOT_DIR(boot_rec);        
 2013414:	82 08 60 ff 	and  %g1, 0xff, %g1                            
                                                                      
    for (vol->bpc_log2 = 0, i = vol->bpc; (i & 1) == 0;               
         i >>= 1, vol->bpc_log2++);                                   
                                                                      
    vol->fats = FAT_GET_BR_FAT_NUM(boot_rec);                         
    vol->fat_loc = FAT_GET_BR_RESERVED_SECTORS_NUM(boot_rec);         
 2013418:	86 11 00 03 	or  %g4, %g3, %g3                              
                                                                      
    vol->rdir_entrs = FAT_GET_BR_FILES_PER_ROOT_DIR(boot_rec);        
 201341c:	82 10 80 01 	or  %g2, %g1, %g1                              
                                                                      
    for (vol->bpc_log2 = 0, i = vol->bpc; (i & 1) == 0;               
         i >>= 1, vol->bpc_log2++);                                   
                                                                      
    vol->fats = FAT_GET_BR_FAT_NUM(boot_rec);                         
    vol->fat_loc = FAT_GET_BR_RESERVED_SECTORS_NUM(boot_rec);         
 2013420:	c6 37 60 14 	sth  %g3, [ %i5 + 0x14 ]                       
                                                                      
    vol->rdir_entrs = FAT_GET_BR_FILES_PER_ROOT_DIR(boot_rec);        
 2013424:	c2 37 60 20 	sth  %g1, [ %i5 + 0x20 ]                       
                                                                      
    /* calculate the count of sectors occupied by the root directory */
    vol->rdir_secs = ((vol->rdir_entrs * FAT_DIRENTRY_SIZE) + (vol->bps - 1)) /
 2013428:	84 02 7f ff 	add  %o1, -1, %g2                              
 201342c:	83 28 60 10 	sll  %g1, 0x10, %g1                            
 2013430:	c6 27 bf 84 	st  %g3, [ %fp + -124 ]                        
 2013434:	91 30 60 0b 	srl  %g1, 0xb, %o0                             
 2013438:	40 00 52 da 	call  2027fa0 <.div>                           
 201343c:	90 02 00 02 	add  %o0, %g2, %o0                             
                     vol->bps;                                        
                                                                      
    vol->rdir_size = vol->rdir_secs << vol->sec_log2;                 
 2013440:	c4 0f 60 02 	ldub  [ %i5 + 2 ], %g2                         
    vol->fat_loc = FAT_GET_BR_RESERVED_SECTORS_NUM(boot_rec);         
                                                                      
    vol->rdir_entrs = FAT_GET_BR_FILES_PER_ROOT_DIR(boot_rec);        
                                                                      
    /* calculate the count of sectors occupied by the root directory */
    vol->rdir_secs = ((vol->rdir_entrs * FAT_DIRENTRY_SIZE) + (vol->bps - 1)) /
 2013444:	d0 27 60 24 	st  %o0, [ %i5 + 0x24 ]                        
                     vol->bps;                                        
                                                                      
    vol->rdir_size = vol->rdir_secs << vol->sec_log2;                 
 2013448:	85 2a 00 02 	sll  %o0, %g2, %g2                             
 201344c:	c4 27 60 28 	st  %g2, [ %i5 + 0x28 ]                        
                                                                      
    if ( (FAT_GET_BR_SECTORS_PER_FAT(boot_rec)) != 0)                 
 2013450:	c4 0f bf 99 	ldub  [ %fp + -103 ], %g2                      
 2013454:	ae 0d e0 ff 	and  %l7, 0xff, %l7                            
 2013458:	85 28 a0 08 	sll  %g2, 8, %g2                               
    vol->fat_loc = FAT_GET_BR_RESERVED_SECTORS_NUM(boot_rec);         
                                                                      
    vol->rdir_entrs = FAT_GET_BR_FILES_PER_ROOT_DIR(boot_rec);        
                                                                      
    /* calculate the count of sectors occupied by the root directory */
    vol->rdir_secs = ((vol->rdir_entrs * FAT_DIRENTRY_SIZE) + (vol->bps - 1)) /
 201345c:	82 10 00 08 	mov  %o0, %g1                                  
                     vol->bps;                                        
                                                                      
    vol->rdir_size = vol->rdir_secs << vol->sec_log2;                 
                                                                      
    if ( (FAT_GET_BR_SECTORS_PER_FAT(boot_rec)) != 0)                 
 2013460:	ae 10 80 17 	or  %g2, %l7, %l7                              
 2013464:	af 2d e0 10 	sll  %l7, 0x10, %l7                            
 2013468:	80 a5 e0 00 	cmp  %l7, 0                                    
 201346c:	02 80 00 05 	be  2013480 <fat_init_volume_info+0x2f4>       <== NEVER TAKEN
 2013470:	c6 07 bf 84 	ld  [ %fp + -124 ], %g3                        
        vol->fat_length = FAT_GET_BR_SECTORS_PER_FAT(boot_rec);       
 2013474:	af 35 e0 10 	srl  %l7, 0x10, %l7                            
 2013478:	10 80 00 0c 	b  20134a8 <fat_init_volume_info+0x31c>        
 201347c:	ee 27 60 18 	st  %l7, [ %i5 + 0x18 ]                        
    else                                                              
        vol->fat_length = FAT_GET_BR_SECTORS_PER_FAT32(boot_rec);     
 2013480:	ac 0d a0 ff 	and  %l6, 0xff, %l6                            <== NOT EXECUTED
 2013484:	aa 0d 60 ff 	and  %l5, 0xff, %l5                            <== NOT EXECUTED
 2013488:	ad 2d a0 08 	sll  %l6, 8, %l6                               <== NOT EXECUTED
 201348c:	ab 2d 60 10 	sll  %l5, 0x10, %l5                            <== NOT EXECUTED
 2013490:	a8 0d 20 ff 	and  %l4, 0xff, %l4                            <== NOT EXECUTED
 2013494:	aa 15 80 15 	or  %l6, %l5, %l5                              <== NOT EXECUTED
 2013498:	a7 2c e0 18 	sll  %l3, 0x18, %l3                            <== NOT EXECUTED
 201349c:	a8 15 40 14 	or  %l5, %l4, %l4                              <== NOT EXECUTED
 20134a0:	a6 15 00 13 	or  %l4, %l3, %l3                              <== NOT EXECUTED
 20134a4:	e6 27 60 18 	st  %l3, [ %i5 + 0x18 ]                        <== NOT EXECUTED
                                                                      
    vol->data_fsec = vol->fat_loc + vol->fats * vol->fat_length +     
 20134a8:	d2 07 60 18 	ld  [ %i5 + 0x18 ], %o1                        
 20134ac:	87 28 e0 10 	sll  %g3, 0x10, %g3                            
 20134b0:	c2 27 bf 8c 	st  %g1, [ %fp + -116 ]                        
 20134b4:	a7 30 e0 10 	srl  %g3, 0x10, %l3                            
 20134b8:	40 00 52 7e 	call  2027eb0 <.umul>                          
 20134bc:	90 0e 60 ff 	and  %i1, 0xff, %o0                            
 20134c0:	c2 07 bf 8c 	ld  [ %fp + -116 ], %g1                        
 20134c4:	90 04 c0 08 	add  %l3, %o0, %o0                             
 20134c8:	82 00 40 08 	add  %g1, %o0, %g1                             
                     vol->rdir_secs;                                  
                                                                      
    /* for  FAT12/16 root dir starts at(sector) */                    
    vol->rdir_loc = vol->fat_loc + vol->fats * vol->fat_length;       
 20134cc:	d0 27 60 1c 	st  %o0, [ %i5 + 0x1c ]                        
                                                                      
    if ( (FAT_GET_BR_TOTAL_SECTORS_NUM16(boot_rec)) != 0)             
 20134d0:	a4 0c a0 ff 	and  %l2, 0xff, %l2                            
 20134d4:	a2 0c 60 ff 	and  %l1, 0xff, %l1                            
 20134d8:	a5 2c a0 08 	sll  %l2, 8, %l2                               
 20134dc:	a2 14 80 11 	or  %l2, %l1, %l1                              
 20134e0:	a3 2c 60 10 	sll  %l1, 0x10, %l1                            
 20134e4:	80 a4 60 00 	cmp  %l1, 0                                    
 20134e8:	02 80 00 05 	be  20134fc <fat_init_volume_info+0x370>       <== NEVER TAKEN
 20134ec:	c2 27 60 30 	st  %g1, [ %i5 + 0x30 ]                        
        vol->tot_secs = FAT_GET_BR_TOTAL_SECTORS_NUM16(boot_rec);     
 20134f0:	a3 34 60 10 	srl  %l1, 0x10, %l1                            
 20134f4:	10 80 00 0d 	b  2013528 <fat_init_volume_info+0x39c>        
 20134f8:	e2 27 60 2c 	st  %l1, [ %i5 + 0x2c ]                        
    else                                                              
        vol->tot_secs = FAT_GET_BR_TOTAL_SECTORS_NUM32(boot_rec);     
 20134fc:	c6 0f bf 9a 	ldub  [ %fp + -102 ], %g3                      <== NOT EXECUTED
 2013500:	c8 0f bf 97 	ldub  [ %fp + -105 ], %g4                      <== NOT EXECUTED
 2013504:	84 0c 20 ff 	and  %l0, 0xff, %g2                            <== NOT EXECUTED
 2013508:	b0 0e 20 ff 	and  %i0, 0xff, %i0                            <== NOT EXECUTED
 201350c:	85 28 a0 08 	sll  %g2, 8, %g2                               <== NOT EXECUTED
 2013510:	b1 2e 20 10 	sll  %i0, 0x10, %i0                            <== NOT EXECUTED
 2013514:	84 10 80 18 	or  %g2, %i0, %g2                              <== NOT EXECUTED
 2013518:	84 10 80 03 	or  %g2, %g3, %g2                              <== NOT EXECUTED
 201351c:	87 29 20 18 	sll  %g4, 0x18, %g3                            <== NOT EXECUTED
 2013520:	84 10 80 03 	or  %g2, %g3, %g2                              <== NOT EXECUTED
 2013524:	c4 27 60 2c 	st  %g2, [ %i5 + 0x2c ]                        <== NOT EXECUTED
                                                                      
    data_secs = vol->tot_secs - vol->data_fsec;                       
 2013528:	d0 07 60 2c 	ld  [ %i5 + 0x2c ], %o0                        
                                                                      
    vol->data_cls = data_secs / vol->spc;                             
 201352c:	92 0e e0 ff 	and  %i3, 0xff, %o1                            
 2013530:	40 00 52 9a 	call  2027f98 <.udiv>                          
 2013534:	90 22 00 01 	sub  %o0, %g1, %o0                             
                                                                      
    /* determine FAT type at least */                                 
    if ( vol->data_cls < FAT_FAT12_MAX_CLN)                           
 2013538:	80 a2 2f f4 	cmp  %o0, 0xff4                                
 201353c:	18 80 00 08 	bgu  201355c <fat_init_volume_info+0x3d0>      <== NEVER TAKEN
 2013540:	d0 27 60 34 	st  %o0, [ %i5 + 0x34 ]                        
    {                                                                 
        vol->type = FAT_FAT12;                                        
 2013544:	82 10 20 01 	mov  1, %g1                                    
 2013548:	c2 2f 60 0a 	stb  %g1, [ %i5 + 0xa ]                        
        vol->mask = FAT_FAT12_MASK;                                   
 201354c:	82 10 2f ff 	mov  0xfff, %g1                                
 2013550:	c2 27 60 0c 	st  %g1, [ %i5 + 0xc ]                         
        vol->eoc_val = FAT_FAT12_EOC;                                 
 2013554:	10 80 00 0f 	b  2013590 <fat_init_volume_info+0x404>        
 2013558:	82 10 2f f8 	mov  0xff8, %g1                                
    }                                                                 
    else                                                              
    {                                                                 
        if ( vol->data_cls < FAT_FAT16_MAX_CLN)                       
 201355c:	03 00 00 3f 	sethi  %hi(0xfc00), %g1                        <== NOT EXECUTED
 2013560:	84 10 63 f4 	or  %g1, 0x3f4, %g2	! fff4 <PROM_START+0xfff4> <== NOT EXECUTED
 2013564:	80 a2 00 02 	cmp  %o0, %g2                                  <== NOT EXECUTED
 2013568:	38 80 00 05 	bgu,a   201357c <fat_init_volume_info+0x3f0>   <== NOT EXECUTED
 201356c:	82 10 20 04 	mov  4, %g1                                    <== NOT EXECUTED
        {                                                             
            vol->type = FAT_FAT16;                                    
 2013570:	84 10 20 02 	mov  2, %g2                                    <== NOT EXECUTED
 2013574:	10 80 00 04 	b  2013584 <fat_init_volume_info+0x3f8>        <== NOT EXECUTED
 2013578:	c4 2f 60 0a 	stb  %g2, [ %i5 + 0xa ]                        <== NOT EXECUTED
            vol->mask = FAT_FAT16_MASK;                               
            vol->eoc_val = FAT_FAT16_EOC;                             
        }                                                             
        else                                                          
        {                                                             
            vol->type = FAT_FAT32;                                    
 201357c:	c2 2f 60 0a 	stb  %g1, [ %i5 + 0xa ]                        <== NOT EXECUTED
            vol->mask = FAT_FAT32_MASK;                               
 2013580:	03 03 ff ff 	sethi  %hi(0xffffc00), %g1                     <== NOT EXECUTED
 2013584:	84 10 63 ff 	or  %g1, 0x3ff, %g2	! fffffff <RAM_END+0xdbfffff><== NOT EXECUTED
            vol->eoc_val = FAT_FAT32_EOC;                             
 2013588:	82 10 63 f8 	or  %g1, 0x3f8, %g1                            <== NOT EXECUTED
            vol->eoc_val = FAT_FAT16_EOC;                             
        }                                                             
        else                                                          
        {                                                             
            vol->type = FAT_FAT32;                                    
            vol->mask = FAT_FAT32_MASK;                               
 201358c:	c4 27 60 0c 	st  %g2, [ %i5 + 0xc ]                         <== NOT EXECUTED
            vol->eoc_val = FAT_FAT32_EOC;                             
 2013590:	c2 27 60 10 	st  %g1, [ %i5 + 0x10 ]                        
        }                                                             
    }                                                                 
                                                                      
    if (vol->type == FAT_FAT32)                                       
 2013594:	c2 0f 60 0a 	ldub  [ %i5 + 0xa ], %g1                       
 2013598:	80 a0 60 04 	cmp  %g1, 4                                    
 201359c:	12 80 00 6e 	bne  2013754 <fat_init_volume_info+0x5c8>      <== ALWAYS TAKEN
 20135a0:	82 10 3f ff 	mov  -1, %g1                                   
    {                                                                 
        vol->rdir_cl = FAT_GET_BR_FAT32_ROOT_CLUSTER(boot_rec);       
 20135a4:	c4 0f bf 9c 	ldub  [ %fp + -100 ], %g2                      <== NOT EXECUTED
 20135a8:	c2 0f bf 9b 	ldub  [ %fp + -101 ], %g1                      <== NOT EXECUTED
 20135ac:	85 28 a0 08 	sll  %g2, 8, %g2                               <== NOT EXECUTED
 20135b0:	83 28 60 10 	sll  %g1, 0x10, %g1                            <== NOT EXECUTED
 20135b4:	d6 0f bf a7 	ldub  [ %fp + -89 ], %o3                       <== NOT EXECUTED
 20135b8:	82 10 80 01 	or  %g2, %g1, %g1                              <== NOT EXECUTED
 20135bc:	c4 0f bf 9d 	ldub  [ %fp + -99 ], %g2                       <== NOT EXECUTED
 20135c0:	82 10 40 02 	or  %g1, %g2, %g1                              <== NOT EXECUTED
 20135c4:	85 2a e0 18 	sll  %o3, 0x18, %g2                            <== NOT EXECUTED
 20135c8:	82 10 40 02 	or  %g1, %g2, %g1                              <== NOT EXECUTED
 20135cc:	c2 27 60 38 	st  %g1, [ %i5 + 0x38 ]                        <== NOT EXECUTED
                                                                      
        vol->mirror = FAT_GET_BR_EXT_FLAGS(boot_rec) & FAT_BR_EXT_FLAGS_MIRROR;
 20135d0:	82 0e bf 80 	and  %i2, -128, %g1                            <== NOT EXECUTED
        if (vol->mirror)                                              
 20135d4:	80 88 60 80 	btst  0x80, %g1                                <== NOT EXECUTED
 20135d8:	02 80 00 05 	be  20135ec <fat_init_volume_info+0x460>       <== NOT EXECUTED
 20135dc:	c2 2f 60 48 	stb  %g1, [ %i5 + 0x48 ]                       <== NOT EXECUTED
            vol->afat = FAT_GET_BR_EXT_FLAGS(boot_rec) & FAT_BR_EXT_FLAGS_FAT_NUM;
 20135e0:	b4 0e a0 0f 	and  %i2, 0xf, %i2                             <== NOT EXECUTED
 20135e4:	10 80 00 03 	b  20135f0 <fat_init_volume_info+0x464>        <== NOT EXECUTED
 20135e8:	f4 2f 60 50 	stb  %i2, [ %i5 + 0x50 ]                       <== NOT EXECUTED
        else                                                          
            vol->afat = 0;                                            
 20135ec:	c0 2f 60 50 	clrb  [ %i5 + 0x50 ]                           <== NOT EXECUTED
                                                                      
        vol->info_sec = FAT_GET_BR_FAT32_FS_INFO_SECTOR(boot_rec);    
 20135f0:	d2 0f bf 9e 	ldub  [ %fp + -98 ], %o1                       <== NOT EXECUTED
 20135f4:	c2 0f bf 9f 	ldub  [ %fp + -97 ], %g1                       <== NOT EXECUTED
 20135f8:	93 2a 60 08 	sll  %o1, 8, %o1                               <== NOT EXECUTED
 20135fc:	92 12 40 01 	or  %o1, %g1, %o1                              <== NOT EXECUTED
 2013600:	d2 37 60 3c 	sth  %o1, [ %i5 + 0x3c ]                       <== NOT EXECUTED
        if( vol->info_sec == 0 )                                      
 2013604:	93 2a 60 10 	sll  %o1, 0x10, %o1                            <== NOT EXECUTED
 2013608:	93 32 60 10 	srl  %o1, 0x10, %o1                            <== NOT EXECUTED
 201360c:	80 a2 60 00 	cmp  %o1, 0                                    <== NOT EXECUTED
 2013610:	02 80 00 1b 	be  201367c <fat_init_volume_info+0x4f0>       <== NOT EXECUTED
 2013614:	01 00 00 00 	nop                                            <== NOT EXECUTED
            rtems_disk_release(vol->dd);                              
            rtems_set_errno_and_return_minus_one( EINVAL );           
        }                                                             
        else                                                          
        {                                                             
            ret = _fat_block_read(mt_entry, vol->info_sec , 0,        
 2013618:	90 10 00 1c 	mov  %i4, %o0                                  <== NOT EXECUTED
 201361c:	94 10 20 00 	clr  %o2                                       <== NOT EXECUTED
 2013620:	96 10 20 04 	mov  4, %o3                                    <== NOT EXECUTED
 2013624:	7f ff fd a1 	call  2012ca8 <_fat_block_read>                <== NOT EXECUTED
 2013628:	98 07 bf f0 	add  %fp, -16, %o4                             <== NOT EXECUTED
                                  FAT_FSI_LEADSIG_SIZE, fs_info_sector);
            if ( ret < 0 )                                            
 201362c:	80 a2 20 00 	cmp  %o0, 0                                    <== NOT EXECUTED
 2013630:	06 80 00 23 	bl  20136bc <fat_init_volume_info+0x530>       <== NOT EXECUTED
 2013634:	01 00 00 00 	nop                                            <== NOT EXECUTED
            {                                                         
                rtems_disk_release(vol->dd);                          
                return -1;                                            
            }                                                         
                                                                      
            if (FAT_GET_FSINFO_LEAD_SIGNATURE(fs_info_sector) !=      
 2013638:	c2 0f bf f2 	ldub  [ %fp + -14 ], %g1                       <== NOT EXECUTED
 201363c:	c4 0f bf f1 	ldub  [ %fp + -15 ], %g2                       <== NOT EXECUTED
 2013640:	83 28 60 10 	sll  %g1, 0x10, %g1                            <== NOT EXECUTED
 2013644:	85 28 a0 08 	sll  %g2, 8, %g2                               <== NOT EXECUTED
 2013648:	84 10 80 01 	or  %g2, %g1, %g2                              <== NOT EXECUTED
 201364c:	c2 0f bf f0 	ldub  [ %fp + -16 ], %g1                       <== NOT EXECUTED
 2013650:	84 10 80 01 	or  %g2, %g1, %g2                              <== NOT EXECUTED
 2013654:	c2 0f bf f3 	ldub  [ %fp + -13 ], %g1                       <== NOT EXECUTED
 2013658:	83 28 60 18 	sll  %g1, 0x18, %g1                            <== NOT EXECUTED
 201365c:	84 10 80 01 	or  %g2, %g1, %g2                              <== NOT EXECUTED
 2013660:	03 10 58 54 	sethi  %hi(0x41615000), %g1                    <== NOT EXECUTED
 2013664:	82 10 62 52 	or  %g1, 0x252, %g1	! 41615252 <RAM_END+0x3f215252><== NOT EXECUTED
 2013668:	80 a0 80 01 	cmp  %g2, %g1                                  <== NOT EXECUTED
 201366c:	22 80 00 0a 	be,a   2013694 <fat_init_volume_info+0x508>    <== NOT EXECUTED
 2013670:	d2 17 60 3c 	lduh  [ %i5 + 0x3c ], %o1                      <== NOT EXECUTED
int                                                                   
_fat_block_release(                                                   
    rtems_filesystem_mount_table_entry_t *mt_entry)                   
{                                                                     
    fat_fs_info_t *fs_info = mt_entry->fs_info;                       
    return fat_buf_release(fs_info);                                  
 2013674:	7f ff fd 33 	call  2012b40 <fat_buf_release>                <== NOT EXECUTED
 2013678:	d0 07 20 34 	ld  [ %i4 + 0x34 ], %o0                        <== NOT EXECUTED
                                                                      
            if (FAT_GET_FSINFO_LEAD_SIGNATURE(fs_info_sector) !=      
                FAT_FSINFO_LEAD_SIGNATURE_VALUE)                      
            {                                                         
                _fat_block_release(mt_entry);                         
                rtems_disk_release(vol->dd);                          
 201367c:	7f ff c5 d9 	call  2004de0 <rtems_disk_release>             <== NOT EXECUTED
 2013680:	d0 07 60 60 	ld  [ %i5 + 0x60 ], %o0                        <== NOT EXECUTED
                rtems_set_errno_and_return_minus_one( EINVAL );       
 2013684:	40 00 1f 5f 	call  201b400 <__errno>                        <== NOT EXECUTED
 2013688:	01 00 00 00 	nop                                            <== NOT EXECUTED
 201368c:	10 80 00 7e 	b  2013884 <fat_init_volume_info+0x6f8>        <== NOT EXECUTED
 2013690:	82 10 20 16 	mov  0x16, %g1	! 16 <PROM_START+0x16>          <== NOT EXECUTED
            }                                                         
            else                                                      
            {                                                         
                ret = _fat_block_read(mt_entry, vol->info_sec , FAT_FSI_INFO,
 2013694:	90 10 00 1c 	mov  %i4, %o0                                  <== NOT EXECUTED
 2013698:	94 10 21 e4 	mov  0x1e4, %o2                                <== NOT EXECUTED
 201369c:	96 10 20 0c 	mov  0xc, %o3                                  <== NOT EXECUTED
 20136a0:	7f ff fd 82 	call  2012ca8 <_fat_block_read>                <== NOT EXECUTED
 20136a4:	98 07 bf f0 	add  %fp, -16, %o4                             <== NOT EXECUTED
                                      FAT_USEFUL_INFO_SIZE, fs_info_sector);
                if ( ret < 0 )                                        
 20136a8:	80 a2 20 00 	cmp  %o0, 0                                    <== NOT EXECUTED
 20136ac:	16 80 00 08 	bge  20136cc <fat_init_volume_info+0x540>      <== NOT EXECUTED
 20136b0:	c4 0f bf f5 	ldub  [ %fp + -11 ], %g2                       <== NOT EXECUTED
int                                                                   
_fat_block_release(                                                   
    rtems_filesystem_mount_table_entry_t *mt_entry)                   
{                                                                     
    fat_fs_info_t *fs_info = mt_entry->fs_info;                       
    return fat_buf_release(fs_info);                                  
 20136b4:	7f ff fd 23 	call  2012b40 <fat_buf_release>                <== NOT EXECUTED
 20136b8:	d0 07 20 34 	ld  [ %i4 + 0x34 ], %o0                        <== NOT EXECUTED
                ret = _fat_block_read(mt_entry, vol->info_sec , FAT_FSI_INFO,
                                      FAT_USEFUL_INFO_SIZE, fs_info_sector);
                if ( ret < 0 )                                        
                {                                                     
                    _fat_block_release(mt_entry);                     
                    rtems_disk_release(vol->dd);                      
 20136bc:	7f ff c5 c9 	call  2004de0 <rtems_disk_release>             <== NOT EXECUTED
 20136c0:	d0 07 60 60 	ld  [ %i5 + 0x60 ], %o0                        <== NOT EXECUTED
    if ( fs_info->uino == NULL )                                      
    {                                                                 
        rtems_disk_release(vol->dd);                                  
        free(fs_info->vhash);                                         
        free(fs_info->rhash);                                         
        rtems_set_errno_and_return_minus_one( ENOMEM );               
 20136c4:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 20136c8:	91 e8 3f ff 	restore  %g0, -1, %o0                          <== NOT EXECUTED
                    _fat_block_release(mt_entry);                     
                    rtems_disk_release(vol->dd);                      
                    return -1;                                        
                }                                                     
                                                                      
                vol->free_cls = FAT_GET_FSINFO_FREE_CLUSTER_COUNT(fs_info_sector);
 20136cc:	c2 0f bf f6 	ldub  [ %fp + -10 ], %g1                       <== NOT EXECUTED
 20136d0:	85 28 a0 08 	sll  %g2, 8, %g2                               <== NOT EXECUTED
 20136d4:	83 28 60 10 	sll  %g1, 0x10, %g1                            <== NOT EXECUTED
 20136d8:	82 10 80 01 	or  %g2, %g1, %g1                              <== NOT EXECUTED
 20136dc:	c4 0f bf f4 	ldub  [ %fp + -12 ], %g2                       <== NOT EXECUTED
                vol->next_cl = FAT_GET_FSINFO_NEXT_FREE_CLUSTER(fs_info_sector);
                rc = fat_fat32_update_fsinfo_sector(mt_entry, 0xFFFFFFFF,
 20136e0:	90 10 00 1c 	mov  %i4, %o0                                  <== NOT EXECUTED
                    _fat_block_release(mt_entry);                     
                    rtems_disk_release(vol->dd);                      
                    return -1;                                        
                }                                                     
                                                                      
                vol->free_cls = FAT_GET_FSINFO_FREE_CLUSTER_COUNT(fs_info_sector);
 20136e4:	82 10 40 02 	or  %g1, %g2, %g1                              <== NOT EXECUTED
 20136e8:	c4 0f bf f7 	ldub  [ %fp + -9 ], %g2                        <== NOT EXECUTED
                vol->next_cl = FAT_GET_FSINFO_NEXT_FREE_CLUSTER(fs_info_sector);
                rc = fat_fat32_update_fsinfo_sector(mt_entry, 0xFFFFFFFF,
 20136ec:	92 10 3f ff 	mov  -1, %o1                                   <== NOT EXECUTED
                    _fat_block_release(mt_entry);                     
                    rtems_disk_release(vol->dd);                      
                    return -1;                                        
                }                                                     
                                                                      
                vol->free_cls = FAT_GET_FSINFO_FREE_CLUSTER_COUNT(fs_info_sector);
 20136f0:	85 28 a0 18 	sll  %g2, 0x18, %g2                            <== NOT EXECUTED
 20136f4:	82 10 40 02 	or  %g1, %g2, %g1                              <== NOT EXECUTED
                vol->next_cl = FAT_GET_FSINFO_NEXT_FREE_CLUSTER(fs_info_sector);
 20136f8:	c4 0f bf f9 	ldub  [ %fp + -7 ], %g2                        <== NOT EXECUTED
                    _fat_block_release(mt_entry);                     
                    rtems_disk_release(vol->dd);                      
                    return -1;                                        
                }                                                     
                                                                      
                vol->free_cls = FAT_GET_FSINFO_FREE_CLUSTER_COUNT(fs_info_sector);
 20136fc:	c2 27 60 40 	st  %g1, [ %i5 + 0x40 ]                        <== NOT EXECUTED
                vol->next_cl = FAT_GET_FSINFO_NEXT_FREE_CLUSTER(fs_info_sector);
 2013700:	c2 0f bf fa 	ldub  [ %fp + -6 ], %g1                        <== NOT EXECUTED
 2013704:	85 28 a0 08 	sll  %g2, 8, %g2                               <== NOT EXECUTED
 2013708:	83 28 60 10 	sll  %g1, 0x10, %g1                            <== NOT EXECUTED
 201370c:	82 10 80 01 	or  %g2, %g1, %g1                              <== NOT EXECUTED
 2013710:	c4 0f bf f8 	ldub  [ %fp + -8 ], %g2                        <== NOT EXECUTED
                rc = fat_fat32_update_fsinfo_sector(mt_entry, 0xFFFFFFFF,
 2013714:	94 10 3f ff 	mov  -1, %o2                                   <== NOT EXECUTED
                    rtems_disk_release(vol->dd);                      
                    return -1;                                        
                }                                                     
                                                                      
                vol->free_cls = FAT_GET_FSINFO_FREE_CLUSTER_COUNT(fs_info_sector);
                vol->next_cl = FAT_GET_FSINFO_NEXT_FREE_CLUSTER(fs_info_sector);
 2013718:	82 10 40 02 	or  %g1, %g2, %g1                              <== NOT EXECUTED
 201371c:	c4 0f bf fb 	ldub  [ %fp + -5 ], %g2                        <== NOT EXECUTED
 2013720:	85 28 a0 18 	sll  %g2, 0x18, %g2                            <== NOT EXECUTED
 2013724:	82 10 40 02 	or  %g1, %g2, %g1                              <== NOT EXECUTED
                rc = fat_fat32_update_fsinfo_sector(mt_entry, 0xFFFFFFFF,
 2013728:	7f ff fe 37 	call  2013004 <fat_fat32_update_fsinfo_sector> <== NOT EXECUTED
 201372c:	c2 27 60 44 	st  %g1, [ %i5 + 0x44 ]                        <== NOT EXECUTED
                                                    0xFFFFFFFF);      
                if ( rc != RC_OK )                                    
 2013730:	b0 92 20 00 	orcc  %o0, 0, %i0                              <== NOT EXECUTED
 2013734:	02 80 00 0d 	be  2013768 <fat_init_volume_info+0x5dc>       <== NOT EXECUTED
 2013738:	01 00 00 00 	nop                                            <== NOT EXECUTED
int                                                                   
_fat_block_release(                                                   
    rtems_filesystem_mount_table_entry_t *mt_entry)                   
{                                                                     
    fat_fs_info_t *fs_info = mt_entry->fs_info;                       
    return fat_buf_release(fs_info);                                  
 201373c:	7f ff fd 01 	call  2012b40 <fat_buf_release>                <== NOT EXECUTED
 2013740:	d0 07 20 34 	ld  [ %i4 + 0x34 ], %o0                        <== NOT EXECUTED
                rc = fat_fat32_update_fsinfo_sector(mt_entry, 0xFFFFFFFF,
                                                    0xFFFFFFFF);      
                if ( rc != RC_OK )                                    
                {                                                     
                    _fat_block_release(mt_entry);                     
                    rtems_disk_release(vol->dd);                      
 2013744:	7f ff c5 a7 	call  2004de0 <rtems_disk_release>             <== NOT EXECUTED
 2013748:	d0 07 60 60 	ld  [ %i5 + 0x60 ], %o0                        <== NOT EXECUTED
                    return rc;                                        
 201374c:	81 c7 e0 08 	ret                                            
 2013750:	81 e8 00 00 	restore                                        
            }                                                         
        }                                                             
    }                                                                 
    else                                                              
    {                                                                 
        vol->rdir_cl = 0;                                             
 2013754:	c0 27 60 38 	clr  [ %i5 + 0x38 ]                            
        vol->mirror = 0;                                              
 2013758:	c0 2f 60 48 	clrb  [ %i5 + 0x48 ]                           
        vol->afat = 0;                                                
 201375c:	c0 2f 60 50 	clrb  [ %i5 + 0x50 ]                           
        vol->free_cls = 0xFFFFFFFF;                                   
 2013760:	c2 27 60 40 	st  %g1, [ %i5 + 0x40 ]                        
        vol->next_cl = 0xFFFFFFFF;                                    
 2013764:	c2 27 60 44 	st  %g1, [ %i5 + 0x44 ]                        
int                                                                   
_fat_block_release(                                                   
    rtems_filesystem_mount_table_entry_t *mt_entry)                   
{                                                                     
    fat_fs_info_t *fs_info = mt_entry->fs_info;                       
    return fat_buf_release(fs_info);                                  
 2013768:	7f ff fc f6 	call  2012b40 <fat_buf_release>                
 201376c:	d0 07 20 34 	ld  [ %i4 + 0x34 ], %o0                        
        vol->next_cl = 0xFFFFFFFF;                                    
    }                                                                 
                                                                      
    _fat_block_release(mt_entry);                                     
                                                                      
    vol->afat_loc = vol->fat_loc + vol->fat_length * vol->afat;       
 2013770:	d2 07 60 18 	ld  [ %i5 + 0x18 ], %o1                        
 2013774:	40 00 51 cf 	call  2027eb0 <.umul>                          
 2013778:	d0 0f 60 50 	ldub  [ %i5 + 0x50 ], %o0                      
 201377c:	c2 17 60 14 	lduh  [ %i5 + 0x14 ], %g1                      
                                                                      
    /* set up collection of fat-files fd */                           
    fs_info->vhash = calloc(FAT_HASH_SIZE, sizeof(rtems_chain_control));
 2013780:	92 10 20 0c 	mov  0xc, %o1                                  
        vol->next_cl = 0xFFFFFFFF;                                    
    }                                                                 
                                                                      
    _fat_block_release(mt_entry);                                     
                                                                      
    vol->afat_loc = vol->fat_loc + vol->fat_length * vol->afat;       
 2013784:	82 02 00 01 	add  %o0, %g1, %g1                             
                                                                      
    /* set up collection of fat-files fd */                           
    fs_info->vhash = calloc(FAT_HASH_SIZE, sizeof(rtems_chain_control));
 2013788:	90 10 20 02 	mov  2, %o0                                    
 201378c:	7f ff c8 05 	call  20057a0 <calloc>                         
 2013790:	c2 27 60 4c 	st  %g1, [ %i5 + 0x4c ]                        
    if ( fs_info->vhash == NULL )                                     
 2013794:	80 a2 20 00 	cmp  %o0, 0                                    
 2013798:	02 80 00 12 	be  20137e0 <fat_init_volume_info+0x654>       <== NEVER TAKEN
 201379c:	d0 27 60 68 	st  %o0, [ %i5 + 0x68 ]                        
RTEMS_INLINE_ROUTINE void _Chain_Initialize_empty(                    
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
 20137a0:	82 02 20 04 	add  %o0, 4, %g1                               
 20137a4:	84 02 20 10 	add  %o0, 0x10, %g2                            
                                                                      
  head->next = tail;                                                  
 20137a8:	c2 22 00 00 	st  %g1, [ %o0 ]                               
RTEMS_INLINE_ROUTINE void _Chain_Initialize_empty(                    
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
 20137ac:	82 02 20 0c 	add  %o0, 0xc, %g1                             
                                                                      
  head->next = tail;                                                  
  head->previous = NULL;                                              
 20137b0:	c0 22 20 04 	clr  [ %o0 + 4 ]                               
  tail->previous = head;                                              
 20137b4:	d0 22 20 08 	st  %o0, [ %o0 + 8 ]                           
)                                                                     
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
                                                                      
  head->next = tail;                                                  
 20137b8:	c4 22 20 0c 	st  %g2, [ %o0 + 0xc ]                         
  head->previous = NULL;                                              
 20137bc:	c0 22 20 10 	clr  [ %o0 + 0x10 ]                            
  tail->previous = head;                                              
 20137c0:	c2 22 20 14 	st  %g1, [ %o0 + 0x14 ]                        
    }                                                                 
                                                                      
    for (i = 0; i < FAT_HASH_SIZE; i++)                               
        rtems_chain_initialize_empty(fs_info->vhash + i);             
                                                                      
    fs_info->rhash = calloc(FAT_HASH_SIZE, sizeof(rtems_chain_control));
 20137c4:	92 10 20 0c 	mov  0xc, %o1                                  
 20137c8:	7f ff c7 f6 	call  20057a0 <calloc>                         
 20137cc:	90 10 20 02 	mov  2, %o0                                    
    if ( fs_info->rhash == NULL )                                     
 20137d0:	80 a2 20 00 	cmp  %o0, 0                                    
 20137d4:	12 80 00 06 	bne  20137ec <fat_init_volume_info+0x660>      <== ALWAYS TAKEN
 20137d8:	d0 27 60 6c 	st  %o0, [ %i5 + 0x6c ]                        
 20137dc:	30 80 00 1c 	b,a   201384c <fat_init_volume_info+0x6c0>     <== NOT EXECUTED
                                                                      
    /* set up collection of fat-files fd */                           
    fs_info->vhash = calloc(FAT_HASH_SIZE, sizeof(rtems_chain_control));
    if ( fs_info->vhash == NULL )                                     
    {                                                                 
        rtems_disk_release(vol->dd);                                  
 20137e0:	7f ff c5 80 	call  2004de0 <rtems_disk_release>             <== NOT EXECUTED
 20137e4:	d0 07 60 60 	ld  [ %i5 + 0x60 ], %o0                        <== NOT EXECUTED
 20137e8:	30 80 00 24 	b,a   2013878 <fat_init_volume_info+0x6ec>     <== NOT EXECUTED
RTEMS_INLINE_ROUTINE void _Chain_Initialize_empty(                    
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
 20137ec:	82 02 20 04 	add  %o0, 4, %g1                               
                                                                      
  head->next = tail;                                                  
 20137f0:	c2 22 00 00 	st  %g1, [ %o0 ]                               
RTEMS_INLINE_ROUTINE void _Chain_Initialize_empty(                    
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
 20137f4:	82 02 20 0c 	add  %o0, 0xc, %g1                             
                                                                      
  head->next = tail;                                                  
  head->previous = NULL;                                              
 20137f8:	c0 22 20 04 	clr  [ %o0 + 4 ]                               
  tail->previous = head;                                              
 20137fc:	c2 22 20 14 	st  %g1, [ %o0 + 0x14 ]                        
 2013800:	d0 22 20 08 	st  %o0, [ %o0 + 8 ]                           
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
                                                                      
  head->next = tail;                                                  
  head->previous = NULL;                                              
 2013804:	c0 22 20 10 	clr  [ %o0 + 0x10 ]                            
RTEMS_INLINE_ROUTINE void _Chain_Initialize_empty(                    
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
 2013808:	84 02 20 10 	add  %o0, 0x10, %g2                            
        rtems_set_errno_and_return_minus_one( ENOMEM );               
    }                                                                 
    for (i = 0; i < FAT_HASH_SIZE; i++)                               
        rtems_chain_initialize_empty(fs_info->rhash + i);             
                                                                      
    fs_info->uino_pool_size = FAT_UINO_POOL_INIT_SIZE;                
 201380c:	82 10 21 00 	mov  0x100, %g1                                
                                                                      
  head->next = tail;                                                  
 2013810:	c4 22 20 0c 	st  %g2, [ %o0 + 0xc ]                         
 2013814:	c2 27 60 78 	st  %g1, [ %i5 + 0x78 ]                        
    fs_info->uino_base = (vol->tot_secs << vol->sec_mul) << 4;        
 2013818:	c4 07 60 2c 	ld  [ %i5 + 0x2c ], %g2                        
 201381c:	c2 0f 60 03 	ldub  [ %i5 + 3 ], %g1                         
    fs_info->index = 0;                                               
 2013820:	c0 27 60 74 	clr  [ %i5 + 0x74 ]                            
    }                                                                 
    for (i = 0; i < FAT_HASH_SIZE; i++)                               
        rtems_chain_initialize_empty(fs_info->rhash + i);             
                                                                      
    fs_info->uino_pool_size = FAT_UINO_POOL_INIT_SIZE;                
    fs_info->uino_base = (vol->tot_secs << vol->sec_mul) << 4;        
 2013824:	83 28 80 01 	sll  %g2, %g1, %g1                             
 2013828:	83 28 60 04 	sll  %g1, 4, %g1                               
    fs_info->index = 0;                                               
    fs_info->uino = (char *)calloc(fs_info->uino_pool_size, sizeof(char));
 201382c:	90 10 21 00 	mov  0x100, %o0                                
    }                                                                 
    for (i = 0; i < FAT_HASH_SIZE; i++)                               
        rtems_chain_initialize_empty(fs_info->rhash + i);             
                                                                      
    fs_info->uino_pool_size = FAT_UINO_POOL_INIT_SIZE;                
    fs_info->uino_base = (vol->tot_secs << vol->sec_mul) << 4;        
 2013830:	c2 27 60 7c 	st  %g1, [ %i5 + 0x7c ]                        
    fs_info->index = 0;                                               
    fs_info->uino = (char *)calloc(fs_info->uino_pool_size, sizeof(char));
 2013834:	7f ff c7 db 	call  20057a0 <calloc>                         
 2013838:	92 10 20 01 	mov  1, %o1                                    
    if ( fs_info->uino == NULL )                                      
 201383c:	80 a2 20 00 	cmp  %o0, 0                                    
 2013840:	12 80 00 14 	bne  2013890 <fat_init_volume_info+0x704>      <== ALWAYS TAKEN
 2013844:	d0 27 60 70 	st  %o0, [ %i5 + 0x70 ]                        
 2013848:	30 80 00 05 	b,a   201385c <fat_init_volume_info+0x6d0>     <== NOT EXECUTED
        rtems_chain_initialize_empty(fs_info->vhash + i);             
                                                                      
    fs_info->rhash = calloc(FAT_HASH_SIZE, sizeof(rtems_chain_control));
    if ( fs_info->rhash == NULL )                                     
    {                                                                 
        rtems_disk_release(vol->dd);                                  
 201384c:	7f ff c5 65 	call  2004de0 <rtems_disk_release>             <== NOT EXECUTED
 2013850:	d0 07 60 60 	ld  [ %i5 + 0x60 ], %o0                        <== NOT EXECUTED
        free(fs_info->vhash);                                         
 2013854:	10 80 00 07 	b  2013870 <fat_init_volume_info+0x6e4>        <== NOT EXECUTED
 2013858:	d0 07 60 68 	ld  [ %i5 + 0x68 ], %o0                        <== NOT EXECUTED
    fs_info->uino_base = (vol->tot_secs << vol->sec_mul) << 4;        
    fs_info->index = 0;                                               
    fs_info->uino = (char *)calloc(fs_info->uino_pool_size, sizeof(char));
    if ( fs_info->uino == NULL )                                      
    {                                                                 
        rtems_disk_release(vol->dd);                                  
 201385c:	7f ff c5 61 	call  2004de0 <rtems_disk_release>             <== NOT EXECUTED
 2013860:	d0 07 60 60 	ld  [ %i5 + 0x60 ], %o0                        <== NOT EXECUTED
        free(fs_info->vhash);                                         
 2013864:	7f ff c9 02 	call  2005c6c <free>                           <== NOT EXECUTED
 2013868:	d0 07 60 68 	ld  [ %i5 + 0x68 ], %o0                        <== NOT EXECUTED
        free(fs_info->rhash);                                         
 201386c:	d0 07 60 6c 	ld  [ %i5 + 0x6c ], %o0                        <== NOT EXECUTED
 2013870:	7f ff c8 ff 	call  2005c6c <free>                           <== NOT EXECUTED
 2013874:	01 00 00 00 	nop                                            <== NOT EXECUTED
        rtems_set_errno_and_return_minus_one( ENOMEM );               
 2013878:	40 00 1e e2 	call  201b400 <__errno>                        <== NOT EXECUTED
 201387c:	01 00 00 00 	nop                                            <== NOT EXECUTED
 2013880:	82 10 20 0c 	mov  0xc, %g1	! c <PROM_START+0xc>             <== NOT EXECUTED
 2013884:	c2 22 00 00 	st  %g1, [ %o0 ]                               <== NOT EXECUTED
 2013888:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 201388c:	91 e8 3f ff 	restore  %g0, -1, %o0                          <== NOT EXECUTED
    }                                                                 
    fs_info->sec_buf = (uint8_t *)calloc(vol->bps, sizeof(uint8_t));  
 2013890:	d0 17 40 00 	lduh  [ %i5 ], %o0                             
 2013894:	7f ff c7 c3 	call  20057a0 <calloc>                         
 2013898:	92 10 20 01 	mov  1, %o1                                    
 201389c:	d0 27 60 8c 	st  %o0, [ %i5 + 0x8c ]                        
    if (fs_info->sec_buf == NULL)                                     
 20138a0:	80 a2 20 00 	cmp  %o0, 0                                    
 20138a4:	12 bf ff aa 	bne  201374c <fat_init_volume_info+0x5c0>      <== ALWAYS TAKEN
 20138a8:	b0 10 20 00 	clr  %i0                                       
    {                                                                 
        rtems_disk_release(vol->dd);                                  
 20138ac:	d0 07 60 60 	ld  [ %i5 + 0x60 ], %o0                        <== NOT EXECUTED
 20138b0:	7f ff c5 4c 	call  2004de0 <rtems_disk_release>             <== NOT EXECUTED
 20138b4:	b0 10 3f ff 	mov  -1, %i0                                   <== NOT EXECUTED
        free(fs_info->vhash);                                         
 20138b8:	7f ff c8 ed 	call  2005c6c <free>                           <== NOT EXECUTED
 20138bc:	d0 07 60 68 	ld  [ %i5 + 0x68 ], %o0                        <== NOT EXECUTED
        free(fs_info->rhash);                                         
 20138c0:	7f ff c8 eb 	call  2005c6c <free>                           <== NOT EXECUTED
 20138c4:	d0 07 60 6c 	ld  [ %i5 + 0x6c ], %o0                        <== NOT EXECUTED
        free(fs_info->uino);                                          
 20138c8:	7f ff c8 e9 	call  2005c6c <free>                           <== NOT EXECUTED
 20138cc:	d0 07 60 70 	ld  [ %i5 + 0x70 ], %o0                        <== NOT EXECUTED
        rtems_set_errno_and_return_minus_one( ENOMEM );               
 20138d0:	40 00 1e cc 	call  201b400 <__errno>                        <== NOT EXECUTED
 20138d4:	01 00 00 00 	nop                                            <== NOT EXECUTED
 20138d8:	82 10 20 0c 	mov  0xc, %g1	! c <PROM_START+0xc>             <== NOT EXECUTED
 20138dc:	c2 22 00 00 	st  %g1, [ %o0 ]                               <== NOT EXECUTED
    }                                                                 
                                                                      
    return RC_OK;                                                     
}                                                                     
 20138e0:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 20138e4:	81 e8 00 00 	restore                                        <== NOT EXECUTED
                                                                      

02019ef0 <fat_scan_fat_for_free_clusters>: uint32_t *chain, uint32_t count, uint32_t *cls_added, uint32_t *last_cl ) {
 2019ef0:	9d e3 bf 98 	save  %sp, -104, %sp                           
    int            rc = RC_OK;                                        
    fat_fs_info_t *fs_info = mt_entry->fs_info;                       
 2019ef4:	e2 06 20 34 	ld  [ %i0 + 0x34 ], %l1                        
    uint32_t       cl4find = 2;                                       
    uint32_t       next_cln = 0;                                      
 2019ef8:	c0 27 bf fc 	clr  [ %fp + -4 ]                              
    uint32_t       save_cln = 0;                                      
    uint32_t       data_cls_val = fs_info->vol.data_cls + 2;          
 2019efc:	e8 04 60 34 	ld  [ %l1 + 0x34 ], %l4                        
    uint32_t       i = 2;                                             
                                                                      
    *cls_added = 0;                                                   
 2019f00:	c0 26 c0 00 	clr  [ %i3 ]                                   
    uint32_t                             *chain,                      
    uint32_t                              count,                      
    uint32_t                             *cls_added,                  
    uint32_t                             *last_cl                     
    )                                                                 
{                                                                     
 2019f04:	ba 10 00 18 	mov  %i0, %i5                                  
    int            rc = RC_OK;                                        
    fat_fs_info_t *fs_info = mt_entry->fs_info;                       
    uint32_t       cl4find = 2;                                       
    uint32_t       next_cln = 0;                                      
    uint32_t       save_cln = 0;                                      
    uint32_t       data_cls_val = fs_info->vol.data_cls + 2;          
 2019f08:	a8 05 20 02 	add  %l4, 2, %l4                               
    uint32_t       i = 2;                                             
                                                                      
    *cls_added = 0;                                                   
                                                                      
    if (count == 0)                                                   
 2019f0c:	80 a6 a0 00 	cmp  %i2, 0                                    
 2019f10:	02 80 00 16 	be  2019f68 <fat_scan_fat_for_free_clusters+0x78><== NEVER TAKEN
 2019f14:	b0 10 20 00 	clr  %i0                                       
        return rc;                                                    
                                                                      
    if (fs_info->vol.next_cl != FAT_UNDEFINED_VALUE)                  
 2019f18:	e0 04 60 44 	ld  [ %l1 + 0x44 ], %l0                        
 2019f1c:	80 a4 3f ff 	cmp  %l0, -1                                   
 2019f20:	22 80 00 02 	be,a   2019f28 <fat_scan_fat_for_free_clusters+0x38>
 2019f24:	a0 10 20 02 	mov  2, %l0                                    
            }                                                         
        }                                                             
        i++;                                                          
        cl4find++;                                                    
        if (cl4find >= data_cls_val)                                  
            cl4find = 2;                                              
 2019f28:	a6 10 20 02 	mov  2, %l3                                    
 2019f2c:	10 80 00 55 	b  201a080 <fat_scan_fat_for_free_clusters+0x190>
 2019f30:	a4 10 20 00 	clr  %l2                                       
     * starting at cluster 2, so the maximum valid cluster number is  
     * (fs_info->vol.data_cls + 1)                                    
     */                                                               
    while (i < data_cls_val)                                          
    {                                                                 
        rc = fat_get_fat_cluster(mt_entry, cl4find, &next_cln);       
 2019f34:	92 10 00 10 	mov  %l0, %o1                                  
 2019f38:	7f ff fe 9f 	call  20199b4 <fat_get_fat_cluster>            
 2019f3c:	94 07 bf fc 	add  %fp, -4, %o2                              
        if ( rc != RC_OK )                                            
 2019f40:	b0 92 20 00 	orcc  %o0, 0, %i0                              
 2019f44:	02 80 00 0b 	be  2019f70 <fat_scan_fat_for_free_clusters+0x80><== ALWAYS TAKEN
 2019f48:	c2 07 bf fc 	ld  [ %fp + -4 ], %g1                          
        {                                                             
            if (*cls_added != 0)                                      
 2019f4c:	c2 06 c0 00 	ld  [ %i3 ], %g1                               <== NOT EXECUTED
 2019f50:	80 a0 60 00 	cmp  %g1, 0                                    <== NOT EXECUTED
 2019f54:	02 80 00 5b 	be  201a0c0 <fat_scan_fat_for_free_clusters+0x1d0><== NOT EXECUTED
 2019f58:	01 00 00 00 	nop                                            <== NOT EXECUTED
                fat_free_fat_clusters_chain(mt_entry, (*chain));      
 2019f5c:	d2 06 40 00 	ld  [ %i1 ], %o1                               <== NOT EXECUTED
 2019f60:	7f ff ff b4 	call  2019e30 <fat_free_fat_clusters_chain>    <== NOT EXECUTED
 2019f64:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
 2019f68:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2019f6c:	81 e8 00 00 	restore                                        <== NOT EXECUTED
            return rc;                                                
        }                                                             
                                                                      
        if (next_cln == FAT_GENFAT_FREE)                              
 2019f70:	80 a0 60 00 	cmp  %g1, 0                                    
 2019f74:	32 80 00 3f 	bne,a   201a070 <fat_scan_fat_for_free_clusters+0x180>
 2019f78:	a0 04 20 01 	inc  %l0                                       
            /*                                                        
             * We are enforced to process allocation of the first free cluster
             * by separate 'if' statement because otherwise undo function
             * wouldn't work properly                                 
             */                                                       
            if (*cls_added == 0)                                      
 2019f7c:	c2 06 c0 00 	ld  [ %i3 ], %g1                               
 2019f80:	80 a0 60 00 	cmp  %g1, 0                                    
 2019f84:	12 80 00 0b 	bne  2019fb0 <fat_scan_fat_for_free_clusters+0xc0><== NEVER TAKEN
 2019f88:	90 10 00 1d 	mov  %i5, %o0                                  
            {                                                         
                *chain = cl4find;                                     
 2019f8c:	e0 26 40 00 	st  %l0, [ %i1 ]                               
                rc = fat_set_fat_cluster(mt_entry, cl4find, FAT_GENFAT_EOC);
 2019f90:	92 10 00 10 	mov  %l0, %o1                                  
 2019f94:	7f ff fe f8 	call  2019b74 <fat_set_fat_cluster>            
 2019f98:	94 10 3f ff 	mov  -1, %o2                                   
                if ( rc != RC_OK )                                    
 2019f9c:	80 a2 20 00 	cmp  %o0, 0                                    
 2019fa0:	22 80 00 22 	be,a   201a028 <fat_scan_fat_for_free_clusters+0x138><== ALWAYS TAKEN
 2019fa4:	c2 06 c0 00 	ld  [ %i3 ], %g1                               
             * wouldn't work properly                                 
             */                                                       
            if (*cls_added == 0)                                      
            {                                                         
                *chain = cl4find;                                     
                rc = fat_set_fat_cluster(mt_entry, cl4find, FAT_GENFAT_EOC);
 2019fa8:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2019fac:	91 e8 00 08 	restore  %g0, %o0, %o0                         <== NOT EXECUTED
                }                                                     
            }                                                         
            else                                                      
            {                                                         
                /* set EOC value to new allocated cluster */          
                rc = fat_set_fat_cluster(mt_entry, cl4find, FAT_GENFAT_EOC);
 2019fb0:	92 10 00 10 	mov  %l0, %o1                                  <== NOT EXECUTED
 2019fb4:	7f ff fe f0 	call  2019b74 <fat_set_fat_cluster>            <== NOT EXECUTED
 2019fb8:	94 10 3f ff 	mov  -1, %o2                                   <== NOT EXECUTED
 2019fbc:	aa 10 00 08 	mov  %o0, %l5                                  <== NOT EXECUTED
                if ( rc != RC_OK )                                    
 2019fc0:	80 a5 60 00 	cmp  %l5, 0                                    <== NOT EXECUTED
 2019fc4:	02 80 00 07 	be  2019fe0 <fat_scan_fat_for_free_clusters+0xf0><== NOT EXECUTED
 2019fc8:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
                {                                                     
                    /* cleanup activity */                            
                    fat_free_fat_clusters_chain(mt_entry, (*chain));  
 2019fcc:	d2 06 40 00 	ld  [ %i1 ], %o1                               <== NOT EXECUTED
 2019fd0:	7f ff ff 98 	call  2019e30 <fat_free_fat_clusters_chain>    <== NOT EXECUTED
 2019fd4:	b0 10 00 15 	mov  %l5, %i0                                  <== NOT EXECUTED
                    return rc;                                        
 2019fd8:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2019fdc:	81 e8 00 00 	restore                                        <== NOT EXECUTED
                }                                                     
                                                                      
                rc = fat_set_fat_cluster(mt_entry, save_cln, cl4find);
 2019fe0:	92 10 00 12 	mov  %l2, %o1                                  <== NOT EXECUTED
 2019fe4:	7f ff fe e4 	call  2019b74 <fat_set_fat_cluster>            <== NOT EXECUTED
 2019fe8:	94 10 00 10 	mov  %l0, %o2                                  <== NOT EXECUTED
                if ( rc != RC_OK )                                    
 2019fec:	a4 92 20 00 	orcc  %o0, 0, %l2                              <== NOT EXECUTED
 2019ff0:	22 80 00 0e 	be,a   201a028 <fat_scan_fat_for_free_clusters+0x138><== NOT EXECUTED
 2019ff4:	c2 06 c0 00 	ld  [ %i3 ], %g1                               <== NOT EXECUTED
                {                                                     
                    /* cleanup activity */                            
                    fat_free_fat_clusters_chain(mt_entry, (*chain));  
 2019ff8:	d2 06 40 00 	ld  [ %i1 ], %o1                               <== NOT EXECUTED
 2019ffc:	7f ff ff 8d 	call  2019e30 <fat_free_fat_clusters_chain>    <== NOT EXECUTED
 201a000:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
                    /* trying to save last allocated cluster for future use */
                    fat_set_fat_cluster(mt_entry, cl4find, FAT_GENFAT_FREE);
 201a004:	92 10 00 10 	mov  %l0, %o1                                  <== NOT EXECUTED
 201a008:	94 10 20 00 	clr  %o2                                       <== NOT EXECUTED
 201a00c:	7f ff fe da 	call  2019b74 <fat_set_fat_cluster>            <== NOT EXECUTED
 201a010:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
                    fat_buf_release(fs_info);                         
 201a014:	90 10 00 11 	mov  %l1, %o0                                  <== NOT EXECUTED
 201a018:	7f ff e2 ca 	call  2012b40 <fat_buf_release>                <== NOT EXECUTED
 201a01c:	b0 10 00 12 	mov  %l2, %i0                                  <== NOT EXECUTED
                    return rc;                                        
 201a020:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 201a024:	81 e8 00 00 	restore                                        <== NOT EXECUTED
                }                                                     
            }                                                         
                                                                      
            save_cln = cl4find;                                       
            (*cls_added)++;                                           
 201a028:	82 00 60 01 	inc  %g1                                       
                                                                      
            /* have we satisfied request ? */                         
            if (*cls_added == count)                                  
 201a02c:	80 a0 40 1a 	cmp  %g1, %i2                                  
 201a030:	12 80 00 0e 	bne  201a068 <fat_scan_fat_for_free_clusters+0x178><== NEVER TAKEN
 201a034:	c2 26 c0 00 	st  %g1, [ %i3 ]                               
            {                                                         
                    fs_info->vol.next_cl = save_cln;                  
                    if (fs_info->vol.free_cls != 0xFFFFFFFF)          
 201a038:	c2 04 60 40 	ld  [ %l1 + 0x40 ], %g1                        
 201a03c:	80 a0 7f ff 	cmp  %g1, -1                                   
 201a040:	02 80 00 05 	be  201a054 <fat_scan_fat_for_free_clusters+0x164><== ALWAYS TAKEN
 201a044:	e0 24 60 44 	st  %l0, [ %l1 + 0x44 ]                        
                        fs_info->vol.free_cls -= (*cls_added);        
 201a048:	c4 06 c0 00 	ld  [ %i3 ], %g2                               <== NOT EXECUTED
 201a04c:	82 20 40 02 	sub  %g1, %g2, %g1                             <== NOT EXECUTED
 201a050:	c2 24 60 40 	st  %g1, [ %l1 + 0x40 ]                        <== NOT EXECUTED
                *last_cl = save_cln;                                  
 201a054:	e0 27 00 00 	st  %l0, [ %i4 ]                               
                fat_buf_release(fs_info);                             
 201a058:	7f ff e2 ba 	call  2012b40 <fat_buf_release>                
 201a05c:	90 10 00 11 	mov  %l1, %o0                                  
                return rc;                                            
 201a060:	81 c7 e0 08 	ret                                            
 201a064:	81 e8 00 00 	restore                                        
                                                                      
            save_cln = cl4find;                                       
            (*cls_added)++;                                           
                                                                      
            /* have we satisfied request ? */                         
            if (*cls_added == count)                                  
 201a068:	a4 10 00 10 	mov  %l0, %l2                                  <== NOT EXECUTED
                fat_buf_release(fs_info);                             
                return rc;                                            
            }                                                         
        }                                                             
        i++;                                                          
        cl4find++;                                                    
 201a06c:	a0 04 20 01 	inc  %l0                                       <== NOT EXECUTED
        if (cl4find >= data_cls_val)                                  
 201a070:	80 a4 00 14 	cmp  %l0, %l4                                  
 201a074:	0a 80 00 03 	bcs  201a080 <fat_scan_fat_for_free_clusters+0x190><== ALWAYS TAKEN
 201a078:	a6 04 e0 01 	inc  %l3                                       
            cl4find = 2;                                              
 201a07c:	a0 10 20 02 	mov  2, %l0                                    <== NOT EXECUTED
    /*                                                                
     * fs_info->vol.data_cls is exactly the count of data clusters    
     * starting at cluster 2, so the maximum valid cluster number is  
     * (fs_info->vol.data_cls + 1)                                    
     */                                                               
    while (i < data_cls_val)                                          
 201a080:	80 a4 c0 14 	cmp  %l3, %l4                                  
 201a084:	0a bf ff ac 	bcs  2019f34 <fat_scan_fat_for_free_clusters+0x44><== ALWAYS TAKEN
 201a088:	90 10 00 1d 	mov  %i5, %o0                                  
        if (cl4find >= data_cls_val)                                  
            cl4find = 2;                                              
    }                                                                 
                                                                      
        fs_info->vol.next_cl = save_cln;                              
        if (fs_info->vol.free_cls != 0xFFFFFFFF)                      
 201a08c:	c2 04 60 40 	ld  [ %l1 + 0x40 ], %g1                        <== NOT EXECUTED
 201a090:	80 a0 7f ff 	cmp  %g1, -1                                   <== NOT EXECUTED
 201a094:	02 80 00 05 	be  201a0a8 <fat_scan_fat_for_free_clusters+0x1b8><== NOT EXECUTED
 201a098:	e4 24 60 44 	st  %l2, [ %l1 + 0x44 ]                        <== NOT EXECUTED
            fs_info->vol.free_cls -= (*cls_added);                    
 201a09c:	c4 06 c0 00 	ld  [ %i3 ], %g2                               <== NOT EXECUTED
 201a0a0:	82 20 40 02 	sub  %g1, %g2, %g1                             <== NOT EXECUTED
 201a0a4:	c2 24 60 40 	st  %g1, [ %l1 + 0x40 ]                        <== NOT EXECUTED
                                                                      
    *last_cl = save_cln;                                              
 201a0a8:	e4 27 00 00 	st  %l2, [ %i4 ]                               <== NOT EXECUTED
    fat_buf_release(fs_info);                                         
 201a0ac:	90 10 00 11 	mov  %l1, %o0                                  <== NOT EXECUTED
 201a0b0:	7f ff e2 a4 	call  2012b40 <fat_buf_release>                <== NOT EXECUTED
 201a0b4:	b0 10 20 00 	clr  %i0                                       <== NOT EXECUTED
    return RC_OK;                                                     
 201a0b8:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 201a0bc:	81 e8 00 00 	restore                                        <== NOT EXECUTED
}                                                                     
 201a0c0:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 201a0c4:	81 e8 00 00 	restore                                        <== NOT EXECUTED
                                                                      

02019b74 <fat_set_fat_cluster>: fat_set_fat_cluster( rtems_filesystem_mount_table_entry_t *mt_entry, uint32_t cln, uint32_t in_val ) {
 2019b74:	9d e3 bf 98 	save  %sp, -104, %sp                           
    fat_fs_info_t      *fs_info = mt_entry->fs_info;                  
    uint32_t            sec = 0;                                      
    uint32_t            ofs = 0;                                      
    uint16_t            fat16_clv = 0;                                
    uint32_t            fat32_clv = 0;                                
    rtems_bdbuf_buffer *block0 = NULL;                                
 2019b78:	c0 27 bf fc 	clr  [ %fp + -4 ]                              
                                                                      
    /* sanity check */                                                
    if ( (cln < 2) || (cln > (fs_info->vol.data_cls + 1)) )           
 2019b7c:	80 a6 60 01 	cmp  %i1, 1                                    
 2019b80:	08 80 00 07 	bleu  2019b9c <fat_set_fat_cluster+0x28>       <== NEVER TAKEN
 2019b84:	fa 06 20 34 	ld  [ %i0 + 0x34 ], %i5                        
 2019b88:	c2 07 60 34 	ld  [ %i5 + 0x34 ], %g1                        
 2019b8c:	82 00 60 01 	inc  %g1                                       
 2019b90:	80 a6 40 01 	cmp  %i1, %g1                                  
 2019b94:	28 80 00 08 	bleu,a   2019bb4 <fat_set_fat_cluster+0x40>    <== ALWAYS TAKEN
 2019b98:	c2 0f 60 0a 	ldub  [ %i5 + 0xa ], %g1                       
        rtems_set_errno_and_return_minus_one(EIO);                    
 2019b9c:	40 00 06 19 	call  201b400 <__errno>                        <== NOT EXECUTED
 2019ba0:	b0 10 3f ff 	mov  -1, %i0                                   <== NOT EXECUTED
 2019ba4:	82 10 20 05 	mov  5, %g1                                    <== NOT EXECUTED
 2019ba8:	c2 22 00 00 	st  %g1, [ %o0 ]                               <== NOT EXECUTED
 2019bac:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2019bb0:	81 e8 00 00 	restore                                        <== NOT EXECUTED
                                                                      
    sec = (FAT_FAT_OFFSET(fs_info->vol.type, cln) >> fs_info->vol.sec_log2) +
 2019bb4:	b7 36 60 01 	srl  %i1, 1, %i3                               
 2019bb8:	84 88 60 01 	andcc  %g1, 1, %g2                             
 2019bbc:	12 80 00 06 	bne  2019bd4 <fat_set_fat_cluster+0x60>        <== ALWAYS TAKEN
 2019bc0:	b6 06 c0 19 	add  %i3, %i1, %i3                             
 2019bc4:	80 88 60 02 	btst  2, %g1                                   <== NOT EXECUTED
 2019bc8:	02 80 00 03 	be  2019bd4 <fat_set_fat_cluster+0x60>         <== NOT EXECUTED
 2019bcc:	b7 2e 60 02 	sll  %i1, 2, %i3                               <== NOT EXECUTED
 2019bd0:	b7 2e 60 01 	sll  %i1, 1, %i3                               <== NOT EXECUTED
 2019bd4:	c6 0f 60 02 	ldub  [ %i5 + 2 ], %g3                         
          fs_info->vol.afat_loc;                                      
    ofs = FAT_FAT_OFFSET(fs_info->vol.type, cln) & (fs_info->vol.bps - 1);
 2019bd8:	b9 36 60 01 	srl  %i1, 1, %i4                               
                                                                      
    /* sanity check */                                                
    if ( (cln < 2) || (cln > (fs_info->vol.data_cls + 1)) )           
        rtems_set_errno_and_return_minus_one(EIO);                    
                                                                      
    sec = (FAT_FAT_OFFSET(fs_info->vol.type, cln) >> fs_info->vol.sec_log2) +
 2019bdc:	b7 36 c0 03 	srl  %i3, %g3, %i3                             
 2019be0:	c6 07 60 4c 	ld  [ %i5 + 0x4c ], %g3                        
          fs_info->vol.afat_loc;                                      
    ofs = FAT_FAT_OFFSET(fs_info->vol.type, cln) & (fs_info->vol.bps - 1);
 2019be4:	b8 07 00 19 	add  %i4, %i1, %i4                             
 2019be8:	80 a0 a0 00 	cmp  %g2, 0                                    
 2019bec:	12 80 00 06 	bne  2019c04 <fat_set_fat_cluster+0x90>        <== ALWAYS TAKEN
 2019bf0:	b6 06 c0 03 	add  %i3, %g3, %i3                             
 2019bf4:	80 88 60 02 	btst  2, %g1                                   <== NOT EXECUTED
 2019bf8:	02 80 00 03 	be  2019c04 <fat_set_fat_cluster+0x90>         <== NOT EXECUTED
 2019bfc:	b9 2e 60 02 	sll  %i1, 2, %i4                               <== NOT EXECUTED
 2019c00:	b9 2e 60 01 	sll  %i1, 1, %i4                               <== NOT EXECUTED
 2019c04:	e0 17 40 00 	lduh  [ %i5 ], %l0                             
                                                                      
    rc = fat_buf_access(fs_info, sec, FAT_OP_TYPE_READ, &block0);     
 2019c08:	90 10 00 1d 	mov  %i5, %o0                                  
 2019c0c:	92 10 00 1b 	mov  %i3, %o1                                  
 2019c10:	94 10 20 01 	mov  1, %o2                                    
 2019c14:	7f ff e3 4c 	call  2012944 <fat_buf_access>                 
 2019c18:	96 07 bf fc 	add  %fp, -4, %o3                              
    if (rc != RC_OK)                                                  
 2019c1c:	b0 92 20 00 	orcc  %o0, 0, %i0                              
 2019c20:	12 bf ff e3 	bne  2019bac <fat_set_fat_cluster+0x38>        <== NEVER TAKEN
 2019c24:	a1 2c 20 10 	sll  %l0, 0x10, %l0                            
    if ( (cln < 2) || (cln > (fs_info->vol.data_cls + 1)) )           
        rtems_set_errno_and_return_minus_one(EIO);                    
                                                                      
    sec = (FAT_FAT_OFFSET(fs_info->vol.type, cln) >> fs_info->vol.sec_log2) +
          fs_info->vol.afat_loc;                                      
    ofs = FAT_FAT_OFFSET(fs_info->vol.type, cln) & (fs_info->vol.bps - 1);
 2019c28:	a1 34 20 10 	srl  %l0, 0x10, %l0                            
 2019c2c:	a0 04 3f ff 	add  %l0, -1, %l0                              
 2019c30:	a0 0f 00 10 	and  %i4, %l0, %l0                             
                                                                      
    rc = fat_buf_access(fs_info, sec, FAT_OP_TYPE_READ, &block0);     
    if (rc != RC_OK)                                                  
        return rc;                                                    
                                                                      
    switch ( fs_info->vol.type )                                      
 2019c34:	f8 0f 60 0a 	ldub  [ %i5 + 0xa ], %i4                       
 2019c38:	80 a7 20 02 	cmp  %i4, 2                                    
 2019c3c:	02 80 00 5f 	be  2019db8 <fat_set_fat_cluster+0x244>        <== NEVER TAKEN
 2019c40:	80 a7 20 04 	cmp  %i4, 4                                    
 2019c44:	02 80 00 65 	be  2019dd8 <fat_set_fat_cluster+0x264>        <== NEVER TAKEN
 2019c48:	80 a7 20 01 	cmp  %i4, 1                                    
 2019c4c:	12 80 00 73 	bne  2019e18 <fat_set_fat_cluster+0x2a4>       <== NEVER TAKEN
 2019c50:	80 8e 60 01 	btst  1, %i1                                   
    {                                                                 
        case FAT_FAT12:                                               
            if ( FAT_CLUSTER_IS_ODD(cln) )                            
 2019c54:	02 80 00 29 	be  2019cf8 <fat_set_fat_cluster+0x184>        
 2019c58:	c2 07 bf fc 	ld  [ %fp + -4 ], %g1                          
            {                                                         
                fat16_clv = ((uint16_t  )in_val) << FAT_FAT12_SHIFT;  
                *((uint8_t   *)(block0->buffer + ofs)) =              
                        (*((uint8_t   *)(block0->buffer + ofs))) & 0x0F;
 2019c5c:	c2 00 60 24 	ld  [ %g1 + 0x24 ], %g1                        
    {                                                                 
        case FAT_FAT12:                                               
            if ( FAT_CLUSTER_IS_ODD(cln) )                            
            {                                                         
                fat16_clv = ((uint16_t  )in_val) << FAT_FAT12_SHIFT;  
                *((uint8_t   *)(block0->buffer + ofs)) =              
 2019c60:	c4 08 40 10 	ldub  [ %g1 + %l0 ], %g2                       
 2019c64:	84 08 a0 0f 	and  %g2, 0xf, %g2                             
 2019c68:	c4 28 40 10 	stb  %g2, [ %g1 + %l0 ]                        
                        (*((uint8_t   *)(block0->buffer + ofs))) & 0x0F;
                                                                      
                *((uint8_t   *)(block0->buffer + ofs)) =              
                        (*((uint8_t   *)(block0->buffer + ofs))) |    
 2019c6c:	c2 07 bf fc 	ld  [ %fp + -4 ], %g1                          
            {                                                         
                fat16_clv = ((uint16_t  )in_val) << FAT_FAT12_SHIFT;  
                *((uint8_t   *)(block0->buffer + ofs)) =              
                        (*((uint8_t   *)(block0->buffer + ofs))) & 0x0F;
                                                                      
                *((uint8_t   *)(block0->buffer + ofs)) =              
 2019c70:	85 2e a0 04 	sll  %i2, 4, %g2                               
                        (*((uint8_t   *)(block0->buffer + ofs))) |    
 2019c74:	c2 00 60 24 	ld  [ %g1 + 0x24 ], %g1                        
            {                                                         
                fat16_clv = ((uint16_t  )in_val) << FAT_FAT12_SHIFT;  
                *((uint8_t   *)(block0->buffer + ofs)) =              
                        (*((uint8_t   *)(block0->buffer + ofs))) & 0x0F;
                                                                      
                *((uint8_t   *)(block0->buffer + ofs)) =              
 2019c78:	c6 08 40 10 	ldub  [ %g1 + %l0 ], %g3                       
 2019c7c:	84 10 c0 02 	or  %g3, %g2, %g2                              
 2019c80:	c4 28 40 10 	stb  %g2, [ %g1 + %l0 ]                        
                        (*((uint8_t   *)(block0->buffer + ofs))) |    
                        (uint8_t  )(fat16_clv & 0x00FF);              
                                                                      
                fat_buf_mark_modified(fs_info);                       
                                                                      
                if ( ofs == (fs_info->vol.bps - 1) )                  
 2019c84:	c2 17 40 00 	lduh  [ %i5 ], %g1                             
 2019c88:	82 00 7f ff 	add  %g1, -1, %g1                              
 2019c8c:	80 a4 00 01 	cmp  %l0, %g1                                  
 2019c90:	12 80 00 11 	bne  2019cd4 <fat_set_fat_cluster+0x160>       <== ALWAYS TAKEN
 2019c94:	f8 2f 60 84 	stb  %i4, [ %i5 + 0x84 ]                       
                {                                                     
                    rc = fat_buf_access(fs_info, sec + 1, FAT_OP_TYPE_READ,
 2019c98:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
 2019c9c:	92 06 e0 01 	add  %i3, 1, %o1                               <== NOT EXECUTED
 2019ca0:	94 10 20 01 	mov  1, %o2                                    <== NOT EXECUTED
 2019ca4:	7f ff e3 28 	call  2012944 <fat_buf_access>                 <== NOT EXECUTED
 2019ca8:	96 07 bf fc 	add  %fp, -4, %o3                              <== NOT EXECUTED
                                        &block0);                     
                    if (rc != RC_OK)                                  
 2019cac:	b0 92 20 00 	orcc  %o0, 0, %i0                              <== NOT EXECUTED
 2019cb0:	12 bf ff bf 	bne  2019bac <fat_set_fat_cluster+0x38>        <== NOT EXECUTED
 2019cb4:	c2 07 bf fc 	ld  [ %fp + -4 ], %g1                          <== NOT EXECUTED
                                                                      
                     *((uint8_t   *)(block0->buffer)) &= 0x00;        
                                                                      
                     *((uint8_t   *)(block0->buffer)) =               
                            (*((uint8_t   *)(block0->buffer))) |      
                            (uint8_t  )((fat16_clv & 0xFF00)>>8);     
 2019cb8:	b5 2e a0 14 	sll  %i2, 0x14, %i2                            <== NOT EXECUTED
                    rc = fat_buf_access(fs_info, sec + 1, FAT_OP_TYPE_READ,
                                        &block0);                     
                    if (rc != RC_OK)                                  
                        return rc;                                    
                                                                      
                     *((uint8_t   *)(block0->buffer)) &= 0x00;        
 2019cbc:	c2 00 60 24 	ld  [ %g1 + 0x24 ], %g1                        <== NOT EXECUTED
                                                                      
                     *((uint8_t   *)(block0->buffer)) =               
                            (*((uint8_t   *)(block0->buffer))) |      
                            (uint8_t  )((fat16_clv & 0xFF00)>>8);     
 2019cc0:	b5 36 a0 18 	srl  %i2, 0x18, %i2                            <== NOT EXECUTED
                    rc = fat_buf_access(fs_info, sec + 1, FAT_OP_TYPE_READ,
                                        &block0);                     
                    if (rc != RC_OK)                                  
                        return rc;                                    
                                                                      
                     *((uint8_t   *)(block0->buffer)) &= 0x00;        
 2019cc4:	c0 28 40 00 	clrb  [ %g1 ]                                  <== NOT EXECUTED
                                                                      
                     *((uint8_t   *)(block0->buffer)) =               
                            (*((uint8_t   *)(block0->buffer))) |      
 2019cc8:	c2 07 bf fc 	ld  [ %fp + -4 ], %g1                          <== NOT EXECUTED
 2019ccc:	10 80 00 27 	b  2019d68 <fat_set_fat_cluster+0x1f4>         <== NOT EXECUTED
 2019cd0:	c2 00 60 24 	ld  [ %g1 + 0x24 ], %g1                        <== NOT EXECUTED
                                                                      
                     fat_buf_mark_modified(fs_info);                  
                }                                                     
                else                                                  
                {                                                     
                    *((uint8_t   *)(block0->buffer + ofs + 1)) &= 0x00;
 2019cd4:	c2 07 bf fc 	ld  [ %fp + -4 ], %g1                          
 2019cd8:	a0 04 20 01 	inc  %l0                                       
 2019cdc:	c2 00 60 24 	ld  [ %g1 + 0x24 ], %g1                        
                                                                      
                    *((uint8_t   *)(block0->buffer + ofs + 1)) =      
                            (*((uint8_t   *)(block0->buffer + ofs + 1))) |
                            (uint8_t  )((fat16_clv & 0xFF00)>>8);     
 2019ce0:	b5 2e a0 14 	sll  %i2, 0x14, %i2                            
                                                                      
                     fat_buf_mark_modified(fs_info);                  
                }                                                     
                else                                                  
                {                                                     
                    *((uint8_t   *)(block0->buffer + ofs + 1)) &= 0x00;
 2019ce4:	c0 28 40 10 	clrb  [ %g1 + %l0 ]                            
                                                                      
                    *((uint8_t   *)(block0->buffer + ofs + 1)) =      
                            (*((uint8_t   *)(block0->buffer + ofs + 1))) |
 2019ce8:	c2 07 bf fc 	ld  [ %fp + -4 ], %g1                          
                            (uint8_t  )((fat16_clv & 0xFF00)>>8);     
 2019cec:	b5 36 a0 18 	srl  %i2, 0x18, %i2                            
                else                                                  
                {                                                     
                    *((uint8_t   *)(block0->buffer + ofs + 1)) &= 0x00;
                                                                      
                    *((uint8_t   *)(block0->buffer + ofs + 1)) =      
                            (*((uint8_t   *)(block0->buffer + ofs + 1))) |
 2019cf0:	10 80 00 2d 	b  2019da4 <fat_set_fat_cluster+0x230>         
 2019cf4:	c2 00 60 24 	ld  [ %g1 + 0x24 ], %g1                        
                }                                                     
            }                                                         
            else                                                      
            {                                                         
                fat16_clv = ((uint16_t  )in_val) & FAT_FAT12_MASK;    
                *((uint8_t   *)(block0->buffer + ofs)) &= 0x00;       
 2019cf8:	c2 00 60 24 	ld  [ %g1 + 0x24 ], %g1                        
                            (uint8_t  )((fat16_clv & 0xFF00)>>8);     
                }                                                     
            }                                                         
            else                                                      
            {                                                         
                fat16_clv = ((uint16_t  )in_val) & FAT_FAT12_MASK;    
 2019cfc:	b4 0e af ff 	and  %i2, 0xfff, %i2                           
                *((uint8_t   *)(block0->buffer + ofs)) &= 0x00;       
 2019d00:	c0 28 40 10 	clrb  [ %g1 + %l0 ]                            
                                                                      
                *((uint8_t   *)(block0->buffer + ofs)) =              
                        (*((uint8_t   *)(block0->buffer + ofs))) |    
 2019d04:	c2 07 bf fc 	ld  [ %fp + -4 ], %g1                          
 2019d08:	c2 00 60 24 	ld  [ %g1 + 0x24 ], %g1                        
            else                                                      
            {                                                         
                fat16_clv = ((uint16_t  )in_val) & FAT_FAT12_MASK;    
                *((uint8_t   *)(block0->buffer + ofs)) &= 0x00;       
                                                                      
                *((uint8_t   *)(block0->buffer + ofs)) =              
 2019d0c:	c4 08 40 10 	ldub  [ %g1 + %l0 ], %g2                       
 2019d10:	84 16 80 02 	or  %i2, %g2, %g2                              
 2019d14:	c4 28 40 10 	stb  %g2, [ %g1 + %l0 ]                        
                        (*((uint8_t   *)(block0->buffer + ofs))) |    
                        (uint8_t  )(fat16_clv & 0x00FF);              
                                                                      
                fat_buf_mark_modified(fs_info);                       
                                                                      
                if ( ofs == (fs_info->vol.bps - 1) )                  
 2019d18:	c2 17 40 00 	lduh  [ %i5 ], %g1                             
 2019d1c:	82 00 7f ff 	add  %g1, -1, %g1                              
 2019d20:	80 a4 00 01 	cmp  %l0, %g1                                  
 2019d24:	12 80 00 17 	bne  2019d80 <fat_set_fat_cluster+0x20c>       <== ALWAYS TAKEN
 2019d28:	f8 2f 60 84 	stb  %i4, [ %i5 + 0x84 ]                       
                {                                                     
                    rc = fat_buf_access(fs_info, sec + 1, FAT_OP_TYPE_READ,
 2019d2c:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
 2019d30:	92 06 e0 01 	add  %i3, 1, %o1                               <== NOT EXECUTED
 2019d34:	94 10 20 01 	mov  1, %o2                                    <== NOT EXECUTED
 2019d38:	7f ff e3 03 	call  2012944 <fat_buf_access>                 <== NOT EXECUTED
 2019d3c:	96 07 bf fc 	add  %fp, -4, %o3                              <== NOT EXECUTED
                                        &block0);                     
                    if (rc != RC_OK)                                  
 2019d40:	b0 92 20 00 	orcc  %o0, 0, %i0                              <== NOT EXECUTED
 2019d44:	12 bf ff 9a 	bne  2019bac <fat_set_fat_cluster+0x38>        <== NOT EXECUTED
 2019d48:	c2 07 bf fc 	ld  [ %fp + -4 ], %g1                          <== NOT EXECUTED
                    *((uint8_t   *)(block0->buffer)) =                
                            (*((uint8_t   *)(block0->buffer))) & 0xF0;
                                                                      
                    *((uint8_t   *)(block0->buffer)) =                
                            (*((uint8_t   *)(block0->buffer))) |      
                            (uint8_t  )((fat16_clv & 0xFF00)>>8);     
 2019d4c:	b5 36 a0 08 	srl  %i2, 8, %i2                               <== NOT EXECUTED
                                        &block0);                     
                    if (rc != RC_OK)                                  
                        return rc;                                    
                                                                      
                    *((uint8_t   *)(block0->buffer)) =                
                            (*((uint8_t   *)(block0->buffer))) & 0xF0;
 2019d50:	c2 00 60 24 	ld  [ %g1 + 0x24 ], %g1                        <== NOT EXECUTED
                    rc = fat_buf_access(fs_info, sec + 1, FAT_OP_TYPE_READ,
                                        &block0);                     
                    if (rc != RC_OK)                                  
                        return rc;                                    
                                                                      
                    *((uint8_t   *)(block0->buffer)) =                
 2019d54:	c4 08 40 00 	ldub  [ %g1 ], %g2                             <== NOT EXECUTED
 2019d58:	84 08 bf f0 	and  %g2, -16, %g2                             <== NOT EXECUTED
 2019d5c:	c4 28 40 00 	stb  %g2, [ %g1 ]                              <== NOT EXECUTED
                            (*((uint8_t   *)(block0->buffer))) & 0xF0;
                                                                      
                    *((uint8_t   *)(block0->buffer)) =                
                            (*((uint8_t   *)(block0->buffer))) |      
 2019d60:	c2 07 bf fc 	ld  [ %fp + -4 ], %g1                          <== NOT EXECUTED
 2019d64:	c2 00 60 24 	ld  [ %g1 + 0x24 ], %g1                        <== NOT EXECUTED
                        return rc;                                    
                                                                      
                    *((uint8_t   *)(block0->buffer)) =                
                            (*((uint8_t   *)(block0->buffer))) & 0xF0;
                                                                      
                    *((uint8_t   *)(block0->buffer)) =                
 2019d68:	c4 08 40 00 	ldub  [ %g1 ], %g2                             <== NOT EXECUTED
 2019d6c:	b4 16 80 02 	or  %i2, %g2, %i2                              <== NOT EXECUTED
 2019d70:	f4 28 40 00 	stb  %i2, [ %g1 ]                              <== NOT EXECUTED
}                                                                     
                                                                      
static inline void                                                    
fat_buf_mark_modified(fat_fs_info_t *fs_info)                         
{                                                                     
    fs_info->c.modified = true;                                       
 2019d74:	f8 2f 60 84 	stb  %i4, [ %i5 + 0x84 ]                       <== NOT EXECUTED
 2019d78:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2019d7c:	81 e8 00 00 	restore                                        <== NOT EXECUTED
                    fat_buf_mark_modified(fs_info);                   
                }                                                     
                else                                                  
                {                                                     
                    *((uint8_t   *)(block0->buffer + ofs + 1)) =      
                      (*((uint8_t   *)(block0->buffer + ofs + 1))) & 0xF0;
 2019d80:	c2 07 bf fc 	ld  [ %fp + -4 ], %g1                          
 2019d84:	a0 04 20 01 	inc  %l0                                       
 2019d88:	c2 00 60 24 	ld  [ %g1 + 0x24 ], %g1                        
                                                                      
                    *((uint8_t   *)(block0->buffer + ofs+1)) =        
                           (*((uint8_t   *)(block0->buffer + ofs+1))) |
                           (uint8_t  )((fat16_clv & 0xFF00)>>8);      
 2019d8c:	b5 36 a0 08 	srl  %i2, 8, %i2                               
                                                                      
                    fat_buf_mark_modified(fs_info);                   
                }                                                     
                else                                                  
                {                                                     
                    *((uint8_t   *)(block0->buffer + ofs + 1)) =      
 2019d90:	c4 08 40 10 	ldub  [ %g1 + %l0 ], %g2                       
 2019d94:	84 08 bf f0 	and  %g2, -16, %g2                             
 2019d98:	c4 28 40 10 	stb  %g2, [ %g1 + %l0 ]                        
                      (*((uint8_t   *)(block0->buffer + ofs + 1))) & 0xF0;
                                                                      
                    *((uint8_t   *)(block0->buffer + ofs+1)) =        
                           (*((uint8_t   *)(block0->buffer + ofs+1))) |
 2019d9c:	c2 07 bf fc 	ld  [ %fp + -4 ], %g1                          
 2019da0:	c2 00 60 24 	ld  [ %g1 + 0x24 ], %g1                        
                else                                                  
                {                                                     
                    *((uint8_t   *)(block0->buffer + ofs + 1)) =      
                      (*((uint8_t   *)(block0->buffer + ofs + 1))) & 0xF0;
                                                                      
                    *((uint8_t   *)(block0->buffer + ofs+1)) =        
 2019da4:	c4 08 40 10 	ldub  [ %g1 + %l0 ], %g2                       
 2019da8:	b4 10 80 1a 	or  %g2, %i2, %i2                              
 2019dac:	f4 28 40 10 	stb  %i2, [ %g1 + %l0 ]                        
 2019db0:	81 c7 e0 08 	ret                                            
 2019db4:	81 e8 00 00 	restore                                        
                }                                                     
            }                                                         
            break;                                                    
                                                                      
        case FAT_FAT16:                                               
            *((uint16_t   *)(block0->buffer + ofs)) =                 
 2019db8:	c2 07 bf fc 	ld  [ %fp + -4 ], %g1                          <== NOT EXECUTED
                    (uint16_t  )(CT_LE_W(in_val));                    
 2019dbc:	b5 2e a0 10 	sll  %i2, 0x10, %i2                            <== NOT EXECUTED
                }                                                     
            }                                                         
            break;                                                    
                                                                      
        case FAT_FAT16:                                               
            *((uint16_t   *)(block0->buffer + ofs)) =                 
 2019dc0:	c2 00 60 24 	ld  [ %g1 + 0x24 ], %g1                        <== NOT EXECUTED
                    (uint16_t  )(CT_LE_W(in_val));                    
 2019dc4:	85 36 a0 08 	srl  %i2, 8, %g2                               <== NOT EXECUTED
 2019dc8:	b5 36 a0 18 	srl  %i2, 0x18, %i2                            <== NOT EXECUTED
 2019dcc:	b4 10 80 1a 	or  %g2, %i2, %i2                              <== NOT EXECUTED
                }                                                     
            }                                                         
            break;                                                    
                                                                      
        case FAT_FAT16:                                               
            *((uint16_t   *)(block0->buffer + ofs)) =                 
 2019dd0:	10 80 00 0e 	b  2019e08 <fat_set_fat_cluster+0x294>         <== NOT EXECUTED
 2019dd4:	f4 30 40 10 	sth  %i2, [ %g1 + %l0 ]                        <== NOT EXECUTED
                    (uint16_t  )(CT_LE_W(in_val));                    
            fat_buf_mark_modified(fs_info);                           
            break;                                                    
                                                                      
        case FAT_FAT32:                                               
            fat32_clv = CT_LE_L((in_val & FAT_FAT32_MASK));           
 2019dd8:	11 3c 00 00 	sethi  %hi(0xf0000000), %o0                    <== NOT EXECUTED
 2019ddc:	7f ff fe ea 	call  2019984 <CPU_swap_u32>                   <== NOT EXECUTED
 2019de0:	90 2e 80 08 	andn  %i2, %o0, %o0                            <== NOT EXECUTED
                                                                      
            *((uint32_t   *)(block0->buffer + ofs)) =                 
            (*((uint32_t   *)(block0->buffer + ofs))) & (CT_LE_L(0xF0000000));
 2019de4:	c2 07 bf fc 	ld  [ %fp + -4 ], %g1                          <== NOT EXECUTED
                    (uint16_t  )(CT_LE_W(in_val));                    
            fat_buf_mark_modified(fs_info);                           
            break;                                                    
                                                                      
        case FAT_FAT32:                                               
            fat32_clv = CT_LE_L((in_val & FAT_FAT32_MASK));           
 2019de8:	b6 10 00 08 	mov  %o0, %i3                                  <== NOT EXECUTED
                                                                      
            *((uint32_t   *)(block0->buffer + ofs)) =                 
            (*((uint32_t   *)(block0->buffer + ofs))) & (CT_LE_L(0xF0000000));
 2019dec:	f8 00 60 24 	ld  [ %g1 + 0x24 ], %i4                        <== NOT EXECUTED
 2019df0:	7f ff fe e5 	call  2019984 <CPU_swap_u32>                   <== NOT EXECUTED
 2019df4:	11 3c 00 00 	sethi  %hi(0xf0000000), %o0                    <== NOT EXECUTED
 2019df8:	c2 07 00 10 	ld  [ %i4 + %l0 ], %g1                         <== NOT EXECUTED
 2019dfc:	82 0a 00 01 	and  %o0, %g1, %g1                             <== NOT EXECUTED
                                                                      
            *((uint32_t   *)(block0->buffer + ofs)) =                 
                   fat32_clv | (*((uint32_t   *)(block0->buffer + ofs)));
 2019e00:	b6 10 40 1b 	or  %g1, %i3, %i3                              <== NOT EXECUTED
            fat32_clv = CT_LE_L((in_val & FAT_FAT32_MASK));           
                                                                      
            *((uint32_t   *)(block0->buffer + ofs)) =                 
            (*((uint32_t   *)(block0->buffer + ofs))) & (CT_LE_L(0xF0000000));
                                                                      
            *((uint32_t   *)(block0->buffer + ofs)) =                 
 2019e04:	f6 27 00 10 	st  %i3, [ %i4 + %l0 ]                         <== NOT EXECUTED
 2019e08:	82 10 20 01 	mov  1, %g1                                    <== NOT EXECUTED
 2019e0c:	c2 2f 60 84 	stb  %g1, [ %i5 + 0x84 ]                       <== NOT EXECUTED
 2019e10:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2019e14:	81 e8 00 00 	restore                                        <== NOT EXECUTED
                                                                      
            fat_buf_mark_modified(fs_info);                           
            break;                                                    
                                                                      
        default:                                                      
            rtems_set_errno_and_return_minus_one(EIO);                
 2019e18:	40 00 05 7a 	call  201b400 <__errno>                        <== NOT EXECUTED
 2019e1c:	b0 10 3f ff 	mov  -1, %i0                                   <== NOT EXECUTED
 2019e20:	82 10 20 05 	mov  5, %g1                                    <== NOT EXECUTED
 2019e24:	c2 22 00 00 	st  %g1, [ %o0 ]                               <== NOT EXECUTED
            break;                                                    
                                                                      
    }                                                                 
                                                                      
    return RC_OK;                                                     
}                                                                     
 2019e28:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2019e2c:	81 e8 00 00 	restore                                        <== NOT EXECUTED
                                                                      

02013078 <fat_shutdown_drive>: * RC_OK on success, or -1 if error occured * and errno set appropriately */ int fat_shutdown_drive(rtems_filesystem_mount_table_entry_t *mt_entry) {
 2013078:	9d e3 bf a0 	save  %sp, -96, %sp                            <== NOT EXECUTED
    int            rc = RC_OK;                                        
    fat_fs_info_t *fs_info = mt_entry->fs_info;                       
 201307c:	fa 06 20 34 	ld  [ %i0 + 0x34 ], %i5                        <== NOT EXECUTED
 *     RC_OK on success, or -1 if error occured                       
 *     and errno set appropriately                                    
 */                                                                   
int                                                                   
fat_shutdown_drive(rtems_filesystem_mount_table_entry_t *mt_entry)    
{                                                                     
 2013080:	90 10 00 18 	mov  %i0, %o0                                  <== NOT EXECUTED
    int            rc = RC_OK;                                        
    fat_fs_info_t *fs_info = mt_entry->fs_info;                       
    int            i = 0;                                             
                                                                      
    if (fs_info->vol.type & FAT_FAT32)                                
 2013084:	c2 0f 60 0a 	ldub  [ %i5 + 0xa ], %g1                       <== NOT EXECUTED
 2013088:	80 88 60 04 	btst  4, %g1                                   <== NOT EXECUTED
 201308c:	02 80 00 08 	be  20130ac <fat_shutdown_drive+0x34>          <== NOT EXECUTED
 2013090:	b8 10 20 00 	clr  %i4                                       <== NOT EXECUTED
    {                                                                 
        rc = fat_fat32_update_fsinfo_sector(mt_entry, fs_info->vol.free_cls,
 2013094:	d2 07 60 40 	ld  [ %i5 + 0x40 ], %o1                        <== NOT EXECUTED
 2013098:	7f ff ff db 	call  2013004 <fat_fat32_update_fsinfo_sector> <== NOT EXECUTED
 201309c:	d4 07 60 44 	ld  [ %i5 + 0x44 ], %o2                        <== NOT EXECUTED
                                            fs_info->vol.next_cl);    
        if ( rc != RC_OK )                                            
 20130a0:	b8 92 20 00 	orcc  %o0, 0, %i4                              <== NOT EXECUTED
 20130a4:	32 80 00 02 	bne,a   20130ac <fat_shutdown_drive+0x34>      <== NOT EXECUTED
 20130a8:	b8 10 3f ff 	mov  -1, %i4                                   <== NOT EXECUTED
            rc = -1;                                                  
    }                                                                 
                                                                      
    fat_buf_release(fs_info);                                         
 20130ac:	7f ff fe a5 	call  2012b40 <fat_buf_release>                <== NOT EXECUTED
 20130b0:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
                                                                      
    if (rtems_bdbuf_syncdev(fs_info->vol.dev) != RTEMS_SUCCESSFUL)    
 20130b4:	7f ff f9 35 	call  2011588 <rtems_bdbuf_syncdev>            <== NOT EXECUTED
 20130b8:	d0 1f 60 58 	ldd  [ %i5 + 0x58 ], %o0                       <== NOT EXECUTED
 20130bc:	80 a2 20 00 	cmp  %o0, 0                                    <== NOT EXECUTED
 20130c0:	32 80 00 02 	bne,a   20130c8 <fat_shutdown_drive+0x50>      <== NOT EXECUTED
 20130c4:	b8 10 3f ff 	mov  -1, %i4                                   <== NOT EXECUTED
        rc = -1;                                                      
 20130c8:	b6 10 20 00 	clr  %i3                                       <== NOT EXECUTED
                                                                      
    for (i = 0; i < FAT_HASH_SIZE; i++)                               
    {                                                                 
        rtems_chain_node    *node = NULL;                             
        rtems_chain_control *the_chain = fs_info->vhash + i;          
 20130cc:	f4 07 60 68 	ld  [ %i5 + 0x68 ], %i2                        <== NOT EXECUTED
                                                                      
        while ( (node = rtems_chain_get(the_chain)) != NULL )         
 20130d0:	10 80 00 04 	b  20130e0 <fat_shutdown_drive+0x68>           <== NOT EXECUTED
 20130d4:	b4 06 80 1b 	add  %i2, %i3, %i2                             <== NOT EXECUTED
            free(node);                                               
 20130d8:	7f ff ca e5 	call  2005c6c <free>                           <== NOT EXECUTED
 20130dc:	01 00 00 00 	nop                                            <== NOT EXECUTED
 */                                                                   
RTEMS_INLINE_ROUTINE rtems_chain_node *rtems_chain_get(               
  rtems_chain_control *the_chain                                      
)                                                                     
{                                                                     
  return _Chain_Get( the_chain );                                     
 20130e0:	7f ff de 87 	call  200aafc <_Chain_Get>                     <== NOT EXECUTED
 20130e4:	90 10 00 1a 	mov  %i2, %o0                                  <== NOT EXECUTED
    for (i = 0; i < FAT_HASH_SIZE; i++)                               
    {                                                                 
        rtems_chain_node    *node = NULL;                             
        rtems_chain_control *the_chain = fs_info->vhash + i;          
                                                                      
        while ( (node = rtems_chain_get(the_chain)) != NULL )         
 20130e8:	80 a2 20 00 	cmp  %o0, 0                                    <== NOT EXECUTED
 20130ec:	12 bf ff fb 	bne  20130d8 <fat_shutdown_drive+0x60>         <== NOT EXECUTED
 20130f0:	01 00 00 00 	nop                                            <== NOT EXECUTED
 20130f4:	b6 06 e0 0c 	add  %i3, 0xc, %i3                             <== NOT EXECUTED
    fat_buf_release(fs_info);                                         
                                                                      
    if (rtems_bdbuf_syncdev(fs_info->vol.dev) != RTEMS_SUCCESSFUL)    
        rc = -1;                                                      
                                                                      
    for (i = 0; i < FAT_HASH_SIZE; i++)                               
 20130f8:	80 a6 e0 18 	cmp  %i3, 0x18                                 <== NOT EXECUTED
 20130fc:	32 bf ff f5 	bne,a   20130d0 <fat_shutdown_drive+0x58>      <== NOT EXECUTED
 2013100:	f4 07 60 68 	ld  [ %i5 + 0x68 ], %i2                        <== NOT EXECUTED
 2013104:	b6 10 20 00 	clr  %i3                                       <== NOT EXECUTED
    }                                                                 
                                                                      
    for (i = 0; i < FAT_HASH_SIZE; i++)                               
    {                                                                 
        rtems_chain_node    *node = NULL;                             
        rtems_chain_control *the_chain = fs_info->rhash + i;          
 2013108:	f4 07 60 6c 	ld  [ %i5 + 0x6c ], %i2                        <== NOT EXECUTED
                                                                      
        while ( (node = rtems_chain_get(the_chain)) != NULL )         
 201310c:	10 80 00 04 	b  201311c <fat_shutdown_drive+0xa4>           <== NOT EXECUTED
 2013110:	b4 06 80 1b 	add  %i2, %i3, %i2                             <== NOT EXECUTED
            free(node);                                               
 2013114:	7f ff ca d6 	call  2005c6c <free>                           <== NOT EXECUTED
 2013118:	01 00 00 00 	nop                                            <== NOT EXECUTED
 201311c:	7f ff de 78 	call  200aafc <_Chain_Get>                     <== NOT EXECUTED
 2013120:	90 10 00 1a 	mov  %i2, %o0                                  <== NOT EXECUTED
    for (i = 0; i < FAT_HASH_SIZE; i++)                               
    {                                                                 
        rtems_chain_node    *node = NULL;                             
        rtems_chain_control *the_chain = fs_info->rhash + i;          
                                                                      
        while ( (node = rtems_chain_get(the_chain)) != NULL )         
 2013124:	80 a2 20 00 	cmp  %o0, 0                                    <== NOT EXECUTED
 2013128:	12 bf ff fb 	bne  2013114 <fat_shutdown_drive+0x9c>         <== NOT EXECUTED
 201312c:	01 00 00 00 	nop                                            <== NOT EXECUTED
 2013130:	b6 06 e0 0c 	add  %i3, 0xc, %i3                             <== NOT EXECUTED
                                                                      
        while ( (node = rtems_chain_get(the_chain)) != NULL )         
            free(node);                                               
    }                                                                 
                                                                      
    for (i = 0; i < FAT_HASH_SIZE; i++)                               
 2013134:	80 a6 e0 18 	cmp  %i3, 0x18                                 <== NOT EXECUTED
 2013138:	32 bf ff f5 	bne,a   201310c <fat_shutdown_drive+0x94>      <== NOT EXECUTED
 201313c:	f4 07 60 6c 	ld  [ %i5 + 0x6c ], %i2                        <== NOT EXECUTED
                                                                      
        while ( (node = rtems_chain_get(the_chain)) != NULL )         
            free(node);                                               
    }                                                                 
                                                                      
    free(fs_info->vhash);                                             
 2013140:	7f ff ca cb 	call  2005c6c <free>                           <== NOT EXECUTED
 2013144:	d0 07 60 68 	ld  [ %i5 + 0x68 ], %o0                        <== NOT EXECUTED
    free(fs_info->rhash);                                             
 2013148:	7f ff ca c9 	call  2005c6c <free>                           <== NOT EXECUTED
 201314c:	d0 07 60 6c 	ld  [ %i5 + 0x6c ], %o0                        <== NOT EXECUTED
                                                                      
    free(fs_info->uino);                                              
 2013150:	7f ff ca c7 	call  2005c6c <free>                           <== NOT EXECUTED
 2013154:	d0 07 60 70 	ld  [ %i5 + 0x70 ], %o0                        <== NOT EXECUTED
    free(fs_info->sec_buf);                                           
 2013158:	7f ff ca c5 	call  2005c6c <free>                           <== NOT EXECUTED
 201315c:	d0 07 60 8c 	ld  [ %i5 + 0x8c ], %o0                        <== NOT EXECUTED
    rtems_disk_release(fs_info->vol.dd);                              
 2013160:	7f ff c7 20 	call  2004de0 <rtems_disk_release>             <== NOT EXECUTED
 2013164:	d0 07 60 60 	ld  [ %i5 + 0x60 ], %o0                        <== NOT EXECUTED
                                                                      
    if (rc)                                                           
 2013168:	80 a7 20 00 	cmp  %i4, 0                                    <== NOT EXECUTED
 201316c:	02 80 00 06 	be  2013184 <fat_shutdown_drive+0x10c>         <== NOT EXECUTED
 2013170:	01 00 00 00 	nop                                            <== NOT EXECUTED
        errno = EIO;                                                  
 2013174:	40 00 20 a3 	call  201b400 <__errno>                        <== NOT EXECUTED
 2013178:	01 00 00 00 	nop                                            <== NOT EXECUTED
 201317c:	82 10 20 05 	mov  5, %g1	! 5 <PROM_START+0x5>               <== NOT EXECUTED
 2013180:	c2 22 00 00 	st  %g1, [ %o0 ]                               <== NOT EXECUTED
    return rc;                                                        
}                                                                     
 2013184:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2013188:	91 e8 00 1c 	restore  %g0, %i4, %o0                         <== NOT EXECUTED
                                                                      

02019214 <fcntl>: int fcntl( int fd, int cmd, ... ) {
 2019214:	9d e3 bf 98 	save  %sp, -104, %sp                           
  int            fd2;                                                 
  int            flags;                                               
  int            mask;                                                
  int            ret = 0;                                             
                                                                      
  rtems_libio_check_fd( fd );                                         
 2019218:	05 00 80 6f 	sethi  %hi(0x201bc00), %g2                     
 201921c:	c6 00 a1 28 	ld  [ %g2 + 0x128 ], %g3	! 201bd28 <rtems_libio_number_iops>
  ...                                                                 
)                                                                     
{                                                                     
  int            ret;                                                 
  va_list        ap;                                                  
  va_start( ap, cmd );                                                
 2019220:	82 07 a0 4c 	add  %fp, 0x4c, %g1                            
 2019224:	f4 27 a0 4c 	st  %i2, [ %fp + 0x4c ]                        
 2019228:	f6 27 a0 50 	st  %i3, [ %fp + 0x50 ]                        
 201922c:	f8 27 a0 54 	st  %i4, [ %fp + 0x54 ]                        
 2019230:	fa 27 a0 58 	st  %i5, [ %fp + 0x58 ]                        
  int            fd2;                                                 
  int            flags;                                               
  int            mask;                                                
  int            ret = 0;                                             
                                                                      
  rtems_libio_check_fd( fd );                                         
 2019234:	80 a6 00 03 	cmp  %i0, %g3                                  
 2019238:	1a 80 00 0a 	bcc  2019260 <fcntl+0x4c>                      
 201923c:	c2 27 bf fc 	st  %g1, [ %fp + -4 ]                          
  iop = rtems_libio_iop( fd );                                        
 2019240:	05 00 80 71 	sethi  %hi(0x201c400), %g2                     
 2019244:	c4 00 a3 84 	ld  [ %g2 + 0x384 ], %g2	! 201c784 <rtems_libio_iops>
 2019248:	bb 2e 20 06 	sll  %i0, 6, %i5                               
 201924c:	ba 00 80 1d 	add  %g2, %i5, %i5                             
  rtems_libio_check_is_open(iop);                                     
 2019250:	d0 07 60 18 	ld  [ %i5 + 0x18 ], %o0                        
 2019254:	80 8a 21 00 	btst  0x100, %o0                               
 2019258:	12 80 00 06 	bne  2019270 <fcntl+0x5c>                      
 201925c:	80 a6 60 09 	cmp  %i1, 9                                    
 2019260:	7f ff d5 18 	call  200e6c0 <__errno>                        
 2019264:	01 00 00 00 	nop                                            
 2019268:	10 80 00 40 	b  2019368 <fcntl+0x154>                       
 201926c:	82 10 20 09 	mov  9, %g1	! 9 <PROM_START+0x9>               
                                                                      
  /*                                                                  
   *  This switch should contain all the cases from POSIX.            
   */                                                                 
                                                                      
  switch ( cmd ) {                                                    
 2019270:	18 80 00 3b 	bgu  201935c <fcntl+0x148>                     
 2019274:	89 2e 60 02 	sll  %i1, 2, %g4                               
 2019278:	39 00 80 64 	sethi  %hi(0x2019000), %i4                     
 201927c:	b8 17 21 ec 	or  %i4, 0x1ec, %i4	! 20191ec <_calloc_r+0x14> 
 2019280:	c8 07 00 04 	ld  [ %i4 + %g4 ], %g4                         
 2019284:	81 c1 00 00 	jmp  %g4                                       
 2019288:	01 00 00 00 	nop                                            
    case F_DUPFD:        /* dup */                                    
      fd2 = va_arg( ap, int );                                        
 201928c:	c2 00 40 00 	ld  [ %g1 ], %g1                               
      if ( fd2 )                                                      
 2019290:	80 a0 60 00 	cmp  %g1, 0                                    
 2019294:	02 80 00 07 	be  20192b0 <fcntl+0x9c>                       
 2019298:	80 a0 40 03 	cmp  %g1, %g3                                  
        diop = rtems_libio_iop( fd2 );                                
 201929c:	1a 80 00 0a 	bcc  20192c4 <fcntl+0xb0>                      <== NEVER TAKEN
 20192a0:	b8 10 20 00 	clr  %i4                                       
 20192a4:	b9 28 60 06 	sll  %g1, 6, %i4                               
 20192a8:	10 80 00 07 	b  20192c4 <fcntl+0xb0>                        
 20192ac:	b8 00 80 1c 	add  %g2, %i4, %i4                             
      else {                                                          
        /* allocate a file control block */                           
        diop = rtems_libio_allocate();                                
 20192b0:	7f ff a8 fd 	call  20036a4 <rtems_libio_allocate>           
 20192b4:	01 00 00 00 	nop                                            
        if ( diop == 0 ) {                                            
 20192b8:	b8 92 20 00 	orcc  %o0, 0, %i4                              
 20192bc:	02 80 00 3d 	be  20193b0 <fcntl+0x19c>                      <== NEVER TAKEN
 20192c0:	01 00 00 00 	nop                                            
          ret = -1;                                                   
          break;                                                      
        }                                                             
      }                                                               
                                                                      
      diop->flags      = iop->flags;                                  
 20192c4:	c2 07 60 18 	ld  [ %i5 + 0x18 ], %g1                        
      diop->pathinfo   = iop->pathinfo;                               
 20192c8:	90 07 20 1c 	add  %i4, 0x1c, %o0                            
          ret = -1;                                                   
          break;                                                      
        }                                                             
      }                                                               
                                                                      
      diop->flags      = iop->flags;                                  
 20192cc:	c2 27 20 18 	st  %g1, [ %i4 + 0x18 ]                        
      diop->pathinfo   = iop->pathinfo;                               
 20192d0:	92 07 60 1c 	add  %i5, 0x1c, %o1                            
 20192d4:	7f ff d8 78 	call  200f4b4 <memcpy>                         
 20192d8:	94 10 20 14 	mov  0x14, %o2                                 
      ret = (int) (diop - rtems_libio_iops);                          
 20192dc:	03 00 80 71 	sethi  %hi(0x201c400), %g1                     
 20192e0:	f0 00 63 84 	ld  [ %g1 + 0x384 ], %i0	! 201c784 <rtems_libio_iops>
 20192e4:	b8 27 00 18 	sub  %i4, %i0, %i4                             
 20192e8:	10 80 00 22 	b  2019370 <fcntl+0x15c>                       
 20192ec:	b1 3f 20 06 	sra  %i4, 6, %i0                               
      break;                                                          
                                                                      
    case F_GETFD:        /* get f_flags */                            
      ret = ((iop->flags & LIBIO_FLAGS_CLOSE_ON_EXEC) != 0);          
 20192f0:	90 0a 28 00 	and  %o0, 0x800, %o0                           
 20192f4:	80 a0 00 08 	cmp  %g0, %o0                                  
 20192f8:	10 80 00 21 	b  201937c <fcntl+0x168>                       
 20192fc:	b0 40 20 00 	addx  %g0, 0, %i0                              
       *  if a new process is exec()'ed.  Since RTEMS does not support
       *  processes, then we can ignore this one except to make       
       *  F_GETFD work.                                               
       */                                                             
                                                                      
      if ( va_arg( ap, int ) )                                        
 2019300:	c2 00 40 00 	ld  [ %g1 ], %g1                               
 2019304:	80 a0 60 00 	cmp  %g1, 0                                    
 2019308:	22 80 00 0e 	be,a   2019340 <fcntl+0x12c>                   
 201930c:	90 0a 37 ff 	and  %o0, -2049, %o0                           
        iop->flags |= LIBIO_FLAGS_CLOSE_ON_EXEC;                      
 2019310:	10 80 00 0c 	b  2019340 <fcntl+0x12c>                       
 2019314:	90 12 28 00 	or  %o0, 0x800, %o0                            
      else                                                            
        iop->flags &= ~LIBIO_FLAGS_CLOSE_ON_EXEC;                     
      break;                                                          
                                                                      
    case F_GETFL:        /* more flags (cloexec) */                   
      ret = rtems_libio_to_fcntl_flags( iop->flags );                 
 2019318:	7f ff a8 cd 	call  200364c <rtems_libio_to_fcntl_flags>     
 201931c:	01 00 00 00 	nop                                            
 2019320:	10 80 00 14 	b  2019370 <fcntl+0x15c>                       
 2019324:	b0 10 00 08 	mov  %o0, %i0                                  
      break;                                                          
                                                                      
    case F_SETFL:                                                     
      flags = rtems_libio_fcntl_flags( va_arg( ap, int ) );           
 2019328:	7f ff a8 bc 	call  2003618 <rtems_libio_fcntl_flags>        
 201932c:	d0 00 40 00 	ld  [ %g1 ], %o0                               
                                                                      
      /*                                                              
       *  XXX If we are turning on append, should we seek to the end? 
       */                                                             
                                                                      
      iop->flags = (iop->flags & ~mask) | (flags & mask);             
 2019330:	c2 07 60 18 	ld  [ %i5 + 0x18 ], %g1                        
 2019334:	90 0a 22 01 	and  %o0, 0x201, %o0                           
 2019338:	82 08 7d fe 	and  %g1, -514, %g1                            
 201933c:	90 12 00 01 	or  %o0, %g1, %o0                              
 2019340:	d0 27 60 18 	st  %o0, [ %i5 + 0x18 ]                        
  rtems_libio_t *iop;                                                 
  rtems_libio_t *diop;                                                
  int            fd2;                                                 
  int            flags;                                               
  int            mask;                                                
  int            ret = 0;                                             
 2019344:	10 80 00 0e 	b  201937c <fcntl+0x168>                       
 2019348:	b0 10 20 00 	clr  %i0                                       
      errno = ENOTSUP;                                                
      ret = -1;                                                       
      break;                                                          
                                                                      
    case F_GETOWN:       /*  for sockets. */                          
      errno = ENOTSUP;                                                
 201934c:	7f ff d4 dd 	call  200e6c0 <__errno>                        
 2019350:	01 00 00 00 	nop                                            
 2019354:	10 80 00 05 	b  2019368 <fcntl+0x154>                       
 2019358:	82 10 20 86 	mov  0x86, %g1	! 86 <PROM_START+0x86>          
      ret = -1;                                                       
      break;                                                          
                                                                      
    default:                                                          
      errno = EINVAL;                                                 
 201935c:	7f ff d4 d9 	call  200e6c0 <__errno>                        
 2019360:	01 00 00 00 	nop                                            
 2019364:	82 10 20 16 	mov  0x16, %g1	! 16 <PROM_START+0x16>          
 2019368:	10 80 00 12 	b  20193b0 <fcntl+0x19c>                       
 201936c:	c2 22 00 00 	st  %g1, [ %o0 ]                               
  /*                                                                  
   *  If we got this far successfully, then we give the optional      
   *  filesystem specific handler a chance to process this.           
   */                                                                 
                                                                      
  if (ret >= 0) {                                                     
 2019370:	80 a6 20 00 	cmp  %i0, 0                                    
 2019374:	06 80 00 0d 	bl  20193a8 <fcntl+0x194>                      <== NEVER TAKEN
 2019378:	01 00 00 00 	nop                                            
    int err = (*iop->pathinfo.handlers->fcntl_h)( cmd, iop );         
 201937c:	c2 07 60 24 	ld  [ %i5 + 0x24 ], %g1                        
 2019380:	92 10 00 1d 	mov  %i5, %o1                                  
 2019384:	c2 00 60 30 	ld  [ %g1 + 0x30 ], %g1                        
 2019388:	9f c0 40 00 	call  %g1                                      
 201938c:	90 10 00 19 	mov  %i1, %o0                                  
    if (err) {                                                        
 2019390:	ba 92 20 00 	orcc  %o0, 0, %i5                              
 2019394:	02 80 00 05 	be  20193a8 <fcntl+0x194>                      <== ALWAYS TAKEN
 2019398:	01 00 00 00 	nop                                            
      errno = err;                                                    
 201939c:	7f ff d4 c9 	call  200e6c0 <__errno>                        <== NOT EXECUTED
 20193a0:	b0 10 3f ff 	mov  -1, %i0	! ffffffff <RAM_END+0xfdbfffff>   <== NOT EXECUTED
 20193a4:	fa 22 00 00 	st  %i5, [ %o0 ]                               <== NOT EXECUTED
  va_list        ap;                                                  
  va_start( ap, cmd );                                                
  ret = vfcntl(fd,cmd,ap);                                            
  va_end(ap);                                                         
  return ret;                                                         
}                                                                     
 20193a8:	81 c7 e0 08 	ret                                            
 20193ac:	81 e8 00 00 	restore                                        
  int            mask;                                                
  int            ret = 0;                                             
                                                                      
  rtems_libio_check_fd( fd );                                         
  iop = rtems_libio_iop( fd );                                        
  rtems_libio_check_is_open(iop);                                     
 20193b0:	81 c7 e0 08 	ret                                            
 20193b4:	91 e8 3f ff 	restore  %g0, -1, %o0                          
                                                                      

0200cb4c <fifo_open>: */ int fifo_open( pipe_control_t **pipep, rtems_libio_t *iop ) {
 200cb4c:	9d e3 bf 98 	save  %sp, -104, %sp                           
                                                                      
static int pipe_lock(void)                                            
{                                                                     
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
                                                                      
  if (pipe_semaphore == RTEMS_ID_NONE) {                              
 200cb50:	37 00 80 7e 	sethi  %hi(0x201f800), %i3                     
 200cb54:	c2 06 e1 f0 	ld  [ %i3 + 0x1f0 ], %g1	! 201f9f0 <pipe_semaphore>
 */                                                                   
int fifo_open(                                                        
  pipe_control_t **pipep,                                             
  rtems_libio_t *iop                                                  
)                                                                     
{                                                                     
 200cb58:	ba 10 00 18 	mov  %i0, %i5                                  
                                                                      
static int pipe_lock(void)                                            
{                                                                     
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
                                                                      
  if (pipe_semaphore == RTEMS_ID_NONE) {                              
 200cb5c:	80 a0 60 00 	cmp  %g1, 0                                    
 200cb60:	12 80 00 1a 	bne  200cbc8 <fifo_open+0x7c>                  
 200cb64:	b8 16 e1 f0 	or  %i3, 0x1f0, %i4                            
rtems_status_code rtems_libio_set_private_env(void);                  
rtems_status_code rtems_libio_share_private_env(rtems_id task_id) ;   
                                                                      
static inline void rtems_libio_lock( void )                           
{                                                                     
  rtems_semaphore_obtain( rtems_libio_semaphore, RTEMS_WAIT, RTEMS_NO_TIMEOUT );
 200cb68:	03 00 80 7e 	sethi  %hi(0x201f800), %g1                     
 200cb6c:	d0 00 63 70 	ld  [ %g1 + 0x370 ], %o0	! 201fb70 <rtems_libio_semaphore>
 200cb70:	92 10 20 00 	clr  %o1                                       
 200cb74:	7f ff ed 3a 	call  200805c <rtems_semaphore_obtain>         
 200cb78:	94 10 20 00 	clr  %o2                                       
    rtems_libio_lock();                                               
                                                                      
    if (pipe_semaphore == RTEMS_ID_NONE) {                            
 200cb7c:	c2 06 e1 f0 	ld  [ %i3 + 0x1f0 ], %g1                       
 200cb80:	80 a0 60 00 	cmp  %g1, 0                                    
 200cb84:	12 80 00 0a 	bne  200cbac <fifo_open+0x60>                  <== NEVER TAKEN
 200cb88:	b6 10 20 00 	clr  %i3                                       
      sc = rtems_semaphore_create(                                    
 200cb8c:	11 14 12 54 	sethi  %hi(0x50495000), %o0                    
 200cb90:	92 10 20 01 	mov  1, %o1                                    
 200cb94:	90 12 20 45 	or  %o0, 0x45, %o0                             
 200cb98:	94 10 20 54 	mov  0x54, %o2                                 
 200cb9c:	96 10 20 00 	clr  %o3                                       
 200cba0:	7f ff ec 95 	call  2007df4 <rtems_semaphore_create>         
 200cba4:	98 10 00 1c 	mov  %i4, %o4                                  
 200cba8:	b6 10 00 08 	mov  %o0, %i3                                  
}                                                                     
                                                                      
static inline void rtems_libio_unlock( void )                         
{                                                                     
  rtems_semaphore_release( rtems_libio_semaphore );                   
 200cbac:	03 00 80 7e 	sethi  %hi(0x201f800), %g1                     
 200cbb0:	d0 00 63 70 	ld  [ %g1 + 0x370 ], %o0	! 201fb70 <rtems_libio_semaphore>
 200cbb4:	7f ff ed 74 	call  2008184 <rtems_semaphore_release>        
 200cbb8:	b0 10 3f f4 	mov  -12, %i0                                  
    }                                                                 
                                                                      
    rtems_libio_unlock();                                             
  }                                                                   
                                                                      
  if (sc == RTEMS_SUCCESSFUL) {                                       
 200cbbc:	80 a6 e0 00 	cmp  %i3, 0                                    
 200cbc0:	12 80 00 e1 	bne  200cf44 <fifo_open+0x3f8>                 
 200cbc4:	01 00 00 00 	nop                                            
    sc = rtems_semaphore_obtain(pipe_semaphore, RTEMS_WAIT, RTEMS_NO_TIMEOUT);
 200cbc8:	03 00 80 7e 	sethi  %hi(0x201f800), %g1                     
 200cbcc:	d0 00 61 f0 	ld  [ %g1 + 0x1f0 ], %o0	! 201f9f0 <pipe_semaphore>
 200cbd0:	92 10 20 00 	clr  %o1                                       
 200cbd4:	94 10 20 00 	clr  %o2                                       
 200cbd8:	7f ff ed 21 	call  200805c <rtems_semaphore_obtain>         
 200cbdc:	b0 10 3f f4 	mov  -12, %i0                                  
  }                                                                   
                                                                      
  if (sc == RTEMS_SUCCESSFUL) {                                       
 200cbe0:	80 a2 20 00 	cmp  %o0, 0                                    
 200cbe4:	12 80 00 d8 	bne  200cf44 <fifo_open+0x3f8>                 <== NEVER TAKEN
 200cbe8:	01 00 00 00 	nop                                            
                                                                      
  err = pipe_lock();                                                  
  if (err)                                                            
    return err;                                                       
                                                                      
  pipe = *pipep;                                                      
 200cbec:	f8 07 40 00 	ld  [ %i5 ], %i4                               
  if (pipe == NULL) {                                                 
 200cbf0:	80 a7 20 00 	cmp  %i4, 0                                    
 200cbf4:	32 80 00 44 	bne,a   200cd04 <fifo_open+0x1b8>              
 200cbf8:	d0 07 20 28 	ld  [ %i4 + 0x28 ], %o0                        
{                                                                     
  static char c = 'a';                                                
  pipe_control_t *pipe;                                               
  int err = -ENOMEM;                                                  
                                                                      
  pipe = malloc(sizeof(pipe_control_t));                              
 200cbfc:	7f ff e0 2f 	call  2004cb8 <malloc>                         
 200cc00:	90 10 20 34 	mov  0x34, %o0                                 
  if (pipe == NULL)                                                   
 200cc04:	b8 92 20 00 	orcc  %o0, 0, %i4                              
 200cc08:	02 80 00 3c 	be  200ccf8 <fifo_open+0x1ac>                  
 200cc0c:	92 10 20 00 	clr  %o1                                       
    return err;                                                       
  memset(pipe, 0, sizeof(pipe_control_t));                            
 200cc10:	40 00 0e 71 	call  20105d4 <memset>                         
 200cc14:	94 10 20 34 	mov  0x34, %o2                                 
                                                                      
  pipe->Size = PIPE_BUF;                                              
 200cc18:	82 10 22 00 	mov  0x200, %g1                                
  pipe->Buffer = malloc(pipe->Size);                                  
 200cc1c:	90 10 22 00 	mov  0x200, %o0                                
 200cc20:	7f ff e0 26 	call  2004cb8 <malloc>                         
 200cc24:	c2 27 20 04 	st  %g1, [ %i4 + 4 ]                           
  if (! pipe->Buffer)                                                 
 200cc28:	80 a2 20 00 	cmp  %o0, 0                                    
 200cc2c:	02 80 00 31 	be  200ccf0 <fifo_open+0x1a4>                  <== NEVER TAKEN
 200cc30:	d0 27 00 00 	st  %o0, [ %i4 ]                               
    goto err_buf;                                                     
                                                                      
  err = -ENOMEM;                                                      
                                                                      
  if (rtems_barrier_create(                                           
        rtems_build_name ('P', 'I', 'r', c),                          
 200cc34:	37 00 80 7c 	sethi  %hi(0x201f000), %i3                     
 200cc38:	d0 4e e2 74 	ldsb  [ %i3 + 0x274 ], %o0	! 201f274 <c.5740>  
  if (! pipe->Buffer)                                                 
    goto err_buf;                                                     
                                                                      
  err = -ENOMEM;                                                      
                                                                      
  if (rtems_barrier_create(                                           
 200cc3c:	35 14 12 5c 	sethi  %hi(0x50497000), %i2                    
 200cc40:	82 16 a2 00 	or  %i2, 0x200, %g1	! 50497200 <RAM_END+0x4e097200>
 200cc44:	92 10 20 00 	clr  %o1                                       
 200cc48:	90 12 00 01 	or  %o0, %g1, %o0                              
 200cc4c:	94 10 20 00 	clr  %o2                                       
 200cc50:	40 00 04 0f 	call  200dc8c <rtems_barrier_create>           
 200cc54:	96 07 20 2c 	add  %i4, 0x2c, %o3                            
 200cc58:	80 a2 20 00 	cmp  %o0, 0                                    
 200cc5c:	12 80 00 23 	bne  200cce8 <fifo_open+0x19c>                 
 200cc60:	d0 4e e2 74 	ldsb  [ %i3 + 0x274 ], %o0                     
        rtems_build_name ('P', 'I', 'r', c),                          
        RTEMS_BARRIER_MANUAL_RELEASE, 0,                              
        &pipe->readBarrier) != RTEMS_SUCCESSFUL)                      
    goto err_rbar;                                                    
  if (rtems_barrier_create(                                           
 200cc64:	03 14 12 5d 	sethi  %hi(0x50497400), %g1                    
 200cc68:	82 10 63 00 	or  %g1, 0x300, %g1	! 50497700 <RAM_END+0x4e097700>
 200cc6c:	92 10 20 00 	clr  %o1                                       
 200cc70:	90 12 00 01 	or  %o0, %g1, %o0                              
 200cc74:	94 10 20 00 	clr  %o2                                       
 200cc78:	40 00 04 05 	call  200dc8c <rtems_barrier_create>           
 200cc7c:	96 07 20 30 	add  %i4, 0x30, %o3                            
 200cc80:	80 a2 20 00 	cmp  %o0, 0                                    
 200cc84:	12 80 00 17 	bne  200cce0 <fifo_open+0x194>                 
 200cc88:	d0 4e e2 74 	ldsb  [ %i3 + 0x274 ], %o0                     
        rtems_build_name ('P', 'I', 'w', c),                          
        RTEMS_BARRIER_MANUAL_RELEASE, 0,                              
        &pipe->writeBarrier) != RTEMS_SUCCESSFUL)                     
    goto err_wbar;                                                    
  if (rtems_semaphore_create(                                         
 200cc8c:	b4 16 a3 00 	or  %i2, 0x300, %i2                            
 200cc90:	92 10 20 01 	mov  1, %o1                                    
 200cc94:	90 12 00 1a 	or  %o0, %i2, %o0                              
 200cc98:	94 10 20 10 	mov  0x10, %o2                                 
 200cc9c:	96 10 20 00 	clr  %o3                                       
 200cca0:	7f ff ec 55 	call  2007df4 <rtems_semaphore_create>         
 200cca4:	98 07 20 28 	add  %i4, 0x28, %o4                            
 200cca8:	80 a2 20 00 	cmp  %o0, 0                                    
 200ccac:	12 80 00 0b 	bne  200ccd8 <fifo_open+0x18c>                 
 200ccb0:	c2 0e e2 74 	ldub  [ %i3 + 0x274 ], %g1                     
#ifdef RTEMS_POSIX_API                                                
  pipe_interruptible(pipe);                                           
#endif                                                                
                                                                      
  *pipep = pipe;                                                      
  if (c ++ == 'z')                                                    
 200ccb4:	84 00 60 01 	add  %g1, 1, %g2                               
 200ccb8:	83 28 60 18 	sll  %g1, 0x18, %g1                            
 200ccbc:	83 38 60 18 	sra  %g1, 0x18, %g1                            
 200ccc0:	80 a0 60 7a 	cmp  %g1, 0x7a                                 
 200ccc4:	12 80 00 0f 	bne  200cd00 <fifo_open+0x1b4>                 
 200ccc8:	c4 2e e2 74 	stb  %g2, [ %i3 + 0x274 ]                      
    c = 'a';                                                          
 200cccc:	82 10 20 61 	mov  0x61, %g1                                 
 200ccd0:	10 80 00 0c 	b  200cd00 <fifo_open+0x1b4>                   
 200ccd4:	c2 2e e2 74 	stb  %g1, [ %i3 + 0x274 ]                      
  return 0;                                                           
                                                                      
err_sem:                                                              
  rtems_barrier_delete(pipe->writeBarrier);                           
 200ccd8:	40 00 04 1e 	call  200dd50 <rtems_barrier_delete>           
 200ccdc:	d0 07 20 30 	ld  [ %i4 + 0x30 ], %o0                        
err_wbar:                                                             
  rtems_barrier_delete(pipe->readBarrier);                            
 200cce0:	40 00 04 1c 	call  200dd50 <rtems_barrier_delete>           
 200cce4:	d0 07 20 2c 	ld  [ %i4 + 0x2c ], %o0                        
err_rbar:                                                             
  free(pipe->Buffer);                                                 
 200cce8:	7f ff de 0f 	call  2004524 <free>                           
 200ccec:	d0 07 00 00 	ld  [ %i4 ], %o0                               
err_buf:                                                              
  free(pipe);                                                         
 200ccf0:	7f ff de 0d 	call  2004524 <free>                           
 200ccf4:	90 10 00 1c 	mov  %i4, %o0                                  
    if (err)                                                          
      goto out;                                                       
  }                                                                   
                                                                      
  if (! PIPE_LOCK(pipe))                                              
    err = -EINTR;                                                     
 200ccf8:	10 80 00 13 	b  200cd44 <fifo_open+0x1f8>                   
 200ccfc:	b0 10 3f f4 	mov  -12, %i0                                  
    err = pipe_alloc(&pipe);                                          
    if (err)                                                          
      goto out;                                                       
  }                                                                   
                                                                      
  if (! PIPE_LOCK(pipe))                                              
 200cd00:	d0 07 20 28 	ld  [ %i4 + 0x28 ], %o0                        
 200cd04:	92 10 20 00 	clr  %o1                                       
 200cd08:	7f ff ec d5 	call  200805c <rtems_semaphore_obtain>         
 200cd0c:	94 10 20 00 	clr  %o2                                       
    err = -EINTR;                                                     
                                                                      
  if (*pipep == NULL) {                                               
 200cd10:	c2 07 40 00 	ld  [ %i5 ], %g1                               
    err = pipe_alloc(&pipe);                                          
    if (err)                                                          
      goto out;                                                       
  }                                                                   
                                                                      
  if (! PIPE_LOCK(pipe))                                              
 200cd14:	80 a0 00 08 	cmp  %g0, %o0                                  
 200cd18:	b0 60 20 00 	subx  %g0, 0, %i0                              
    err = -EINTR;                                                     
                                                                      
  if (*pipep == NULL) {                                               
 200cd1c:	80 a0 60 00 	cmp  %g1, 0                                    
 200cd20:	12 80 00 09 	bne  200cd44 <fifo_open+0x1f8>                 
 200cd24:	b0 0e 3f fc 	and  %i0, -4, %i0                              
    if (err)                                                          
 200cd28:	80 a6 20 00 	cmp  %i0, 0                                    
 200cd2c:	22 80 00 06 	be,a   200cd44 <fifo_open+0x1f8>               <== ALWAYS TAKEN
 200cd30:	f8 27 40 00 	st  %i4, [ %i5 ]                               
      pipe_free(pipe);                                                
 200cd34:	7f ff ff 49 	call  200ca58 <pipe_free>                      <== NOT EXECUTED
 200cd38:	90 10 00 1c 	mov  %i4, %o0                                  <== NOT EXECUTED
                                                                      
static void pipe_unlock(void)                                         
{                                                                     
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
                                                                      
  sc = rtems_semaphore_release(pipe_semaphore);                       
 200cd3c:	10 80 00 03 	b  200cd48 <fifo_open+0x1fc>                   <== NOT EXECUTED
 200cd40:	03 00 80 7e 	sethi  %hi(0x201f800), %g1                     <== NOT EXECUTED
 200cd44:	03 00 80 7e 	sethi  %hi(0x201f800), %g1                     
 200cd48:	7f ff ed 0f 	call  2008184 <rtems_semaphore_release>        
 200cd4c:	d0 00 61 f0 	ld  [ %g1 + 0x1f0 ], %o0	! 201f9f0 <pipe_semaphore>
  pipe_control_t *pipe;                                               
  unsigned int prevCounter;                                           
  int err;                                                            
                                                                      
  err = pipe_new(pipep);                                              
  if (err)                                                            
 200cd50:	80 a6 20 00 	cmp  %i0, 0                                    
 200cd54:	12 80 00 7c 	bne  200cf44 <fifo_open+0x3f8>                 
 200cd58:	01 00 00 00 	nop                                            
    return err;                                                       
  pipe = *pipep;                                                      
                                                                      
  switch (LIBIO_ACCMODE(iop)) {                                       
 200cd5c:	c2 06 60 18 	ld  [ %i1 + 0x18 ], %g1                        
 200cd60:	82 08 60 06 	and  %g1, 6, %g1                               
 200cd64:	80 a0 60 04 	cmp  %g1, 4                                    
 200cd68:	02 80 00 2e 	be  200ce20 <fifo_open+0x2d4>                  
 200cd6c:	f8 07 40 00 	ld  [ %i5 ], %i4                               
 200cd70:	80 a0 60 06 	cmp  %g1, 6                                    
 200cd74:	02 80 00 56 	be  200cecc <fifo_open+0x380>                  
 200cd78:	80 a0 60 02 	cmp  %g1, 2                                    
 200cd7c:	12 80 00 6a 	bne  200cf24 <fifo_open+0x3d8>                 <== NEVER TAKEN
 200cd80:	01 00 00 00 	nop                                            
    case LIBIO_FLAGS_READ:                                            
      pipe->readerCounter ++;                                         
 200cd84:	c2 07 20 20 	ld  [ %i4 + 0x20 ], %g1                        
 200cd88:	82 00 60 01 	inc  %g1                                       
 200cd8c:	c2 27 20 20 	st  %g1, [ %i4 + 0x20 ]                        
      if (pipe->Readers ++ == 0)                                      
 200cd90:	c2 07 20 10 	ld  [ %i4 + 0x10 ], %g1                        
 200cd94:	84 00 60 01 	add  %g1, 1, %g2                               
 200cd98:	80 a0 60 00 	cmp  %g1, 0                                    
 200cd9c:	12 80 00 05 	bne  200cdb0 <fifo_open+0x264>                 <== NEVER TAKEN
 200cda0:	c4 27 20 10 	st  %g2, [ %i4 + 0x10 ]                        
        PIPE_WAKEUPWRITERS(pipe);                                     
 200cda4:	d0 07 20 30 	ld  [ %i4 + 0x30 ], %o0                        
 200cda8:	40 00 04 13 	call  200ddf4 <rtems_barrier_release>          
 200cdac:	92 07 bf fc 	add  %fp, -4, %o1                              
                                                                      
      if (pipe->Writers == 0) {                                       
 200cdb0:	c2 07 20 14 	ld  [ %i4 + 0x14 ], %g1                        
 200cdb4:	80 a0 60 00 	cmp  %g1, 0                                    
 200cdb8:	12 80 00 5b 	bne  200cf24 <fifo_open+0x3d8>                 
 200cdbc:	01 00 00 00 	nop                                            
        /* Not an error */                                            
        if (LIBIO_NODELAY(iop))                                       
 200cdc0:	c2 06 60 18 	ld  [ %i1 + 0x18 ], %g1                        
 200cdc4:	80 88 60 01 	btst  1, %g1                                   
 200cdc8:	12 80 00 57 	bne  200cf24 <fifo_open+0x3d8>                 
 200cdcc:	01 00 00 00 	nop                                            
          break;                                                      
                                                                      
        prevCounter = pipe->writerCounter;                            
 200cdd0:	f6 07 20 24 	ld  [ %i4 + 0x24 ], %i3                        
        err = -EINTR;                                                 
        /* Wait until a writer opens the pipe */                      
        do {                                                          
          PIPE_UNLOCK(pipe);                                          
 200cdd4:	7f ff ec ec 	call  2008184 <rtems_semaphore_release>        
 200cdd8:	d0 07 20 28 	ld  [ %i4 + 0x28 ], %o0                        
          if (! PIPE_READWAIT(pipe))                                  
 200cddc:	d0 07 20 2c 	ld  [ %i4 + 0x2c ], %o0                        
 200cde0:	40 00 04 1c 	call  200de50 <rtems_barrier_wait>             
 200cde4:	92 10 20 00 	clr  %o1                                       
 200cde8:	80 a2 20 00 	cmp  %o0, 0                                    
 200cdec:	12 80 00 52 	bne  200cf34 <fifo_open+0x3e8>                 <== NEVER TAKEN
 200cdf0:	92 10 20 00 	clr  %o1                                       
            goto out_error;                                           
          if (! PIPE_LOCK(pipe))                                      
 200cdf4:	d0 07 20 28 	ld  [ %i4 + 0x28 ], %o0                        
 200cdf8:	7f ff ec 99 	call  200805c <rtems_semaphore_obtain>         
 200cdfc:	94 10 20 00 	clr  %o2                                       
 200ce00:	80 a2 20 00 	cmp  %o0, 0                                    
 200ce04:	32 80 00 4d 	bne,a   200cf38 <fifo_open+0x3ec>              <== NEVER TAKEN
 200ce08:	b0 10 3f fc 	mov  -4, %i0                                   <== NOT EXECUTED
            goto out_error;                                           
        } while (prevCounter == pipe->writerCounter);                 
 200ce0c:	c2 07 20 24 	ld  [ %i4 + 0x24 ], %g1                        
 200ce10:	80 a6 c0 01 	cmp  %i3, %g1                                  
 200ce14:	02 bf ff f0 	be  200cdd4 <fifo_open+0x288>                  <== NEVER TAKEN
 200ce18:	01 00 00 00 	nop                                            
 200ce1c:	30 80 00 42 	b,a   200cf24 <fifo_open+0x3d8>                
      }                                                               
      break;                                                          
                                                                      
    case LIBIO_FLAGS_WRITE:                                           
      pipe->writerCounter ++;                                         
 200ce20:	c2 07 20 24 	ld  [ %i4 + 0x24 ], %g1                        
 200ce24:	82 00 60 01 	inc  %g1                                       
 200ce28:	c2 27 20 24 	st  %g1, [ %i4 + 0x24 ]                        
                                                                      
      if (pipe->Writers ++ == 0)                                      
 200ce2c:	c2 07 20 14 	ld  [ %i4 + 0x14 ], %g1                        
 200ce30:	84 00 60 01 	add  %g1, 1, %g2                               
 200ce34:	80 a0 60 00 	cmp  %g1, 0                                    
 200ce38:	12 80 00 05 	bne  200ce4c <fifo_open+0x300>                 <== NEVER TAKEN
 200ce3c:	c4 27 20 14 	st  %g2, [ %i4 + 0x14 ]                        
        PIPE_WAKEUPREADERS(pipe);                                     
 200ce40:	d0 07 20 2c 	ld  [ %i4 + 0x2c ], %o0                        
 200ce44:	40 00 03 ec 	call  200ddf4 <rtems_barrier_release>          
 200ce48:	92 07 bf fc 	add  %fp, -4, %o1                              
                                                                      
      if (pipe->Readers == 0 && LIBIO_NODELAY(iop)) {                 
 200ce4c:	c2 07 20 10 	ld  [ %i4 + 0x10 ], %g1                        
 200ce50:	80 a0 60 00 	cmp  %g1, 0                                    
 200ce54:	12 80 00 34 	bne  200cf24 <fifo_open+0x3d8>                 
 200ce58:	01 00 00 00 	nop                                            
 200ce5c:	c2 06 60 18 	ld  [ %i1 + 0x18 ], %g1                        
 200ce60:	80 88 60 01 	btst  1, %g1                                   
 200ce64:	22 80 00 07 	be,a   200ce80 <fifo_open+0x334>               
 200ce68:	f6 07 20 20 	ld  [ %i4 + 0x20 ], %i3                        
	PIPE_UNLOCK(pipe);                                                   
 200ce6c:	d0 07 20 28 	ld  [ %i4 + 0x28 ], %o0                        
 200ce70:	7f ff ec c5 	call  2008184 <rtems_semaphore_release>        
 200ce74:	b0 10 3f fa 	mov  -6, %i0                                   
        err = -ENXIO;                                                 
        goto out_error;                                               
 200ce78:	10 80 00 31 	b  200cf3c <fifo_open+0x3f0>                   
 200ce7c:	90 10 00 1d 	mov  %i5, %o0                                  
                                                                      
      if (pipe->Readers == 0) {                                       
        prevCounter = pipe->readerCounter;                            
        err = -EINTR;                                                 
        do {                                                          
          PIPE_UNLOCK(pipe);                                          
 200ce80:	7f ff ec c1 	call  2008184 <rtems_semaphore_release>        
 200ce84:	d0 07 20 28 	ld  [ %i4 + 0x28 ], %o0                        
          if (! PIPE_WRITEWAIT(pipe))                                 
 200ce88:	d0 07 20 30 	ld  [ %i4 + 0x30 ], %o0                        
 200ce8c:	40 00 03 f1 	call  200de50 <rtems_barrier_wait>             
 200ce90:	92 10 20 00 	clr  %o1                                       
 200ce94:	80 a2 20 00 	cmp  %o0, 0                                    
 200ce98:	12 80 00 27 	bne  200cf34 <fifo_open+0x3e8>                 <== NEVER TAKEN
 200ce9c:	92 10 20 00 	clr  %o1                                       
            goto out_error;                                           
          if (! PIPE_LOCK(pipe))                                      
 200cea0:	d0 07 20 28 	ld  [ %i4 + 0x28 ], %o0                        
 200cea4:	7f ff ec 6e 	call  200805c <rtems_semaphore_obtain>         
 200cea8:	94 10 20 00 	clr  %o2                                       
 200ceac:	80 a2 20 00 	cmp  %o0, 0                                    
 200ceb0:	32 80 00 22 	bne,a   200cf38 <fifo_open+0x3ec>              <== NEVER TAKEN
 200ceb4:	b0 10 3f fc 	mov  -4, %i0                                   <== NOT EXECUTED
            goto out_error;                                           
        } while (prevCounter == pipe->readerCounter);                 
 200ceb8:	c2 07 20 20 	ld  [ %i4 + 0x20 ], %g1                        
 200cebc:	80 a6 c0 01 	cmp  %i3, %g1                                  
 200cec0:	02 bf ff f0 	be  200ce80 <fifo_open+0x334>                  <== NEVER TAKEN
 200cec4:	01 00 00 00 	nop                                            
 200cec8:	30 80 00 17 	b,a   200cf24 <fifo_open+0x3d8>                
      }                                                               
      break;                                                          
                                                                      
    case LIBIO_FLAGS_READ_WRITE:                                      
      pipe->readerCounter ++;                                         
 200cecc:	c2 07 20 20 	ld  [ %i4 + 0x20 ], %g1                        
 200ced0:	82 00 60 01 	inc  %g1                                       
 200ced4:	c2 27 20 20 	st  %g1, [ %i4 + 0x20 ]                        
      if (pipe->Readers ++ == 0)                                      
 200ced8:	c2 07 20 10 	ld  [ %i4 + 0x10 ], %g1                        
 200cedc:	84 00 60 01 	add  %g1, 1, %g2                               
 200cee0:	80 a0 60 00 	cmp  %g1, 0                                    
 200cee4:	12 80 00 05 	bne  200cef8 <fifo_open+0x3ac>                 <== NEVER TAKEN
 200cee8:	c4 27 20 10 	st  %g2, [ %i4 + 0x10 ]                        
        PIPE_WAKEUPWRITERS(pipe);                                     
 200ceec:	d0 07 20 30 	ld  [ %i4 + 0x30 ], %o0                        
 200cef0:	40 00 03 c1 	call  200ddf4 <rtems_barrier_release>          
 200cef4:	92 07 bf fc 	add  %fp, -4, %o1                              
      pipe->writerCounter ++;                                         
 200cef8:	c2 07 20 24 	ld  [ %i4 + 0x24 ], %g1                        
 200cefc:	82 00 60 01 	inc  %g1                                       
 200cf00:	c2 27 20 24 	st  %g1, [ %i4 + 0x24 ]                        
      if (pipe->Writers ++ == 0)                                      
 200cf04:	c2 07 20 14 	ld  [ %i4 + 0x14 ], %g1                        
 200cf08:	84 00 60 01 	add  %g1, 1, %g2                               
 200cf0c:	80 a0 60 00 	cmp  %g1, 0                                    
 200cf10:	12 80 00 05 	bne  200cf24 <fifo_open+0x3d8>                 <== NEVER TAKEN
 200cf14:	c4 27 20 14 	st  %g2, [ %i4 + 0x14 ]                        
        PIPE_WAKEUPREADERS(pipe);                                     
 200cf18:	d0 07 20 2c 	ld  [ %i4 + 0x2c ], %o0                        
 200cf1c:	40 00 03 b6 	call  200ddf4 <rtems_barrier_release>          
 200cf20:	92 07 bf fc 	add  %fp, -4, %o1                              
      break;                                                          
  }                                                                   
                                                                      
  PIPE_UNLOCK(pipe);                                                  
 200cf24:	7f ff ec 98 	call  2008184 <rtems_semaphore_release>        
 200cf28:	d0 07 20 28 	ld  [ %i4 + 0x28 ], %o0                        
  return 0;                                                           
 200cf2c:	81 c7 e0 08 	ret                                            
 200cf30:	81 e8 00 00 	restore                                        
        goto out_error;                                               
      }                                                               
                                                                      
      if (pipe->Readers == 0) {                                       
        prevCounter = pipe->readerCounter;                            
        err = -EINTR;                                                 
 200cf34:	b0 10 3f fc 	mov  -4, %i0                                   <== NOT EXECUTED
                                                                      
  PIPE_UNLOCK(pipe);                                                  
  return 0;                                                           
                                                                      
out_error:                                                            
  pipe_release(pipep, iop);                                           
 200cf38:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
 200cf3c:	7f ff fe d2 	call  200ca84 <pipe_release>                   
 200cf40:	92 10 00 19 	mov  %i1, %o1                                  
  return err;                                                         
}                                                                     
 200cf44:	81 c7 e0 08 	ret                                            
 200cf48:	81 e8 00 00 	restore                                        
                                                                      

02003534 <fpathconf>: long fpathconf( int fd, int name ) {
 2003534:	9d e3 bf a0 	save  %sp, -96, %sp                            
  long                                    return_value;               
  rtems_libio_t                          *iop;                        
  rtems_filesystem_limits_and_options_t  *the_limits;                 
                                                                      
  rtems_libio_check_fd(fd);                                           
 2003538:	03 00 80 57 	sethi  %hi(0x2015c00), %g1                     
 200353c:	c2 00 60 b8 	ld  [ %g1 + 0xb8 ], %g1	! 2015cb8 <rtems_libio_number_iops>
 2003540:	80 a6 00 01 	cmp  %i0, %g1                                  
 2003544:	1a 80 00 0a 	bcc  200356c <fpathconf+0x38>                  
 2003548:	01 00 00 00 	nop                                            
  iop = rtems_libio_iop(fd);                                          
 200354c:	03 00 80 59 	sethi  %hi(0x2016400), %g1                     
 2003550:	c2 00 62 84 	ld  [ %g1 + 0x284 ], %g1	! 2016684 <rtems_libio_iops>
 2003554:	b1 2e 20 06 	sll  %i0, 6, %i0                               
 2003558:	b0 00 40 18 	add  %g1, %i0, %i0                             
  rtems_libio_check_is_open(iop);                                     
 200355c:	c2 06 20 18 	ld  [ %i0 + 0x18 ], %g1                        
 2003560:	80 88 61 00 	btst  0x100, %g1                               
 2003564:	12 80 00 08 	bne  2003584 <fpathconf+0x50>                  <== ALWAYS TAKEN
 2003568:	80 a6 60 0b 	cmp  %i1, 0xb                                  
 200356c:	40 00 2c 87 	call  200e788 <__errno>                        
 2003570:	b0 10 3f ff 	mov  -1, %i0                                   
 2003574:	82 10 20 09 	mov  9, %g1                                    
 2003578:	c2 22 00 00 	st  %g1, [ %o0 ]                               
 200357c:	81 c7 e0 08 	ret                                            
 2003580:	81 e8 00 00 	restore                                        
   *  Now process the information request.                            
   */                                                                 
                                                                      
  the_limits = &iop->pathinfo.mt_entry->pathconf_limits_and_options;  
                                                                      
  switch ( name ) {                                                   
 2003584:	18 80 00 2c 	bgu  2003634 <fpathconf+0x100>                 
 2003588:	c2 06 20 2c 	ld  [ %i0 + 0x2c ], %g1                        
 200358c:	b3 2e 60 02 	sll  %i1, 2, %i1                               
 2003590:	05 00 80 0d 	sethi  %hi(0x2003400), %g2                     
 2003594:	84 10 a1 04 	or  %g2, 0x104, %g2	! 2003504 <fdatasync+0x70> 
 2003598:	c4 00 80 19 	ld  [ %g2 + %i1 ], %g2                         
 200359c:	81 c0 80 00 	jmp  %g2                                       
 20035a0:	01 00 00 00 	nop                                            
    case _PC_LINK_MAX:                                                
      return_value = the_limits->link_max;                            
 20035a4:	f0 00 60 38 	ld  [ %g1 + 0x38 ], %i0                        
      break;                                                          
 20035a8:	81 c7 e0 08 	ret                                            
 20035ac:	81 e8 00 00 	restore                                        
    case _PC_MAX_CANON:                                               
      return_value = the_limits->max_canon;                           
 20035b0:	f0 00 60 3c 	ld  [ %g1 + 0x3c ], %i0                        
      break;                                                          
 20035b4:	81 c7 e0 08 	ret                                            
 20035b8:	81 e8 00 00 	restore                                        
    case _PC_MAX_INPUT:                                               
      return_value = the_limits->max_input;                           
 20035bc:	f0 00 60 40 	ld  [ %g1 + 0x40 ], %i0                        
      break;                                                          
 20035c0:	81 c7 e0 08 	ret                                            
 20035c4:	81 e8 00 00 	restore                                        
    case _PC_NAME_MAX:                                                
      return_value = the_limits->name_max;                            
 20035c8:	f0 00 60 44 	ld  [ %g1 + 0x44 ], %i0                        
      break;                                                          
 20035cc:	81 c7 e0 08 	ret                                            
 20035d0:	81 e8 00 00 	restore                                        
    case _PC_PATH_MAX:                                                
      return_value = the_limits->path_max;                            
 20035d4:	f0 00 60 48 	ld  [ %g1 + 0x48 ], %i0                        
      break;                                                          
 20035d8:	81 c7 e0 08 	ret                                            
 20035dc:	81 e8 00 00 	restore                                        
    case _PC_PIPE_BUF:                                                
      return_value = the_limits->pipe_buf;                            
 20035e0:	f0 00 60 4c 	ld  [ %g1 + 0x4c ], %i0                        
      break;                                                          
 20035e4:	81 c7 e0 08 	ret                                            
 20035e8:	81 e8 00 00 	restore                                        
    case _PC_CHOWN_RESTRICTED:                                        
      return_value = the_limits->posix_chown_restrictions;            
 20035ec:	f0 00 60 54 	ld  [ %g1 + 0x54 ], %i0                        
      break;                                                          
 20035f0:	81 c7 e0 08 	ret                                            
 20035f4:	81 e8 00 00 	restore                                        
    case _PC_NO_TRUNC:                                                
      return_value = the_limits->posix_no_trunc;                      
 20035f8:	f0 00 60 58 	ld  [ %g1 + 0x58 ], %i0                        
      break;                                                          
 20035fc:	81 c7 e0 08 	ret                                            
 2003600:	81 e8 00 00 	restore                                        
    case _PC_VDISABLE:                                                
      return_value = the_limits->posix_vdisable;                      
 2003604:	f0 00 60 64 	ld  [ %g1 + 0x64 ], %i0                        
      break;                                                          
 2003608:	81 c7 e0 08 	ret                                            
 200360c:	81 e8 00 00 	restore                                        
    case _PC_ASYNC_IO:                                                
      return_value = the_limits->posix_async_io;                      
 2003610:	f0 00 60 50 	ld  [ %g1 + 0x50 ], %i0                        
      break;                                                          
 2003614:	81 c7 e0 08 	ret                                            
 2003618:	81 e8 00 00 	restore                                        
    case _PC_PRIO_IO:                                                 
      return_value = the_limits->posix_prio_io;                       
 200361c:	f0 00 60 5c 	ld  [ %g1 + 0x5c ], %i0                        
      break;                                                          
 2003620:	81 c7 e0 08 	ret                                            
 2003624:	81 e8 00 00 	restore                                        
    case _PC_SYNC_IO:                                                 
      return_value = the_limits->posix_sync_io;                       
 2003628:	f0 00 60 60 	ld  [ %g1 + 0x60 ], %i0                        
      break;                                                          
 200362c:	81 c7 e0 08 	ret                                            
 2003630:	81 e8 00 00 	restore                                        
    default:                                                          
      rtems_set_errno_and_return_minus_one( EINVAL );                 
 2003634:	40 00 2c 55 	call  200e788 <__errno>                        
 2003638:	b0 10 3f ff 	mov  -1, %i0                                   
 200363c:	82 10 20 16 	mov  0x16, %g1                                 
 2003640:	c2 22 00 00 	st  %g1, [ %o0 ]                               
      break;                                                          
  }                                                                   
                                                                      
  return return_value;                                                
}                                                                     
 2003644:	81 c7 e0 08 	ret                                            
 2003648:	81 e8 00 00 	restore                                        
                                                                      

02002dd4 <free>: #include <stdlib.h> void free( void *ptr ) {
 2002dd4:	9d e3 bf a0 	save  %sp, -96, %sp                            
  MSBUMP(free_calls, 1);                                              
 2002dd8:	03 00 80 6c 	sethi  %hi(0x201b000), %g1                     
 2002ddc:	82 10 63 70 	or  %g1, 0x370, %g1	! 201b370 <rtems_malloc_statistics>
 2002de0:	c4 00 60 0c 	ld  [ %g1 + 0xc ], %g2                         
#include <stdlib.h>                                                   
                                                                      
void free(                                                            
  void *ptr                                                           
)                                                                     
{                                                                     
 2002de4:	b2 10 00 18 	mov  %i0, %i1                                  
  MSBUMP(free_calls, 1);                                              
 2002de8:	84 00 a0 01 	inc  %g2                                       
                                                                      
  if ( !ptr )                                                         
 2002dec:	80 a6 20 00 	cmp  %i0, 0                                    
 2002df0:	02 80 00 21 	be  2002e74 <free+0xa0>                        
 2002df4:	c4 20 60 0c 	st  %g2, [ %g1 + 0xc ]                         
    return;                                                           
                                                                      
  /*                                                                  
   *  Do not attempt to free memory if in a critical section or ISR.  
   */                                                                 
  if ( _System_state_Is_up(_System_state_Get()) &&                    
 2002df8:	03 00 80 6d 	sethi  %hi(0x201b400), %g1                     
 2002dfc:	c2 00 62 74 	ld  [ %g1 + 0x274 ], %g1	! 201b674 <_System_state_Current>
 2002e00:	80 a0 60 03 	cmp  %g1, 3                                    
 2002e04:	12 80 00 09 	bne  2002e28 <free+0x54>                       <== NEVER TAKEN
 2002e08:	03 00 80 6c 	sethi  %hi(0x201b000), %g1                     
       !malloc_is_system_state_OK() ) {                               
 2002e0c:	40 00 00 6e 	call  2002fc4 <malloc_is_system_state_OK>      
 2002e10:	01 00 00 00 	nop                                            
    return;                                                           
                                                                      
  /*                                                                  
   *  Do not attempt to free memory if in a critical section or ISR.  
   */                                                                 
  if ( _System_state_Is_up(_System_state_Get()) &&                    
 2002e14:	80 8a 20 ff 	btst  0xff, %o0                                
 2002e18:	12 80 00 04 	bne  2002e28 <free+0x54>                       
 2002e1c:	03 00 80 6c 	sethi  %hi(0x201b000), %g1                     
       !malloc_is_system_state_OK() ) {                               
      malloc_deferred_free(ptr);                                      
 2002e20:	40 00 00 88 	call  2003040 <malloc_deferred_free>           
 2002e24:	81 e8 00 00 	restore                                        
  }                                                                   
                                                                      
  /*                                                                  
   *  If configured, update the statistics                            
   */                                                                 
  if ( rtems_malloc_statistics_helpers )                              
 2002e28:	c2 00 60 b8 	ld  [ %g1 + 0xb8 ], %g1                        
 2002e2c:	80 a0 60 00 	cmp  %g1, 0                                    
 2002e30:	02 80 00 06 	be  2002e48 <free+0x74>                        
 2002e34:	3b 00 80 6a 	sethi  %hi(0x201a800), %i5                     
    (*rtems_malloc_statistics_helpers->at_free)(ptr);                 
 2002e38:	c2 00 60 08 	ld  [ %g1 + 8 ], %g1                           
 2002e3c:	9f c0 40 00 	call  %g1                                      
 2002e40:	90 10 00 19 	mov  %i1, %o0                                  
                                                                      
  if ( !_Protected_heap_Free( RTEMS_Malloc_Heap, ptr ) ) {            
 2002e44:	3b 00 80 6a 	sethi  %hi(0x201a800), %i5                     
 2002e48:	d0 07 61 10 	ld  [ %i5 + 0x110 ], %o0	! 201a910 <RTEMS_Malloc_Heap>
 2002e4c:	40 00 14 9c 	call  20080bc <_Protected_heap_Free>           
 2002e50:	92 10 00 19 	mov  %i1, %o1                                  
 2002e54:	80 8a 20 ff 	btst  0xff, %o0                                
 2002e58:	12 80 00 07 	bne  2002e74 <free+0xa0>                       
 2002e5c:	31 00 80 65 	sethi  %hi(0x2019400), %i0                     
    printk( "Program heap: free of bad pointer %p -- range %p - %p \n",
      ptr,                                                            
      RTEMS_Malloc_Heap->area_begin,                                  
 2002e60:	c2 07 61 10 	ld  [ %i5 + 0x110 ], %g1                       
   */                                                                 
  if ( rtems_malloc_statistics_helpers )                              
    (*rtems_malloc_statistics_helpers->at_free)(ptr);                 
                                                                      
  if ( !_Protected_heap_Free( RTEMS_Malloc_Heap, ptr ) ) {            
    printk( "Program heap: free of bad pointer %p -- range %p - %p \n",
 2002e64:	f4 00 60 18 	ld  [ %g1 + 0x18 ], %i2                        
 2002e68:	f6 00 60 1c 	ld  [ %g1 + 0x1c ], %i3                        
 2002e6c:	40 00 03 7a 	call  2003c54 <printk>                         
 2002e70:	91 ee 21 98 	restore  %i0, 0x198, %o0                       
 2002e74:	81 c7 e0 08 	ret                                            
 2002e78:	81 e8 00 00 	restore                                        
                                                                      

02006274 <free_user_env>: * NOTE: this must be called with * thread dispatching disabled! */ static void free_user_env(void *venv) {
 2006274:	9d e3 bf a0 	save  %sp, -96, %sp                            
  rtems_user_env_t *env = (rtems_user_env_t*) venv ;                  
                                                                      
  if (env != &rtems_global_user_env                                   
 2006278:	03 00 80 86 	sethi  %hi(0x2021800), %g1                     
 200627c:	82 10 61 1c 	or  %g1, 0x11c, %g1	! 202191c <rtems_global_user_env>
 2006280:	80 a6 00 01 	cmp  %i0, %g1                                  
 2006284:	02 80 00 08 	be  20062a4 <free_user_env+0x30>               <== NEVER TAKEN
 2006288:	01 00 00 00 	nop                                            
  #ifdef HAVE_USERENV_REFCNT                                          
      && --env->refcnt <= 0                                           
  #endif                                                              
  ) {                                                                 
    rtems_filesystem_freenode( &env->current_directory);              
 200628c:	7f ff fb 8d 	call  20050c0 <rtems_filesystem_freenode>      
 2006290:	90 06 20 04 	add  %i0, 4, %o0                               
    rtems_filesystem_freenode( &env->root_directory);                 
 2006294:	7f ff fb 8b 	call  20050c0 <rtems_filesystem_freenode>      
 2006298:	90 06 20 18 	add  %i0, 0x18, %o0                            
    free(env);                                                        
 200629c:	7f ff fb 90 	call  20050dc <free>                           
 20062a0:	81 e8 00 00 	restore                                        
 20062a4:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 20062a8:	81 e8 00 00 	restore                                        <== NOT EXECUTED
                                                                      

02002728 <get_disk_entry>: rtems_device_major_number major = 0; rtems_device_minor_number minor = 0; rtems_filesystem_split_dev_t(dev, major, minor); if (major < disktab_size && disktab != NULL) {
 2002728:	03 00 80 61 	sethi  %hi(0x2018400), %g1                     
 200272c:	c4 00 62 b4 	ld  [ %g1 + 0x2b4 ], %g2	! 20186b4 <disktab_size>
 2002730:	80 a2 00 02 	cmp  %o0, %g2                                  
 2002734:	1a 80 00 1e 	bcc  20027ac <get_disk_entry+0x84>             <== NEVER TAKEN
 2002738:	82 10 20 00 	clr  %g1                                       
 200273c:	05 00 80 61 	sethi  %hi(0x2018400), %g2                     
 2002740:	c4 00 a2 b8 	ld  [ %g2 + 0x2b8 ], %g2	! 20186b8 <disktab>   
 2002744:	80 a0 a0 00 	cmp  %g2, 0                                    
 2002748:	02 80 00 19 	be  20027ac <get_disk_entry+0x84>              <== NEVER TAKEN
 200274c:	01 00 00 00 	nop                                            
    rtems_disk_device_table *dtab = disktab + major;                  
 2002750:	91 2a 20 03 	sll  %o0, 3, %o0                               
 2002754:	86 00 80 08 	add  %g2, %o0, %g3                             
                                                                      
    if (minor < dtab->size && dtab->minor != NULL) {                  
 2002758:	c6 00 e0 04 	ld  [ %g3 + 4 ], %g3                           
 200275c:	80 a2 40 03 	cmp  %o1, %g3                                  
 2002760:	1a 80 00 13 	bcc  20027ac <get_disk_entry+0x84>             <== NEVER TAKEN
 2002764:	01 00 00 00 	nop                                            
 2002768:	c4 00 80 08 	ld  [ %g2 + %o0 ], %g2                         
 200276c:	80 a0 a0 00 	cmp  %g2, 0                                    
 2002770:	02 80 00 0f 	be  20027ac <get_disk_entry+0x84>              <== NEVER TAKEN
 2002774:	93 2a 60 02 	sll  %o1, 2, %o1                               
      rtems_disk_device *dd = dtab->minor [minor];                    
 2002778:	c2 00 80 09 	ld  [ %g2 + %o1 ], %g1                         
                                                                      
      if (dd != NULL && !lookup_only) {                               
 200277c:	80 a0 60 00 	cmp  %g1, 0                                    
 2002780:	02 80 00 0b 	be  20027ac <get_disk_entry+0x84>              
 2002784:	80 a2 a0 00 	cmp  %o2, 0                                    
 2002788:	12 80 00 09 	bne  20027ac <get_disk_entry+0x84>             
 200278c:	01 00 00 00 	nop                                            
        if (!dd->deleted) {                                           
 2002790:	c4 08 60 30 	ldub  [ %g1 + 0x30 ], %g2                      
 2002794:	80 a0 a0 00 	cmp  %g2, 0                                    
 2002798:	32 80 00 05 	bne,a   20027ac <get_disk_entry+0x84>          
 200279c:	82 10 20 00 	clr  %g1                                       
          ++dd->uses;                                                 
 20027a0:	c4 00 60 14 	ld  [ %g1 + 0x14 ], %g2                        
 20027a4:	84 00 a0 01 	inc  %g2                                       
 20027a8:	c4 20 60 14 	st  %g2, [ %g1 + 0x14 ]                        
      return dd;                                                      
    }                                                                 
  }                                                                   
                                                                      
  return NULL;                                                        
}                                                                     
 20027ac:	81 c3 e0 08 	retl                                           
 20027b0:	90 10 00 01 	mov  %g1, %o0                                  
                                                                      

02019480 <getdents>: int getdents( int dd_fd, char *dd_buf, int dd_len ) {
 2019480:	9d e3 bf 88 	save  %sp, -120, %sp                           
  rtems_filesystem_location_info_t  loc;                              
                                                                      
  /*                                                                  
   *  Get the file control block structure associated with the file descriptor
   */                                                                 
  iop = rtems_libio_iop( dd_fd );                                     
 2019484:	03 00 80 6f 	sethi  %hi(0x201bc00), %g1                     
 2019488:	c2 00 61 28 	ld  [ %g1 + 0x128 ], %g1	! 201bd28 <rtems_libio_number_iops>
 201948c:	80 a6 00 01 	cmp  %i0, %g1                                  
 2019490:	1a 80 00 06 	bcc  20194a8 <getdents+0x28>                   <== NEVER TAKEN
 2019494:	ba 10 20 00 	clr  %i5                                       
 2019498:	03 00 80 71 	sethi  %hi(0x201c400), %g1                     
 201949c:	fa 00 63 84 	ld  [ %g1 + 0x384 ], %i5	! 201c784 <rtems_libio_iops>
 20194a0:	b1 2e 20 06 	sll  %i0, 6, %i0                               
 20194a4:	ba 07 40 18 	add  %i5, %i0, %i5                             
                                                                      
  /*                                                                  
   *  Make sure we are working on a directory                         
   */                                                                 
  loc = iop->pathinfo;                                                
 20194a8:	92 07 60 1c 	add  %i5, 0x1c, %o1                            
 20194ac:	94 10 20 14 	mov  0x14, %o2                                 
 20194b0:	7f ff d8 01 	call  200f4b4 <memcpy>                         
 20194b4:	90 07 bf ec 	add  %fp, -20, %o0                             
  if ( (*loc.ops->node_type_h)( &loc ) != RTEMS_FILESYSTEM_DIRECTORY )
 20194b8:	c2 07 bf f8 	ld  [ %fp + -8 ], %g1                          
 20194bc:	c2 00 60 10 	ld  [ %g1 + 0x10 ], %g1                        
 20194c0:	9f c0 40 00 	call  %g1                                      
 20194c4:	90 07 bf ec 	add  %fp, -20, %o0                             
 20194c8:	80 a2 20 01 	cmp  %o0, 1                                    
 20194cc:	22 80 00 08 	be,a   20194ec <getdents+0x6c>                 
 20194d0:	c2 07 60 24 	ld  [ %i5 + 0x24 ], %g1                        
    rtems_set_errno_and_return_minus_one( ENOTDIR );                  
 20194d4:	7f ff d4 7b 	call  200e6c0 <__errno>                        
 20194d8:	b0 10 3f ff 	mov  -1, %i0                                   
 20194dc:	82 10 20 14 	mov  0x14, %g1                                 
 20194e0:	c2 22 00 00 	st  %g1, [ %o0 ]                               
 20194e4:	81 c7 e0 08 	ret                                            
 20194e8:	81 e8 00 00 	restore                                        
                                                                      
  /*                                                                  
   *  Return the number of bytes that were actually transfered as a result
   *  of the read attempt.                                            
   */                                                                 
  return (*iop->pathinfo.handlers->read_h)( iop, dd_buf, dd_len  );   
 20194ec:	90 10 00 1d 	mov  %i5, %o0                                  
 20194f0:	c2 00 60 08 	ld  [ %g1 + 8 ], %g1                           
 20194f4:	92 10 00 19 	mov  %i1, %o1                                  
 20194f8:	9f c0 40 00 	call  %g1                                      
 20194fc:	94 10 00 1a 	mov  %i2, %o2                                  
}                                                                     
 2019500:	81 c7 e0 08 	ret                                            
 2019504:	91 e8 00 08 	restore  %g0, %o0, %o0                         
                                                                      

02002e7c <gettimeofday>: */ int gettimeofday( struct timeval *tp, void * __tz __attribute__((unused)) ) {
 2002e7c:	9d e3 bf 98 	save  %sp, -104, %sp                           
  /* struct timezone* tzp = (struct timezone*) __tz; */               
  if ( !tp )                                                          
 2002e80:	80 a6 20 00 	cmp  %i0, 0                                    
 2002e84:	12 80 00 08 	bne  2002ea4 <gettimeofday+0x28>               <== ALWAYS TAKEN
 2002e88:	01 00 00 00 	nop                                            
    rtems_set_errno_and_return_minus_one( EFAULT );                   
 2002e8c:	40 00 2b 9a 	call  200dcf4 <__errno>                        <== NOT EXECUTED
 2002e90:	b0 10 3f ff 	mov  -1, %i0	! ffffffff <RAM_END+0xfdbfffff>   <== NOT EXECUTED
 2002e94:	82 10 20 0e 	mov  0xe, %g1                                  <== NOT EXECUTED
 2002e98:	c2 22 00 00 	st  %g1, [ %o0 ]                               <== NOT EXECUTED
 2002e9c:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2002ea0:	81 e8 00 00 	restore                                        <== NOT EXECUTED
{                                                                     
  ISR_Level       level;                                              
  struct timespec now;                                                
  suseconds_t     useconds;                                           
                                                                      
  _ISR_Disable(level);                                                
 2002ea4:	7f ff fc b6 	call  200217c <sparc_disable_interrupts>       
 2002ea8:	01 00 00 00 	nop                                            
 2002eac:	ba 10 00 08 	mov  %o0, %i5                                  
    _TOD_Get( &now );                                                 
 2002eb0:	40 00 11 13 	call  20072fc <_TOD_Get>                       
 2002eb4:	90 07 bf f8 	add  %fp, -8, %o0                              
  _ISR_Enable(level);                                                 
 2002eb8:	7f ff fc b5 	call  200218c <sparc_enable_interrupts>        
 2002ebc:	90 10 00 1d 	mov  %i5, %o0                                  
                                                                      
  useconds = (suseconds_t)now.tv_nsec;                                
  useconds /= (suseconds_t)TOD_NANOSECONDS_PER_MICROSECOND;           
                                                                      
  time->tv_sec  = now.tv_sec;                                         
 2002ec0:	c2 07 bf f8 	ld  [ %fp + -8 ], %g1                          
  _ISR_Disable(level);                                                
    _TOD_Get( &now );                                                 
  _ISR_Enable(level);                                                 
                                                                      
  useconds = (suseconds_t)now.tv_nsec;                                
  useconds /= (suseconds_t)TOD_NANOSECONDS_PER_MICROSECOND;           
 2002ec4:	d0 07 bf fc 	ld  [ %fp + -4 ], %o0                          
                                                                      
  time->tv_sec  = now.tv_sec;                                         
 2002ec8:	c2 26 00 00 	st  %g1, [ %i0 ]                               
  _ISR_Disable(level);                                                
    _TOD_Get( &now );                                                 
  _ISR_Enable(level);                                                 
                                                                      
  useconds = (suseconds_t)now.tv_nsec;                                
  useconds /= (suseconds_t)TOD_NANOSECONDS_PER_MICROSECOND;           
 2002ecc:	40 00 4f 06 	call  2016ae4 <.div>                           
 2002ed0:	92 10 23 e8 	mov  0x3e8, %o1                                
                                                                      
  time->tv_sec  = now.tv_sec;                                         
  time->tv_usec = useconds;                                           
 2002ed4:	d0 26 20 04 	st  %o0, [ %i0 + 4 ]                           
   *  with Eric Norum, this is how GNU/Linux, Solaris, and MacOS X    
   *  do it.  This puts us in good company.                           
   */                                                                 
                                                                      
  return 0;                                                           
}                                                                     
 2002ed8:	81 c7 e0 08 	ret                                            
 2002edc:	91 e8 20 00 	restore  %g0, 0, %o0                           
                                                                      

0200d414 <imfs_dir_open>: IMFS_jnode_t *the_jnode; /* Is the node a directory ? */ the_jnode = (IMFS_jnode_t *) iop->pathinfo.node_access; if ( the_jnode->type != IMFS_DIRECTORY )
 200d414:	c2 02 20 1c 	ld  [ %o0 + 0x1c ], %g1                        
 200d418:	c4 00 60 4c 	ld  [ %g1 + 0x4c ], %g2                        
 200d41c:	80 a0 a0 01 	cmp  %g2, 1                                    
 200d420:	12 80 00 05 	bne  200d434 <imfs_dir_open+0x20>              <== NEVER TAKEN
 200d424:	82 10 3f ff 	mov  -1, %g1                                   
     return -1;      /* It wasn't a directory --> return error */     
                                                                      
  iop->offset = 0;                                                    
 200d428:	c0 22 20 10 	clr  [ %o0 + 0x10 ]                            
 200d42c:	c0 22 20 14 	clr  [ %o0 + 0x14 ]                            
  return 0;                                                           
 200d430:	82 10 20 00 	clr  %g1                                       
}                                                                     
 200d434:	81 c3 e0 08 	retl                                           
 200d438:	90 10 00 01 	mov  %g1, %o0                                  
                                                                      

0200d640 <imfs_dir_rmnod>: int imfs_dir_rmnod( rtems_filesystem_location_info_t *parent_pathloc, /* IN */ rtems_filesystem_location_info_t *pathloc /* IN */ ) {
 200d640:	9d e3 bf a0 	save  %sp, -96, %sp                            
  IMFS_jnode_t *the_jnode;                                            
                                                                      
  the_jnode = (IMFS_jnode_t *) pathloc->node_access;                  
 200d644:	fa 06 40 00 	ld  [ %i1 ], %i5                               
                                                                      
  /*                                                                  
   * You cannot remove a node that still has children                 
   */                                                                 
                                                                      
  if ( ! rtems_chain_is_empty( &the_jnode->info.directory.Entries ) ) 
 200d648:	c4 07 60 50 	ld  [ %i5 + 0x50 ], %g2                        
RTEMS_INLINE_ROUTINE bool _Chain_Is_empty(                            
  const Chain_Control *the_chain                                      
)                                                                     
{                                                                     
  return _Chain_Immutable_first( the_chain )                          
    == _Chain_Immutable_tail( the_chain );                            
 200d64c:	82 07 60 54 	add  %i5, 0x54, %g1                            
 200d650:	80 a0 80 01 	cmp  %g2, %g1                                  
 200d654:	22 80 00 06 	be,a   200d66c <imfs_dir_rmnod+0x2c>           
 200d658:	c2 06 60 10 	ld  [ %i1 + 0x10 ], %g1                        
     rtems_set_errno_and_return_minus_one( ENOTEMPTY );               
 200d65c:	40 00 01 a6 	call  200dcf4 <__errno>                        
 200d660:	01 00 00 00 	nop                                            
 200d664:	10 80 00 0d 	b  200d698 <imfs_dir_rmnod+0x58>               
 200d668:	82 10 20 5a 	mov  0x5a, %g1	! 5a <PROM_START+0x5a>          
                                                                      
  /*                                                                  
   * You cannot remove the file system root node.                     
   */                                                                 
                                                                      
  if ( rtems_filesystem_is_root_location(pathloc) )                   
 200d66c:	c2 00 60 1c 	ld  [ %g1 + 0x1c ], %g1                        
 200d670:	80 a0 40 1d 	cmp  %g1, %i5                                  
 200d674:	02 80 00 06 	be  200d68c <imfs_dir_rmnod+0x4c>              
 200d678:	01 00 00 00 	nop                                            
                                                                      
  /*                                                                  
   * You cannot remove a mountpoint.                                  
   */                                                                 
                                                                      
   if ( the_jnode->info.directory.mt_fs != NULL )                     
 200d67c:	c2 07 60 5c 	ld  [ %i5 + 0x5c ], %g1                        
 200d680:	80 a0 60 00 	cmp  %g1, 0                                    
 200d684:	02 80 00 08 	be  200d6a4 <imfs_dir_rmnod+0x64>              <== ALWAYS TAKEN
 200d688:	01 00 00 00 	nop                                            
     rtems_set_errno_and_return_minus_one( EBUSY );                   
 200d68c:	40 00 01 9a 	call  200dcf4 <__errno>                        
 200d690:	01 00 00 00 	nop                                            
 200d694:	82 10 20 10 	mov  0x10, %g1	! 10 <PROM_START+0x10>          
 200d698:	c2 22 00 00 	st  %g1, [ %o0 ]                               
 200d69c:	81 c7 e0 08 	ret                                            
 200d6a0:	91 e8 3f ff 	restore  %g0, -1, %o0                          
                                                                      
  IMFS_create_orphan( the_jnode );                                    
 200d6a4:	7f ff f6 24 	call  200af34 <IMFS_create_orphan>             
 200d6a8:	90 10 00 1d 	mov  %i5, %o0                                  
  IMFS_check_node_remove( the_jnode );                                
 200d6ac:	90 10 00 1d 	mov  %i5, %o0                                  
 200d6b0:	7f ff f6 33 	call  200af7c <IMFS_check_node_remove>         
 200d6b4:	b0 10 20 00 	clr  %i0                                       
                                                                      
  return 0;                                                           
}                                                                     
 200d6b8:	81 c7 e0 08 	ret                                            
 200d6bc:	81 e8 00 00 	restore                                        
                                                                      

0200347c <init_etc_passwd_group>: /* * Initialize useable but dummy databases */ void init_etc_passwd_group(void) {
 200347c:	9d e3 bf a0 	save  %sp, -96, %sp                            
  FILE *fp;                                                           
  static char etc_passwd_initted = 0;                                 
                                                                      
  if (etc_passwd_initted)                                             
 2003480:	03 00 80 59 	sethi  %hi(0x2016400), %g1                     
 2003484:	c4 48 60 48 	ldsb  [ %g1 + 0x48 ], %g2	! 2016448 <etc_passwd_initted.6490>
 2003488:	80 a0 a0 00 	cmp  %g2, 0                                    
 200348c:	12 80 00 32 	bne  2003554 <init_etc_passwd_group+0xd8>      
 2003490:	01 00 00 00 	nop                                            
    return;                                                           
  etc_passwd_initted = 1;                                             
 2003494:	84 10 20 01 	mov  1, %g2	! 1 <PROM_START+0x1>               
  mkdir("/etc", 0777);                                                
 2003498:	92 10 21 ff 	mov  0x1ff, %o1                                
  FILE *fp;                                                           
  static char etc_passwd_initted = 0;                                 
                                                                      
  if (etc_passwd_initted)                                             
    return;                                                           
  etc_passwd_initted = 1;                                             
 200349c:	c4 28 60 48 	stb  %g2, [ %g1 + 0x48 ]                       
  mkdir("/etc", 0777);                                                
 20034a0:	11 00 80 54 	sethi  %hi(0x2015000), %o0                     
 20034a4:	40 00 02 53 	call  2003df0 <mkdir>                          
 20034a8:	90 12 21 70 	or  %o0, 0x170, %o0	! 2015170 <IMFS_ops+0x94>  
                                                                      
  /*                                                                  
   *  Initialize /etc/passwd                                          
   */                                                                 
  if ((fp = fopen("/etc/passwd", "r")) != NULL) {                     
 20034ac:	3b 00 80 54 	sethi  %hi(0x2015000), %i5                     
 20034b0:	13 00 80 54 	sethi  %hi(0x2015000), %o1                     
 20034b4:	90 17 61 78 	or  %i5, 0x178, %o0                            
 20034b8:	40 00 2e b6 	call  200ef90 <fopen>                          
 20034bc:	92 12 61 88 	or  %o1, 0x188, %o1                            
 20034c0:	80 a2 20 00 	cmp  %o0, 0                                    
 20034c4:	12 80 00 0d 	bne  20034f8 <init_etc_passwd_group+0x7c>      
 20034c8:	01 00 00 00 	nop                                            
    fclose(fp);                                                       
  }                                                                   
  else if ((fp = fopen("/etc/passwd", "w")) != NULL) {                
 20034cc:	90 17 61 78 	or  %i5, 0x178, %o0                            
 20034d0:	13 00 80 54 	sethi  %hi(0x2015000), %o1                     
 20034d4:	40 00 2e af 	call  200ef90 <fopen>                          
 20034d8:	92 12 61 90 	or  %o1, 0x190, %o1	! 2015190 <IMFS_ops+0xb4>  
 20034dc:	b0 92 20 00 	orcc  %o0, 0, %i0                              
 20034e0:	02 80 00 08 	be  2003500 <init_etc_passwd_group+0x84>       <== NEVER TAKEN
 20034e4:	11 00 80 54 	sethi  %hi(0x2015000), %o0                     
    fprintf(fp, "root:*:0:0:root::/:/bin/sh\n"                        
 20034e8:	92 10 00 18 	mov  %i0, %o1                                  
 20034ec:	40 00 2e d5 	call  200f040 <fputs>                          
 20034f0:	90 12 21 98 	or  %o0, 0x198, %o0                            
                 "rtems:*:1:1:RTEMS Application::/:/bin/sh\n"         
                 "tty:!:2:2:tty owner::/:/bin/false\n" );             
    fclose(fp);                                                       
 20034f4:	90 10 00 18 	mov  %i0, %o0                                  
 20034f8:	40 00 2c c7 	call  200e814 <fclose>                         
 20034fc:	01 00 00 00 	nop                                            
  }                                                                   
                                                                      
  /*                                                                  
   *  Initialize /etc/group                                           
   */                                                                 
  if ((fp = fopen("/etc/group", "r")) != NULL) {                      
 2003500:	3b 00 80 54 	sethi  %hi(0x2015000), %i5                     
 2003504:	13 00 80 54 	sethi  %hi(0x2015000), %o1                     
 2003508:	90 17 62 00 	or  %i5, 0x200, %o0                            
 200350c:	40 00 2e a1 	call  200ef90 <fopen>                          
 2003510:	92 12 61 88 	or  %o1, 0x188, %o1                            
 2003514:	b0 92 20 00 	orcc  %o0, 0, %i0                              
 2003518:	12 80 00 0d 	bne  200354c <init_etc_passwd_group+0xd0>      
 200351c:	01 00 00 00 	nop                                            
    fclose(fp);                                                       
  }                                                                   
  else if ((fp = fopen("/etc/group", "w")) != NULL) {                 
 2003520:	90 17 62 00 	or  %i5, 0x200, %o0                            
 2003524:	13 00 80 54 	sethi  %hi(0x2015000), %o1                     
 2003528:	40 00 2e 9a 	call  200ef90 <fopen>                          
 200352c:	92 12 61 90 	or  %o1, 0x190, %o1	! 2015190 <IMFS_ops+0xb4>  
 2003530:	b0 92 20 00 	orcc  %o0, 0, %i0                              
 2003534:	02 80 00 08 	be  2003554 <init_etc_passwd_group+0xd8>       <== NEVER TAKEN
 2003538:	01 00 00 00 	nop                                            
    fprintf( fp, "root:x:0:root\n"                                    
 200353c:	11 00 80 54 	sethi  %hi(0x2015000), %o0                     
 2003540:	92 10 00 18 	mov  %i0, %o1                                  
 2003544:	40 00 2e bf 	call  200f040 <fputs>                          
 2003548:	90 12 22 10 	or  %o0, 0x210, %o0                            
                 "rtems:x:1:rtems\n"                                  
                 "tty:x:2:tty\n" );                                   
    fclose(fp);                                                       
 200354c:	40 00 2c b2 	call  200e814 <fclose>                         
 2003550:	81 e8 00 00 	restore                                        
 2003554:	81 c7 e0 08 	ret                                            
 2003558:	81 e8 00 00 	restore                                        
                                                                      

02004d48 <iproc>: /* * Process a single input character */ static int iproc (unsigned char c, struct rtems_termios_tty *tty) {
 2004d48:	9d e3 bf a0 	save  %sp, -96, %sp                            
  if (tty->termios.c_iflag & ISTRIP)                                  
 2004d4c:	c4 06 60 30 	ld  [ %i1 + 0x30 ], %g2                        
 2004d50:	80 88 a0 20 	btst  0x20, %g2                                
 2004d54:	32 80 00 02 	bne,a   2004d5c <iproc+0x14>                   <== NEVER TAKEN
 2004d58:	b0 0e 20 7f 	and  %i0, 0x7f, %i0                            <== NOT EXECUTED
    c &= 0x7f;                                                        
                                                                      
  if (tty->termios.c_iflag & IUCLC)                                   
 2004d5c:	80 88 a2 00 	btst  0x200, %g2                               
 2004d60:	02 80 00 0c 	be  2004d90 <iproc+0x48>                       
 2004d64:	80 a6 20 0d 	cmp  %i0, 0xd                                  
    c = tolower (c);                                                  
 2004d68:	03 00 80 6a 	sethi  %hi(0x201a800), %g1                     
 2004d6c:	c2 00 63 bc 	ld  [ %g1 + 0x3bc ], %g1	! 201abbc <__ctype_ptr__>
 2004d70:	82 00 40 18 	add  %g1, %i0, %g1                             
 2004d74:	c2 08 60 01 	ldub  [ %g1 + 1 ], %g1                         
 2004d78:	82 08 60 03 	and  %g1, 3, %g1                               
 2004d7c:	80 a0 60 01 	cmp  %g1, 1                                    
 2004d80:	22 80 00 02 	be,a   2004d88 <iproc+0x40>                    
 2004d84:	b0 06 20 20 	add  %i0, 0x20, %i0                            
 2004d88:	b0 0e 20 ff 	and  %i0, 0xff, %i0                            
                                                                      
  if (c == '\r') {                                                    
 2004d8c:	80 a6 20 0d 	cmp  %i0, 0xd                                  
 2004d90:	12 80 00 0a 	bne  2004db8 <iproc+0x70>                      
 2004d94:	80 a6 20 0a 	cmp  %i0, 0xa                                  
    if (tty->termios.c_iflag & IGNCR)                                 
 2004d98:	80 88 a0 80 	btst  0x80, %g2                                
 2004d9c:	12 80 00 5b 	bne  2004f08 <iproc+0x1c0>                     <== NEVER TAKEN
 2004da0:	82 10 20 00 	clr  %g1                                       
      return 0;                                                       
    if (tty->termios.c_iflag & ICRNL)                                 
 2004da4:	80 88 a1 00 	btst  0x100, %g2                               
 2004da8:	32 80 00 0d 	bne,a   2004ddc <iproc+0x94>                   <== ALWAYS TAKEN
 2004dac:	b0 10 20 0a 	mov  0xa, %i0                                  
      c = '\n';                                                       
  } else if ((c == '\n') && (tty->termios.c_iflag & INLCR)) {         
    c = '\r';                                                         
  }                                                                   
                                                                      
  if ((c != '\0') && (tty->termios.c_lflag & ICANON)) {               
 2004db0:	10 80 00 0c 	b  2004de0 <iproc+0x98>                        <== NOT EXECUTED
 2004db4:	c4 06 60 3c 	ld  [ %i1 + 0x3c ], %g2                        <== NOT EXECUTED
  if (c == '\r') {                                                    
    if (tty->termios.c_iflag & IGNCR)                                 
      return 0;                                                       
    if (tty->termios.c_iflag & ICRNL)                                 
      c = '\n';                                                       
  } else if ((c == '\n') && (tty->termios.c_iflag & INLCR)) {         
 2004db8:	12 80 00 07 	bne  2004dd4 <iproc+0x8c>                      
 2004dbc:	80 a6 20 00 	cmp  %i0, 0                                    
 2004dc0:	80 88 a0 40 	btst  0x40, %g2                                
 2004dc4:	32 80 00 06 	bne,a   2004ddc <iproc+0x94>                   <== NEVER TAKEN
 2004dc8:	b0 10 20 0d 	mov  0xd, %i0                                  <== NOT EXECUTED
    c = '\r';                                                         
  }                                                                   
                                                                      
  if ((c != '\0') && (tty->termios.c_lflag & ICANON)) {               
 2004dcc:	10 80 00 05 	b  2004de0 <iproc+0x98>                        
 2004dd0:	c4 06 60 3c 	ld  [ %i1 + 0x3c ], %g2                        
 2004dd4:	02 80 00 3a 	be  2004ebc <iproc+0x174>                      <== NEVER TAKEN
 2004dd8:	03 00 80 6a 	sethi  %hi(0x201a800), %g1                     
 2004ddc:	c4 06 60 3c 	ld  [ %i1 + 0x3c ], %g2                        
 2004de0:	80 88 a0 02 	btst  2, %g2                                   
 2004de4:	02 80 00 36 	be  2004ebc <iproc+0x174>                      
 2004de8:	03 00 80 6a 	sethi  %hi(0x201a800), %g1                     
    if (c == tty->termios.c_cc[VERASE]) {                             
 2004dec:	c2 0e 60 43 	ldub  [ %i1 + 0x43 ], %g1                      
      erase (tty, 0);                                                 
 2004df0:	90 10 00 19 	mov  %i1, %o0                                  
  } else if ((c == '\n') && (tty->termios.c_iflag & INLCR)) {         
    c = '\r';                                                         
  }                                                                   
                                                                      
  if ((c != '\0') && (tty->termios.c_lflag & ICANON)) {               
    if (c == tty->termios.c_cc[VERASE]) {                             
 2004df4:	80 a0 40 18 	cmp  %g1, %i0                                  
 2004df8:	02 80 00 08 	be  2004e18 <iproc+0xd0>                       
 2004dfc:	92 10 20 00 	clr  %o1                                       
      erase (tty, 0);                                                 
      return 0;                                                       
    }                                                                 
    else if (c == tty->termios.c_cc[VKILL]) {                         
 2004e00:	c2 0e 60 44 	ldub  [ %i1 + 0x44 ], %g1                      
 2004e04:	80 a0 40 18 	cmp  %g1, %i0                                  
 2004e08:	32 80 00 08 	bne,a   2004e28 <iproc+0xe0>                   
 2004e0c:	c6 0e 60 45 	ldub  [ %i1 + 0x45 ], %g3                      
      erase (tty, 1);                                                 
 2004e10:	90 10 00 19 	mov  %i1, %o0                                  
 2004e14:	92 10 20 01 	mov  1, %o1                                    
 2004e18:	7f ff ff 46 	call  2004b30 <erase>                          
 2004e1c:	01 00 00 00 	nop                                            
  if (tty->ccount < (CBUFSIZE-1)) {                                   
    if (tty->termios.c_lflag & ECHO)                                  
      echo (c, tty);                                                  
    tty->cbuf[tty->ccount++] = c;                                     
  }                                                                   
  return 0;                                                           
 2004e20:	10 80 00 3a 	b  2004f08 <iproc+0x1c0>                       
 2004e24:	82 10 20 00 	clr  %g1	! 0 <PROM_START>                      
    }                                                                 
    else if (c == tty->termios.c_cc[VKILL]) {                         
      erase (tty, 1);                                                 
      return 0;                                                       
    }                                                                 
    else if (c == tty->termios.c_cc[VEOF]) {                          
 2004e28:	80 a0 c0 18 	cmp  %g3, %i0                                  
 2004e2c:	02 80 00 37 	be  2004f08 <iproc+0x1c0>                      <== NEVER TAKEN
 2004e30:	82 10 20 01 	mov  1, %g1                                    
      return 1;                                                       
    } else if (c == '\n') {                                           
 2004e34:	80 a6 20 0a 	cmp  %i0, 0xa                                  
 2004e38:	32 80 00 0d 	bne,a   2004e6c <iproc+0x124>                  
 2004e3c:	c2 0e 60 4c 	ldub  [ %i1 + 0x4c ], %g1                      
      if (tty->termios.c_lflag & (ECHO | ECHONL))                     
 2004e40:	80 88 a0 48 	btst  0x48, %g2                                
 2004e44:	22 80 00 06 	be,a   2004e5c <iproc+0x114>                   <== NEVER TAKEN
 2004e48:	c2 06 60 20 	ld  [ %i1 + 0x20 ], %g1                        <== NOT EXECUTED
        echo (c, tty);                                                
 2004e4c:	90 10 20 0a 	mov  0xa, %o0                                  
 2004e50:	7f ff ff 18 	call  2004ab0 <echo>                           
 2004e54:	92 10 00 19 	mov  %i1, %o1                                  
      tty->cbuf[tty->ccount++] = c;                                   
 2004e58:	c2 06 60 20 	ld  [ %i1 + 0x20 ], %g1                        
 2004e5c:	c4 06 60 1c 	ld  [ %i1 + 0x1c ], %g2                        
 2004e60:	86 10 20 0a 	mov  0xa, %g3                                  
 2004e64:	10 80 00 12 	b  2004eac <iproc+0x164>                       
 2004e68:	c6 28 80 01 	stb  %g3, [ %g2 + %g1 ]                        
      return 1;                                                       
    } else if ((c == tty->termios.c_cc[VEOL]) ||                      
 2004e6c:	80 a0 40 18 	cmp  %g1, %i0                                  
 2004e70:	02 80 00 07 	be  2004e8c <iproc+0x144>                      <== NEVER TAKEN
 2004e74:	80 88 a0 08 	btst  8, %g2                                   
 2004e78:	c2 0e 60 51 	ldub  [ %i1 + 0x51 ], %g1                      
 2004e7c:	80 a0 40 18 	cmp  %g1, %i0                                  
 2004e80:	12 80 00 0f 	bne  2004ebc <iproc+0x174>                     <== ALWAYS TAKEN
 2004e84:	03 00 80 6a 	sethi  %hi(0x201a800), %g1                     
               (c == tty->termios.c_cc[VEOL2])) {                     
      if (tty->termios.c_lflag & ECHO)                                
 2004e88:	80 88 a0 08 	btst  8, %g2                                   <== NOT EXECUTED
 2004e8c:	22 80 00 06 	be,a   2004ea4 <iproc+0x15c>                   <== NOT EXECUTED
 2004e90:	c2 06 60 20 	ld  [ %i1 + 0x20 ], %g1                        <== NOT EXECUTED
        echo (c, tty);                                                
 2004e94:	90 10 00 18 	mov  %i0, %o0                                  <== NOT EXECUTED
 2004e98:	7f ff ff 06 	call  2004ab0 <echo>                           <== NOT EXECUTED
 2004e9c:	92 10 00 19 	mov  %i1, %o1                                  <== NOT EXECUTED
      tty->cbuf[tty->ccount++] = c;                                   
 2004ea0:	c2 06 60 20 	ld  [ %i1 + 0x20 ], %g1                        <== NOT EXECUTED
 2004ea4:	c4 06 60 1c 	ld  [ %i1 + 0x1c ], %g2                        <== NOT EXECUTED
 2004ea8:	f0 28 80 01 	stb  %i0, [ %g2 + %g1 ]                        <== NOT EXECUTED
 2004eac:	82 00 60 01 	inc  %g1                                       
 2004eb0:	c2 26 60 20 	st  %g1, [ %i1 + 0x20 ]                        
      return 1;                                                       
 2004eb4:	10 80 00 15 	b  2004f08 <iproc+0x1c0>                       
 2004eb8:	82 10 20 01 	mov  1, %g1                                    
  }                                                                   
                                                                      
  /*                                                                  
   * FIXME: Should do IMAXBEL handling somehow                        
   */                                                                 
  if (tty->ccount < (CBUFSIZE-1)) {                                   
 2004ebc:	c6 06 60 20 	ld  [ %i1 + 0x20 ], %g3                        
 2004ec0:	c4 00 62 34 	ld  [ %g1 + 0x234 ], %g2                       
 2004ec4:	84 00 bf ff 	add  %g2, -1, %g2                              
 2004ec8:	80 a0 c0 02 	cmp  %g3, %g2                                  
 2004ecc:	16 80 00 0f 	bge  2004f08 <iproc+0x1c0>                     <== NEVER TAKEN
 2004ed0:	82 10 20 00 	clr  %g1                                       
    if (tty->termios.c_lflag & ECHO)                                  
 2004ed4:	c2 06 60 3c 	ld  [ %i1 + 0x3c ], %g1                        
 2004ed8:	80 88 60 08 	btst  8, %g1                                   
 2004edc:	22 80 00 06 	be,a   2004ef4 <iproc+0x1ac>                   <== NEVER TAKEN
 2004ee0:	c2 06 60 20 	ld  [ %i1 + 0x20 ], %g1                        <== NOT EXECUTED
      echo (c, tty);                                                  
 2004ee4:	90 10 00 18 	mov  %i0, %o0                                  
 2004ee8:	7f ff fe f2 	call  2004ab0 <echo>                           
 2004eec:	92 10 00 19 	mov  %i1, %o1                                  
    tty->cbuf[tty->ccount++] = c;                                     
 2004ef0:	c2 06 60 20 	ld  [ %i1 + 0x20 ], %g1                        
 2004ef4:	c4 06 60 1c 	ld  [ %i1 + 0x1c ], %g2                        
 2004ef8:	f0 28 80 01 	stb  %i0, [ %g2 + %g1 ]                        
 2004efc:	82 00 60 01 	inc  %g1                                       
 2004f00:	c2 26 60 20 	st  %g1, [ %i1 + 0x20 ]                        
  }                                                                   
  return 0;                                                           
 2004f04:	82 10 20 00 	clr  %g1                                       
}                                                                     
 2004f08:	81 c7 e0 08 	ret                                            
 2004f0c:	91 e8 00 01 	restore  %g0, %g1, %o0                         
                                                                      

020182b0 <kill>: #if !defined(RTEMS_POSIX_API) int kill( pid_t pid, int sig ) { return 0; }
 20182b0:	81 c3 e0 08 	retl                                           <== NOT EXECUTED
 20182b4:	90 10 20 00 	clr  %o0                                       <== NOT EXECUTED
                                                                      

0200366c <libc_wrapup>: extern void _wrapup_reent(struct _reent *); extern void _reclaim_reent(struct _reent *); void libc_wrapup(void) {
 200366c:	9d e3 bf a0 	save  %sp, -96, %sp                            
  /*                                                                  
   *  In case RTEMS is already down, don't do this.  It could be      
   *  dangerous.                                                      
   */                                                                 
                                                                      
  if (!_System_state_Is_up(_System_state_Get()))                      
 2003670:	03 00 80 6d 	sethi  %hi(0x201b400), %g1                     
 2003674:	c2 00 62 74 	ld  [ %g1 + 0x274 ], %g1	! 201b674 <_System_state_Current>
 2003678:	80 a0 60 03 	cmp  %g1, 3                                    
 200367c:	12 80 00 16 	bne  20036d4 <libc_wrapup+0x68>                <== NEVER TAKEN
 2003680:	39 00 80 6a 	sethi  %hi(0x201a800), %i4                     
  /*                                                                  
   *  This was already done if the user called exit() directly .      
  _wrapup_reent(0);                                                   
   */                                                                 
                                                                      
  if (_REENT != _global_impure_ptr) {                                 
 2003684:	03 00 80 67 	sethi  %hi(0x2019c00), %g1                     
 2003688:	fa 00 61 a8 	ld  [ %g1 + 0x1a8 ], %i5	! 2019da8 <_global_impure_ptr>
 200368c:	c2 07 23 c0 	ld  [ %i4 + 0x3c0 ], %g1                       
 2003690:	80 a0 40 1d 	cmp  %g1, %i5                                  
 2003694:	22 80 00 06 	be,a   20036ac <libc_wrapup+0x40>              
 2003698:	3b 00 80 6a 	sethi  %hi(0x201a800), %i5                     
      _wrapup_reent(_global_impure_ptr);                              
 200369c:	40 00 2c d2 	call  200e9e4 <_wrapup_reent>                  
 20036a0:	90 10 00 1d 	mov  %i5, %o0                                  
      /*  Don't reclaim this one, just in case we do printfs          
       *  on the way out to ROM.                                      
       */                                                             
      _reclaim_reent(&libc_global_reent);                             
#endif                                                                
      _REENT = _global_impure_ptr;                                    
 20036a4:	fa 27 23 c0 	st  %i5, [ %i4 + 0x3c0 ]                       
   *                                                                  
   * Should this be changed to do *all* file streams?                 
   *    _fwalk (_REENT, fclose);                                      
   */                                                                 
                                                                      
  fclose (stdin);                                                     
 20036a8:	3b 00 80 6a 	sethi  %hi(0x201a800), %i5                     
 20036ac:	c2 07 63 c0 	ld  [ %i5 + 0x3c0 ], %g1	! 201abc0 <_impure_ptr>
 20036b0:	40 00 29 e3 	call  200de3c <fclose>                         
 20036b4:	d0 00 60 04 	ld  [ %g1 + 4 ], %o0                           
  fclose (stdout);                                                    
 20036b8:	c2 07 63 c0 	ld  [ %i5 + 0x3c0 ], %g1                       
 20036bc:	40 00 29 e0 	call  200de3c <fclose>                         
 20036c0:	d0 00 60 08 	ld  [ %g1 + 8 ], %o0                           
  fclose (stderr);                                                    
 20036c4:	c2 07 63 c0 	ld  [ %i5 + 0x3c0 ], %g1                       
 20036c8:	f0 00 60 0c 	ld  [ %g1 + 0xc ], %i0                         
 20036cc:	40 00 29 dc 	call  200de3c <fclose>                         
 20036d0:	81 e8 00 00 	restore                                        
 20036d4:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 20036d8:	81 e8 00 00 	restore                                        <== NOT EXECUTED
                                                                      

02003148 <malloc>: #include "malloc_p.h" void *malloc( size_t size ) {
 2003148:	9d e3 bf a0 	save  %sp, -96, %sp                            
  void        *return_this;                                           
                                                                      
  MSBUMP(malloc_calls, 1);                                            
 200314c:	03 00 80 6c 	sethi  %hi(0x201b000), %g1                     
 2003150:	82 10 63 70 	or  %g1, 0x370, %g1	! 201b370 <rtems_malloc_statistics>
 2003154:	c4 00 60 04 	ld  [ %g1 + 4 ], %g2                           
#include "malloc_p.h"                                                 
                                                                      
void *malloc(                                                         
  size_t  size                                                        
)                                                                     
{                                                                     
 2003158:	ba 10 00 18 	mov  %i0, %i5                                  
  void        *return_this;                                           
                                                                      
  MSBUMP(malloc_calls, 1);                                            
 200315c:	84 00 a0 01 	inc  %g2                                       
                                                                      
  /*                                                                  
   *  If some free's have been deferred, then do them now.            
   */                                                                 
  malloc_deferred_frees_process();                                    
 2003160:	7f ff ff ab 	call  200300c <malloc_deferred_frees_process>  
 2003164:	c4 20 60 04 	st  %g2, [ %g1 + 4 ]                           
                                                                      
  /*                                                                  
   * Validate the parameters                                          
   */                                                                 
  if ( !size )                                                        
 2003168:	80 a7 60 00 	cmp  %i5, 0                                    
 200316c:	02 80 00 23 	be  20031f8 <malloc+0xb0>                      
 2003170:	b0 10 20 00 	clr  %i0                                       
    return (void *) 0;                                                
                                                                      
  /*                                                                  
   *  Do not attempt to allocate memory if not in correct system state.
   */                                                                 
  if ( _System_state_Is_up(_System_state_Get()) &&                    
 2003174:	03 00 80 6d 	sethi  %hi(0x201b400), %g1                     
 2003178:	c2 00 62 74 	ld  [ %g1 + 0x274 ], %g1	! 201b674 <_System_state_Current>
 200317c:	80 a0 60 03 	cmp  %g1, 3                                    
 2003180:	12 80 00 07 	bne  200319c <malloc+0x54>                     
 2003184:	03 00 80 6a 	sethi  %hi(0x201a800), %g1                     
       !malloc_is_system_state_OK() )                                 
 2003188:	7f ff ff 8f 	call  2002fc4 <malloc_is_system_state_OK>      
 200318c:	01 00 00 00 	nop                                            
    return (void *) 0;                                                
                                                                      
  /*                                                                  
   *  Do not attempt to allocate memory if not in correct system state.
   */                                                                 
  if ( _System_state_Is_up(_System_state_Get()) &&                    
 2003190:	80 8a 20 ff 	btst  0xff, %o0                                
 2003194:	02 80 00 19 	be  20031f8 <malloc+0xb0>                      <== NEVER TAKEN
 2003198:	03 00 80 6a 	sethi  %hi(0x201a800), %g1                     
RTEMS_INLINE_ROUTINE void *_Protected_heap_Allocate(                  
  Heap_Control *heap,                                                 
  uintptr_t size                                                      
)                                                                     
{                                                                     
  return _Protected_heap_Allocate_aligned_with_boundary( heap, size, 0, 0 );
 200319c:	d0 00 61 10 	ld  [ %g1 + 0x110 ], %o0	! 201a910 <RTEMS_Malloc_Heap>
 20031a0:	92 10 00 1d 	mov  %i5, %o1                                  
 20031a4:	94 10 20 00 	clr  %o2                                       
 20031a8:	40 00 13 b7 	call  2008084 <_Protected_heap_Allocate_aligned_with_boundary>
 20031ac:	96 10 20 00 	clr  %o3                                       
   * If this fails then return a NULL pointer.                        
   */                                                                 
                                                                      
  return_this = _Protected_heap_Allocate( RTEMS_Malloc_Heap, size );  
                                                                      
  if ( !return_this ) {                                               
 20031b0:	b0 92 20 00 	orcc  %o0, 0, %i0                              
 20031b4:	12 80 00 13 	bne  2003200 <malloc+0xb8>                     
 20031b8:	03 00 80 6c 	sethi  %hi(0x201b000), %g1                     
    if (rtems_malloc_sbrk_helpers)                                    
 20031bc:	03 00 80 6c 	sethi  %hi(0x201b000), %g1                     
 20031c0:	c2 00 60 b4 	ld  [ %g1 + 0xb4 ], %g1	! 201b0b4 <rtems_malloc_sbrk_helpers>
 20031c4:	80 a0 60 00 	cmp  %g1, 0                                    
 20031c8:	02 80 00 08 	be  20031e8 <malloc+0xa0>                      
 20031cc:	01 00 00 00 	nop                                            
      return_this = (*rtems_malloc_sbrk_helpers->extend)( size );     
 20031d0:	c2 00 60 04 	ld  [ %g1 + 4 ], %g1                           
 20031d4:	9f c0 40 00 	call  %g1                                      
 20031d8:	90 10 00 1d 	mov  %i5, %o0                                  
    if ( !return_this ) {                                             
 20031dc:	b0 92 20 00 	orcc  %o0, 0, %i0                              
 20031e0:	12 80 00 08 	bne  2003200 <malloc+0xb8>                     
 20031e4:	03 00 80 6c 	sethi  %hi(0x201b000), %g1                     
      errno = ENOMEM;                                                 
 20031e8:	40 00 2a c3 	call  200dcf4 <__errno>                        
 20031ec:	b0 10 20 00 	clr  %i0                                       
 20031f0:	82 10 20 0c 	mov  0xc, %g1                                  
 20031f4:	c2 22 00 00 	st  %g1, [ %o0 ]                               
      return (void *) 0;                                              
 20031f8:	81 c7 e0 08 	ret                                            
 20031fc:	81 e8 00 00 	restore                                        
  }                                                                   
                                                                      
  /*                                                                  
   *  If the user wants us to dirty the allocated memory, then do it. 
   */                                                                 
  if ( rtems_malloc_dirty_helper )                                    
 2003200:	c2 00 60 b0 	ld  [ %g1 + 0xb0 ], %g1                        
 2003204:	80 a0 60 00 	cmp  %g1, 0                                    
 2003208:	02 80 00 04 	be  2003218 <malloc+0xd0>                      
 200320c:	90 10 00 18 	mov  %i0, %o0                                  
    (*rtems_malloc_dirty_helper)( return_this, size );                
 2003210:	9f c0 40 00 	call  %g1                                      
 2003214:	92 10 00 1d 	mov  %i5, %o1                                  
                                                                      
  /*                                                                  
   *  If configured, update the statistics                            
   */                                                                 
  if ( rtems_malloc_statistics_helpers )                              
 2003218:	03 00 80 6c 	sethi  %hi(0x201b000), %g1                     
 200321c:	c2 00 60 b8 	ld  [ %g1 + 0xb8 ], %g1	! 201b0b8 <rtems_malloc_statistics_helpers>
 2003220:	80 a0 60 00 	cmp  %g1, 0                                    
 2003224:	02 80 00 05 	be  2003238 <malloc+0xf0>                      
 2003228:	01 00 00 00 	nop                                            
    (*rtems_malloc_statistics_helpers->at_malloc)(return_this);       
 200322c:	c2 00 60 04 	ld  [ %g1 + 4 ], %g1                           
 2003230:	9f c0 40 00 	call  %g1                                      
 2003234:	90 10 00 18 	mov  %i0, %o0                                  
                                                                      
  return return_this;                                                 
}                                                                     
 2003238:	81 c7 e0 08 	ret                                            
 200323c:	81 e8 00 00 	restore                                        
                                                                      

02002f40 <malloc_sbrk_extend_and_allocate>: } void *malloc_sbrk_extend_and_allocate( size_t size ) {
 2002f40:	9d e3 bf a0 	save  %sp, -96, %sp                            
   *  Round to the "requested sbrk amount" so hopefully we won't have 
   *  to grow again for a while.  This effectively does sbrk() calls  
   *  in "page" amounts.                                              
   */                                                                 
                                                                      
  sbrk_amount = RTEMS_Malloc_Sbrk_amount;                             
 2002f44:	03 00 80 54 	sethi  %hi(0x2015000), %g1                     
 2002f48:	fa 00 60 c8 	ld  [ %g1 + 0xc8 ], %i5	! 20150c8 <RTEMS_Malloc_Sbrk_amount>
                                                                      
  if ( sbrk_amount == 0 )                                             
 2002f4c:	80 a7 60 00 	cmp  %i5, 0                                    
 2002f50:	02 80 00 22 	be  2002fd8 <malloc_sbrk_extend_and_allocate+0x98><== NEVER TAKEN
 2002f54:	b2 10 00 18 	mov  %i0, %i1                                  
    return (void *) 0;                                                
                                                                      
  the_size = ((size + sbrk_amount) / sbrk_amount * sbrk_amount);      
 2002f58:	92 10 00 1d 	mov  %i5, %o1                                  
 2002f5c:	40 00 38 d5 	call  20112b0 <.udiv>                          
 2002f60:	90 06 00 1d 	add  %i0, %i5, %o0                             
 2002f64:	40 00 38 99 	call  20111c8 <.umul>                          
 2002f68:	92 10 00 1d 	mov  %i5, %o1                                  
                                                                      
  starting_address = (void *) sbrk(the_size);                         
 2002f6c:	7f ff f9 1f 	call  20013e8 <sbrk>                           
 2002f70:	ba 10 00 08 	mov  %o0, %i5                                  
  if ( starting_address == (void*) -1 )                               
 2002f74:	80 a2 3f ff 	cmp  %o0, -1                                   
 2002f78:	02 80 00 18 	be  2002fd8 <malloc_sbrk_extend_and_allocate+0x98>
 2002f7c:	92 10 00 08 	mov  %o0, %o1                                  
    return (void *) 0;                                                
                                                                      
  if ( !_Protected_heap_Extend(                                       
 2002f80:	39 00 80 51 	sethi  %hi(0x2014400), %i4                     
 2002f84:	d0 07 21 20 	ld  [ %i4 + 0x120 ], %o0	! 2014520 <RTEMS_Malloc_Heap>
 2002f88:	40 00 13 54 	call  2007cd8 <_Protected_heap_Extend>         
 2002f8c:	94 10 00 1d 	mov  %i5, %o2                                  
 2002f90:	80 8a 20 ff 	btst  0xff, %o0                                
 2002f94:	12 80 00 0a 	bne  2002fbc <malloc_sbrk_extend_and_allocate+0x7c>
 2002f98:	03 00 80 54 	sethi  %hi(0x2015000), %g1                     
          RTEMS_Malloc_Heap, starting_address, the_size) ) {          
    sbrk(-the_size);                                                  
 2002f9c:	7f ff f9 13 	call  20013e8 <sbrk>                           
 2002fa0:	90 20 00 1d 	neg  %i5, %o0                                  
    errno = ENOMEM;                                                   
 2002fa4:	40 00 2b 0a 	call  200dbcc <__errno>                        
 2002fa8:	b0 10 20 00 	clr  %i0                                       
 2002fac:	82 10 20 0c 	mov  0xc, %g1                                  
 2002fb0:	c2 22 00 00 	st  %g1, [ %o0 ]                               
 2002fb4:	81 c7 e0 08 	ret                                            
 2002fb8:	81 e8 00 00 	restore                                        
 2002fbc:	f0 07 21 20 	ld  [ %i4 + 0x120 ], %i0                       
    return (void *) 0;                                                
  }                                                                   
                                                                      
  MSBUMP(space_available, the_size);                                  
 2002fc0:	c4 00 60 98 	ld  [ %g1 + 0x98 ], %g2                        
 2002fc4:	b4 10 20 00 	clr  %i2                                       
 2002fc8:	ba 07 40 02 	add  %i5, %g2, %i5                             
 2002fcc:	fa 20 60 98 	st  %i5, [ %g1 + 0x98 ]                        
 2002fd0:	40 00 13 34 	call  2007ca0 <_Protected_heap_Allocate_aligned_with_boundary>
 2002fd4:	97 e8 20 00 	restore  %g0, 0, %o3                           
                                                                      
  return_this = _Protected_heap_Allocate( RTEMS_Malloc_Heap, size );  
  return return_this;                                                 
}                                                                     
 2002fd8:	b0 10 20 00 	clr  %i0                                       
 2002fdc:	81 c7 e0 08 	ret                                            
 2002fe0:	81 e8 00 00 	restore                                        
                                                                      

02002fe4 <malloc_sbrk_initialize>: void *malloc_sbrk_initialize( void *starting_address, size_t length ) {
 2002fe4:	9d e3 bf a0 	save  %sp, -96, %sp                            
  uintptr_t     old_address;                                          
  uintptr_t     uaddress;                                             
                                                                      
  RTEMS_Malloc_Sbrk_amount = length;                                  
 2002fe8:	03 00 80 54 	sethi  %hi(0x2015000), %g1                     
 2002fec:	f2 20 60 c8 	st  %i1, [ %g1 + 0xc8 ]	! 20150c8 <RTEMS_Malloc_Sbrk_amount>
   * If the starting address is 0 then we are to attempt to           
   * get length worth of memory using sbrk. Make sure we              
   * align the address that we get back.                              
   */                                                                 
                                                                      
  if (!starting_address) {                                            
 2002ff0:	80 a6 20 00 	cmp  %i0, 0                                    
 2002ff4:	12 80 00 0e 	bne  200302c <malloc_sbrk_initialize+0x48>     
 2002ff8:	90 10 00 19 	mov  %i1, %o0                                  
    uaddress = (uintptr_t)sbrk(length);                               
 2002ffc:	7f ff f8 fb 	call  20013e8 <sbrk>                           
 2003000:	01 00 00 00 	nop                                            
                                                                      
    if (uaddress == (uintptr_t) -1) {                                 
 2003004:	80 a2 3f ff 	cmp  %o0, -1                                   
 2003008:	12 80 00 04 	bne  2003018 <malloc_sbrk_initialize+0x34>     <== NEVER TAKEN
 200300c:	80 8a 20 07 	btst  7, %o0                                   
      rtems_fatal_error_occurred( RTEMS_NO_MEMORY );                  
 2003010:	40 00 0e 18 	call  2006870 <rtems_fatal_error_occurred>     
 2003014:	90 10 20 1a 	mov  0x1a, %o0                                 
      /* DOES NOT RETURN!!! */                                        
    }                                                                 
                                                                      
    if (uaddress & (CPU_HEAP_ALIGNMENT-1)) {                          
 2003018:	22 80 00 05 	be,a   200302c <malloc_sbrk_initialize+0x48>   <== NOT EXECUTED
 200301c:	b0 10 00 08 	mov  %o0, %i0                                  <== NOT EXECUTED
      old_address = uaddress;                                         
      uaddress = (uaddress + CPU_HEAP_ALIGNMENT) & ~(CPU_HEAP_ALIGNMENT-1);
 2003020:	90 02 20 08 	add  %o0, 8, %o0                               <== NOT EXECUTED
 2003024:	90 0a 3f f8 	and  %o0, -8, %o0                              <== NOT EXECUTED
       * adjust the length by whatever we aligned by                  
       */                                                             
      length -= uaddress - old_address;                               
    }                                                                 
                                                                      
    starting_address = (void *)uaddress;                              
 2003028:	b0 10 00 08 	mov  %o0, %i0                                  <== NOT EXECUTED
  }                                                                   
  return starting_address;                                            
}                                                                     
 200302c:	81 c7 e0 08 	ret                                            
 2003030:	81 e8 00 00 	restore                                        
                                                                      

0200d0e8 <memfile_ftruncate>: */ int memfile_ftruncate( rtems_libio_t *iop, rtems_off64_t length ) {
 200d0e8:	9d e3 bf 98 	save  %sp, -104, %sp                           
  IMFS_jnode_t   *the_jnode;                                          
                                                                      
  the_jnode = iop->pathinfo.node_access;                              
 200d0ec:	fa 06 20 1c 	ld  [ %i0 + 0x1c ], %i5                        
 */                                                                   
int memfile_ftruncate(                                                
  rtems_libio_t        *iop,                                          
  rtems_off64_t         length                                        
)                                                                     
{                                                                     
 200d0f0:	92 10 00 19 	mov  %i1, %o1                                  
   *  POSIX 1003.1b does not specify what happens if you truncate a file
   *  and the new length is greater than the current size.  We treat this
   *  as an extend operation.                                         
   */                                                                 
                                                                      
  if ( length > the_jnode->info.file.size )                           
 200d0f4:	c2 07 60 50 	ld  [ %i5 + 0x50 ], %g1                        
 200d0f8:	80 a0 40 19 	cmp  %g1, %i1                                  
 200d0fc:	06 80 00 09 	bl  200d120 <memfile_ftruncate+0x38>           <== NEVER TAKEN
 200d100:	94 10 00 1a 	mov  %i2, %o2                                  
 200d104:	80 a0 40 19 	cmp  %g1, %i1                                  
 200d108:	32 80 00 0a 	bne,a   200d130 <memfile_ftruncate+0x48>       
 200d10c:	d2 27 60 50 	st  %o1, [ %i5 + 0x50 ]                        
 200d110:	c2 07 60 54 	ld  [ %i5 + 0x54 ], %g1                        
 200d114:	80 a0 40 1a 	cmp  %g1, %i2                                  
 200d118:	3a 80 00 06 	bcc,a   200d130 <memfile_ftruncate+0x48>       
 200d11c:	d2 27 60 50 	st  %o1, [ %i5 + 0x50 ]                        
    return IMFS_memfile_extend( the_jnode, length );                  
 200d120:	7f ff ff 01 	call  200cd24 <IMFS_memfile_extend>            
 200d124:	90 10 00 1d 	mov  %i5, %o0                                  
 200d128:	81 c7 e0 08 	ret                                            
 200d12c:	91 e8 00 08 	restore  %g0, %o0, %o0                         
  /*                                                                  
   *  The in-memory files do not currently reclaim memory until the file is
   *  deleted.  So we leave the previously allocated blocks in place for
   *  future use and just set the length.                             
   */                                                                 
  the_jnode->info.file.size = length;                                 
 200d130:	d4 27 60 54 	st  %o2, [ %i5 + 0x54 ]                        
  iop->size = the_jnode->info.file.size;                              
 200d134:	d2 26 20 08 	st  %o1, [ %i0 + 8 ]                           
 200d138:	d4 26 20 0c 	st  %o2, [ %i0 + 0xc ]                         
                                                                      
  IMFS_update_atime( the_jnode );                                     
 200d13c:	90 07 bf f8 	add  %fp, -8, %o0                              
 200d140:	7f ff d7 4f 	call  2002e7c <gettimeofday>                   
 200d144:	92 10 20 00 	clr  %o1                                       
 200d148:	c2 07 bf f8 	ld  [ %fp + -8 ], %g1                          
 200d14c:	c2 27 60 40 	st  %g1, [ %i5 + 0x40 ]                        
                                                                      
  return 0;                                                           
}                                                                     
 200d150:	81 c7 e0 08 	ret                                            
 200d154:	91 e8 20 00 	restore  %g0, 0, %o0                           
                                                                      

0200d158 <memfile_lseek>: rtems_off64_t memfile_lseek( rtems_libio_t *iop, rtems_off64_t offset, int whence ) {
 200d158:	9d e3 bf a0 	save  %sp, -96, %sp                            
  IMFS_jnode_t   *the_jnode;                                          
                                                                      
  the_jnode = iop->pathinfo.node_access;                              
 200d15c:	fa 06 20 1c 	ld  [ %i0 + 0x1c ], %i5                        
                                                                      
  if (the_jnode->type == IMFS_LINEAR_FILE) {                          
 200d160:	c2 07 60 4c 	ld  [ %i5 + 0x4c ], %g1                        
 200d164:	80 a0 60 06 	cmp  %g1, 6                                    
 200d168:	32 80 00 11 	bne,a   200d1ac <memfile_lseek+0x54>           
 200d16c:	c4 1e 20 10 	ldd  [ %i0 + 0x10 ], %g2                       
    if (iop->offset > the_jnode->info.linearfile.size)                
 200d170:	c2 07 60 50 	ld  [ %i5 + 0x50 ], %g1                        
 200d174:	c6 06 20 10 	ld  [ %i0 + 0x10 ], %g3                        
 200d178:	80 a0 c0 01 	cmp  %g3, %g1                                  
 200d17c:	14 80 00 09 	bg  200d1a0 <memfile_lseek+0x48>               <== NEVER TAKEN
 200d180:	c4 07 60 54 	ld  [ %i5 + 0x54 ], %g2                        
 200d184:	80 a0 c0 01 	cmp  %g3, %g1                                  
 200d188:	32 80 00 19 	bne,a   200d1ec <memfile_lseek+0x94>           <== NEVER TAKEN
 200d18c:	f0 1e 20 10 	ldd  [ %i0 + 0x10 ], %i0                       <== NOT EXECUTED
 200d190:	c6 06 20 14 	ld  [ %i0 + 0x14 ], %g3                        
 200d194:	80 a0 c0 02 	cmp  %g3, %g2                                  
 200d198:	28 80 00 15 	bleu,a   200d1ec <memfile_lseek+0x94>          <== ALWAYS TAKEN
 200d19c:	f0 1e 20 10 	ldd  [ %i0 + 0x10 ], %i0                       
      iop->offset = the_jnode->info.linearfile.size;                  
 200d1a0:	c2 26 20 10 	st  %g1, [ %i0 + 0x10 ]                        <== NOT EXECUTED
 200d1a4:	10 80 00 11 	b  200d1e8 <memfile_lseek+0x90>                <== NOT EXECUTED
 200d1a8:	c4 26 20 14 	st  %g2, [ %i0 + 0x14 ]                        <== NOT EXECUTED
  }                                                                   
  else {  /* Must be a block file (IMFS_MEMORY_FILE). */              
    if (IMFS_memfile_extend( the_jnode, iop->offset ))                
 200d1ac:	90 10 00 1d 	mov  %i5, %o0                                  
 200d1b0:	92 10 00 02 	mov  %g2, %o1                                  
 200d1b4:	7f ff fe dc 	call  200cd24 <IMFS_memfile_extend>            
 200d1b8:	94 10 00 03 	mov  %g3, %o2                                  
 200d1bc:	80 a2 20 00 	cmp  %o0, 0                                    
 200d1c0:	22 80 00 09 	be,a   200d1e4 <memfile_lseek+0x8c>            
 200d1c4:	c4 1f 60 50 	ldd  [ %i5 + 0x50 ], %g2                       
      rtems_set_errno_and_return_minus_one( ENOSPC );                 
 200d1c8:	40 00 02 cb 	call  200dcf4 <__errno>                        
 200d1cc:	31 3f ff ff 	sethi  %hi(0xfffffc00), %i0                    
 200d1d0:	82 10 20 1c 	mov  0x1c, %g1                                 
 200d1d4:	c2 22 00 00 	st  %g1, [ %o0 ]                               
 200d1d8:	b0 16 23 ff 	or  %i0, 0x3ff, %i0                            
 200d1dc:	81 c7 e0 08 	ret                                            
 200d1e0:	93 e8 00 18 	restore  %g0, %i0, %o1                         
                                                                      
    iop->size = the_jnode->info.file.size;                            
 200d1e4:	c4 3e 20 08 	std  %g2, [ %i0 + 8 ]                          
  }                                                                   
  return iop->offset;                                                 
 200d1e8:	f0 1e 20 10 	ldd  [ %i0 + 0x10 ], %i0                       
}                                                                     
 200d1ec:	81 c7 e0 08 	ret                                            
 200d1f0:	81 e8 00 00 	restore                                        
                                                                      

0200d04c <memfile_open>: rtems_libio_t *iop, const char *pathname, uint32_t flag, uint32_t mode ) {
 200d04c:	9d e3 bf a0 	save  %sp, -96, %sp                            
  the_jnode = iop->pathinfo.node_access;                              
                                                                      
  /*                                                                  
   * Perform 'copy on write' for linear files                         
   */                                                                 
  if ((iop->flags & (LIBIO_FLAGS_WRITE | LIBIO_FLAGS_APPEND))         
 200d050:	c2 06 20 18 	ld  [ %i0 + 0x18 ], %g1                        
  rtems_libio_t *iop,                                                 
  const char    *pathname,                                            
  uint32_t       flag,                                                
  uint32_t       mode                                                 
)                                                                     
{                                                                     
 200d054:	b8 10 00 18 	mov  %i0, %i4                                  
  the_jnode = iop->pathinfo.node_access;                              
                                                                      
  /*                                                                  
   * Perform 'copy on write' for linear files                         
   */                                                                 
  if ((iop->flags & (LIBIO_FLAGS_WRITE | LIBIO_FLAGS_APPEND))         
 200d058:	80 88 62 04 	btst  0x204, %g1                               
 200d05c:	02 80 00 19 	be  200d0c0 <memfile_open+0x74>                
 200d060:	fa 06 20 1c 	ld  [ %i0 + 0x1c ], %i5                        
   && (the_jnode->type == IMFS_LINEAR_FILE)) {                        
 200d064:	c2 07 60 4c 	ld  [ %i5 + 0x4c ], %g1                        
 200d068:	80 a0 60 06 	cmp  %g1, 6                                    
 200d06c:	32 80 00 16 	bne,a   200d0c4 <memfile_open+0x78>            <== ALWAYS TAKEN
 200d070:	c2 07 20 18 	ld  [ %i4 + 0x18 ], %g1                        
    uint32_t   count = the_jnode->info.linearfile.size;               
 200d074:	d8 07 60 54 	ld  [ %i5 + 0x54 ], %o4                        <== NOT EXECUTED
    const unsigned char *buffer = the_jnode->info.linearfile.direct;  
 200d078:	d6 07 60 58 	ld  [ %i5 + 0x58 ], %o3                        <== NOT EXECUTED
                                                                      
    the_jnode->type = IMFS_MEMORY_FILE;                               
 200d07c:	82 10 20 05 	mov  5, %g1                                    <== NOT EXECUTED
    the_jnode->info.file.size            = 0;                         
 200d080:	c0 27 60 50 	clr  [ %i5 + 0x50 ]                            <== NOT EXECUTED
  if ((iop->flags & (LIBIO_FLAGS_WRITE | LIBIO_FLAGS_APPEND))         
   && (the_jnode->type == IMFS_LINEAR_FILE)) {                        
    uint32_t   count = the_jnode->info.linearfile.size;               
    const unsigned char *buffer = the_jnode->info.linearfile.direct;  
                                                                      
    the_jnode->type = IMFS_MEMORY_FILE;                               
 200d084:	c2 27 60 4c 	st  %g1, [ %i5 + 0x4c ]                        <== NOT EXECUTED
    the_jnode->info.file.size            = 0;                         
 200d088:	c0 27 60 54 	clr  [ %i5 + 0x54 ]                            <== NOT EXECUTED
    the_jnode->info.file.indirect        = 0;                         
 200d08c:	c0 27 60 58 	clr  [ %i5 + 0x58 ]                            <== NOT EXECUTED
    the_jnode->info.file.doubly_indirect = 0;                         
 200d090:	c0 27 60 5c 	clr  [ %i5 + 0x5c ]                            <== NOT EXECUTED
    the_jnode->info.file.triply_indirect = 0;                         
    if ((count != 0)                                                  
 200d094:	80 a3 20 00 	cmp  %o4, 0                                    <== NOT EXECUTED
 200d098:	02 80 00 0a 	be  200d0c0 <memfile_open+0x74>                <== NOT EXECUTED
 200d09c:	c0 27 60 60 	clr  [ %i5 + 0x60 ]                            <== NOT EXECUTED
     && (IMFS_memfile_write(the_jnode, 0, buffer, count) == -1))      
 200d0a0:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
 200d0a4:	92 10 20 00 	clr  %o1                                       <== NOT EXECUTED
 200d0a8:	94 10 20 00 	clr  %o2                                       <== NOT EXECUTED
 200d0ac:	7f ff ff 75 	call  200ce80 <IMFS_memfile_write>             <== NOT EXECUTED
 200d0b0:	b0 10 3f ff 	mov  -1, %i0                                   <== NOT EXECUTED
 200d0b4:	80 a2 3f ff 	cmp  %o0, -1                                   <== NOT EXECUTED
 200d0b8:	02 80 00 0a 	be  200d0e0 <memfile_open+0x94>                <== NOT EXECUTED
 200d0bc:	01 00 00 00 	nop                                            <== NOT EXECUTED
        return -1;                                                    
  }                                                                   
  if (iop->flags & LIBIO_FLAGS_APPEND)                                
 200d0c0:	c2 07 20 18 	ld  [ %i4 + 0x18 ], %g1                        
 200d0c4:	80 88 62 00 	btst  0x200, %g1                               
 200d0c8:	02 80 00 04 	be  200d0d8 <memfile_open+0x8c>                
 200d0cc:	c4 1f 60 50 	ldd  [ %i5 + 0x50 ], %g2                       
    iop->offset = the_jnode->info.file.size;                          
 200d0d0:	c4 3f 20 10 	std  %g2, [ %i4 + 0x10 ]                       
                                                                      
  iop->size = the_jnode->info.file.size;                              
 200d0d4:	c4 1f 60 50 	ldd  [ %i5 + 0x50 ], %g2                       
  return 0;                                                           
 200d0d8:	b0 10 20 00 	clr  %i0                                       
        return -1;                                                    
  }                                                                   
  if (iop->flags & LIBIO_FLAGS_APPEND)                                
    iop->offset = the_jnode->info.file.size;                          
                                                                      
  iop->size = the_jnode->info.file.size;                              
 200d0dc:	c4 3f 20 08 	std  %g2, [ %i4 + 8 ]                          
  return 0;                                                           
}                                                                     
 200d0e0:	81 c7 e0 08 	ret                                            
 200d0e4:	81 e8 00 00 	restore                                        
                                                                      

020033c0 <mount>: const char *target, const char *filesystemtype, rtems_filesystem_options_t options, const void *data ) {
 20033c0:	9d e3 bf 88 	save  %sp, -120, %sp                           
                                                                      
  /*                                                                  
   *  Are the file system options valid?                              
   */                                                                 
                                                                      
  if ( options != RTEMS_FILESYSTEM_READ_ONLY &&                       
 20033c4:	80 a6 e0 01 	cmp  %i3, 1                                    
 20033c8:	18 80 00 07 	bgu  20033e4 <mount+0x24>                      
 20033cc:	01 00 00 00 	nop                                            
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  /*                                                                  
   *  Get mount handler                                               
   */                                                                 
  mount_h = rtems_filesystem_get_mount_handler( filesystemtype );     
 20033d0:	40 00 20 a5 	call  200b664 <rtems_filesystem_get_mount_handler>
 20033d4:	90 10 00 1a 	mov  %i2, %o0                                  
  if ( !mount_h )                                                     
 20033d8:	a2 92 20 00 	orcc  %o0, 0, %l1                              
 20033dc:	12 80 00 06 	bne  20033f4 <mount+0x34>                      
 20033e0:	80 a0 00 19 	cmp  %g0, %i1                                  
    rtems_set_errno_and_return_minus_one( EINVAL );                   
 20033e4:	40 00 2a 44 	call  200dcf4 <__errno>                        
 20033e8:	01 00 00 00 	nop                                            
 20033ec:	10 80 00 3e 	b  20034e4 <mount+0x124>                       
 20033f0:	82 10 20 16 	mov  0x16, %g1	! 16 <PROM_START+0x16>          
{                                                                     
  rtems_filesystem_fsmount_me_t mount_h = NULL;                       
  rtems_filesystem_location_info_t      loc;                          
  rtems_filesystem_mount_table_entry_t *mt_entry = NULL;              
  rtems_filesystem_location_info_t     *loc_to_free = NULL;           
  bool has_target = target != NULL;                                   
 20033f4:	a0 40 20 00 	addx  %g0, 0, %l0                              
  const char *target_or_null,                                         
  const char *filesystemtype,                                         
  size_t *target_length_ptr                                           
)                                                                     
{                                                                     
  const char *target = target_or_null != NULL ? target_or_null : "/"; 
 20033f8:	80 8c 20 ff 	btst  0xff, %l0                                
 20033fc:	12 80 00 04 	bne  200340c <mount+0x4c>                      
 2003400:	a6 10 00 19 	mov  %i1, %l3                                  
 2003404:	27 00 80 64 	sethi  %hi(0x2019000), %l3                     
 2003408:	a6 14 e0 a0 	or  %l3, 0xa0, %l3	! 20190a0 <IMFS_ops+0x4c>   
  size_t filesystemtype_size = strlen( filesystemtype ) + 1;          
 200340c:	40 00 2f d2 	call  200f354 <strlen>                         
 2003410:	90 10 00 1a 	mov  %i2, %o0                                  
  size_t source_size = source_or_null != NULL ?                       
    strlen( source_or_null ) + 1 : 0;                                 
 2003414:	a4 10 20 00 	clr  %l2                                       
 2003418:	80 a6 20 00 	cmp  %i0, 0                                    
 200341c:	02 80 00 05 	be  2003430 <mount+0x70>                       
 2003420:	ae 10 00 08 	mov  %o0, %l7                                  
 2003424:	40 00 2f cc 	call  200f354 <strlen>                         
 2003428:	90 10 00 18 	mov  %i0, %o0                                  
 200342c:	a4 02 20 01 	add  %o0, 1, %l2                               
  size_t target_size = strlen( target ) + 1;                          
 2003430:	40 00 2f c9 	call  200f354 <strlen>                         
 2003434:	90 10 00 13 	mov  %l3, %o0                                  
  size_t size = sizeof( rtems_filesystem_mount_table_entry_t )        
    + filesystemtype_size + source_size + target_size;                
 2003438:	92 05 e0 75 	add  %l7, 0x75, %o1                            
{                                                                     
  const char *target = target_or_null != NULL ? target_or_null : "/"; 
  size_t filesystemtype_size = strlen( filesystemtype ) + 1;          
  size_t source_size = source_or_null != NULL ?                       
    strlen( source_or_null ) + 1 : 0;                                 
  size_t target_size = strlen( target ) + 1;                          
 200343c:	ac 02 20 01 	add  %o0, 1, %l6                               
 2003440:	aa 10 00 08 	mov  %o0, %l5                                  
  size_t size = sizeof( rtems_filesystem_mount_table_entry_t )        
    + filesystemtype_size + source_size + target_size;                
 2003444:	92 02 40 12 	add  %o1, %l2, %o1                             
  rtems_filesystem_mount_table_entry_t *mt_entry = calloc( 1, size ); 
 2003448:	90 10 20 01 	mov  1, %o0                                    
 200344c:	7f ff fd 61 	call  20029d0 <calloc>                         
 2003450:	92 02 40 16 	add  %o1, %l6, %o1                             
                                                                      
  if ( mt_entry != NULL ) {                                           
 2003454:	ba 92 20 00 	orcc  %o0, 0, %i5                              
 2003458:	02 80 00 20 	be  20034d8 <mount+0x118>                      <== NEVER TAKEN
 200345c:	a8 07 60 74 	add  %i5, 0x74, %l4                            
    char *str = (char *) mt_entry + sizeof( *mt_entry );              
                                                                      
    memcpy( str, filesystemtype, filesystemtype_size );               
 2003460:	92 10 00 1a 	mov  %i2, %o1                                  
  const char *filesystemtype,                                         
  size_t *target_length_ptr                                           
)                                                                     
{                                                                     
  const char *target = target_or_null != NULL ? target_or_null : "/"; 
  size_t filesystemtype_size = strlen( filesystemtype ) + 1;          
 2003464:	ae 05 e0 01 	inc  %l7                                       
  rtems_filesystem_mount_table_entry_t *mt_entry = calloc( 1, size ); 
                                                                      
  if ( mt_entry != NULL ) {                                           
    char *str = (char *) mt_entry + sizeof( *mt_entry );              
                                                                      
    memcpy( str, filesystemtype, filesystemtype_size );               
 2003468:	90 10 00 14 	mov  %l4, %o0                                  
 200346c:	40 00 2c 7e 	call  200e664 <memcpy>                         
 2003470:	94 10 00 17 	mov  %l7, %o2                                  
    mt_entry->type = str;                                             
    str += filesystemtype_size;                                       
 2003474:	b4 05 00 17 	add  %l4, %l7, %i2                             
                                                                      
    memcpy( str, source_or_null, source_size );                       
 2003478:	94 10 00 12 	mov  %l2, %o2                                  
 200347c:	92 10 00 18 	mov  %i0, %o1                                  
                                                                      
  if ( mt_entry != NULL ) {                                           
    char *str = (char *) mt_entry + sizeof( *mt_entry );              
                                                                      
    memcpy( str, filesystemtype, filesystemtype_size );               
    mt_entry->type = str;                                             
 2003480:	e8 27 60 6c 	st  %l4, [ %i5 + 0x6c ]                        
    str += filesystemtype_size;                                       
                                                                      
    memcpy( str, source_or_null, source_size );                       
 2003484:	40 00 2c 78 	call  200e664 <memcpy>                         
 2003488:	90 10 00 1a 	mov  %i2, %o0                                  
    mt_entry->dev = str;                                              
    str += source_size;                                               
 200348c:	a4 06 80 12 	add  %i2, %l2, %l2                             
                                                                      
    memcpy( str, target, target_size );                               
 2003490:	92 10 00 13 	mov  %l3, %o1                                  
 2003494:	94 10 00 16 	mov  %l6, %o2                                  
    memcpy( str, filesystemtype, filesystemtype_size );               
    mt_entry->type = str;                                             
    str += filesystemtype_size;                                       
                                                                      
    memcpy( str, source_or_null, source_size );                       
    mt_entry->dev = str;                                              
 2003498:	f4 27 60 70 	st  %i2, [ %i5 + 0x70 ]                        
    str += source_size;                                               
                                                                      
    memcpy( str, target, target_size );                               
 200349c:	40 00 2c 72 	call  200e664 <memcpy>                         
 20034a0:	90 10 00 12 	mov  %l2, %o0                                  
  if ( !mt_entry )                                                    
    rtems_set_errno_and_return_minus_one( ENOMEM );                   
                                                                      
  mt_entry->mt_fs_root.mt_entry = mt_entry;                           
  mt_entry->options = options;                                        
  mt_entry->pathconf_limits_and_options = rtems_filesystem_default_pathconf;
 20034a4:	90 07 60 38 	add  %i5, 0x38, %o0                            
    memcpy( str, source_or_null, source_size );                       
    mt_entry->dev = str;                                              
    str += source_size;                                               
                                                                      
    memcpy( str, target, target_size );                               
    mt_entry->target = str;                                           
 20034a8:	e4 27 60 68 	st  %l2, [ %i5 + 0x68 ]                        
    &target_length                                                    
  );                                                                  
  if ( !mt_entry )                                                    
    rtems_set_errno_and_return_minus_one( ENOMEM );                   
                                                                      
  mt_entry->mt_fs_root.mt_entry = mt_entry;                           
 20034ac:	fa 27 60 2c 	st  %i5, [ %i5 + 0x2c ]                        
  mt_entry->options = options;                                        
 20034b0:	f6 27 60 30 	st  %i3, [ %i5 + 0x30 ]                        
  mt_entry->pathconf_limits_and_options = rtems_filesystem_default_pathconf;
 20034b4:	13 00 80 65 	sethi  %hi(0x2019400), %o1                     
 20034b8:	94 10 20 30 	mov  0x30, %o2                                 
 20034bc:	40 00 2c 6a 	call  200e664 <memcpy>                         
 20034c0:	92 12 61 d0 	or  %o1, 0x1d0, %o1                            
  /*                                                                  
   *  The mount_point should be a directory with read/write/execute   
   *  permissions in the existing tree.                               
   */                                                                 
                                                                      
  if ( has_target ) {                                                 
 20034c4:	80 8c 20 ff 	btst  0xff, %l0                                
 20034c8:	02 80 00 37 	be  20035a4 <mount+0x1e4>                      
 20034cc:	03 00 80 6a 	sethi  %hi(0x201a800), %g1                     
    if ( rtems_filesystem_evaluate_path(                              
 20034d0:	10 80 00 08 	b  20034f0 <mount+0x130>                       
 20034d4:	90 10 00 19 	mov  %i1, %o0                                  
    target,                                                           
    filesystemtype,                                                   
    &target_length                                                    
  );                                                                  
  if ( !mt_entry )                                                    
    rtems_set_errno_and_return_minus_one( ENOMEM );                   
 20034d8:	40 00 2a 07 	call  200dcf4 <__errno>                        <== NOT EXECUTED
 20034dc:	01 00 00 00 	nop                                            <== NOT EXECUTED
 20034e0:	82 10 20 0c 	mov  0xc, %g1	! c <PROM_START+0xc>             <== NOT EXECUTED
 20034e4:	c2 22 00 00 	st  %g1, [ %o0 ]                               
 20034e8:	81 c7 e0 08 	ret                                            
 20034ec:	91 e8 3f ff 	restore  %g0, -1, %o0                          
   *  The mount_point should be a directory with read/write/execute   
   *  permissions in the existing tree.                               
   */                                                                 
                                                                      
  if ( has_target ) {                                                 
    if ( rtems_filesystem_evaluate_path(                              
 20034f0:	92 10 00 15 	mov  %l5, %o1                                  
 20034f4:	94 10 20 07 	mov  7, %o2                                    
 20034f8:	96 07 bf ec 	add  %fp, -20, %o3                             
 20034fc:	7f ff fd ff 	call  2002cf8 <rtems_filesystem_evaluate_path> 
 2003500:	98 10 20 01 	mov  1, %o4                                    
 2003504:	80 a2 3f ff 	cmp  %o0, -1                                   
 2003508:	02 80 00 4f 	be  2003644 <mount+0x284>                      <== NEVER TAKEN
 200350c:	c2 07 bf f8 	ld  [ %fp + -8 ], %g1                          
                                                                      
    /*                                                                
     *  Test to see if it is a directory                              
     */                                                               
                                                                      
    if ( loc.ops->node_type_h( &loc ) != RTEMS_FILESYSTEM_DIRECTORY ) {
 2003510:	c2 00 60 10 	ld  [ %g1 + 0x10 ], %g1                        
 2003514:	9f c0 40 00 	call  %g1                                      
 2003518:	90 07 bf ec 	add  %fp, -20, %o0                             
 200351c:	80 a2 20 01 	cmp  %o0, 1                                    
 2003520:	02 80 00 06 	be  2003538 <mount+0x178>                      
 2003524:	d2 07 bf ec 	ld  [ %fp + -20 ], %o1                         
      errno = ENOTDIR;                                                
 2003528:	40 00 29 f3 	call  200dcf4 <__errno>                        
 200352c:	01 00 00 00 	nop                                            
 2003530:	10 80 00 0b 	b  200355c <mount+0x19c>                       
 2003534:	82 10 20 14 	mov  0x14, %g1	! 14 <PROM_START+0x14>          
                                                                      
    /*                                                                
     *  You can only mount one file system onto a single mount point. 
     */                                                               
                                                                      
    if ( rtems_filesystem_mount_iterate( is_node_fs_root, loc.node_access ) ) {
 2003538:	11 00 80 0c 	sethi  %hi(0x2003000), %o0                     
 200353c:	7f ff ff 8a 	call  2003364 <rtems_filesystem_mount_iterate> 
 2003540:	90 12 23 34 	or  %o0, 0x334, %o0	! 2003334 <is_node_fs_root>
 2003544:	80 8a 20 ff 	btst  0xff, %o0                                
 2003548:	02 80 00 08 	be  2003568 <mount+0x1a8>                      
 200354c:	c2 07 bf ec 	ld  [ %fp + -20 ], %g1                         
      errno = EBUSY;                                                  
 2003550:	40 00 29 e9 	call  200dcf4 <__errno>                        
 2003554:	01 00 00 00 	nop                                            
 2003558:	82 10 20 10 	mov  0x10, %g1	! 10 <PROM_START+0x10>          
 200355c:	c2 22 00 00 	st  %g1, [ %o0 ]                               
      goto cleanup_and_bail;                                          
 2003560:	10 80 00 3a 	b  2003648 <mount+0x288>                       
 2003564:	b6 07 bf ec 	add  %fp, -20, %i3                             
     */                                                               
                                                                      
    mt_entry->mt_point_node.node_access = loc.node_access;            
    mt_entry->mt_point_node.handlers = loc.handlers;                  
    mt_entry->mt_point_node.ops = loc.ops;                            
    mt_entry->mt_point_node.mt_entry = loc.mt_entry;                  
 2003568:	c4 07 bf fc 	ld  [ %fp + -4 ], %g2                          
     *  may have been allocated in loc should not be sent to freenode 
     *  until the system is unmounted.  It may be needed to correctly 
     *  traverse the tree.                                            
     */                                                               
                                                                      
    mt_entry->mt_point_node.node_access = loc.node_access;            
 200356c:	c2 27 60 08 	st  %g1, [ %i5 + 8 ]                           
    mt_entry->mt_point_node.handlers = loc.handlers;                  
 2003570:	c2 07 bf f4 	ld  [ %fp + -12 ], %g1                         
    mt_entry->mt_point_node.ops = loc.ops;                            
    mt_entry->mt_point_node.mt_entry = loc.mt_entry;                  
 2003574:	c4 27 60 18 	st  %g2, [ %i5 + 0x18 ]                        
     *  until the system is unmounted.  It may be needed to correctly 
     *  traverse the tree.                                            
     */                                                               
                                                                      
    mt_entry->mt_point_node.node_access = loc.node_access;            
    mt_entry->mt_point_node.handlers = loc.handlers;                  
 2003578:	c2 27 60 10 	st  %g1, [ %i5 + 0x10 ]                        
    mt_entry->mt_point_node.ops = loc.ops;                            
 200357c:	c2 07 bf f8 	ld  [ %fp + -8 ], %g1                          
    /*                                                                
     *  This link to the parent is only done when we are dealing with system
     *  below the base file system                                    
     */                                                               
                                                                      
    if ( loc.ops->mount_h( mt_entry ) ) {                             
 2003580:	90 10 00 1d 	mov  %i5, %o0                                  
     *  traverse the tree.                                            
     */                                                               
                                                                      
    mt_entry->mt_point_node.node_access = loc.node_access;            
    mt_entry->mt_point_node.handlers = loc.handlers;                  
    mt_entry->mt_point_node.ops = loc.ops;                            
 2003584:	c2 27 60 14 	st  %g1, [ %i5 + 0x14 ]                        
    /*                                                                
     *  This link to the parent is only done when we are dealing with system
     *  below the base file system                                    
     */                                                               
                                                                      
    if ( loc.ops->mount_h( mt_entry ) ) {                             
 2003588:	c2 00 60 20 	ld  [ %g1 + 0x20 ], %g1                        
 200358c:	9f c0 40 00 	call  %g1                                      
 2003590:	b6 07 bf ec 	add  %fp, -20, %i3                             
 2003594:	80 a2 20 00 	cmp  %o0, 0                                    
 2003598:	12 80 00 2c 	bne  2003648 <mount+0x288>                     <== NEVER TAKEN
 200359c:	90 10 00 1d 	mov  %i5, %o0                                  
 20035a0:	30 80 00 0d 	b,a   20035d4 <mount+0x214>                    
    }                                                                 
  } else {                                                            
    /*                                                                
     * Do we already have a base file system ?                        
     */                                                               
    if ( !rtems_chain_is_empty( &mount_chain ) ) {                    
 20035a4:	c4 00 62 1c 	ld  [ %g1 + 0x21c ], %g2                       
 */                                                                   
RTEMS_INLINE_ROUTINE const Chain_Node *_Chain_Immutable_first(        
  const Chain_Control *the_chain                                      
)                                                                     
{                                                                     
  return _Chain_Immutable_head( the_chain )->next;                    
 20035a8:	86 10 62 1c 	or  %g1, 0x21c, %g3                            
 20035ac:	82 00 e0 04 	add  %g3, 4, %g1                               
 20035b0:	80 a0 80 01 	cmp  %g2, %g1                                  
 20035b4:	02 80 00 07 	be  20035d0 <mount+0x210>                      <== ALWAYS TAKEN
 20035b8:	b6 10 20 00 	clr  %i3                                       
      errno = EINVAL;                                                 
 20035bc:	40 00 29 ce 	call  200dcf4 <__errno>                        <== NOT EXECUTED
 20035c0:	01 00 00 00 	nop                                            <== NOT EXECUTED
 20035c4:	82 10 20 16 	mov  0x16, %g1	! 16 <PROM_START+0x16>          <== NOT EXECUTED
 20035c8:	10 80 00 20 	b  2003648 <mount+0x288>                       <== NOT EXECUTED
 20035cc:	c2 22 00 00 	st  %g1, [ %o0 ]                               <== NOT EXECUTED
     *  mt_point_node.node_access will be left to null to indicate that this
     *  is the root of the entire file system.                        
     */                                                               
  }                                                                   
                                                                      
  if ( (*mount_h)( mt_entry, data ) ) {                               
 20035d0:	90 10 00 1d 	mov  %i5, %o0                                  
 20035d4:	9f c4 40 00 	call  %l1                                      
 20035d8:	92 10 00 1c 	mov  %i4, %o1                                  
 20035dc:	80 a2 20 00 	cmp  %o0, 0                                    
 20035e0:	02 80 00 06 	be  20035f8 <mount+0x238>                      
 20035e4:	c2 07 bf f8 	ld  [ %fp + -8 ], %g1                          
    /*                                                                
     * Try to undo the mount operation                                
     */                                                               
    loc.ops->unmount_h( mt_entry );                                   
 20035e8:	c2 00 60 28 	ld  [ %g1 + 0x28 ], %g1                        
 20035ec:	9f c0 40 00 	call  %g1                                      
 20035f0:	90 10 00 1d 	mov  %i5, %o0                                  
    goto cleanup_and_bail;                                            
 20035f4:	30 80 00 15 	b,a   2003648 <mount+0x288>                    
  }                                                                   
                                                                      
  /*                                                                  
   *  Add the mount table entry to the mount table chain              
   */                                                                 
  rtems_libio_lock();                                                 
 20035f8:	7f ff ff 54 	call  2003348 <rtems_libio_lock>               
 20035fc:	b0 10 20 00 	clr  %i0                                       
 2003600:	92 10 00 1d 	mov  %i5, %o1                                  
 2003604:	11 00 80 6a 	sethi  %hi(0x201a800), %o0                     
 2003608:	40 00 0e 25 	call  2006e9c <_Chain_Append>                  
 200360c:	90 12 22 1c 	or  %o0, 0x21c, %o0	! 201aa1c <mount_chain>    
 2003610:	03 00 80 6c 	sethi  %hi(0x201b000), %g1                     
 2003614:	40 00 0b ed 	call  20065c8 <rtems_semaphore_release>        
 2003618:	d0 00 63 60 	ld  [ %g1 + 0x360 ], %o0	! 201b360 <rtems_libio_semaphore>
  rtems_chain_append( &mount_chain, &mt_entry->Node );                
  rtems_libio_unlock();                                               
                                                                      
  if ( !has_target )                                                  
 200361c:	80 8c 20 ff 	btst  0xff, %l0                                
 2003620:	12 80 00 07 	bne  200363c <mount+0x27c>                     
 2003624:	03 00 80 6a 	sethi  %hi(0x201a800), %g1                     
    rtems_filesystem_root = mt_entry->mt_fs_root;                     
 2003628:	d0 00 62 3c 	ld  [ %g1 + 0x23c ], %o0	! 201aa3c <rtems_current_user_env>
 200362c:	92 07 60 1c 	add  %i5, 0x1c, %o1                            
 2003630:	94 10 20 14 	mov  0x14, %o2                                 
 2003634:	40 00 2c 0c 	call  200e664 <memcpy>                         
 2003638:	90 02 20 18 	add  %o0, 0x18, %o0                            
 200363c:	81 c7 e0 08 	ret                                            
 2003640:	81 e8 00 00 	restore                                        
)                                                                     
{                                                                     
  rtems_filesystem_fsmount_me_t mount_h = NULL;                       
  rtems_filesystem_location_info_t      loc;                          
  rtems_filesystem_mount_table_entry_t *mt_entry = NULL;              
  rtems_filesystem_location_info_t     *loc_to_free = NULL;           
 2003644:	b6 10 20 00 	clr  %i3                                       <== NOT EXECUTED
                                                                      
  return 0;                                                           
                                                                      
cleanup_and_bail:                                                     
                                                                      
  free( mt_entry );                                                   
 2003648:	7f ff fd e3 	call  2002dd4 <free>                           
 200364c:	90 10 00 1d 	mov  %i5, %o0                                  
                                                                      
  if ( loc_to_free )                                                  
 2003650:	80 a6 e0 00 	cmp  %i3, 0                                    
 2003654:	02 bf ff fa 	be  200363c <mount+0x27c>                      <== NEVER TAKEN
 2003658:	b0 10 3f ff 	mov  -1, %i0                                   
    rtems_filesystem_freenode( loc_to_free );                         
 200365c:	7f ff fd d7 	call  2002db8 <rtems_filesystem_freenode>      
 2003660:	90 10 00 1b 	mov  %i3, %o0                                  
                                                                      
  return -1;                                                          
}                                                                     
 2003664:	81 c7 e0 08 	ret                                            
 2003668:	81 e8 00 00 	restore                                        
                                                                      

020034b8 <mount_and_make_target_path>: const char *target, const char *filesystemtype, rtems_filesystem_options_t options, const void *data ) {
 20034b8:	9d e3 bf a0 	save  %sp, -96, %sp                            
  int rv = -1;                                                        
                                                                      
  if (target != NULL) {                                               
 20034bc:	90 96 60 00 	orcc  %i1, 0, %o0                              
 20034c0:	02 80 00 09 	be  20034e4 <mount_and_make_target_path+0x2c>  
 20034c4:	01 00 00 00 	nop                                            
    rv = rtems_mkdir(target, S_IRWXU | S_IRWXG | S_IRWXO);            
 20034c8:	40 00 02 3e 	call  2003dc0 <rtems_mkdir>                    
 20034cc:	92 10 21 ff 	mov  0x1ff, %o1	! 1ff <PROM_START+0x1ff>       
    if (rv == 0) {                                                    
 20034d0:	80 a2 20 00 	cmp  %o0, 0                                    
 20034d4:	12 80 00 09 	bne  20034f8 <mount_and_make_target_path+0x40> <== NEVER TAKEN
 20034d8:	01 00 00 00 	nop                                            
      rv = mount(                                                     
 20034dc:	40 00 00 2c 	call  200358c <mount>                          
 20034e0:	81 e8 00 00 	restore                                        
        options,                                                      
        data                                                          
      );                                                              
    }                                                                 
  } else {                                                            
    errno = EINVAL;                                                   
 20034e4:	40 00 29 98 	call  200db44 <__errno>                        
 20034e8:	01 00 00 00 	nop                                            
 20034ec:	82 10 20 16 	mov  0x16, %g1	! 16 <PROM_START+0x16>          
 20034f0:	c2 22 00 00 	st  %g1, [ %o0 ]                               
  const char *filesystemtype,                                         
  rtems_filesystem_options_t options,                                 
  const void *data                                                    
)                                                                     
{                                                                     
  int rv = -1;                                                        
 20034f4:	90 10 3f ff 	mov  -1, %o0                                   
  } else {                                                            
    errno = EINVAL;                                                   
  }                                                                   
                                                                      
  return rv;                                                          
}                                                                     
 20034f8:	81 c7 e0 08 	ret                                            
 20034fc:	91 e8 00 08 	restore  %g0, %o0, %o0                         
                                                                      

02016d54 <msdos_creat_node>: msdos_node_type_t type, const char *name, int name_len, mode_t mode, const fat_file_fd_t *link_fd) {
 2016d54:	9d e3 bf 00 	save  %sp, -256, %sp                           
    int               rc = RC_OK;                                     
    ssize_t           ret = 0;                                        
    msdos_fs_info_t  *fs_info = parent_loc->mt_entry->fs_info;        
 2016d58:	c2 06 20 10 	ld  [ %i0 + 0x10 ], %g1                        
    fat_file_fd_t    *parent_fat_fd = parent_loc->node_access;        
 2016d5c:	e2 06 00 00 	ld  [ %i0 ], %l1                               
                 mode_t                             mode,             
                 const fat_file_fd_t               *link_fd)          
{                                                                     
    int               rc = RC_OK;                                     
    ssize_t           ret = 0;                                        
    msdos_fs_info_t  *fs_info = parent_loc->mt_entry->fs_info;        
 2016d60:	e0 00 60 34 	ld  [ %g1 + 0x34 ], %l0                        
    fat_dir_pos_t *dir_pos                                            
    )                                                                 
{                                                                     
  dir_pos->sname.cln = 0;                                             
  dir_pos->sname.ofs = 0;                                             
  dir_pos->lname.cln = FAT_FILE_SHORT_NAME;                           
 2016d64:	82 10 3f ff 	mov  -1, %g1                                   
    uint32_t          sec = 0;                                        
    uint32_t          byte = 0;                                       
                                                                      
    fat_dir_pos_init(&dir_pos);                                       
                                                                      
    memset(short_node, 0, MSDOS_DIRECTORY_ENTRY_STRUCT_SIZE);         
 2016d68:	92 10 20 00 	clr  %o1                                       
 2016d6c:	c2 27 bf f0 	st  %g1, [ %fp + -16 ]                         
  dir_pos->lname.ofs = FAT_FILE_SHORT_NAME;                           
 2016d70:	c2 27 bf f4 	st  %g1, [ %fp + -12 ]                         
 2016d74:	94 10 20 20 	mov  0x20, %o2                                 
{                                                                     
    int               rc = RC_OK;                                     
    ssize_t           ret = 0;                                        
    msdos_fs_info_t  *fs_info = parent_loc->mt_entry->fs_info;        
    fat_file_fd_t    *parent_fat_fd = parent_loc->node_access;        
    fat_file_fd_t    *fat_fd = NULL;                                  
 2016d78:	c0 27 bf f8 	clr  [ %fp + -8 ]                              
    time_t            time_ret = 0;                                   
    uint16_t          time_val = 0;                                   
 2016d7c:	c0 37 bf fc 	clrh  [ %fp + -4 ]                             
    uint16_t          date = 0;                                       
 2016d80:	c0 37 bf fe 	clrh  [ %fp + -2 ]                             
static inline void                                                    
fat_dir_pos_init(                                                     
    fat_dir_pos_t *dir_pos                                            
    )                                                                 
{                                                                     
  dir_pos->sname.cln = 0;                                             
 2016d84:	c0 27 bf e8 	clr  [ %fp + -24 ]                             
  dir_pos->sname.ofs = 0;                                             
 2016d88:	c0 27 bf ec 	clr  [ %fp + -20 ]                             
    uint32_t          sec = 0;                                        
    uint32_t          byte = 0;                                       
                                                                      
    fat_dir_pos_init(&dir_pos);                                       
                                                                      
    memset(short_node, 0, MSDOS_DIRECTORY_ENTRY_STRUCT_SIZE);         
 2016d8c:	40 00 14 a8 	call  201c02c <memset>                         
 2016d90:	90 07 bf a8 	add  %fp, -88, %o0                             
    memset(dot_dotdot, 0, MSDOS_DIRECTORY_ENTRY_STRUCT_SIZE * 2);     
 2016d94:	92 10 20 00 	clr  %o1                                       
 2016d98:	94 10 20 40 	mov  0x40, %o2                                 
 2016d9c:	40 00 14 a4 	call  201c02c <memset>                         
 2016da0:	90 07 bf 68 	add  %fp, -152, %o0                            
                                                                      
    name_type = msdos_long_to_short (name, name_len,                  
 2016da4:	92 10 00 1b 	mov  %i3, %o1                                  
 2016da8:	94 07 bf a8 	add  %fp, -88, %o2                             
 2016dac:	96 10 20 0b 	mov  0xb, %o3                                  
 2016db0:	40 00 04 28 	call  2017e50 <msdos_long_to_short>            
 2016db4:	90 10 00 1a 	mov  %i2, %o0                                  
                 msdos_node_type_t                  type,             
                 const char                        *name,             
                 int                                name_len,         
                 mode_t                             mode,             
                 const fat_file_fd_t               *link_fd)          
{                                                                     
 2016db8:	b8 10 00 18 	mov  %i0, %i4                                  
    fat_dir_pos_init(&dir_pos);                                       
                                                                      
    memset(short_node, 0, MSDOS_DIRECTORY_ENTRY_STRUCT_SIZE);         
    memset(dot_dotdot, 0, MSDOS_DIRECTORY_ENTRY_STRUCT_SIZE * 2);     
                                                                      
    name_type = msdos_long_to_short (name, name_len,                  
 2016dbc:	a4 10 00 08 	mov  %o0, %l2                                  
                                     MSDOS_DIR_NAME(short_node),      
                                     MSDOS_NAME_MAX);                 
                                                                      
    /* fill reserved field */                                         
    *MSDOS_DIR_NT_RES(short_node) = MSDOS_RES_NT_VALUE;               
 2016dc0:	c0 2f bf b4 	clrb  [ %fp + -76 ]                            
                                                                      
    /* set up last write date and time */                             
    time_ret = time(NULL);                                            
 2016dc4:	90 10 20 00 	clr  %o0                                       
 2016dc8:	40 00 22 57 	call  201f724 <time>                           
 2016dcc:	b0 10 3f ff 	mov  -1, %i0                                   
    if ( time_ret == -1 )                                             
 2016dd0:	80 a2 3f ff 	cmp  %o0, -1                                   
 2016dd4:	02 80 00 b6 	be  20170ac <msdos_creat_node+0x358>           <== NEVER TAKEN
 2016dd8:	92 07 bf fe 	add  %fp, -2, %o1                              
        return -1;                                                    
                                                                      
    msdos_date_unix2dos(time_ret, &date, &time_val);                  
 2016ddc:	40 00 0e 41 	call  201a6e0 <msdos_date_unix2dos>            
 2016de0:	94 07 bf fc 	add  %fp, -4, %o2                              
    *MSDOS_DIR_CRT_TIME(short_node) = CT_LE_W(time_val);              
 2016de4:	c2 17 bf fc 	lduh  [ %fp + -4 ], %g1                        
    *MSDOS_DIR_CRT_DATE(short_node) = CT_LE_W(date);                  
 2016de8:	c6 17 bf fe 	lduh  [ %fp + -2 ], %g3                        
    time_ret = time(NULL);                                            
    if ( time_ret == -1 )                                             
        return -1;                                                    
                                                                      
    msdos_date_unix2dos(time_ret, &date, &time_val);                  
    *MSDOS_DIR_CRT_TIME(short_node) = CT_LE_W(time_val);              
 2016dec:	83 28 60 10 	sll  %g1, 0x10, %g1                            
 2016df0:	85 30 60 08 	srl  %g1, 8, %g2                               
 2016df4:	83 30 60 18 	srl  %g1, 0x18, %g1                            
    *MSDOS_DIR_CRT_DATE(short_node) = CT_LE_W(date);                  
 2016df8:	87 28 e0 10 	sll  %g3, 0x10, %g3                            
    time_ret = time(NULL);                                            
    if ( time_ret == -1 )                                             
        return -1;                                                    
                                                                      
    msdos_date_unix2dos(time_ret, &date, &time_val);                  
    *MSDOS_DIR_CRT_TIME(short_node) = CT_LE_W(time_val);              
 2016dfc:	84 10 80 01 	or  %g2, %g1, %g2                              
    *MSDOS_DIR_WRITE_TIME(short_node) = CT_LE_W(time_val);            
    *MSDOS_DIR_WRITE_DATE(short_node) = CT_LE_W(date);                
    *MSDOS_DIR_LAST_ACCESS_DATE(short_node) = CT_LE_W(date);          
                                                                      
    /* initialize directory/file size */                              
    *MSDOS_DIR_FILE_SIZE(short_node) = MSDOS_INIT_DIR_SIZE;           
 2016e00:	c0 27 bf c4 	clr  [ %fp + -60 ]                             
    if ( time_ret == -1 )                                             
        return -1;                                                    
                                                                      
    msdos_date_unix2dos(time_ret, &date, &time_val);                  
    *MSDOS_DIR_CRT_TIME(short_node) = CT_LE_W(time_val);              
    *MSDOS_DIR_CRT_DATE(short_node) = CT_LE_W(date);                  
 2016e04:	83 30 e0 08 	srl  %g3, 8, %g1                               
    time_ret = time(NULL);                                            
    if ( time_ret == -1 )                                             
        return -1;                                                    
                                                                      
    msdos_date_unix2dos(time_ret, &date, &time_val);                  
    *MSDOS_DIR_CRT_TIME(short_node) = CT_LE_W(time_val);              
 2016e08:	c4 37 bf b6 	sth  %g2, [ %fp + -74 ]                        
    *MSDOS_DIR_CRT_DATE(short_node) = CT_LE_W(date);                  
 2016e0c:	87 30 e0 18 	srl  %g3, 0x18, %g3                            
    *MSDOS_DIR_WRITE_TIME(short_node) = CT_LE_W(time_val);            
 2016e10:	c4 37 bf be 	sth  %g2, [ %fp + -66 ]                        
    if ( time_ret == -1 )                                             
        return -1;                                                    
                                                                      
    msdos_date_unix2dos(time_ret, &date, &time_val);                  
    *MSDOS_DIR_CRT_TIME(short_node) = CT_LE_W(time_val);              
    *MSDOS_DIR_CRT_DATE(short_node) = CT_LE_W(date);                  
 2016e14:	82 10 40 03 	or  %g1, %g3, %g1                              
 2016e18:	c2 37 bf b8 	sth  %g1, [ %fp + -72 ]                        
    *MSDOS_DIR_WRITE_TIME(short_node) = CT_LE_W(time_val);            
    *MSDOS_DIR_WRITE_DATE(short_node) = CT_LE_W(date);                
 2016e1c:	c2 37 bf c0 	sth  %g1, [ %fp + -64 ]                        
    *MSDOS_DIR_LAST_ACCESS_DATE(short_node) = CT_LE_W(date);          
                                                                      
    /* initialize directory/file size */                              
    *MSDOS_DIR_FILE_SIZE(short_node) = MSDOS_INIT_DIR_SIZE;           
                                                                      
    if (type == MSDOS_DIRECTORY) {                                    
 2016e20:	80 a6 60 01 	cmp  %i1, 1                                    
 2016e24:	12 80 00 05 	bne  2016e38 <msdos_creat_node+0xe4>           
 2016e28:	c2 37 bf ba 	sth  %g1, [ %fp + -70 ]                        
      *MSDOS_DIR_ATTR(short_node) |= MSDOS_ATTR_DIRECTORY;            
 2016e2c:	c2 0f bf b3 	ldub  [ %fp + -77 ], %g1                       
 2016e30:	10 80 00 30 	b  2016ef0 <msdos_creat_node+0x19c>            
 2016e34:	82 10 60 10 	or  %g1, 0x10, %g1                             
    }                                                                 
    else if (type == MSDOS_HARD_LINK) {                               
 2016e38:	80 a6 60 03 	cmp  %i1, 3                                    
 2016e3c:	12 80 00 2c 	bne  2016eec <msdos_creat_node+0x198>          <== ALWAYS TAKEN
 2016e40:	c2 0f bf b3 	ldub  [ %fp + -77 ], %g1                       
       * node to the newly created                                    
       */                                                             
      /*                                                              
       * read the original directory entry                            
       */                                                             
      sec = fat_cluster_num_to_sector_num(parent_loc->mt_entry,       
 2016e44:	d0 07 20 10 	ld  [ %i4 + 0x10 ], %o0                        <== NOT EXECUTED
 2016e48:	c4 07 60 20 	ld  [ %i5 + 0x20 ], %g2                        <== NOT EXECUTED
    uint32_t                              cln                         
    )                                                                 
{                                                                     
    register fat_fs_info_t *fs_info = mt_entry->fs_info;              
                                                                      
    if ( (cln == 0) && (fs_info->vol.type & (FAT_FAT12 | FAT_FAT16)) )
 2016e4c:	80 a0 a0 00 	cmp  %g2, 0                                    <== NOT EXECUTED
 2016e50:	12 80 00 08 	bne  2016e70 <msdos_creat_node+0x11c>          <== NOT EXECUTED
 2016e54:	c2 02 20 34 	ld  [ %o0 + 0x34 ], %g1                        <== NOT EXECUTED
 2016e58:	c6 08 60 0a 	ldub  [ %g1 + 0xa ], %g3                       <== NOT EXECUTED
 2016e5c:	80 88 e0 03 	btst  3, %g3                                   <== NOT EXECUTED
 2016e60:	22 80 00 05 	be,a   2016e74 <msdos_creat_node+0x120>        <== NOT EXECUTED
 2016e64:	c6 08 60 05 	ldub  [ %g1 + 5 ], %g3                         <== NOT EXECUTED
        return fs_info->vol.rdir_loc;                                 
 2016e68:	10 80 00 07 	b  2016e84 <msdos_creat_node+0x130>            <== NOT EXECUTED
 2016e6c:	c4 00 60 1c 	ld  [ %g1 + 0x1c ], %g2                        <== NOT EXECUTED
                                                                      
    return (((cln - FAT_RSRVD_CLN) << fs_info->vol.spc_log2) +        
 2016e70:	c6 08 60 05 	ldub  [ %g1 + 5 ], %g3                         <== NOT EXECUTED
 2016e74:	c2 00 60 30 	ld  [ %g1 + 0x30 ], %g1                        <== NOT EXECUTED
 2016e78:	84 00 bf fe 	add  %g2, -2, %g2                              <== NOT EXECUTED
 2016e7c:	85 28 80 03 	sll  %g2, %g3, %g2                             <== NOT EXECUTED
 2016e80:	84 00 80 01 	add  %g2, %g1, %g2                             <== NOT EXECUTED
                                          link_fd->dir_pos.sname.cln);
      sec += (link_fd->dir_pos.sname.ofs >> fs_info->fat.vol.sec_log2);
 2016e84:	c2 07 60 24 	ld  [ %i5 + 0x24 ], %g1                        <== NOT EXECUTED
 2016e88:	d2 0c 20 02 	ldub  [ %l0 + 2 ], %o1                         <== NOT EXECUTED
      byte = (link_fd->dir_pos.sname.ofs & (fs_info->fat.vol.bps - 1));
 2016e8c:	d4 14 00 00 	lduh  [ %l0 ], %o2                             <== NOT EXECUTED
      /*                                                              
       * read the original directory entry                            
       */                                                             
      sec = fat_cluster_num_to_sector_num(parent_loc->mt_entry,       
                                          link_fd->dir_pos.sname.cln);
      sec += (link_fd->dir_pos.sname.ofs >> fs_info->fat.vol.sec_log2);
 2016e90:	93 30 40 09 	srl  %g1, %o1, %o1                             <== NOT EXECUTED
      byte = (link_fd->dir_pos.sname.ofs & (fs_info->fat.vol.bps - 1));
 2016e94:	94 02 bf ff 	add  %o2, -1, %o2                              <== NOT EXECUTED
                                                                      
      ret = _fat_block_read(parent_loc->mt_entry,                     
 2016e98:	92 00 80 09 	add  %g2, %o1, %o1                             <== NOT EXECUTED
 2016e9c:	94 0a 80 01 	and  %o2, %g1, %o2                             <== NOT EXECUTED
 2016ea0:	96 10 20 20 	mov  0x20, %o3                                 <== NOT EXECUTED
 2016ea4:	98 07 bf c8 	add  %fp, -56, %o4                             <== NOT EXECUTED
 2016ea8:	7f ff ef 80 	call  2012ca8 <_fat_block_read>                <== NOT EXECUTED
 2016eac:	b0 10 3f ff 	mov  -1, %i0                                   <== NOT EXECUTED
                            sec, byte, MSDOS_DIRECTORY_ENTRY_STRUCT_SIZE,
                            link_node);                               
      if (ret < 0) {                                                  
 2016eb0:	80 a2 20 00 	cmp  %o0, 0                                    <== NOT EXECUTED
 2016eb4:	06 80 00 7e 	bl  20170ac <msdos_creat_node+0x358>           <== NOT EXECUTED
 2016eb8:	c4 0f bf d5 	ldub  [ %fp + -43 ], %g2                       <== NOT EXECUTED
          return -1;                                                  
      }                                                               
      /*                                                              
       * copy various attributes                                      
       */                                                             
      *MSDOS_DIR_ATTR(short_node)          =*MSDOS_DIR_ATTR(link_node);
 2016ebc:	c2 0f bf d3 	ldub  [ %fp + -45 ], %g1                       <== NOT EXECUTED
      *MSDOS_DIR_CRT_TIME_TENTH(short_node)=*MSDOS_DIR_CRT_TIME_TENTH(link_node);
 2016ec0:	c4 2f bf b5 	stb  %g2, [ %fp + -75 ]                        <== NOT EXECUTED
      *MSDOS_DIR_CRT_TIME(short_node)      =*MSDOS_DIR_CRT_TIME(link_node);
 2016ec4:	c4 17 bf d6 	lduh  [ %fp + -42 ], %g2                       <== NOT EXECUTED
 2016ec8:	c4 37 bf b6 	sth  %g2, [ %fp + -74 ]                        <== NOT EXECUTED
      *MSDOS_DIR_CRT_DATE(short_node)      =*MSDOS_DIR_CRT_DATE(link_node);
 2016ecc:	c4 17 bf d8 	lduh  [ %fp + -40 ], %g2                       <== NOT EXECUTED
 2016ed0:	c4 37 bf b8 	sth  %g2, [ %fp + -72 ]                        <== NOT EXECUTED
                                                                      
      /*                                                              
       * copy/set "file size", "first cluster"                        
       */                                                             
      *MSDOS_DIR_FILE_SIZE(short_node)     =*MSDOS_DIR_FILE_SIZE(link_node);
 2016ed4:	c4 07 bf e4 	ld  [ %fp + -28 ], %g2                         <== NOT EXECUTED
 2016ed8:	c4 27 bf c4 	st  %g2, [ %fp + -60 ]                         <== NOT EXECUTED
                                                                      
      *MSDOS_DIR_FIRST_CLUSTER_LOW(short_node) =                      
 2016edc:	c4 17 bf e2 	lduh  [ %fp + -30 ], %g2                       <== NOT EXECUTED
 2016ee0:	c4 37 bf c2 	sth  %g2, [ %fp + -62 ]                        <== NOT EXECUTED
           *MSDOS_DIR_FIRST_CLUSTER_LOW(link_node);                   
      *MSDOS_DIR_FIRST_CLUSTER_HI(short_node) =                       
 2016ee4:	c4 17 bf dc 	lduh  [ %fp + -36 ], %g2                       <== NOT EXECUTED
 2016ee8:	c4 37 bf bc 	sth  %g2, [ %fp + -68 ]                        <== NOT EXECUTED
       * set "archive bit" due to changes                             
       */                                                             
      *MSDOS_DIR_ATTR(short_node) |= MSDOS_ATTR_ARCHIVE;              
    }                                                                 
    else { /* regular file... */                                      
        *MSDOS_DIR_ATTR(short_node) |= MSDOS_ATTR_ARCHIVE;            
 2016eec:	82 10 60 20 	or  %g1, 0x20, %g1                             
 2016ef0:	c2 2f bf b3 	stb  %g1, [ %fp + -77 ]                        
    /*                                                                
     * find free space in the parent directory and write new initialized
     * FAT 32 Bytes Directory Entry Structure to the disk             
     */                                                               
    rc = msdos_get_name_node(parent_loc, true, name, name_len,        
                             name_type, &dir_pos, short_node);        
 2016ef4:	ba 07 bf a8 	add  %fp, -88, %i5                             
                                                                      
    /*                                                                
     * find free space in the parent directory and write new initialized
     * FAT 32 Bytes Directory Entry Structure to the disk             
     */                                                               
    rc = msdos_get_name_node(parent_loc, true, name, name_len,        
 2016ef8:	90 10 00 1c 	mov  %i4, %o0                                  
 2016efc:	fa 23 a0 5c 	st  %i5, [ %sp + 0x5c ]                        
 2016f00:	92 10 20 01 	mov  1, %o1                                    
 2016f04:	94 10 00 1a 	mov  %i2, %o2                                  
 2016f08:	96 10 00 1b 	mov  %i3, %o3                                  
 2016f0c:	98 10 00 12 	mov  %l2, %o4                                  
 2016f10:	40 00 09 13 	call  201935c <msdos_get_name_node>            
 2016f14:	9a 07 bf e8 	add  %fp, -24, %o5                             
                             name_type, &dir_pos, short_node);        
    if ( rc != RC_OK )                                                
 2016f18:	b0 92 20 00 	orcc  %o0, 0, %i0                              
 2016f1c:	12 80 00 64 	bne  20170ac <msdos_creat_node+0x358>          <== NEVER TAKEN
 2016f20:	80 a6 60 01 	cmp  %i1, 1                                    
                                                                      
    /*                                                                
     * if we create a new file we are done, if directory there are more steps
     * to do                                                          
     */                                                               
    if (type == MSDOS_DIRECTORY)                                      
 2016f24:	12 80 00 62 	bne  20170ac <msdos_creat_node+0x358>          
 2016f28:	92 07 bf e8 	add  %fp, -24, %o1                             
    {                                                                 
        /* open new directory as fat-file */                          
        rc = fat_file_open(parent_loc->mt_entry, &dir_pos, &fat_fd);  
 2016f2c:	d0 07 20 10 	ld  [ %i4 + 0x10 ], %o0                        
 2016f30:	7f ff eb 83 	call  2011d3c <fat_file_open>                  
 2016f34:	94 07 bf f8 	add  %fp, -8, %o2                              
        if (rc != RC_OK)                                              
 2016f38:	b0 92 20 00 	orcc  %o0, 0, %i0                              
 2016f3c:	32 80 00 63 	bne,a   20170c8 <msdos_creat_node+0x374>       <== NEVER TAKEN
 2016f40:	d0 07 20 10 	ld  [ %i4 + 0x10 ], %o0                        <== NOT EXECUTED
                                                                      
        /*                                                            
         * we opened fat-file for node we just created, so initialize fat-file
         * descritor                                                  
         */                                                           
        fat_fd->fat_file_size = 0;                                    
 2016f44:	f6 07 bf f8 	ld  [ %fp + -8 ], %i3                          
        fat_fd->fat_file_type = FAT_DIRECTORY;                        
        fat_fd->size_limit = MSDOS_MAX_DIR_LENGHT;                    
 2016f48:	03 00 08 00 	sethi  %hi(0x200000), %g1                      
                                                                      
        /*                                                            
         * dot and dotdot entries are identical to new node except the
         * names                                                      
         */                                                           
        memcpy(DOT_NODE_P(dot_dotdot), short_node,                    
 2016f4c:	92 10 00 1d 	mov  %i5, %o1                                  
         * we opened fat-file for node we just created, so initialize fat-file
         * descritor                                                  
         */                                                           
        fat_fd->fat_file_size = 0;                                    
        fat_fd->fat_file_type = FAT_DIRECTORY;                        
        fat_fd->size_limit = MSDOS_MAX_DIR_LENGHT;                    
 2016f50:	c2 26 e0 14 	st  %g1, [ %i3 + 0x14 ]                        
                                                                      
        /*                                                            
         * dot and dotdot entries are identical to new node except the
         * names                                                      
         */                                                           
        memcpy(DOT_NODE_P(dot_dotdot), short_node,                    
 2016f54:	94 10 20 20 	mov  0x20, %o2                                 
                                                                      
        /*                                                            
         * we opened fat-file for node we just created, so initialize fat-file
         * descritor                                                  
         */                                                           
        fat_fd->fat_file_size = 0;                                    
 2016f58:	c0 26 e0 18 	clr  [ %i3 + 0x18 ]                            
        fat_fd->fat_file_type = FAT_DIRECTORY;                        
 2016f5c:	f2 26 e0 10 	st  %i1, [ %i3 + 0x10 ]                        
                                                                      
        /*                                                            
         * dot and dotdot entries are identical to new node except the
         * names                                                      
         */                                                           
        memcpy(DOT_NODE_P(dot_dotdot), short_node,                    
 2016f60:	40 00 13 f7 	call  201bf3c <memcpy>                         
 2016f64:	90 07 bf 68 	add  %fp, -152, %o0                            
               MSDOS_DIRECTORY_ENTRY_STRUCT_SIZE);                    
        memcpy(DOTDOT_NODE_P(dot_dotdot), short_node,                 
 2016f68:	92 10 00 1d 	mov  %i5, %o1                                  
 2016f6c:	94 10 20 20 	mov  0x20, %o2                                 
 2016f70:	40 00 13 f3 	call  201bf3c <memcpy>                         
 2016f74:	90 07 bf 88 	add  %fp, -120, %o0                            
               MSDOS_DIRECTORY_ENTRY_STRUCT_SIZE);                    
        memcpy(MSDOS_DIR_NAME(DOT_NODE_P(dot_dotdot)), MSDOS_DOT_NAME,
 2016f78:	03 00 80 ac 	sethi  %hi(0x202b000), %g1                     
 2016f7c:	d2 00 62 ac 	ld  [ %g1 + 0x2ac ], %o1	! 202b2ac <MSDOS_DOT_NAME>
 2016f80:	94 10 20 0b 	mov  0xb, %o2                                  
 2016f84:	40 00 13 ee 	call  201bf3c <memcpy>                         
 2016f88:	90 07 bf 68 	add  %fp, -152, %o0                            
               MSDOS_NAME_MAX);                                       
        memcpy(MSDOS_DIR_NAME(DOTDOT_NODE_P(dot_dotdot)), MSDOS_DOTDOT_NAME,
 2016f8c:	03 00 80 ac 	sethi  %hi(0x202b000), %g1                     
 2016f90:	d2 00 62 a8 	ld  [ %g1 + 0x2a8 ], %o1	! 202b2a8 <MSDOS_DOTDOT_NAME>
 2016f94:	90 07 bf 88 	add  %fp, -120, %o0                            
 2016f98:	40 00 13 e9 	call  201bf3c <memcpy>                         
 2016f9c:	94 10 20 0b 	mov  0xb, %o2                                  
        /*                                                            
         * here we can ommit FAT32 condition because for all FAT types dirs
         * right under root dir should contain 0 in dotdot entry but for
         * FAT12/16 parent_fat_fd->cluster_num always contains such value
         */                                                           
        if ((FAT_FD_OF_ROOT_DIR(parent_fat_fd)) &&                    
 2016fa0:	c2 04 60 20 	ld  [ %l1 + 0x20 ], %g1                        
 2016fa4:	80 a0 60 01 	cmp  %g1, 1                                    
 2016fa8:	32 80 00 0d 	bne,a   2016fdc <msdos_creat_node+0x288>       
 2016fac:	c2 04 60 1c 	ld  [ %l1 + 0x1c ], %g1                        
 2016fb0:	c2 04 60 24 	ld  [ %l1 + 0x24 ], %g1                        
 2016fb4:	80 a0 60 00 	cmp  %g1, 0                                    
 2016fb8:	32 80 00 09 	bne,a   2016fdc <msdos_creat_node+0x288>       <== NEVER TAKEN
 2016fbc:	c2 04 60 1c 	ld  [ %l1 + 0x1c ], %g1                        <== NOT EXECUTED
            (fs_info->fat.vol.type & FAT_FAT32))                      
 2016fc0:	c2 0c 20 0a 	ldub  [ %l0 + 0xa ], %g1                       
        /*                                                            
         * here we can ommit FAT32 condition because for all FAT types dirs
         * right under root dir should contain 0 in dotdot entry but for
         * FAT12/16 parent_fat_fd->cluster_num always contains such value
         */                                                           
        if ((FAT_FD_OF_ROOT_DIR(parent_fat_fd)) &&                    
 2016fc4:	80 88 60 04 	btst  4, %g1                                   
 2016fc8:	22 80 00 05 	be,a   2016fdc <msdos_creat_node+0x288>        <== ALWAYS TAKEN
 2016fcc:	c2 04 60 1c 	ld  [ %l1 + 0x1c ], %g1                        
            (fs_info->fat.vol.type & FAT_FAT32))                      
        {                                                             
            *MSDOS_DIR_FIRST_CLUSTER_LOW(DOTDOT_NODE_P(dot_dotdot)) = 0x0000;
 2016fd0:	c0 37 bf a2 	clrh  [ %fp + -94 ]                            <== NOT EXECUTED
            *MSDOS_DIR_FIRST_CLUSTER_HI(DOTDOT_NODE_P(dot_dotdot)) = 0x0000;
 2016fd4:	10 80 00 0d 	b  2017008 <msdos_creat_node+0x2b4>            <== NOT EXECUTED
 2016fd8:	c0 37 bf 9c 	clrh  [ %fp + -100 ]                           <== NOT EXECUTED
        }                                                             
        else                                                          
        {                                                             
            *MSDOS_DIR_FIRST_CLUSTER_LOW(DOTDOT_NODE_P(dot_dotdot)) = 
                CT_LE_W((uint16_t  )((parent_fat_fd->cln) & 0x0000FFFF));
 2016fdc:	85 28 60 10 	sll  %g1, 0x10, %g2                            
 2016fe0:	87 30 a0 08 	srl  %g2, 8, %g3                               
            *MSDOS_DIR_FIRST_CLUSTER_LOW(DOTDOT_NODE_P(dot_dotdot)) = 0x0000;
            *MSDOS_DIR_FIRST_CLUSTER_HI(DOTDOT_NODE_P(dot_dotdot)) = 0x0000;
        }                                                             
        else                                                          
        {                                                             
            *MSDOS_DIR_FIRST_CLUSTER_LOW(DOTDOT_NODE_P(dot_dotdot)) = 
 2016fe4:	85 30 a0 18 	srl  %g2, 0x18, %g2                            
 2016fe8:	84 10 c0 02 	or  %g3, %g2, %g2                              
                CT_LE_W((uint16_t  )((parent_fat_fd->cln) & 0x0000FFFF));
            *MSDOS_DIR_FIRST_CLUSTER_HI(DOTDOT_NODE_P(dot_dotdot)) =  
                CT_LE_W((uint16_t  )(((parent_fat_fd->cln) & 0xFFFF0000)>>16));
 2016fec:	83 30 60 10 	srl  %g1, 0x10, %g1                            
            *MSDOS_DIR_FIRST_CLUSTER_LOW(DOTDOT_NODE_P(dot_dotdot)) = 0x0000;
            *MSDOS_DIR_FIRST_CLUSTER_HI(DOTDOT_NODE_P(dot_dotdot)) = 0x0000;
        }                                                             
        else                                                          
        {                                                             
            *MSDOS_DIR_FIRST_CLUSTER_LOW(DOTDOT_NODE_P(dot_dotdot)) = 
 2016ff0:	c4 37 bf a2 	sth  %g2, [ %fp + -94 ]                        
                CT_LE_W((uint16_t  )((parent_fat_fd->cln) & 0x0000FFFF));
            *MSDOS_DIR_FIRST_CLUSTER_HI(DOTDOT_NODE_P(dot_dotdot)) =  
                CT_LE_W((uint16_t  )(((parent_fat_fd->cln) & 0xFFFF0000)>>16));
 2016ff4:	83 28 60 10 	sll  %g1, 0x10, %g1                            
 2016ff8:	85 30 60 08 	srl  %g1, 8, %g2                               
        }                                                             
        else                                                          
        {                                                             
            *MSDOS_DIR_FIRST_CLUSTER_LOW(DOTDOT_NODE_P(dot_dotdot)) = 
                CT_LE_W((uint16_t  )((parent_fat_fd->cln) & 0x0000FFFF));
            *MSDOS_DIR_FIRST_CLUSTER_HI(DOTDOT_NODE_P(dot_dotdot)) =  
 2016ffc:	83 30 60 18 	srl  %g1, 0x18, %g1                            
 2017000:	82 10 80 01 	or  %g2, %g1, %g1                              
 2017004:	c2 37 bf 9c 	sth  %g1, [ %fp + -100 ]                       
        /*                                                            
         * write dot and dotdot entries to new fat-file: currently fat-file
         * correspondes to a new node is zero length, so it will be extended
         * by one cluster and entries will be written                 
         */                                                           
        ret = fat_file_write(parent_loc->mt_entry, fat_fd, 0,         
 2017008:	d0 07 20 10 	ld  [ %i4 + 0x10 ], %o0                        
 201700c:	92 10 00 1b 	mov  %i3, %o1                                  
 2017010:	94 10 20 00 	clr  %o2                                       
 2017014:	96 10 20 40 	mov  0x40, %o3                                 
 2017018:	7f ff ed 33 	call  20124e4 <fat_file_write>                 
 201701c:	98 07 bf 68 	add  %fp, -152, %o4                            
                             MSDOS_DIRECTORY_ENTRY_STRUCT_SIZE * 2,   
                             (uint8_t *)dot_dotdot);                  
        if (ret < 0)                                                  
 2017020:	80 a2 20 00 	cmp  %o0, 0                                    
 2017024:	06 80 00 24 	bl  20170b4 <msdos_creat_node+0x360>           <== NEVER TAKEN
 2017028:	d2 07 bf f8 	ld  [ %fp + -8 ], %o1                          
            rc = -1;                                                  
            goto error;                                               
        }                                                             
                                                                      
        /* increment fat-file size by cluster size */                 
        fat_fd->fat_file_size += fs_info->fat.vol.bpc;                
 201702c:	c2 14 20 06 	lduh  [ %l0 + 6 ], %g1                         
 2017030:	c4 02 60 18 	ld  [ %o1 + 0x18 ], %g2                        
                CT_LE_W((uint16_t  )((fat_fd->cln) & 0x0000FFFF));    
        *MSDOS_DIR_FIRST_CLUSTER_HI(DOT_NODE_P(dot_dotdot)) =         
                CT_LE_W((uint16_t  )(((fat_fd->cln) & 0xFFFF0000) >> 16));
                                                                      
        /* rewrite dot entry */                                       
        ret = fat_file_write(parent_loc->mt_entry, fat_fd, 0,         
 2017034:	d0 07 20 10 	ld  [ %i4 + 0x10 ], %o0                        
            rc = -1;                                                  
            goto error;                                               
        }                                                             
                                                                      
        /* increment fat-file size by cluster size */                 
        fat_fd->fat_file_size += fs_info->fat.vol.bpc;                
 2017038:	82 00 80 01 	add  %g2, %g1, %g1                             
 201703c:	c2 22 60 18 	st  %g1, [ %o1 + 0x18 ]                        
                                                                      
        /* set up cluster num for dot entry */                        
        *MSDOS_DIR_FIRST_CLUSTER_LOW(DOT_NODE_P(dot_dotdot)) =        
                CT_LE_W((uint16_t  )((fat_fd->cln) & 0x0000FFFF));    
 2017040:	c2 02 60 1c 	ld  [ %o1 + 0x1c ], %g1                        
        *MSDOS_DIR_FIRST_CLUSTER_HI(DOT_NODE_P(dot_dotdot)) =         
                CT_LE_W((uint16_t  )(((fat_fd->cln) & 0xFFFF0000) >> 16));
                                                                      
        /* rewrite dot entry */                                       
        ret = fat_file_write(parent_loc->mt_entry, fat_fd, 0,         
 2017044:	94 10 20 00 	clr  %o2                                       
        /* increment fat-file size by cluster size */                 
        fat_fd->fat_file_size += fs_info->fat.vol.bpc;                
                                                                      
        /* set up cluster num for dot entry */                        
        *MSDOS_DIR_FIRST_CLUSTER_LOW(DOT_NODE_P(dot_dotdot)) =        
                CT_LE_W((uint16_t  )((fat_fd->cln) & 0x0000FFFF));    
 2017048:	85 28 60 10 	sll  %g1, 0x10, %g2                            
 201704c:	87 30 a0 08 	srl  %g2, 8, %g3                               
                                                                      
        /* increment fat-file size by cluster size */                 
        fat_fd->fat_file_size += fs_info->fat.vol.bpc;                
                                                                      
        /* set up cluster num for dot entry */                        
        *MSDOS_DIR_FIRST_CLUSTER_LOW(DOT_NODE_P(dot_dotdot)) =        
 2017050:	85 30 a0 18 	srl  %g2, 0x18, %g2                            
 2017054:	84 10 c0 02 	or  %g3, %g2, %g2                              
                CT_LE_W((uint16_t  )((fat_fd->cln) & 0x0000FFFF));    
        *MSDOS_DIR_FIRST_CLUSTER_HI(DOT_NODE_P(dot_dotdot)) =         
                CT_LE_W((uint16_t  )(((fat_fd->cln) & 0xFFFF0000) >> 16));
 2017058:	83 30 60 10 	srl  %g1, 0x10, %g1                            
                                                                      
        /* increment fat-file size by cluster size */                 
        fat_fd->fat_file_size += fs_info->fat.vol.bpc;                
                                                                      
        /* set up cluster num for dot entry */                        
        *MSDOS_DIR_FIRST_CLUSTER_LOW(DOT_NODE_P(dot_dotdot)) =        
 201705c:	c4 37 bf 82 	sth  %g2, [ %fp + -126 ]                       
                CT_LE_W((uint16_t  )((fat_fd->cln) & 0x0000FFFF));    
        *MSDOS_DIR_FIRST_CLUSTER_HI(DOT_NODE_P(dot_dotdot)) =         
                CT_LE_W((uint16_t  )(((fat_fd->cln) & 0xFFFF0000) >> 16));
 2017060:	83 28 60 10 	sll  %g1, 0x10, %g1                            
 2017064:	85 30 60 08 	srl  %g1, 8, %g2                               
        fat_fd->fat_file_size += fs_info->fat.vol.bpc;                
                                                                      
        /* set up cluster num for dot entry */                        
        *MSDOS_DIR_FIRST_CLUSTER_LOW(DOT_NODE_P(dot_dotdot)) =        
                CT_LE_W((uint16_t  )((fat_fd->cln) & 0x0000FFFF));    
        *MSDOS_DIR_FIRST_CLUSTER_HI(DOT_NODE_P(dot_dotdot)) =         
 2017068:	83 30 60 18 	srl  %g1, 0x18, %g1                            
 201706c:	82 10 80 01 	or  %g2, %g1, %g1                              
                CT_LE_W((uint16_t  )(((fat_fd->cln) & 0xFFFF0000) >> 16));
                                                                      
        /* rewrite dot entry */                                       
        ret = fat_file_write(parent_loc->mt_entry, fat_fd, 0,         
 2017070:	96 10 20 20 	mov  0x20, %o3                                 
        fat_fd->fat_file_size += fs_info->fat.vol.bpc;                
                                                                      
        /* set up cluster num for dot entry */                        
        *MSDOS_DIR_FIRST_CLUSTER_LOW(DOT_NODE_P(dot_dotdot)) =        
                CT_LE_W((uint16_t  )((fat_fd->cln) & 0x0000FFFF));    
        *MSDOS_DIR_FIRST_CLUSTER_HI(DOT_NODE_P(dot_dotdot)) =         
 2017074:	c2 37 bf 7c 	sth  %g1, [ %fp + -132 ]                       
                CT_LE_W((uint16_t  )(((fat_fd->cln) & 0xFFFF0000) >> 16));
                                                                      
        /* rewrite dot entry */                                       
        ret = fat_file_write(parent_loc->mt_entry, fat_fd, 0,         
 2017078:	7f ff ed 1b 	call  20124e4 <fat_file_write>                 
 201707c:	98 07 bf 68 	add  %fp, -152, %o4                            
                             MSDOS_DIRECTORY_ENTRY_STRUCT_SIZE,       
                             (uint8_t *)DOT_NODE_P(dot_dotdot));      
        if (ret < 0)                                                  
 2017080:	80 a2 20 00 	cmp  %o0, 0                                    
 2017084:	06 80 00 0d 	bl  20170b8 <msdos_creat_node+0x364>           <== NEVER TAKEN
 2017088:	b0 10 3f ff 	mov  -1, %i0                                   
            rc = -1;                                                  
            goto error;                                               
        }                                                             
                                                                      
        /* write first cluster num of a new directory to disk */      
        rc = msdos_set_first_cluster_num(parent_loc->mt_entry, fat_fd);
 201708c:	d0 07 20 10 	ld  [ %i4 + 0x10 ], %o0                        
 2017090:	40 00 04 67 	call  201822c <msdos_set_first_cluster_num>    
 2017094:	d2 07 bf f8 	ld  [ %fp + -8 ], %o1                          
        if (rc != RC_OK)                                              
 2017098:	b0 92 20 00 	orcc  %o0, 0, %i0                              
 201709c:	12 80 00 08 	bne  20170bc <msdos_creat_node+0x368>          <== NEVER TAKEN
 20170a0:	d0 07 20 10 	ld  [ %i4 + 0x10 ], %o0                        
            goto error;                                               
                                                                      
        fat_file_close(parent_loc->mt_entry, fat_fd);                 
 20170a4:	7f ff ec 31 	call  2012168 <fat_file_close>                 
 20170a8:	d2 07 bf f8 	ld  [ %fp + -8 ], %o1                          
 20170ac:	81 c7 e0 08 	ret                                            
 20170b0:	81 e8 00 00 	restore                                        
        ret = fat_file_write(parent_loc->mt_entry, fat_fd, 0,         
                             MSDOS_DIRECTORY_ENTRY_STRUCT_SIZE,       
                             (uint8_t *)DOT_NODE_P(dot_dotdot));      
        if (ret < 0)                                                  
        {                                                             
            rc = -1;                                                  
 20170b4:	b0 10 3f ff 	mov  -1, %i0                                   <== NOT EXECUTED
        fat_file_close(parent_loc->mt_entry, fat_fd);                 
    }                                                                 
    return RC_OK;                                                     
                                                                      
error:                                                                
    fat_file_close(parent_loc->mt_entry, fat_fd);                     
 20170b8:	d0 07 20 10 	ld  [ %i4 + 0x10 ], %o0                        <== NOT EXECUTED
 20170bc:	7f ff ec 2b 	call  2012168 <fat_file_close>                 <== NOT EXECUTED
 20170c0:	d2 07 bf f8 	ld  [ %fp + -8 ], %o1                          <== NOT EXECUTED
                                                                      
err:                                                                  
    /* mark the used 32bytes structure on the disk as free */         
    msdos_set_first_char4file_name(parent_loc->mt_entry, &dir_pos, 0xE5);
 20170c4:	d0 07 20 10 	ld  [ %i4 + 0x10 ], %o0                        <== NOT EXECUTED
 20170c8:	92 07 bf e8 	add  %fp, -24, %o1                             <== NOT EXECUTED
 20170cc:	40 00 04 a0 	call  201834c <msdos_set_first_char4file_name> <== NOT EXECUTED
 20170d0:	94 10 20 e5 	mov  0xe5, %o2                                 <== NOT EXECUTED
    return rc;                                                        
}                                                                     
 20170d4:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 20170d8:	81 e8 00 00 	restore                                        <== NOT EXECUTED
                                                                      

0201a828 <msdos_date_dos2unix>: * called from the stat(), and fstat() system calls and so probably need * not be too efficient. */ unsigned int msdos_date_dos2unix(unsigned int dd, unsigned int dt) {
 201a828:	9d e3 bf a0 	save  %sp, -96, %sp                            
	uint32_t days;                                                       
	uint16_t *months;                                                    
                                                                      
	seconds = 2 * ((dt & MSDOS_DT_2SECONDS_MASK) >> MSDOS_DT_2SECONDS_SHIFT)
	    + ((dt & MSDOS_DT_MINUTES_MASK) >> MSDOS_DT_MINUTES_SHIFT) * 60  
	    + ((dt & MSDOS_DT_HOURS_MASK) >> MSDOS_DT_HOURS_SHIFT) * 3600;   
 201a82c:	85 36 60 0b 	srl  %i1, 0xb, %g2                             
 201a830:	84 08 a0 1f 	and  %g2, 0x1f, %g2                            
 201a834:	87 28 a0 03 	sll  %g2, 3, %g3                               
 201a838:	83 28 a0 07 	sll  %g2, 7, %g1                               
 201a83c:	82 20 40 03 	sub  %g1, %g3, %g1                             
 201a840:	85 28 60 04 	sll  %g1, 4, %g2                               
 201a844:	84 20 80 01 	sub  %g2, %g1, %g2                             
	uint32_t y, year;                                                    
	uint32_t days;                                                       
	uint16_t *months;                                                    
                                                                      
	seconds = 2 * ((dt & MSDOS_DT_2SECONDS_MASK) >> MSDOS_DT_2SECONDS_SHIFT)
	    + ((dt & MSDOS_DT_MINUTES_MASK) >> MSDOS_DT_MINUTES_SHIFT) * 60  
 201a848:	82 0e 67 e0 	and  %i1, 0x7e0, %g1                           
 201a84c:	87 30 60 04 	srl  %g1, 4, %g3                               
 201a850:	82 20 40 03 	sub  %g1, %g3, %g1                             
	    + ((dt & MSDOS_DT_HOURS_MASK) >> MSDOS_DT_HOURS_SHIFT) * 3600;   
 201a854:	82 00 80 01 	add  %g2, %g1, %g1                             
	uint32_t m, month;                                                   
	uint32_t y, year;                                                    
	uint32_t days;                                                       
	uint16_t *months;                                                    
                                                                      
	seconds = 2 * ((dt & MSDOS_DT_2SECONDS_MASK) >> MSDOS_DT_2SECONDS_SHIFT)
 201a858:	b2 0e 60 1f 	and  %i1, 0x1f, %i1                            
	    + ((dt & MSDOS_DT_MINUTES_MASK) >> MSDOS_DT_MINUTES_SHIFT) * 60  
	    + ((dt & MSDOS_DT_HOURS_MASK) >> MSDOS_DT_HOURS_SHIFT) * 3600;   
 201a85c:	b2 00 40 19 	add  %g1, %i1, %i1                             
	/*                                                                   
	 * If the year, month, and day from the last conversion are the      
	 * same then use the saved value.                                    
	 */                                                                  
	if (lastdosdate != dd) {                                             
 201a860:	03 00 80 b3 	sethi  %hi(0x202cc00), %g1                     
 201a864:	c4 10 61 4e 	lduh  [ %g1 + 0x14e ], %g2	! 202cd4e <lastdosdate>
 201a868:	80 a0 80 18 	cmp  %g2, %i0                                  
 201a86c:	02 80 00 33 	be  201a938 <msdos_date_dos2unix+0x110>        
 201a870:	b3 2e 60 01 	sll  %i1, 1, %i1                               
		lastdosdate = dd;                                                   
 201a874:	f0 30 61 4e 	sth  %i0, [ %g1 + 0x14e ]                      
		days = 0;                                                           
		year = (dd & MSDOS_DD_YEAR_MASK) >> MSDOS_DD_YEAR_SHIFT;            
 201a878:	89 36 20 09 	srl  %i0, 9, %g4                               
	 * If the year, month, and day from the last conversion are the      
	 * same then use the saved value.                                    
	 */                                                                  
	if (lastdosdate != dd) {                                             
		lastdosdate = dd;                                                   
		days = 0;                                                           
 201a87c:	82 10 20 00 	clr  %g1                                       
		year = (dd & MSDOS_DD_YEAR_MASK) >> MSDOS_DD_YEAR_SHIFT;            
 201a880:	88 09 20 7f 	and  %g4, 0x7f, %g4                            
		for (y = 0; y < year; y++)                                          
 201a884:	10 80 00 07 	b  201a8a0 <msdos_date_dos2unix+0x78>          
 201a888:	84 10 20 00 	clr  %g2                                       
			days += y & 0x03 ? 365 : 366;                                      
 201a88c:	80 a0 00 03 	cmp  %g0, %g3                                  
	 */                                                                  
	if (lastdosdate != dd) {                                             
		lastdosdate = dd;                                                   
		days = 0;                                                           
		year = (dd & MSDOS_DD_YEAR_MASK) >> MSDOS_DD_YEAR_SHIFT;            
		for (y = 0; y < year; y++)                                          
 201a890:	84 00 a0 01 	inc  %g2                                       
			days += y & 0x03 ? 365 : 366;                                      
 201a894:	86 60 3f ff 	subx  %g0, -1, %g3                             
 201a898:	86 00 e1 6d 	add  %g3, 0x16d, %g3                           
 201a89c:	82 00 40 03 	add  %g1, %g3, %g1                             
	 */                                                                  
	if (lastdosdate != dd) {                                             
		lastdosdate = dd;                                                   
		days = 0;                                                           
		year = (dd & MSDOS_DD_YEAR_MASK) >> MSDOS_DD_YEAR_SHIFT;            
		for (y = 0; y < year; y++)                                          
 201a8a0:	80 a0 80 04 	cmp  %g2, %g4                                  
 201a8a4:	12 bf ff fa 	bne  201a88c <msdos_date_dos2unix+0x64>        
 201a8a8:	86 08 a0 03 	and  %g2, 3, %g3                               
			days += y & 0x03 ? 365 : 366;                                      
		months = year & 0x03 ? regyear : leapyear;                          
 201a8ac:	09 00 80 b1 	sethi  %hi(0x202c400), %g4                     
 201a8b0:	80 a0 e0 00 	cmp  %g3, 0                                    
 201a8b4:	02 80 00 04 	be  201a8c4 <msdos_date_dos2unix+0x9c>         <== ALWAYS TAKEN
 201a8b8:	88 11 22 54 	or  %g4, 0x254, %g4                            
 201a8bc:	09 00 80 b1 	sethi  %hi(0x202c400), %g4                     <== NOT EXECUTED
 201a8c0:	88 11 22 3c 	or  %g4, 0x23c, %g4	! 202c63c <regyear>        <== NOT EXECUTED
		/*                                                                  
		 * Prevent going from 0 to 0xffffffff in the following              
		 * loop.                                                            
		 */                                                                 
		month = (dd & MSDOS_DD_MONTH_MASK) >> MSDOS_DD_MONTH_SHIFT;         
 201a8c4:	86 0e 21 e0 	and  %i0, 0x1e0, %g3                           
 201a8c8:	87 30 e0 05 	srl  %g3, 5, %g3                               
		if (month == 0) {                                                   
 201a8cc:	80 a0 e0 00 	cmp  %g3, 0                                    
 201a8d0:	22 80 00 02 	be,a   201a8d8 <msdos_date_dos2unix+0xb0>      <== NEVER TAKEN
 201a8d4:	86 10 20 01 	mov  1, %g3                                    <== NOT EXECUTED
			month = 1;                                                         
		}                                                                   
		for (m = 0; m < month - 1; m++)                                     
 201a8d8:	84 10 20 00 	clr  %g2                                       
 201a8dc:	10 80 00 05 	b  201a8f0 <msdos_date_dos2unix+0xc8>          
 201a8e0:	86 00 ff ff 	add  %g3, -1, %g3                              
			days += months[m];                                                 
 201a8e4:	de 11 00 0f 	lduh  [ %g4 + %o7 ], %o7                       <== NOT EXECUTED
		 */                                                                 
		month = (dd & MSDOS_DD_MONTH_MASK) >> MSDOS_DD_MONTH_SHIFT;         
		if (month == 0) {                                                   
			month = 1;                                                         
		}                                                                   
		for (m = 0; m < month - 1; m++)                                     
 201a8e8:	84 00 a0 01 	inc  %g2                                       <== NOT EXECUTED
			days += months[m];                                                 
 201a8ec:	82 00 40 0f 	add  %g1, %o7, %g1                             <== NOT EXECUTED
		 */                                                                 
		month = (dd & MSDOS_DD_MONTH_MASK) >> MSDOS_DD_MONTH_SHIFT;         
		if (month == 0) {                                                   
			month = 1;                                                         
		}                                                                   
		for (m = 0; m < month - 1; m++)                                     
 201a8f0:	80 a0 80 03 	cmp  %g2, %g3                                  
 201a8f4:	0a bf ff fc 	bcs  201a8e4 <msdos_date_dos2unix+0xbc>        <== NEVER TAKEN
 201a8f8:	9f 28 a0 01 	sll  %g2, 1, %o7                               
			days += months[m];                                                 
		days += ((dd & MSDOS_DD_DAY_MASK) >> MSDOS_DD_DAY_SHIFT) - 1;       
 201a8fc:	b0 0e 20 1f 	and  %i0, 0x1f, %i0                            
 201a900:	b0 06 3f ff 	add  %i0, -1, %i0                              
 201a904:	82 06 00 01 	add  %i0, %g1, %g1                             
		lastseconds = (days + DAYSTO1980) * SECONDSPERDAY;                  
 201a908:	85 28 60 07 	sll  %g1, 7, %g2                               
 201a90c:	83 28 60 09 	sll  %g1, 9, %g1                               
 201a910:	82 20 40 02 	sub  %g1, %g2, %g1                             
 201a914:	85 28 60 04 	sll  %g1, 4, %g2                               
 201a918:	82 20 80 01 	sub  %g2, %g1, %g1                             
 201a91c:	85 28 60 04 	sll  %g1, 4, %g2                               
 201a920:	82 20 80 01 	sub  %g2, %g1, %g1                             
 201a924:	05 04 b3 a9 	sethi  %hi(0x12cea400), %g2                    
 201a928:	84 10 a2 00 	or  %g2, 0x200, %g2	! 12cea600 <RAM_END+0x108ea600>
 201a92c:	82 00 40 02 	add  %g1, %g2, %g1                             
 201a930:	05 00 80 b3 	sethi  %hi(0x202cc00), %g2                     
 201a934:	c2 20 a1 50 	st  %g1, [ %g2 + 0x150 ]	! 202cd50 <lastseconds>
	}                                                                    
	return seconds + lastseconds;                                        
 201a938:	03 00 80 b3 	sethi  %hi(0x202cc00), %g1                     
 201a93c:	c4 00 61 50 	ld  [ %g1 + 0x150 ], %g2	! 202cd50 <lastseconds>
}                                                                     
 201a940:	81 c7 e0 08 	ret                                            
 201a944:	91 ee 40 02 	restore  %i1, %g2, %o0                         
                                                                      

0201a6e0 <msdos_date_unix2dos>: * file timestamps. The passed in unix time is assumed to be in GMT. */ void msdos_date_unix2dos(unsigned int t, uint16_t *ddp, uint16_t *dtp) {
 201a6e0:	9d e3 bf a0 	save  %sp, -96, %sp                            
                                                                      
	/*                                                                   
	 * If the time from the last conversion is the same as now, then     
	 * skip the computations and use the saved result.                   
	 */                                                                  
	if (lasttime != t) {                                                 
 201a6e4:	03 00 80 b3 	sethi  %hi(0x202cc00), %g1                     
 201a6e8:	c4 00 61 40 	ld  [ %g1 + 0x140 ], %g2	! 202cd40 <lasttime>  
 201a6ec:	80 a0 80 18 	cmp  %g2, %i0                                  
 201a6f0:	02 80 00 46 	be  201a808 <msdos_date_unix2dos+0x128>        
 201a6f4:	92 10 20 3c 	mov  0x3c, %o1                                 
		lasttime = t;                                                       
 201a6f8:	f0 20 61 40 	st  %i0, [ %g1 + 0x140 ]                       
		lastdtime = (((t % 60) >> 1) << MSDOS_DT_2SECONDS_SHIFT)            
		    + (((t / 60) % 60) << MSDOS_DT_MINUTES_SHIFT)                   
 201a6fc:	40 00 36 27 	call  2027f98 <.udiv>                          
 201a700:	90 10 00 18 	mov  %i0, %o0                                  
 201a704:	40 00 36 d1 	call  2028248 <.urem>                          
 201a708:	92 10 20 3c 	mov  0x3c, %o1                                 
		    + (((t / 3600) % 24) << MSDOS_DT_HOURS_SHIFT);                  
 201a70c:	92 10 2e 10 	mov  0xe10, %o1                                
	 * If the time from the last conversion is the same as now, then     
	 * skip the computations and use the saved result.                   
	 */                                                                  
	if (lasttime != t) {                                                 
		lasttime = t;                                                       
		lastdtime = (((t % 60) >> 1) << MSDOS_DT_2SECONDS_SHIFT)            
 201a710:	bb 2a 20 05 	sll  %o0, 5, %i5                               
		    + (((t / 60) % 60) << MSDOS_DT_MINUTES_SHIFT)                   
		    + (((t / 3600) % 24) << MSDOS_DT_HOURS_SHIFT);                  
 201a714:	40 00 36 21 	call  2027f98 <.udiv>                          
 201a718:	90 10 00 18 	mov  %i0, %o0                                  
 201a71c:	40 00 36 cb 	call  2028248 <.urem>                          
 201a720:	92 10 20 18 	mov  0x18, %o1                                 
	 * If the time from the last conversion is the same as now, then     
	 * skip the computations and use the saved result.                   
	 */                                                                  
	if (lasttime != t) {                                                 
		lasttime = t;                                                       
		lastdtime = (((t % 60) >> 1) << MSDOS_DT_2SECONDS_SHIFT)            
 201a724:	91 2a 20 0b 	sll  %o0, 0xb, %o0                             
 201a728:	92 10 20 3c 	mov  0x3c, %o1                                 
 201a72c:	ba 07 40 08 	add  %i5, %o0, %i5                             
 201a730:	40 00 36 c6 	call  2028248 <.urem>                          
 201a734:	90 10 00 18 	mov  %i0, %o0                                  
 201a738:	03 00 80 b3 	sethi  %hi(0x202cc00), %g1                     
 201a73c:	91 32 20 01 	srl  %o0, 1, %o0                               
		/*                                                                  
		 * If the number of days since 1970 is the same as the last         
		 * time we did the computation then skip all this leap year         
		 * and month stuff.                                                 
		 */                                                                 
		days = t / (SECONDSPERDAY);                                         
 201a740:	13 00 00 54 	sethi  %hi(0x15000), %o1                       
	 * If the time from the last conversion is the same as now, then     
	 * skip the computations and use the saved result.                   
	 */                                                                  
	if (lasttime != t) {                                                 
		lasttime = t;                                                       
		lastdtime = (((t % 60) >> 1) << MSDOS_DT_2SECONDS_SHIFT)            
 201a744:	ba 07 40 08 	add  %i5, %o0, %i5                             
		/*                                                                  
		 * If the number of days since 1970 is the same as the last         
		 * time we did the computation then skip all this leap year         
		 * and month stuff.                                                 
		 */                                                                 
		days = t / (SECONDSPERDAY);                                         
 201a748:	92 12 61 80 	or  %o1, 0x180, %o1                            
	 * If the time from the last conversion is the same as now, then     
	 * skip the computations and use the saved result.                   
	 */                                                                  
	if (lasttime != t) {                                                 
		lasttime = t;                                                       
		lastdtime = (((t % 60) >> 1) << MSDOS_DT_2SECONDS_SHIFT)            
 201a74c:	fa 30 61 44 	sth  %i5, [ %g1 + 0x144 ]                      
		/*                                                                  
		 * If the number of days since 1970 is the same as the last         
		 * time we did the computation then skip all this leap year         
		 * and month stuff.                                                 
		 */                                                                 
		days = t / (SECONDSPERDAY);                                         
 201a750:	40 00 36 12 	call  2027f98 <.udiv>                          
 201a754:	90 10 00 18 	mov  %i0, %o0                                  
		if (days != lastday) {                                              
 201a758:	03 00 80 b3 	sethi  %hi(0x202cc00), %g1                     
 201a75c:	c4 00 61 48 	ld  [ %g1 + 0x148 ], %g2	! 202cd48 <lastday>   
 201a760:	80 a2 00 02 	cmp  %o0, %g2                                  
 201a764:	22 80 00 2a 	be,a   201a80c <msdos_date_unix2dos+0x12c>     
 201a768:	03 00 80 b3 	sethi  %hi(0x202cc00), %g1                     
			lastday = days;                                                    
 201a76c:	d0 20 61 48 	st  %o0, [ %g1 + 0x148 ]	! 202cd48 <lastday>   
			for (year = 1970;; year++) {                                       
 201a770:	82 10 27 b2 	mov  0x7b2, %g1                                
				inc = year & 0x03 ? 365 : 366;                                    
 201a774:	84 08 60 03 	and  %g1, 3, %g2                               
 201a778:	80 a0 00 02 	cmp  %g0, %g2                                  
 201a77c:	86 60 3f ff 	subx  %g0, -1, %g3                             
 201a780:	86 00 e1 6d 	add  %g3, 0x16d, %g3                           
				if (days < inc)                                                   
 201a784:	80 a2 00 03 	cmp  %o0, %g3                                  
 201a788:	2a 80 00 05 	bcs,a   201a79c <msdos_date_unix2dos+0xbc>     
 201a78c:	07 00 80 b1 	sethi  %hi(0x202c400), %g3                     
					break;                                                           
				days -= inc;                                                      
 201a790:	90 22 00 03 	sub  %o0, %g3, %o0                             
			}                                                                  
 201a794:	10 bf ff f8 	b  201a774 <msdos_date_unix2dos+0x94>          
 201a798:	82 00 60 01 	inc  %g1                                       
			months = year & 0x03 ? regyear : leapyear;                         
 201a79c:	80 a0 a0 00 	cmp  %g2, 0                                    
 201a7a0:	02 80 00 04 	be  201a7b0 <msdos_date_unix2dos+0xd0>         <== ALWAYS TAKEN
 201a7a4:	86 10 e2 54 	or  %g3, 0x254, %g3                            
 201a7a8:	07 00 80 b1 	sethi  %hi(0x202c400), %g3                     <== NOT EXECUTED
 201a7ac:	86 10 e2 3c 	or  %g3, 0x23c, %g3	! 202c63c <regyear>        <== NOT EXECUTED
			for (month = 0; month < 12; month++) {                             
 201a7b0:	84 10 20 00 	clr  %g2                                       
/*                                                                    
 * Convert the unix version of time to dos's idea of time to be used in
 * file timestamps. The passed in unix time is assumed to be in GMT.  
 */                                                                   
void                                                                  
msdos_date_unix2dos(unsigned int t, uint16_t *ddp,                    
 201a7b4:	89 28 a0 01 	sll  %g2, 1, %g4                               
					break;                                                           
				days -= inc;                                                      
			}                                                                  
			months = year & 0x03 ? regyear : leapyear;                         
			for (month = 0; month < 12; month++) {                             
				if (days < months[month])                                         
 201a7b8:	c8 10 c0 04 	lduh  [ %g3 + %g4 ], %g4                       
 201a7bc:	80 a2 00 04 	cmp  %o0, %g4                                  
 201a7c0:	2a 80 00 07 	bcs,a   201a7dc <msdos_date_unix2dos+0xfc>     <== ALWAYS TAKEN
 201a7c4:	90 02 20 01 	inc  %o0                                       
				if (days < inc)                                                   
					break;                                                           
				days -= inc;                                                      
			}                                                                  
			months = year & 0x03 ? regyear : leapyear;                         
			for (month = 0; month < 12; month++) {                             
 201a7c8:	84 00 a0 01 	inc  %g2                                       <== NOT EXECUTED
 201a7cc:	80 a0 a0 0c 	cmp  %g2, 0xc                                  <== NOT EXECUTED
 201a7d0:	12 bf ff f9 	bne  201a7b4 <msdos_date_unix2dos+0xd4>        <== NOT EXECUTED
 201a7d4:	90 22 00 04 	sub  %o0, %g4, %o0                             <== NOT EXECUTED
				if (days < months[month])                                         
					break;                                                           
				days -= months[month];                                            
			}                                                                  
			lastddate = ((days + 1) << MSDOS_DD_DAY_SHIFT)                     
 201a7d8:	90 02 20 01 	inc  %o0                                       <== NOT EXECUTED
 201a7dc:	84 00 a0 01 	inc  %g2                                       
 201a7e0:	07 00 80 b3 	sethi  %hi(0x202cc00), %g3                     
 201a7e4:	85 28 a0 05 	sll  %g2, 5, %g2                               
 201a7e8:	90 02 00 02 	add  %o0, %g2, %o0                             
			 * Remember dos's idea of time is relative to 1980.                
			 * unix's is relative to 1970.  If somehow we get a                
			 * time before 1980 then don't give totally crazy                  
			 * results.                                                        
			 */                                                                
			if (year > 1980)                                                   
 201a7ec:	80 a0 67 bc 	cmp  %g1, 0x7bc                                
 201a7f0:	08 80 00 06 	bleu  201a808 <msdos_date_unix2dos+0x128>      <== NEVER TAKEN
 201a7f4:	d0 30 e1 4c 	sth  %o0, [ %g3 + 0x14c ]                      
				lastddate += (year - 1980) <<                                     
 201a7f8:	82 00 78 44 	add  %g1, -1980, %g1                           
 201a7fc:	83 28 60 09 	sll  %g1, 9, %g1                               
 201a800:	90 02 00 01 	add  %o0, %g1, %o0                             
 201a804:	d0 30 e1 4c 	sth  %o0, [ %g3 + 0x14c ]                      
				             MSDOS_DD_YEAR_SHIFT;                                 
		}                                                                   
	}                                                                    
	*dtp = lastdtime;                                                    
 201a808:	03 00 80 b3 	sethi  %hi(0x202cc00), %g1                     
 201a80c:	c2 10 61 44 	lduh  [ %g1 + 0x144 ], %g1	! 202cd44 <lastdtime>
 201a810:	c2 36 80 00 	sth  %g1, [ %i2 ]                              
	*ddp = lastddate;                                                    
 201a814:	03 00 80 b3 	sethi  %hi(0x202cc00), %g1                     
 201a818:	c2 10 61 4c 	lduh  [ %g1 + 0x14c ], %g1	! 202cd4c <lastddate>
 201a81c:	c2 36 40 00 	sth  %g1, [ %i1 ]                              
}                                                                     
 201a820:	81 c7 e0 08 	ret                                            
 201a824:	81 e8 00 00 	restore                                        
                                                                      

0201b224 <msdos_dir_chmod>: int msdos_dir_chmod(rtems_filesystem_location_info_t *pathloc, mode_t mode) { return RC_OK; }
 201b224:	81 c3 e0 08 	retl                                           <== NOT EXECUTED
 201b228:	90 10 20 00 	clr  %o0                                       <== NOT EXECUTED
                                                                      

0201ab5c <msdos_dir_close>: * RC_OK, if directory closed successfully, or -1 if error occured (errno * set apropriately. */ int msdos_dir_close(rtems_libio_t *iop) {
 201ab5c:	9d e3 bf a0 	save  %sp, -96, %sp                            
    int                rc = RC_OK;                                    
    rtems_status_code  sc = RTEMS_SUCCESSFUL;                         
    msdos_fs_info_t   *fs_info = iop->pathinfo.mt_entry->fs_info;     
 201ab60:	c2 06 20 2c 	ld  [ %i0 + 0x2c ], %g1                        
    fat_file_fd_t     *fat_fd = iop->pathinfo.node_access;            
 201ab64:	f8 06 20 1c 	ld  [ %i0 + 0x1c ], %i4                        
int                                                                   
msdos_dir_close(rtems_libio_t *iop)                                   
{                                                                     
    int                rc = RC_OK;                                    
    rtems_status_code  sc = RTEMS_SUCCESSFUL;                         
    msdos_fs_info_t   *fs_info = iop->pathinfo.mt_entry->fs_info;     
 201ab68:	fa 00 60 34 	ld  [ %g1 + 0x34 ], %i5                        
    fat_file_fd_t     *fat_fd = iop->pathinfo.node_access;            
                                                                      
    sc = rtems_semaphore_obtain(fs_info->vol_sema, RTEMS_WAIT,        
 201ab6c:	92 10 20 00 	clr  %o1                                       
 201ab70:	d0 07 60 98 	ld  [ %i5 + 0x98 ], %o0                        
 201ab74:	7f ff bd 0c 	call  2009fa4 <rtems_semaphore_obtain>         
 201ab78:	94 10 20 00 	clr  %o2                                       
                                MSDOS_VOLUME_SEMAPHORE_TIMEOUT);      
    if (sc != RTEMS_SUCCESSFUL)                                       
 201ab7c:	80 a2 20 00 	cmp  %o0, 0                                    
 201ab80:	22 80 00 08 	be,a   201aba0 <msdos_dir_close+0x44>          <== ALWAYS TAKEN
 201ab84:	d0 06 20 2c 	ld  [ %i0 + 0x2c ], %o0                        
        rtems_set_errno_and_return_minus_one( EIO );                  
 201ab88:	40 00 02 1e 	call  201b400 <__errno>                        <== NOT EXECUTED
 201ab8c:	b0 10 3f ff 	mov  -1, %i0                                   <== NOT EXECUTED
 201ab90:	82 10 20 05 	mov  5, %g1                                    <== NOT EXECUTED
 201ab94:	c2 22 00 00 	st  %g1, [ %o0 ]                               <== NOT EXECUTED
 201ab98:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 201ab9c:	81 e8 00 00 	restore                                        <== NOT EXECUTED
                                                                      
    rc = fat_file_close(iop->pathinfo.mt_entry, fat_fd);              
 201aba0:	7f ff dd 72 	call  2012168 <fat_file_close>                 
 201aba4:	92 10 00 1c 	mov  %i4, %o1                                  
    if (rc != RC_OK)                                                  
 201aba8:	b0 92 20 00 	orcc  %o0, 0, %i0                              
 201abac:	02 80 00 06 	be  201abc4 <msdos_dir_close+0x68>             <== ALWAYS TAKEN
 201abb0:	d0 07 60 98 	ld  [ %i5 + 0x98 ], %o0                        
    {                                                                 
        rtems_semaphore_release(fs_info->vol_sema);                   
 201abb4:	7f ff bd 46 	call  200a0cc <rtems_semaphore_release>        <== NOT EXECUTED
 201abb8:	01 00 00 00 	nop                                            <== NOT EXECUTED
        return rc;                                                    
 201abbc:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 201abc0:	81 e8 00 00 	restore                                        <== NOT EXECUTED
    }                                                                 
                                                                      
    rtems_semaphore_release(fs_info->vol_sema);                       
 201abc4:	7f ff bd 42 	call  200a0cc <rtems_semaphore_release>        
 201abc8:	01 00 00 00 	nop                                            
    return RC_OK;                                                     
}                                                                     
 201abcc:	81 c7 e0 08 	ret                                            
 201abd0:	81 e8 00 00 	restore                                        
                                                                      

02018470 <msdos_dir_is_empty>: msdos_dir_is_empty( rtems_filesystem_mount_table_entry_t *mt_entry, fat_file_fd_t *fat_fd, bool *ret_val ) {
 2018470:	9d e3 bf a0 	save  %sp, -96, %sp                            <== NOT EXECUTED
             */                                                       
            if (((*MSDOS_DIR_ENTRY_TYPE(entry)) ==                    
                 MSDOS_THIS_DIR_ENTRY_EMPTY) ||                       
                ((*MSDOS_DIR_ATTR(entry) & MSDOS_ATTR_LFN_MASK) ==    
                 MSDOS_ATTR_LFN) ||                                   
                (strncmp(MSDOS_DIR_NAME((entry)), MSDOS_DOT_NAME,     
 2018474:	21 00 80 ac 	sethi  %hi(0x202b000), %l0                     <== NOT EXECUTED
    fat_file_fd_t                        *fat_fd,                     
    bool                                 *ret_val                     
    )                                                                 
{                                                                     
    ssize_t          ret = 0;                                         
    msdos_fs_info_t *fs_info = mt_entry->fs_info;                     
 2018478:	fa 06 20 34 	ld  [ %i0 + 0x34 ], %i5                        <== NOT EXECUTED
                 MSDOS_THIS_DIR_ENTRY_EMPTY) ||                       
                ((*MSDOS_DIR_ATTR(entry) & MSDOS_ATTR_LFN_MASK) ==    
                 MSDOS_ATTR_LFN) ||                                   
                (strncmp(MSDOS_DIR_NAME((entry)), MSDOS_DOT_NAME,     
                         MSDOS_SHORT_NAME_LEN) == 0) ||               
                (strncmp(MSDOS_DIR_NAME((entry)),                     
 201847c:	37 00 80 ac 	sethi  %hi(0x202b000), %i3                     <== NOT EXECUTED
    ssize_t          ret = 0;                                         
    msdos_fs_info_t *fs_info = mt_entry->fs_info;                     
    uint32_t         j = 0, i = 0;                                    
                                                                      
    /* dir is not empty */                                            
    *ret_val = false;                                                 
 2018480:	c0 2e 80 00 	clrb  [ %i2 ]                                  <== NOT EXECUTED
    bool                                 *ret_val                     
    )                                                                 
{                                                                     
    ssize_t          ret = 0;                                         
    msdos_fs_info_t *fs_info = mt_entry->fs_info;                     
    uint32_t         j = 0, i = 0;                                    
 2018484:	b8 10 20 00 	clr  %i4                                       <== NOT EXECUTED
             */                                                       
            if (((*MSDOS_DIR_ENTRY_TYPE(entry)) ==                    
                 MSDOS_THIS_DIR_ENTRY_EMPTY) ||                       
                ((*MSDOS_DIR_ATTR(entry) & MSDOS_ATTR_LFN_MASK) ==    
                 MSDOS_ATTR_LFN) ||                                   
                (strncmp(MSDOS_DIR_NAME((entry)), MSDOS_DOT_NAME,     
 2018488:	a0 14 22 68 	or  %l0, 0x268, %l0                            <== NOT EXECUTED
    uint32_t         j = 0, i = 0;                                    
                                                                      
    /* dir is not empty */                                            
    *ret_val = false;                                                 
                                                                      
    while ((ret = fat_file_read(mt_entry, fat_fd, j * fs_info->fat.vol.bps,
 201848c:	10 80 00 33 	b  2018558 <msdos_dir_is_empty+0xe8>           <== NOT EXECUTED
 2018490:	b6 16 e2 78 	or  %i3, 0x278, %i3                            <== NOT EXECUTED
                                  fs_info->fat.vol.bps,               
                                  fs_info->cl_buf)) != FAT_EOF)       
    {                                                                 
        if (ret < MSDOS_DIRECTORY_ENTRY_STRUCT_SIZE)                  
 2018494:	24 80 00 2a 	ble,a   201853c <msdos_dir_is_empty+0xcc>      <== NOT EXECUTED
 2018498:	b0 10 3f ff 	mov  -1, %i0                                   <== NOT EXECUTED
            return -1;                                                
                                                                      
        assert(ret == fs_info->fat.vol.bps);                          
 201849c:	c2 17 40 00 	lduh  [ %i5 ], %g1                             <== NOT EXECUTED
 20184a0:	80 a2 00 01 	cmp  %o0, %g1                                  <== NOT EXECUTED
 20184a4:	02 80 00 28 	be  2018544 <msdos_dir_is_empty+0xd4>          <== NOT EXECUTED
 20184a8:	a2 10 20 00 	clr  %l1                                       <== NOT EXECUTED
 20184ac:	11 00 80 ac 	sethi  %hi(0x202b000), %o0                     <== NOT EXECUTED
 20184b0:	15 00 80 ac 	sethi  %hi(0x202b000), %o2                     <== NOT EXECUTED
 20184b4:	17 00 80 ac 	sethi  %hi(0x202b000), %o3                     <== NOT EXECUTED
 20184b8:	90 12 21 f8 	or  %o0, 0x1f8, %o0                            <== NOT EXECUTED
 20184bc:	92 10 23 b5 	mov  0x3b5, %o1                                <== NOT EXECUTED
 20184c0:	94 12 a2 b0 	or  %o2, 0x2b0, %o2                            <== NOT EXECUTED
 20184c4:	7f ff f0 d2 	call  201480c <__assert_func>                  <== NOT EXECUTED
 20184c8:	96 12 e2 48 	or  %o3, 0x248, %o3                            <== NOT EXECUTED
             * then consider it as empty.                             
             *                                                        
             * Just ignore long file name entries. They must have a short entry to
             * be valid.                                              
             */                                                       
            if (((*MSDOS_DIR_ENTRY_TYPE(entry)) ==                    
 20184cc:	e6 08 40 11 	ldub  [ %g1 + %l1 ], %l3                       <== NOT EXECUTED
 20184d0:	80 a4 e0 e5 	cmp  %l3, 0xe5                                 <== NOT EXECUTED
 20184d4:	02 80 00 14 	be  2018524 <msdos_dir_is_empty+0xb4>          <== NOT EXECUTED
 20184d8:	a4 00 40 11 	add  %g1, %l1, %l2                             <== NOT EXECUTED
                 MSDOS_THIS_DIR_ENTRY_EMPTY) ||                       
                ((*MSDOS_DIR_ATTR(entry) & MSDOS_ATTR_LFN_MASK) ==    
 20184dc:	c2 0c a0 0b 	ldub  [ %l2 + 0xb ], %g1                       <== NOT EXECUTED
 20184e0:	82 08 60 3f 	and  %g1, 0x3f, %g1                            <== NOT EXECUTED
             *                                                        
             * Just ignore long file name entries. They must have a short entry to
             * be valid.                                              
             */                                                       
            if (((*MSDOS_DIR_ENTRY_TYPE(entry)) ==                    
                 MSDOS_THIS_DIR_ENTRY_EMPTY) ||                       
 20184e4:	80 a0 60 0f 	cmp  %g1, 0xf                                  <== NOT EXECUTED
 20184e8:	02 80 00 0f 	be  2018524 <msdos_dir_is_empty+0xb4>          <== NOT EXECUTED
 20184ec:	90 10 00 12 	mov  %l2, %o0                                  <== NOT EXECUTED
                ((*MSDOS_DIR_ATTR(entry) & MSDOS_ATTR_LFN_MASK) ==    
                 MSDOS_ATTR_LFN) ||                                   
                (strncmp(MSDOS_DIR_NAME((entry)), MSDOS_DOT_NAME,     
 20184f0:	92 10 00 10 	mov  %l0, %o1                                  <== NOT EXECUTED
 20184f4:	40 00 12 3e 	call  201cdec <strncmp>                        <== NOT EXECUTED
 20184f8:	94 10 20 0b 	mov  0xb, %o2                                  <== NOT EXECUTED
             * be valid.                                              
             */                                                       
            if (((*MSDOS_DIR_ENTRY_TYPE(entry)) ==                    
                 MSDOS_THIS_DIR_ENTRY_EMPTY) ||                       
                ((*MSDOS_DIR_ATTR(entry) & MSDOS_ATTR_LFN_MASK) ==    
                 MSDOS_ATTR_LFN) ||                                   
 20184fc:	80 a2 20 00 	cmp  %o0, 0                                    <== NOT EXECUTED
 2018500:	22 80 00 12 	be,a   2018548 <msdos_dir_is_empty+0xd8>       <== NOT EXECUTED
 2018504:	a2 04 60 20 	add  %l1, 0x20, %l1                            <== NOT EXECUTED
                (strncmp(MSDOS_DIR_NAME((entry)), MSDOS_DOT_NAME,     
                         MSDOS_SHORT_NAME_LEN) == 0) ||               
                (strncmp(MSDOS_DIR_NAME((entry)),                     
 2018508:	90 10 00 12 	mov  %l2, %o0                                  <== NOT EXECUTED
 201850c:	92 10 00 1b 	mov  %i3, %o1                                  <== NOT EXECUTED
 2018510:	40 00 12 37 	call  201cdec <strncmp>                        <== NOT EXECUTED
 2018514:	94 10 20 0b 	mov  0xb, %o2                                  <== NOT EXECUTED
            if (((*MSDOS_DIR_ENTRY_TYPE(entry)) ==                    
                 MSDOS_THIS_DIR_ENTRY_EMPTY) ||                       
                ((*MSDOS_DIR_ATTR(entry) & MSDOS_ATTR_LFN_MASK) ==    
                 MSDOS_ATTR_LFN) ||                                   
                (strncmp(MSDOS_DIR_NAME((entry)), MSDOS_DOT_NAME,     
                         MSDOS_SHORT_NAME_LEN) == 0) ||               
 2018518:	80 a2 20 00 	cmp  %o0, 0                                    <== NOT EXECUTED
 201851c:	12 80 00 04 	bne  201852c <msdos_dir_is_empty+0xbc>         <== NOT EXECUTED
 2018520:	80 a4 e0 00 	cmp  %l3, 0                                    <== NOT EXECUTED
        assert(ret == fs_info->fat.vol.bps);                          
                                                                      
        /* have to look at the DIR_NAME as "raw" 8-bit data */        
        for (i = 0;                                                   
             i < fs_info->fat.vol.bps;                                
             i += MSDOS_DIRECTORY_ENTRY_STRUCT_SIZE)                  
 2018524:	10 80 00 09 	b  2018548 <msdos_dir_is_empty+0xd8>           <== NOT EXECUTED
 2018528:	a2 04 60 20 	add  %l1, 0x20, %l1                            <== NOT EXECUTED
                continue;                                             
                                                                      
            /*                                                        
             * Nothing more to look at.                               
             */                                                       
            if ((*MSDOS_DIR_NAME(entry)) ==                           
 201852c:	12 80 00 04 	bne  201853c <msdos_dir_is_empty+0xcc>         <== NOT EXECUTED
 2018530:	b0 10 20 00 	clr  %i0                                       <== NOT EXECUTED
                MSDOS_THIS_DIR_ENTRY_AND_REST_EMPTY)                  
            {                                                         
                *ret_val = true;                                      
 2018534:	82 10 20 01 	mov  1, %g1                                    <== NOT EXECUTED
 2018538:	c2 2e 80 00 	stb  %g1, [ %i2 ]                              <== NOT EXECUTED
                return RC_OK;                                         
 201853c:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2018540:	81 e8 00 00 	restore                                        <== NOT EXECUTED
                                                                      
        assert(ret == fs_info->fat.vol.bps);                          
                                                                      
        /* have to look at the DIR_NAME as "raw" 8-bit data */        
        for (i = 0;                                                   
             i < fs_info->fat.vol.bps;                                
 2018544:	a8 10 00 08 	mov  %o0, %l4                                  <== NOT EXECUTED
            return -1;                                                
                                                                      
        assert(ret == fs_info->fat.vol.bps);                          
                                                                      
        /* have to look at the DIR_NAME as "raw" 8-bit data */        
        for (i = 0;                                                   
 2018548:	80 a4 40 14 	cmp  %l1, %l4                                  <== NOT EXECUTED
 201854c:	2a bf ff e0 	bcs,a   20184cc <msdos_dir_is_empty+0x5c>      <== NOT EXECUTED
 2018550:	c2 07 60 9c 	ld  [ %i5 + 0x9c ], %g1                        <== NOT EXECUTED
            /*                                                        
             * Short file name entries mean not empty.                
             */                                                       
            return RC_OK;                                             
        }                                                             
        j++;                                                          
 2018554:	b8 07 20 01 	inc  %i4                                       <== NOT EXECUTED
    uint32_t         j = 0, i = 0;                                    
                                                                      
    /* dir is not empty */                                            
    *ret_val = false;                                                 
                                                                      
    while ((ret = fat_file_read(mt_entry, fat_fd, j * fs_info->fat.vol.bps,
 2018558:	e2 17 40 00 	lduh  [ %i5 ], %l1                             <== NOT EXECUTED
 201855c:	90 10 00 1c 	mov  %i4, %o0                                  <== NOT EXECUTED
 2018560:	40 00 3e 54 	call  2027eb0 <.umul>                          <== NOT EXECUTED
 2018564:	92 10 00 11 	mov  %l1, %o1                                  <== NOT EXECUTED
 2018568:	d8 07 60 9c 	ld  [ %i5 + 0x9c ], %o4                        <== NOT EXECUTED
 201856c:	94 10 00 08 	mov  %o0, %o2                                  <== NOT EXECUTED
 2018570:	92 10 00 19 	mov  %i1, %o1                                  <== NOT EXECUTED
 2018574:	90 10 00 18 	mov  %i0, %o0                                  <== NOT EXECUTED
 2018578:	7f ff e6 49 	call  2011e9c <fat_file_read>                  <== NOT EXECUTED
 201857c:	96 10 00 11 	mov  %l1, %o3                                  <== NOT EXECUTED
 2018580:	80 a2 20 00 	cmp  %o0, 0                                    <== NOT EXECUTED
 2018584:	32 bf ff c4 	bne,a   2018494 <msdos_dir_is_empty+0x24>      <== NOT EXECUTED
 2018588:	80 a2 20 1f 	cmp  %o0, 0x1f                                 <== NOT EXECUTED
             */                                                       
            return RC_OK;                                             
        }                                                             
        j++;                                                          
    }                                                                 
    *ret_val = true;                                                  
 201858c:	82 10 20 01 	mov  1, %g1                                    <== NOT EXECUTED
 2018590:	c2 2e 80 00 	stb  %g1, [ %i2 ]                              <== NOT EXECUTED
 2018594:	b0 10 20 00 	clr  %i0                                       <== NOT EXECUTED
    return RC_OK;                                                     
}                                                                     
 2018598:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 201859c:	81 e8 00 00 	restore                                        <== NOT EXECUTED
                                                                      

0201b0f4 <msdos_dir_lseek>: * RC_OK on success, or -1 if error occured (errno * set apropriately). */ rtems_off64_t msdos_dir_lseek(rtems_libio_t *iop, rtems_off64_t offset, int whence) {
 201b0f4:	9d e3 bf a0 	save  %sp, -96, %sp                            <== NOT EXECUTED
    switch (whence)                                                   
 201b0f8:	80 a6 e0 01 	cmp  %i3, 1                                    <== NOT EXECUTED
 201b0fc:	28 80 00 09 	bleu,a   201b120 <msdos_dir_lseek+0x2c>        <== NOT EXECUTED
 201b100:	b0 10 20 00 	clr  %i0                                       <== NOT EXECUTED
         * Movement past the end of the directory via lseek is not a  
         * permitted operation                                        
         */                                                           
        case SEEK_END:                                                
        default:                                                      
            rtems_set_errno_and_return_minus_one( EINVAL );           
 201b104:	40 00 00 bf 	call  201b400 <__errno>                        <== NOT EXECUTED
 201b108:	31 3f ff ff 	sethi  %hi(0xfffffc00), %i0                    <== NOT EXECUTED
 201b10c:	82 10 20 16 	mov  0x16, %g1                                 <== NOT EXECUTED
 201b110:	c2 22 00 00 	st  %g1, [ %o0 ]                               <== NOT EXECUTED
 201b114:	b0 16 23 ff 	or  %i0, 0x3ff, %i0                            <== NOT EXECUTED
 201b118:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 201b11c:	93 e8 00 18 	restore  %g0, %i0, %o1                         <== NOT EXECUTED
            break;                                                    
    }                                                                 
    return RC_OK;                                                     
}                                                                     
 201b120:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 201b124:	93 e8 20 00 	restore  %g0, 0, %o1                           <== NOT EXECUTED
                                                                      

0201aadc <msdos_dir_open>: * set apropriately) */ int msdos_dir_open(rtems_libio_t *iop, const char *pathname, uint32_t flag, uint32_t mode) {
 201aadc:	9d e3 bf a0 	save  %sp, -96, %sp                            
    int                rc = RC_OK;                                    
    rtems_status_code  sc = RTEMS_SUCCESSFUL;                         
    msdos_fs_info_t   *fs_info = iop->pathinfo.mt_entry->fs_info;     
 201aae0:	c2 06 20 2c 	ld  [ %i0 + 0x2c ], %g1                        
    fat_file_fd_t     *fat_fd = iop->pathinfo.node_access;            
 201aae4:	f6 06 20 1c 	ld  [ %i0 + 0x1c ], %i3                        
msdos_dir_open(rtems_libio_t *iop, const char *pathname, uint32_t   flag,
               uint32_t   mode)                                       
{                                                                     
    int                rc = RC_OK;                                    
    rtems_status_code  sc = RTEMS_SUCCESSFUL;                         
    msdos_fs_info_t   *fs_info = iop->pathinfo.mt_entry->fs_info;     
 201aae8:	f8 00 60 34 	ld  [ %g1 + 0x34 ], %i4                        
    fat_file_fd_t     *fat_fd = iop->pathinfo.node_access;            
                                                                      
    sc = rtems_semaphore_obtain(fs_info->vol_sema, RTEMS_WAIT,        
 201aaec:	92 10 20 00 	clr  %o1                                       
 201aaf0:	d0 07 20 98 	ld  [ %i4 + 0x98 ], %o0                        
 201aaf4:	94 10 20 00 	clr  %o2                                       
 201aaf8:	7f ff bd 2b 	call  2009fa4 <rtems_semaphore_obtain>         
 201aafc:	ba 10 00 18 	mov  %i0, %i5                                  
                                MSDOS_VOLUME_SEMAPHORE_TIMEOUT);      
    if (sc != RTEMS_SUCCESSFUL)                                       
 201ab00:	80 a2 20 00 	cmp  %o0, 0                                    
 201ab04:	02 80 00 08 	be  201ab24 <msdos_dir_open+0x48>              <== ALWAYS TAKEN
 201ab08:	01 00 00 00 	nop                                            
        rtems_set_errno_and_return_minus_one( EIO );                  
 201ab0c:	40 00 02 3d 	call  201b400 <__errno>                        <== NOT EXECUTED
 201ab10:	b0 10 3f ff 	mov  -1, %i0	! ffffffff <RAM_END+0xfdbfffff>   <== NOT EXECUTED
 201ab14:	82 10 20 05 	mov  5, %g1                                    <== NOT EXECUTED
 201ab18:	c2 22 00 00 	st  %g1, [ %o0 ]                               <== NOT EXECUTED
 201ab1c:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 201ab20:	81 e8 00 00 	restore                                        <== NOT EXECUTED
                                                                      
    rc = fat_file_reopen(fat_fd);                                     
 201ab24:	7f ff dc d9 	call  2011e88 <fat_file_reopen>                
 201ab28:	90 10 00 1b 	mov  %i3, %o0                                  
    if (rc != RC_OK)                                                  
 201ab2c:	b0 92 20 00 	orcc  %o0, 0, %i0                              
 201ab30:	02 80 00 06 	be  201ab48 <msdos_dir_open+0x6c>              <== ALWAYS TAKEN
 201ab34:	d0 07 20 98 	ld  [ %i4 + 0x98 ], %o0                        
    {                                                                 
        rtems_semaphore_release(fs_info->vol_sema);                   
 201ab38:	7f ff bd 65 	call  200a0cc <rtems_semaphore_release>        <== NOT EXECUTED
 201ab3c:	01 00 00 00 	nop                                            <== NOT EXECUTED
        return rc;                                                    
 201ab40:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 201ab44:	81 e8 00 00 	restore                                        <== NOT EXECUTED
    }                                                                 
                                                                      
    iop->offset = 0;                                                  
 201ab48:	c0 27 60 10 	clr  [ %i5 + 0x10 ]                            
    rtems_semaphore_release(fs_info->vol_sema);                       
 201ab4c:	7f ff bd 60 	call  200a0cc <rtems_semaphore_release>        
 201ab50:	c0 27 60 14 	clr  [ %i5 + 0x14 ]                            
    return RC_OK;                                                     
}                                                                     
 201ab54:	81 c7 e0 08 	ret                                            
 201ab58:	81 e8 00 00 	restore                                        
                                                                      

0201abd4 <msdos_dir_read>: * the number of bytes read on success, or -1 if error occured (errno * set apropriately). */ ssize_t msdos_dir_read(rtems_libio_t *iop, void *buffer, size_t count) {
 201abd4:	9d e3 be 68 	save  %sp, -408, %sp                           <== NOT EXECUTED
    int                rc = RC_OK;                                    
    rtems_status_code  sc = RTEMS_SUCCESSFUL;                         
    msdos_fs_info_t   *fs_info = iop->pathinfo.mt_entry->fs_info;     
 201abd8:	c2 06 20 2c 	ld  [ %i0 + 0x2c ], %g1                        <== NOT EXECUTED
    fat_file_fd_t     *fat_fd = iop->pathinfo.node_access;            
 201abdc:	e0 06 20 1c 	ld  [ %i0 + 0x1c ], %l0                        <== NOT EXECUTED
ssize_t                                                               
msdos_dir_read(rtems_libio_t *iop, void *buffer, size_t count)        
{                                                                     
    int                rc = RC_OK;                                    
    rtems_status_code  sc = RTEMS_SUCCESSFUL;                         
    msdos_fs_info_t   *fs_info = iop->pathinfo.mt_entry->fs_info;     
 201abe0:	f8 00 60 34 	ld  [ %g1 + 0x34 ], %i4                        <== NOT EXECUTED
     * too, so read such set of sectors is quick operation for low-level IO
     * layer.                                                         
     */                                                               
    bts2rd = (FAT_FD_OF_ROOT_DIR(fat_fd) &&                           
             (fs_info->fat.vol.type & (FAT_FAT12 | FAT_FAT16))) ?     
             fat_fd->fat_file_size                              :     
 201abe4:	c2 04 20 20 	ld  [ %l0 + 0x20 ], %g1                        <== NOT EXECUTED
 *     the number of bytes read on success, or -1 if error occured (errno
 *     set apropriately).                                             
 */                                                                   
ssize_t                                                               
msdos_dir_read(rtems_libio_t *iop, void *buffer, size_t count)        
{                                                                     
 201abe8:	f2 27 a0 48 	st  %i1, [ %fp + 0x48 ]                        <== NOT EXECUTED
    int                rc = RC_OK;                                    
    rtems_status_code  sc = RTEMS_SUCCESSFUL;                         
    msdos_fs_info_t   *fs_info = iop->pathinfo.mt_entry->fs_info;     
    fat_file_fd_t     *fat_fd = iop->pathinfo.node_access;            
    fat_file_fd_t     *tmp_fat_fd = NULL;                             
 201abec:	c0 27 bf f8 	clr  [ %fp + -8 ]                              <== NOT EXECUTED
    uint32_t           start = 0;                                     
    ssize_t            ret = 0;                                       
    uint32_t           cmpltd = 0;                                    
    uint32_t           j = 0, i = 0;                                  
    uint32_t           bts2rd = 0;                                    
    uint32_t           cur_cln = 0;                                   
 201abf0:	c0 27 bf fc 	clr  [ %fp + -4 ]                              <== NOT EXECUTED
 *     the number of bytes read on success, or -1 if error occured (errno
 *     set apropriately).                                             
 */                                                                   
ssize_t                                                               
msdos_dir_read(rtems_libio_t *iop, void *buffer, size_t count)        
{                                                                     
 201abf4:	ba 10 00 18 	mov  %i0, %i5                                  <== NOT EXECUTED
     * too, so read such set of sectors is quick operation for low-level IO
     * layer.                                                         
     */                                                               
    bts2rd = (FAT_FD_OF_ROOT_DIR(fat_fd) &&                           
             (fs_info->fat.vol.type & (FAT_FAT12 | FAT_FAT16))) ?     
             fat_fd->fat_file_size                              :     
 201abf8:	80 a0 60 01 	cmp  %g1, 1                                    <== NOT EXECUTED
 201abfc:	12 80 00 0c 	bne  201ac2c <msdos_dir_read+0x58>             <== NOT EXECUTED
 201ac00:	f0 1e 20 10 	ldd  [ %i0 + 0x10 ], %i0                       <== NOT EXECUTED
     * optimization: we know that root directory for FAT12/16 volumes is
     * sequential set of sectors and any cluster is sequential set of sectors
     * too, so read such set of sectors is quick operation for low-level IO
     * layer.                                                         
     */                                                               
    bts2rd = (FAT_FD_OF_ROOT_DIR(fat_fd) &&                           
 201ac04:	c2 04 20 24 	ld  [ %l0 + 0x24 ], %g1                        <== NOT EXECUTED
 201ac08:	80 a0 60 00 	cmp  %g1, 0                                    <== NOT EXECUTED
 201ac0c:	32 80 00 09 	bne,a   201ac30 <msdos_dir_read+0x5c>          <== NOT EXECUTED
 201ac10:	ec 17 20 06 	lduh  [ %i4 + 6 ], %l6                         <== NOT EXECUTED
             (fs_info->fat.vol.type & (FAT_FAT12 | FAT_FAT16))) ?     
 201ac14:	c2 0f 20 0a 	ldub  [ %i4 + 0xa ], %g1                       <== NOT EXECUTED
     * optimization: we know that root directory for FAT12/16 volumes is
     * sequential set of sectors and any cluster is sequential set of sectors
     * too, so read such set of sectors is quick operation for low-level IO
     * layer.                                                         
     */                                                               
    bts2rd = (FAT_FD_OF_ROOT_DIR(fat_fd) &&                           
 201ac18:	80 88 60 03 	btst  3, %g1                                   <== NOT EXECUTED
 201ac1c:	22 80 00 05 	be,a   201ac30 <msdos_dir_read+0x5c>           <== NOT EXECUTED
 201ac20:	ec 17 20 06 	lduh  [ %i4 + 6 ], %l6                         <== NOT EXECUTED
             (fs_info->fat.vol.type & (FAT_FAT12 | FAT_FAT16))) ?     
             fat_fd->fat_file_size                              :     
 201ac24:	10 80 00 03 	b  201ac30 <msdos_dir_read+0x5c>               <== NOT EXECUTED
 201ac28:	ec 04 20 18 	ld  [ %l0 + 0x18 ], %l6                        <== NOT EXECUTED
 201ac2c:	ec 17 20 06 	lduh  [ %i4 + 6 ], %l6                         <== NOT EXECUTED
             fs_info->fat.vol.bpc;                                    
                                                                      
    sc = rtems_semaphore_obtain(fs_info->vol_sema, RTEMS_WAIT,        
 201ac30:	d0 07 20 98 	ld  [ %i4 + 0x98 ], %o0                        <== NOT EXECUTED
 201ac34:	92 10 20 00 	clr  %o1                                       <== NOT EXECUTED
 201ac38:	7f ff bc db 	call  2009fa4 <rtems_semaphore_obtain>         <== NOT EXECUTED
 201ac3c:	94 10 20 00 	clr  %o2                                       <== NOT EXECUTED
                                MSDOS_VOLUME_SEMAPHORE_TIMEOUT);      
    if (sc != RTEMS_SUCCESSFUL)                                       
 201ac40:	80 a2 20 00 	cmp  %o0, 0                                    <== NOT EXECUTED
 201ac44:	12 80 00 20 	bne  201acc4 <msdos_dir_read+0xf0>             <== NOT EXECUTED
 201ac48:	92 10 00 19 	mov  %i1, %o1                                  <== NOT EXECUTED
    /*                                                                
     * cast start and count - protect against using sizes that are not exact
     * multiples of the -dirent- size. These could result in unexpected
     * results                                                        
     */                                                               
    start = iop->offset / sizeof(struct dirent);                      
 201ac4c:	94 10 20 00 	clr  %o2                                       <== NOT EXECUTED
 201ac50:	96 10 21 18 	mov  0x118, %o3                                <== NOT EXECUTED
 201ac54:	40 00 36 5b 	call  20285c0 <__divdi3>                       <== NOT EXECUTED
 201ac58:	90 10 00 18 	mov  %i0, %o0                                  <== NOT EXECUTED
    count = (count / sizeof(struct dirent)) * sizeof(struct dirent);  
 201ac5c:	90 10 00 1a 	mov  %i2, %o0                                  <== NOT EXECUTED
    /*                                                                
     * cast start and count - protect against using sizes that are not exact
     * multiples of the -dirent- size. These could result in unexpected
     * results                                                        
     */                                                               
    start = iop->offset / sizeof(struct dirent);                      
 201ac60:	a8 10 00 09 	mov  %o1, %l4                                  <== NOT EXECUTED
    count = (count / sizeof(struct dirent)) * sizeof(struct dirent);  
 201ac64:	40 00 34 cd 	call  2027f98 <.udiv>                          <== NOT EXECUTED
 201ac68:	92 10 21 18 	mov  0x118, %o1                                <== NOT EXECUTED
 201ac6c:	a4 10 20 00 	clr  %l2                                       <== NOT EXECUTED
 201ac70:	a7 2a 20 03 	sll  %o0, 3, %l3                               <== NOT EXECUTED
 201ac74:	b6 10 20 00 	clr  %i3                                       <== NOT EXECUTED
 201ac78:	91 2a 20 05 	sll  %o0, 5, %o0                               <== NOT EXECUTED
 201ac7c:	aa 10 20 00 	clr  %l5                                       <== NOT EXECUTED
 201ac80:	a6 04 c0 08 	add  %l3, %o0, %l3                             <== NOT EXECUTED
 201ac84:	b4 10 3f ff 	mov  -1, %i2                                   <== NOT EXECUTED
 201ac88:	83 2c e0 03 	sll  %l3, 3, %g1                               <== NOT EXECUTED
 201ac8c:	a2 10 20 00 	clr  %l1                                       <== NOT EXECUTED
 201ac90:	a6 20 40 13 	sub  %g1, %l3, %l3                             <== NOT EXECUTED
 201ac94:	10 80 01 01 	b  201b098 <msdos_dir_read+0x4c4>              <== NOT EXECUTED
 201ac98:	b2 10 00 1c 	mov  %i4, %i1                                  <== NOT EXECUTED
         * fat-file is already opened by open call, so read it        
         * Always read directory fat-file from the beggining because of MSDOS
         * directories feature :( - we should count elements currently
         * present in the directory because there may be holes :)     
         */                                                           
        ret = fat_file_read(iop->pathinfo.mt_entry, fat_fd, (j * bts2rd),
 201ac9c:	d8 06 60 9c 	ld  [ %i1 + 0x9c ], %o4                        <== NOT EXECUTED
 201aca0:	92 10 00 10 	mov  %l0, %o1                                  <== NOT EXECUTED
 201aca4:	94 10 00 12 	mov  %l2, %o2                                  <== NOT EXECUTED
 201aca8:	7f ff dc 7d 	call  2011e9c <fat_file_read>                  <== NOT EXECUTED
 201acac:	96 10 00 16 	mov  %l6, %o3                                  <== NOT EXECUTED
                            bts2rd, fs_info->cl_buf);                 
        if (ret < MSDOS_DIRECTORY_ENTRY_STRUCT_SIZE)                  
 201acb0:	80 a2 20 1f 	cmp  %o0, 0x1f                                 <== NOT EXECUTED
 201acb4:	14 80 00 f4 	bg  201b084 <msdos_dir_read+0x4b0>             <== NOT EXECUTED
 201acb8:	ae 10 00 08 	mov  %o0, %l7                                  <== NOT EXECUTED
        {                                                             
            rtems_semaphore_release(fs_info->vol_sema);               
 201acbc:	7f ff bd 04 	call  200a0cc <rtems_semaphore_release>        <== NOT EXECUTED
 201acc0:	d0 06 60 98 	ld  [ %i1 + 0x98 ], %o0                        <== NOT EXECUTED
            rtems_set_errno_and_return_minus_one(EIO);                
 201acc4:	40 00 01 cf 	call  201b400 <__errno>                        <== NOT EXECUTED
 201acc8:	01 00 00 00 	nop                                            <== NOT EXECUTED
 201accc:	82 10 20 05 	mov  5, %g1	! 5 <PROM_START+0x5>               <== NOT EXECUTED
 201acd0:	c2 22 00 00 	st  %g1, [ %o0 ]                               <== NOT EXECUTED
 201acd4:	10 80 00 f7 	b  201b0b0 <msdos_dir_read+0x4dc>              <== NOT EXECUTED
 201acd8:	82 10 3f ff 	mov  -1, %g1                                   <== NOT EXECUTED
        }                                                             
                                                                      
        for (i = 0; i < ret; i += MSDOS_DIRECTORY_ENTRY_STRUCT_SIZE)  
        {                                                             
            char* entry = (char*) fs_info->cl_buf + i;                
 201acdc:	b0 00 40 1c 	add  %g1, %i4, %i0                             <== NOT EXECUTED
                                                                      
            /*                                                        
             * Is this directory from here on empty ?                 
             */                                                       
            if ((*MSDOS_DIR_ENTRY_TYPE(entry)) ==                     
 201ace0:	c2 08 40 1c 	ldub  [ %g1 + %i4 ], %g1                       <== NOT EXECUTED
 201ace4:	84 88 60 ff 	andcc  %g1, 0xff, %g2                          <== NOT EXECUTED
 201ace8:	02 80 00 ef 	be  201b0a4 <msdos_dir_read+0x4d0>             <== NOT EXECUTED
 201acec:	01 00 00 00 	nop                                            <== NOT EXECUTED
                rtems_semaphore_release(fs_info->vol_sema);           
                return cmpltd;                                        
            }                                                         
                                                                      
            /* Is the directory entry empty */                        
            if ((*MSDOS_DIR_ENTRY_TYPE(entry)) == MSDOS_THIS_DIR_ENTRY_EMPTY)
 201acf0:	80 a0 a0 e5 	cmp  %g2, 0xe5                                 <== NOT EXECUTED
 201acf4:	22 80 00 e5 	be,a   201b088 <msdos_dir_read+0x4b4>          <== NOT EXECUTED
 201acf8:	b8 07 20 20 	add  %i4, 0x20, %i4                            <== NOT EXECUTED
                continue;                                             
                                                                      
            /* Is the directory entry empty a volume label */         
            if (((*MSDOS_DIR_ATTR(entry)) & MSDOS_ATTR_VOLUME_ID) &&  
 201acfc:	c4 0e 20 0b 	ldub  [ %i0 + 0xb ], %g2                       <== NOT EXECUTED
 201ad00:	80 88 a0 08 	btst  8, %g2                                   <== NOT EXECUTED
 201ad04:	02 80 00 05 	be  201ad18 <msdos_dir_read+0x144>             <== NOT EXECUTED
 201ad08:	84 08 a0 3f 	and  %g2, 0x3f, %g2                            <== NOT EXECUTED
 201ad0c:	80 a0 a0 0f 	cmp  %g2, 0xf                                  <== NOT EXECUTED
 201ad10:	32 80 00 de 	bne,a   201b088 <msdos_dir_read+0x4b4>         <== NOT EXECUTED
 201ad14:	b8 07 20 20 	add  %i4, 0x20, %i4                            <== NOT EXECUTED
                                                                      
            /*                                                        
             * Check the attribute to see if the entry is for a long file
             * name.                                                  
             */                                                       
            if ((*MSDOS_DIR_ATTR(entry) & MSDOS_ATTR_LFN_MASK) ==     
 201ad18:	80 a0 a0 0f 	cmp  %g2, 0xf                                  <== NOT EXECUTED
 201ad1c:	12 80 00 3d 	bne  201ae10 <msdos_dir_read+0x23c>            <== NOT EXECUTED
 201ad20:	80 a5 20 00 	cmp  %l4, 0                                    <== NOT EXECUTED
                int   q;                                              
                                                                      
                /*                                                    
                 * Is this is the first entry of a LFN ?              
                 */                                                   
                if (lfn_start == FAT_FILE_SHORT_NAME)                 
 201ad24:	80 a6 bf ff 	cmp  %i2, -1                                   <== NOT EXECUTED
 201ad28:	32 80 00 0f 	bne,a   201ad64 <msdos_dir_read+0x190>         <== NOT EXECUTED
 201ad2c:	c2 0e 00 00 	ldub  [ %i0 ], %g1                             <== NOT EXECUTED
                {                                                     
                    /*                                                
                     * The first entry must have the last long entry flag set.
                     */                                               
                    if ((*MSDOS_DIR_ENTRY_TYPE(entry) &               
 201ad30:	82 08 60 ff 	and  %g1, 0xff, %g1                            <== NOT EXECUTED
 201ad34:	80 88 60 40 	btst  0x40, %g1                                <== NOT EXECUTED
 201ad38:	22 80 00 d4 	be,a   201b088 <msdos_dir_read+0x4b4>          <== NOT EXECUTED
 201ad3c:	b8 07 20 20 	add  %i4, 0x20, %i4                            <== NOT EXECUTED
                                                                      
                    /*                                                
                     * Remember the start location of the long file name.
                     */                                               
                    lfn_start =                                       
                      ((j * bts2rd) + i) / MSDOS_DIRECTORY_ENTRY_STRUCT_SIZE;
 201ad40:	b4 07 00 12 	add  %i4, %l2, %i2                             <== NOT EXECUTED
                                                                      
                    /*                                                
                     * Get the number of entries so we can count down and
                     * also the checksum of the short entry.          
                     */                                               
                    lfn_entries = (*MSDOS_DIR_ENTRY_TYPE(entry) &     
 201ad44:	b6 08 60 3f 	and  %g1, 0x3f, %i3                            <== NOT EXECUTED
                        continue;                                     
                                                                      
                    /*                                                
                     * Remember the start location of the long file name.
                     */                                               
                    lfn_start =                                       
 201ad48:	b5 36 a0 05 	srl  %i2, 5, %i2                               <== NOT EXECUTED
                     * Get the number of entries so we can count down and
                     * also the checksum of the short entry.          
                     */                                               
                    lfn_entries = (*MSDOS_DIR_ENTRY_TYPE(entry) &     
                                   MSDOS_LAST_LONG_ENTRY_MASK);       
                    lfn_checksum = *MSDOS_DIR_LFN_CHECKSUM(entry);    
 201ad4c:	ea 0e 20 0d 	ldub  [ %i0 + 0xd ], %l5                       <== NOT EXECUTED
                    memset (tmp_dirent.d_name, 0, sizeof(tmp_dirent.d_name));
 201ad50:	90 07 be e4 	add  %fp, -284, %o0                            <== NOT EXECUTED
 201ad54:	92 10 20 00 	clr  %o1                                       <== NOT EXECUTED
 201ad58:	40 00 04 b5 	call  201c02c <memset>                         <== NOT EXECUTED
 201ad5c:	94 10 21 00 	mov  0x100, %o2                                <== NOT EXECUTED
                 * If the entry number or the check sum do not match  
                 * forget this series of long directory entries. These could
                 * be orphaned entries depending on the history of the
                 * disk.                                              
                 */                                                   
                if ((lfn_entries != (*MSDOS_DIR_ENTRY_TYPE(entry) &   
 201ad60:	c2 0e 00 00 	ldub  [ %i0 ], %g1                             <== NOT EXECUTED
 201ad64:	82 08 60 3f 	and  %g1, 0x3f, %g1                            <== NOT EXECUTED
 201ad68:	80 a6 c0 01 	cmp  %i3, %g1                                  <== NOT EXECUTED
 201ad6c:	32 80 00 c4 	bne,a   201b07c <msdos_dir_read+0x4a8>         <== NOT EXECUTED
 201ad70:	b4 10 3f ff 	mov  -1, %i2                                   <== NOT EXECUTED
                                     MSDOS_LAST_LONG_ENTRY_MASK)) ||  
 201ad74:	c2 0e 20 0d 	ldub  [ %i0 + 0xd ], %g1                       <== NOT EXECUTED
 201ad78:	84 0d 60 ff 	and  %l5, 0xff, %g2                            <== NOT EXECUTED
 201ad7c:	80 a0 80 01 	cmp  %g2, %g1                                  <== NOT EXECUTED
 201ad80:	32 80 00 bf 	bne,a   201b07c <msdos_dir_read+0x4a8>         <== NOT EXECUTED
 201ad84:	b4 10 3f ff 	mov  -1, %i2                                   <== NOT EXECUTED
                 * The DOS maximum length is 255 characters without the
                 * trailing nul character. We need to range check the length to
                 * fit in the directory entry name field.             
                 */                                                   
                                                                      
                lfn_entries--;                                        
 201ad88:	b6 06 ff ff 	add  %i3, -1, %i3                              <== NOT EXECUTED
                p = entry + 1;                                        
                o = lfn_entries * MSDOS_LFN_LEN_PER_ENTRY;            
 201ad8c:	83 2e e0 02 	sll  %i3, 2, %g1                               <== NOT EXECUTED
 201ad90:	85 2e e0 04 	sll  %i3, 4, %g2                               <== NOT EXECUTED
                 * trailing nul character. We need to range check the length to
                 * fit in the directory entry name field.             
                 */                                                   
                                                                      
                lfn_entries--;                                        
                p = entry + 1;                                        
 201ad94:	b0 06 20 01 	inc  %i0                                       <== NOT EXECUTED
                o = lfn_entries * MSDOS_LFN_LEN_PER_ENTRY;            
 201ad98:	84 20 80 01 	sub  %g2, %g1, %g2                             <== NOT EXECUTED
                                                                      
                for (q = 0; q < MSDOS_LFN_LEN_PER_ENTRY; q++)         
 201ad9c:	82 10 20 00 	clr  %g1                                       <== NOT EXECUTED
                 * fit in the directory entry name field.             
                 */                                                   
                                                                      
                lfn_entries--;                                        
                p = entry + 1;                                        
                o = lfn_entries * MSDOS_LFN_LEN_PER_ENTRY;            
 201ada0:	84 00 80 1b 	add  %g2, %i3, %g2                             <== NOT EXECUTED
                                                                      
                for (q = 0; q < MSDOS_LFN_LEN_PER_ENTRY; q++)         
                {                                                     
                    if (o >= (sizeof(tmp_dirent.d_name) - 1))         
 201ada4:	80 a0 a0 fe 	cmp  %g2, 0xfe                                 <== NOT EXECUTED
 201ada8:	18 80 00 af 	bgu  201b064 <msdos_dir_read+0x490>            <== NOT EXECUTED
 201adac:	9e 07 be d0 	add  %fp, -304, %o7                            <== NOT EXECUTED
                        break;                                        
                                                                      
                    tmp_dirent.d_name[o++] = *p;                      
 201adb0:	c8 0e 00 00 	ldub  [ %i0 ], %g4                             <== NOT EXECUTED
 * RETURNS:                                                           
 *     the number of bytes read on success, or -1 if error occured (errno
 *     set apropriately).                                             
 */                                                                   
ssize_t                                                               
msdos_dir_read(rtems_libio_t *iop, void *buffer, size_t count)        
 201adb4:	86 03 c0 02 	add  %o7, %g2, %g3                             <== NOT EXECUTED
                for (q = 0; q < MSDOS_LFN_LEN_PER_ENTRY; q++)         
                {                                                     
                    if (o >= (sizeof(tmp_dirent.d_name) - 1))         
                        break;                                        
                                                                      
                    tmp_dirent.d_name[o++] = *p;                      
 201adb8:	c8 28 e0 14 	stb  %g4, [ %g3 + 0x14 ]                       <== NOT EXECUTED
                                                                      
                    if (*p == '\0')                                   
 201adbc:	c6 4e 00 00 	ldsb  [ %i0 ], %g3                             <== NOT EXECUTED
 201adc0:	80 a0 e0 00 	cmp  %g3, 0                                    <== NOT EXECUTED
 201adc4:	02 80 00 a8 	be  201b064 <msdos_dir_read+0x490>             <== NOT EXECUTED
 201adc8:	84 00 a0 01 	inc  %g2                                       <== NOT EXECUTED
                        break;                                        
                                                                      
                    switch (q)                                        
 201adcc:	80 a0 60 04 	cmp  %g1, 4                                    <== NOT EXECUTED
 201add0:	02 80 00 06 	be  201ade8 <msdos_dir_read+0x214>             <== NOT EXECUTED
 201add4:	80 a0 60 0a 	cmp  %g1, 0xa                                  <== NOT EXECUTED
 201add8:	32 80 00 08 	bne,a   201adf8 <msdos_dir_read+0x224>         <== NOT EXECUTED
 201addc:	b0 06 20 02 	add  %i0, 2, %i0                               <== NOT EXECUTED
                    {                                                 
                        case 4:                                       
                            p += 5;                                   
                            break;                                    
                        case 10:                                      
                            p += 4;                                   
 201ade0:	10 80 00 04 	b  201adf0 <msdos_dir_read+0x21c>              <== NOT EXECUTED
 201ade4:	b0 06 20 04 	add  %i0, 4, %i0                               <== NOT EXECUTED
                                                                      
                    switch (q)                                        
                    {                                                 
                        case 4:                                       
                            p += 5;                                   
                            break;                                    
 201ade8:	10 80 00 04 	b  201adf8 <msdos_dir_read+0x224>              <== NOT EXECUTED
 201adec:	b0 06 20 05 	add  %i0, 5, %i0                               <== NOT EXECUTED
                        case 10:                                      
                            p += 4;                                   
                            break;                                    
 201adf0:	10 80 00 03 	b  201adfc <msdos_dir_read+0x228>              <== NOT EXECUTED
 201adf4:	82 00 60 01 	inc  %g1                                       <== NOT EXECUTED
                                                                      
                lfn_entries--;                                        
                p = entry + 1;                                        
                o = lfn_entries * MSDOS_LFN_LEN_PER_ENTRY;            
                                                                      
                for (q = 0; q < MSDOS_LFN_LEN_PER_ENTRY; q++)         
 201adf8:	82 00 60 01 	inc  %g1                                       <== NOT EXECUTED
 201adfc:	80 a0 60 0d 	cmp  %g1, 0xd                                  <== NOT EXECUTED
 201ae00:	32 bf ff ea 	bne,a   201ada8 <msdos_dir_read+0x1d4>         <== NOT EXECUTED
 201ae04:	80 a0 a0 fe 	cmp  %g2, 0xfe                                 <== NOT EXECUTED
                    rtems_semaphore_release(fs_info->vol_sema);       
                    return rc;                                        
                }                                                     
            }                                                         
                                                                      
            if (count <= 0)                                           
 201ae08:	10 80 00 98 	b  201b068 <msdos_dir_read+0x494>              <== NOT EXECUTED
 201ae0c:	80 a4 e0 00 	cmp  %l3, 0                                    <== NOT EXECUTED
                fat_dir_pos_t dir_pos;                                
                                                                      
                /*                                                    
                 * Skip active entries until get the entry to start from.
                 */                                                   
                if (start)                                            
 201ae10:	22 80 00 04 	be,a   201ae20 <msdos_dir_read+0x24c>          <== NOT EXECUTED
 201ae14:	d0 07 60 2c 	ld  [ %i5 + 0x2c ], %o0                        <== NOT EXECUTED
                {                                                     
                    lfn_start = FAT_FILE_SHORT_NAME;                  
                    start--;                                          
 201ae18:	10 80 00 98 	b  201b078 <msdos_dir_read+0x4a4>              <== NOT EXECUTED
 201ae1c:	a8 05 3f ff 	add  %l4, -1, %l4                              <== NOT EXECUTED
                 * unfortunately there is no method to extract ino except to
                 * open fat-file descriptor :( ... so, open it        
                 */                                                   
                                                                      
                /* get number of cluster we are working with */       
                rc = fat_file_ioctl(iop->pathinfo.mt_entry, fat_fd, F_CLU_NUM,
 201ae20:	92 10 00 10 	mov  %l0, %o1                                  <== NOT EXECUTED
 201ae24:	94 10 20 01 	mov  1, %o2                                    <== NOT EXECUTED
 201ae28:	96 10 00 12 	mov  %l2, %o3                                  <== NOT EXECUTED
 201ae2c:	7f ff dc fd 	call  2012220 <fat_file_ioctl>                 <== NOT EXECUTED
 201ae30:	98 07 bf fc 	add  %fp, -4, %o4                              <== NOT EXECUTED
                                    j * bts2rd, &cur_cln);            
                if (rc != RC_OK)                                      
 201ae34:	80 a2 20 00 	cmp  %o0, 0                                    <== NOT EXECUTED
 201ae38:	12 80 00 86 	bne  201b050 <msdos_dir_read+0x47c>            <== NOT EXECUTED
 201ae3c:	82 10 00 08 	mov  %o0, %g1                                  <== NOT EXECUTED
    fat_dir_pos_t *dir_pos                                            
    )                                                                 
{                                                                     
  dir_pos->sname.cln = 0;                                             
  dir_pos->sname.ofs = 0;                                             
  dir_pos->lname.cln = FAT_FILE_SHORT_NAME;                           
 201ae40:	82 10 3f ff 	mov  -1, %g1                                   <== NOT EXECUTED
                }                                                     
                                                                      
                fat_dir_pos_init(&dir_pos);                           
                dir_pos.sname.cln = cur_cln;                          
                dir_pos.sname.ofs = i;                                
                rc = fat_file_open(iop->pathinfo.mt_entry, &dir_pos, &tmp_fat_fd);
 201ae44:	d0 07 60 2c 	ld  [ %i5 + 0x2c ], %o0                        <== NOT EXECUTED
 201ae48:	c2 27 bf f0 	st  %g1, [ %fp + -16 ]                         <== NOT EXECUTED
  dir_pos->lname.ofs = FAT_FILE_SHORT_NAME;                           
 201ae4c:	c2 27 bf f4 	st  %g1, [ %fp + -12 ]                         <== NOT EXECUTED
                    rtems_semaphore_release(fs_info->vol_sema);       
                    return rc;                                        
                }                                                     
                                                                      
                fat_dir_pos_init(&dir_pos);                           
                dir_pos.sname.cln = cur_cln;                          
 201ae50:	c2 07 bf fc 	ld  [ %fp + -4 ], %g1                          <== NOT EXECUTED
                dir_pos.sname.ofs = i;                                
 201ae54:	f8 27 bf ec 	st  %i4, [ %fp + -20 ]                         <== NOT EXECUTED
                    rtems_semaphore_release(fs_info->vol_sema);       
                    return rc;                                        
                }                                                     
                                                                      
                fat_dir_pos_init(&dir_pos);                           
                dir_pos.sname.cln = cur_cln;                          
 201ae58:	c2 27 bf e8 	st  %g1, [ %fp + -24 ]                         <== NOT EXECUTED
                dir_pos.sname.ofs = i;                                
                rc = fat_file_open(iop->pathinfo.mt_entry, &dir_pos, &tmp_fat_fd);
 201ae5c:	92 07 bf e8 	add  %fp, -24, %o1                             <== NOT EXECUTED
 201ae60:	7f ff db b7 	call  2011d3c <fat_file_open>                  <== NOT EXECUTED
 201ae64:	94 07 bf f8 	add  %fp, -8, %o2                              <== NOT EXECUTED
                if (rc != RC_OK)                                      
 201ae68:	80 a2 20 00 	cmp  %o0, 0                                    <== NOT EXECUTED
 201ae6c:	12 80 00 79 	bne  201b050 <msdos_dir_read+0x47c>            <== NOT EXECUTED
 201ae70:	82 10 00 08 	mov  %o0, %g1                                  <== NOT EXECUTED
                                                                      
                /* fill in dirent structure */                        
                /* XXX: from what and in what d_off should be computed ?! */
                tmp_dirent.d_off = start + cmpltd;                    
                tmp_dirent.d_reclen = sizeof(struct dirent);          
                tmp_dirent.d_ino = tmp_fat_fd->ino;                   
 201ae74:	c2 07 bf f8 	ld  [ %fp + -8 ], %g1                          <== NOT EXECUTED
                }                                                     
                                                                      
                /* fill in dirent structure */                        
                /* XXX: from what and in what d_off should be computed ?! */
                tmp_dirent.d_off = start + cmpltd;                    
                tmp_dirent.d_reclen = sizeof(struct dirent);          
 201ae78:	84 10 21 18 	mov  0x118, %g2                                <== NOT EXECUTED
                tmp_dirent.d_ino = tmp_fat_fd->ino;                   
 201ae7c:	c2 00 60 0c 	ld  [ %g1 + 0xc ], %g1                         <== NOT EXECUTED
                    return rc;                                        
                }                                                     
                                                                      
                /* fill in dirent structure */                        
                /* XXX: from what and in what d_off should be computed ?! */
                tmp_dirent.d_off = start + cmpltd;                    
 201ae80:	c0 27 be d8 	clr  [ %fp + -296 ]                            <== NOT EXECUTED
 201ae84:	e2 27 be dc 	st  %l1, [ %fp + -292 ]                        <== NOT EXECUTED
                tmp_dirent.d_reclen = sizeof(struct dirent);          
 201ae88:	c4 37 be e0 	sth  %g2, [ %fp + -288 ]                       <== NOT EXECUTED
                /*                                                    
                 * If a long file name check if the correct number of 
                 * entries have been found and if the checksum is correct.
                 * If not return the short file name.                 
                 */                                                   
                if (lfn_start != FAT_FILE_SHORT_NAME)                 
 201ae8c:	80 a6 bf ff 	cmp  %i2, -1                                   <== NOT EXECUTED
 201ae90:	02 80 00 1d 	be  201af04 <msdos_dir_read+0x330>             <== NOT EXECUTED
 201ae94:	c2 27 be d0 	st  %g1, [ %fp + -304 ]                        <== NOT EXECUTED
 201ae98:	82 10 20 00 	clr  %g1                                       <== NOT EXECUTED
 201ae9c:	84 10 20 00 	clr  %g2                                       <== NOT EXECUTED
                    uint8_t  cs = 0;                                  
                    uint8_t* p = (uint8_t*) entry;                    
                    int      i;                                       
                                                                      
                    for (i = 0; i < 11; i++, p++)                     
                        cs = ((cs & 1) ? 0x80 : 0) + (cs >> 1) + *p;  
 201aea0:	c8 0e 00 01 	ldub  [ %i0 + %g1 ], %g4                       <== NOT EXECUTED
 201aea4:	84 08 a0 ff 	and  %g2, 0xff, %g2                            <== NOT EXECUTED
 201aea8:	86 08 a0 01 	and  %g2, 1, %g3                               <== NOT EXECUTED
 201aeac:	80 a0 00 03 	cmp  %g0, %g3                                  <== NOT EXECUTED
 201aeb0:	85 30 a0 01 	srl  %g2, 1, %g2                               <== NOT EXECUTED
 201aeb4:	86 40 3f ff 	addx  %g0, -1, %g3                             <== NOT EXECUTED
 201aeb8:	84 01 00 02 	add  %g4, %g2, %g2                             <== NOT EXECUTED
 201aebc:	86 08 e0 80 	and  %g3, 0x80, %g3                            <== NOT EXECUTED
                {                                                     
                    uint8_t  cs = 0;                                  
                    uint8_t* p = (uint8_t*) entry;                    
                    int      i;                                       
                                                                      
                    for (i = 0; i < 11; i++, p++)                     
 201aec0:	82 00 60 01 	inc  %g1                                       <== NOT EXECUTED
                        cs = ((cs & 1) ? 0x80 : 0) + (cs >> 1) + *p;  
 201aec4:	86 00 ff 80 	add  %g3, -128, %g3                            <== NOT EXECUTED
                {                                                     
                    uint8_t  cs = 0;                                  
                    uint8_t* p = (uint8_t*) entry;                    
                    int      i;                                       
                                                                      
                    for (i = 0; i < 11; i++, p++)                     
 201aec8:	80 a0 60 0b 	cmp  %g1, 0xb                                  <== NOT EXECUTED
 201aecc:	12 bf ff f5 	bne  201aea0 <msdos_dir_read+0x2cc>            <== NOT EXECUTED
 201aed0:	84 00 80 03 	add  %g2, %g3, %g2                             <== NOT EXECUTED
                        cs = ((cs & 1) ? 0x80 : 0) + (cs >> 1) + *p;  
                                                                      
                    if (lfn_entries || (lfn_checksum != cs))          
 201aed4:	84 18 80 15 	xor  %g2, %l5, %g2                             <== NOT EXECUTED
 201aed8:	80 88 a0 ff 	btst  0xff, %g2                                <== NOT EXECUTED
 201aedc:	12 80 00 0b 	bne  201af08 <msdos_dir_read+0x334>            <== NOT EXECUTED
 201aee0:	82 10 20 08 	mov  8, %g1                                    <== NOT EXECUTED
 201aee4:	80 a6 e0 00 	cmp  %i3, 0                                    <== NOT EXECUTED
 201aee8:	12 80 00 09 	bne  201af0c <msdos_dir_read+0x338>            <== NOT EXECUTED
 201aeec:	84 06 00 01 	add  %i0, %g1, %g2                             <== NOT EXECUTED
 201aef0:	30 80 00 72 	b,a   201b0b8 <msdos_dir_read+0x4e4>           <== NOT EXECUTED
  const char *src_tmp;                                                
                                                                      
  /*                                                                  
   * find last non-blank character of base name                       
   */                                                                 
  for ((i       =       MSDOS_SHORT_BASE_LEN  ,                       
 201aef4:	32 80 00 06 	bne,a   201af0c <msdos_dir_read+0x338>         <== NOT EXECUTED
 201aef8:	84 06 00 01 	add  %i0, %g1, %g2                             <== NOT EXECUTED
   * copy base name to destination                                    
   */                                                                 
  src_tmp = src;                                                      
  len = i;                                                            
  while (i-- > 0) {                                                   
    *dst++ = tolower((unsigned char)(*src_tmp++));                    
 201aefc:	10 80 00 09 	b  201af20 <msdos_dir_read+0x34c>              <== NOT EXECUTED
 201af00:	07 00 80 b1 	sethi  %hi(0x202c400), %g3                     <== NOT EXECUTED
  const char *src_tmp;                                                
                                                                      
  /*                                                                  
   * find last non-blank character of base name                       
   */                                                                 
  for ((i       =       MSDOS_SHORT_BASE_LEN  ,                       
 201af04:	82 10 20 08 	mov  8, %g1                                    <== NOT EXECUTED
 * RETURNS:                                                           
 *     the number of bytes read on success, or -1 if error occured (errno
 *     set apropriately).                                             
 */                                                                   
ssize_t                                                               
msdos_dir_read(rtems_libio_t *iop, void *buffer, size_t count)        
 201af08:	84 06 00 01 	add  %i0, %g1, %g2                             <== NOT EXECUTED
  /*                                                                  
   * find last non-blank character of base name                       
   */                                                                 
  for ((i       =       MSDOS_SHORT_BASE_LEN  ,                       
	src_tmp = src + MSDOS_SHORT_BASE_LEN-1);                             
       ((i > 0) &&                                                    
 201af0c:	c4 48 bf ff 	ldsb  [ %g2 + -1 ], %g2                        <== NOT EXECUTED
 201af10:	80 a0 a0 20 	cmp  %g2, 0x20                                 <== NOT EXECUTED
 201af14:	22 bf ff f8 	be,a   201aef4 <msdos_dir_read+0x320>          <== NOT EXECUTED
 201af18:	82 80 7f ff 	addcc  %g1, -1, %g1                            <== NOT EXECUTED
   * copy base name to destination                                    
   */                                                                 
  src_tmp = src;                                                      
  len = i;                                                            
  while (i-- > 0) {                                                   
    *dst++ = tolower((unsigned char)(*src_tmp++));                    
 201af1c:	07 00 80 b1 	sethi  %hi(0x202c400), %g3                     <== NOT EXECUTED
 201af20:	84 10 20 00 	clr  %g2                                       <== NOT EXECUTED
 201af24:	10 80 00 0c 	b  201af54 <msdos_dir_read+0x380>              <== NOT EXECUTED
 201af28:	c8 00 e2 6c 	ld  [ %g3 + 0x26c ], %g4                       <== NOT EXECUTED
 201af2c:	b4 01 00 03 	add  %g4, %g3, %i2                             <== NOT EXECUTED
 201af30:	f4 0e a0 01 	ldub  [ %i2 + 1 ], %i2                         <== NOT EXECUTED
 201af34:	b4 0e a0 03 	and  %i2, 3, %i2                               <== NOT EXECUTED
 201af38:	80 a6 a0 01 	cmp  %i2, 1                                    <== NOT EXECUTED
 201af3c:	22 80 00 02 	be,a   201af44 <msdos_dir_read+0x370>          <== NOT EXECUTED
 201af40:	86 00 e0 20 	add  %g3, 0x20, %g3                            <== NOT EXECUTED
 * RETURNS:                                                           
 *     the number of bytes read on success, or -1 if error occured (errno
 *     set apropriately).                                             
 */                                                                   
ssize_t                                                               
msdos_dir_read(rtems_libio_t *iop, void *buffer, size_t count)        
 201af44:	9e 07 be d0 	add  %fp, -304, %o7                            <== NOT EXECUTED
 201af48:	b4 03 c0 02 	add  %o7, %g2, %i2                             <== NOT EXECUTED
   * copy base name to destination                                    
   */                                                                 
  src_tmp = src;                                                      
  len = i;                                                            
  while (i-- > 0) {                                                   
    *dst++ = tolower((unsigned char)(*src_tmp++));                    
 201af4c:	84 00 a0 01 	inc  %g2                                       <== NOT EXECUTED
 201af50:	c6 2e a0 14 	stb  %g3, [ %i2 + 0x14 ]                       <== NOT EXECUTED
 * RETURNS:                                                           
 *     the number of bytes read on success, or -1 if error occured (errno
 *     set apropriately).                                             
 */                                                                   
ssize_t                                                               
msdos_dir_read(rtems_libio_t *iop, void *buffer, size_t count)        
 201af54:	86 20 40 02 	sub  %g1, %g2, %g3                             <== NOT EXECUTED
  /*                                                                  
   * copy base name to destination                                    
   */                                                                 
  src_tmp = src;                                                      
  len = i;                                                            
  while (i-- > 0) {                                                   
 201af58:	80 a0 e0 00 	cmp  %g3, 0                                    <== NOT EXECUTED
 201af5c:	34 bf ff f4 	bg,a   201af2c <msdos_dir_read+0x358>          <== NOT EXECUTED
 201af60:	c6 0e 00 02 	ldub  [ %i0 + %g2 ], %g3                       <== NOT EXECUTED
  /*                                                                  
   * find last non-blank character of extension                       
   */                                                                 
  for ((i       =                            MSDOS_SHORT_EXT_LEN  ,   
	src_tmp = src + MSDOS_SHORT_BASE_LEN+MSDOS_SHORT_EXT_LEN-1);         
       ((i > 0) &&                                                    
 201af64:	c4 4e 20 0a 	ldsb  [ %i0 + 0xa ], %g2                       <== NOT EXECUTED
 * RETURNS:                                                           
 *     the number of bytes read on success, or -1 if error occured (errno
 *     set apropriately).                                             
 */                                                                   
ssize_t                                                               
msdos_dir_read(rtems_libio_t *iop, void *buffer, size_t count)        
 201af68:	86 38 00 01 	xnor  %g0, %g1, %g3                            <== NOT EXECUTED
 201af6c:	b4 07 be d0 	add  %fp, -304, %i2                            <== NOT EXECUTED
 201af70:	87 38 e0 1f 	sra  %g3, 0x1f, %g3                            <== NOT EXECUTED
  /*                                                                  
   * find last non-blank character of extension                       
   */                                                                 
  for ((i       =                            MSDOS_SHORT_EXT_LEN  ,   
	src_tmp = src + MSDOS_SHORT_BASE_LEN+MSDOS_SHORT_EXT_LEN-1);         
       ((i > 0) &&                                                    
 201af74:	80 a0 a0 20 	cmp  %g2, 0x20                                 <== NOT EXECUTED
 * RETURNS:                                                           
 *     the number of bytes read on success, or -1 if error occured (errno
 *     set apropriately).                                             
 */                                                                   
ssize_t                                                               
msdos_dir_read(rtems_libio_t *iop, void *buffer, size_t count)        
 201af78:	86 08 40 03 	and  %g1, %g3, %g3                             <== NOT EXECUTED
 201af7c:	88 06 80 03 	add  %i2, %g3, %g4                             <== NOT EXECUTED
  /*                                                                  
   * find last non-blank character of extension                       
   */                                                                 
  for ((i       =                            MSDOS_SHORT_EXT_LEN  ,   
	src_tmp = src + MSDOS_SHORT_BASE_LEN+MSDOS_SHORT_EXT_LEN-1);         
       ((i > 0) &&                                                    
 201af80:	12 80 00 52 	bne  201b0c8 <msdos_dir_read+0x4f4>            <== NOT EXECUTED
 201af84:	88 01 20 14 	add  %g4, 0x14, %g4                            <== NOT EXECUTED
 201af88:	c4 4e 20 09 	ldsb  [ %i0 + 9 ], %g2                         <== NOT EXECUTED
 201af8c:	80 a0 a0 20 	cmp  %g2, 0x20                                 <== NOT EXECUTED
 201af90:	12 80 00 4f 	bne  201b0cc <msdos_dir_read+0x4f8>            <== NOT EXECUTED
 201af94:	84 10 20 02 	mov  2, %g2                                    <== NOT EXECUTED
 201af98:	c4 4e 20 08 	ldsb  [ %i0 + 8 ], %g2                         <== NOT EXECUTED
 201af9c:	80 a0 a0 20 	cmp  %g2, 0x20                                 <== NOT EXECUTED
 201afa0:	22 80 00 18 	be,a   201b000 <msdos_dir_read+0x42c>          <== NOT EXECUTED
 201afa4:	c0 29 00 00 	clrb  [ %g4 ]                                  <== NOT EXECUTED
 201afa8:	10 80 00 49 	b  201b0cc <msdos_dir_read+0x4f8>              <== NOT EXECUTED
 201afac:	84 10 20 01 	mov  1, %g2                                    <== NOT EXECUTED
  if (i > 0) {                                                        
    *dst++ = '.'; /* append dot */                                    
    len += i + 1; /* extension + dot */                               
    src_tmp = src + MSDOS_SHORT_BASE_LEN;                             
    while (i-- > 0) {                                                 
      *dst++ = tolower((unsigned char)(*src_tmp++));                  
 201afb0:	f4 0e a0 08 	ldub  [ %i2 + 8 ], %i2                         <== NOT EXECUTED
 201afb4:	98 03 c0 1a 	add  %o7, %i2, %o4                             <== NOT EXECUTED
 201afb8:	d8 0b 20 01 	ldub  [ %o4 + 1 ], %o4                         <== NOT EXECUTED
 201afbc:	98 0b 20 03 	and  %o4, 3, %o4                               <== NOT EXECUTED
 201afc0:	80 a3 20 01 	cmp  %o4, 1                                    <== NOT EXECUTED
 201afc4:	22 80 00 02 	be,a   201afcc <msdos_dir_read+0x3f8>          <== NOT EXECUTED
 201afc8:	b4 06 a0 20 	add  %i2, 0x20, %i2                            <== NOT EXECUTED
 * RETURNS:                                                           
 *     the number of bytes read on success, or -1 if error occured (errno
 *     set apropriately).                                             
 */                                                                   
ssize_t                                                               
msdos_dir_read(rtems_libio_t *iop, void *buffer, size_t count)        
 201afcc:	98 01 00 03 	add  %g4, %g3, %o4                             <== NOT EXECUTED
  if (i > 0) {                                                        
    *dst++ = '.'; /* append dot */                                    
    len += i + 1; /* extension + dot */                               
    src_tmp = src + MSDOS_SHORT_BASE_LEN;                             
    while (i-- > 0) {                                                 
      *dst++ = tolower((unsigned char)(*src_tmp++));                  
 201afd0:	86 00 e0 01 	inc  %g3                                       <== NOT EXECUTED
 201afd4:	f4 2b 20 01 	stb  %i2, [ %o4 + 1 ]                          <== NOT EXECUTED
 * RETURNS:                                                           
 *     the number of bytes read on success, or -1 if error occured (errno
 *     set apropriately).                                             
 */                                                                   
ssize_t                                                               
msdos_dir_read(rtems_libio_t *iop, void *buffer, size_t count)        
 201afd8:	b4 20 80 03 	sub  %g2, %g3, %i2                             <== NOT EXECUTED
   */                                                                 
  if (i > 0) {                                                        
    *dst++ = '.'; /* append dot */                                    
    len += i + 1; /* extension + dot */                               
    src_tmp = src + MSDOS_SHORT_BASE_LEN;                             
    while (i-- > 0) {                                                 
 201afdc:	80 a6 a0 00 	cmp  %i2, 0                                    <== NOT EXECUTED
 201afe0:	14 bf ff f4 	bg  201afb0 <msdos_dir_read+0x3dc>             <== NOT EXECUTED
 201afe4:	b4 06 00 03 	add  %i0, %g3, %i2                             <== NOT EXECUTED
 * RETURNS:                                                           
 *     the number of bytes read on success, or -1 if error occured (errno
 *     set apropriately).                                             
 */                                                                   
ssize_t                                                               
msdos_dir_read(rtems_libio_t *iop, void *buffer, size_t count)        
 201afe8:	86 38 00 02 	xnor  %g0, %g2, %g3                            <== NOT EXECUTED
 201afec:	87 38 e0 1f 	sra  %g3, 0x1f, %g3                            <== NOT EXECUTED
 201aff0:	84 08 80 03 	and  %g2, %g3, %g2                             <== NOT EXECUTED
 201aff4:	88 03 40 02 	add  %o5, %g2, %g4                             <== NOT EXECUTED
 201aff8:	82 00 40 02 	add  %g1, %g2, %g1                             <== NOT EXECUTED
    while (i-- > 0) {                                                 
      *dst++ = tolower((unsigned char)(*src_tmp++));                  
      len++;                                                          
    }                                                                 
  }                                                                   
  *dst = '\0'; /* terminate string */                                 
 201affc:	c0 29 00 00 	clrb  [ %g4 ]                                  <== NOT EXECUTED
                {                                                     
                    /*                                                
                     * convert dir entry from fixed 8+3 format (without dot)
                     * to 0..8 + 1dot + 0..3 format                   
                     */                                               
                    tmp_dirent.d_namlen = msdos_format_dirent_with_dot(
 201b000:	c2 37 be e2 	sth  %g1, [ %fp + -286 ]                       <== NOT EXECUTED
 201b004:	b4 10 3f ff 	mov  -1, %i2                                   <== NOT EXECUTED
                else                                                  
                {                                                     
                    tmp_dirent.d_namlen = strlen(tmp_dirent.d_name);  
                }                                                     
                                                                      
                memcpy(buffer + cmpltd, &tmp_dirent, sizeof(struct dirent));
 201b008:	c2 07 a0 48 	ld  [ %fp + 0x48 ], %g1                        <== NOT EXECUTED
 201b00c:	92 07 be d0 	add  %fp, -304, %o1                            <== NOT EXECUTED
 201b010:	90 00 40 11 	add  %g1, %l1, %o0                             <== NOT EXECUTED
 201b014:	40 00 03 ca 	call  201bf3c <memcpy>                         <== NOT EXECUTED
 201b018:	94 10 21 18 	mov  0x118, %o2                                <== NOT EXECUTED
                                                                      
                iop->offset = iop->offset + sizeof(struct dirent);    
 201b01c:	c4 1f 60 10 	ldd  [ %i5 + 0x10 ], %g2                       <== NOT EXECUTED
                cmpltd += (sizeof(struct dirent));                    
                count -= (sizeof(struct dirent));                     
                                                                      
                /* inode number extracted, close fat-file */          
                rc = fat_file_close(iop->pathinfo.mt_entry, tmp_fat_fd);
 201b020:	d0 07 60 2c 	ld  [ %i5 + 0x2c ], %o0                        <== NOT EXECUTED
 201b024:	d2 07 bf f8 	ld  [ %fp + -8 ], %o1                          <== NOT EXECUTED
                    tmp_dirent.d_namlen = strlen(tmp_dirent.d_name);  
                }                                                     
                                                                      
                memcpy(buffer + cmpltd, &tmp_dirent, sizeof(struct dirent));
                                                                      
                iop->offset = iop->offset + sizeof(struct dirent);    
 201b028:	86 80 e1 18 	addcc  %g3, 0x118, %g3                         <== NOT EXECUTED
 201b02c:	84 40 a0 00 	addx  %g2, 0, %g2                              <== NOT EXECUTED
                cmpltd += (sizeof(struct dirent));                    
                count -= (sizeof(struct dirent));                     
                                                                      
                /* inode number extracted, close fat-file */          
                rc = fat_file_close(iop->pathinfo.mt_entry, tmp_fat_fd);
 201b030:	7f ff dc 4e 	call  2012168 <fat_file_close>                 <== NOT EXECUTED
 201b034:	c4 3f 60 10 	std  %g2, [ %i5 + 0x10 ]                       <== NOT EXECUTED
                if (rc != RC_OK)                                      
 201b038:	80 a2 20 00 	cmp  %o0, 0                                    <== NOT EXECUTED
 201b03c:	12 80 00 04 	bne  201b04c <msdos_dir_read+0x478>            <== NOT EXECUTED
 201b040:	a2 04 61 18 	add  %l1, 0x118, %l1                           <== NOT EXECUTED
                                                                      
                memcpy(buffer + cmpltd, &tmp_dirent, sizeof(struct dirent));
                                                                      
                iop->offset = iop->offset + sizeof(struct dirent);    
                cmpltd += (sizeof(struct dirent));                    
                count -= (sizeof(struct dirent));                     
 201b044:	10 80 00 08 	b  201b064 <msdos_dir_read+0x490>              <== NOT EXECUTED
 201b048:	a6 04 fe e8 	add  %l3, -280, %l3                            <== NOT EXECUTED
 201b04c:	82 10 00 08 	mov  %o0, %g1                                  <== NOT EXECUTED
                                                                      
                /* inode number extracted, close fat-file */          
                rc = fat_file_close(iop->pathinfo.mt_entry, tmp_fat_fd);
                if (rc != RC_OK)                                      
                {                                                     
                    rtems_semaphore_release(fs_info->vol_sema);       
 201b050:	d0 06 60 98 	ld  [ %i1 + 0x98 ], %o0                        <== NOT EXECUTED
 201b054:	7f ff bc 1e 	call  200a0cc <rtems_semaphore_release>        <== NOT EXECUTED
 201b058:	c2 27 be cc 	st  %g1, [ %fp + -308 ]                        <== NOT EXECUTED
                    return rc;                                        
 201b05c:	10 80 00 15 	b  201b0b0 <msdos_dir_read+0x4dc>              <== NOT EXECUTED
 201b060:	c2 07 be cc 	ld  [ %fp + -308 ], %g1                        <== NOT EXECUTED
                }                                                     
            }                                                         
                                                                      
            if (count <= 0)                                           
 201b064:	80 a4 e0 00 	cmp  %l3, 0                                    <== NOT EXECUTED
 201b068:	32 80 00 08 	bne,a   201b088 <msdos_dir_read+0x4b4>         <== NOT EXECUTED
 201b06c:	b8 07 20 20 	add  %i4, 0x20, %i4                            <== NOT EXECUTED
        {                                                             
            rtems_semaphore_release(fs_info->vol_sema);               
            rtems_set_errno_and_return_minus_one(EIO);                
        }                                                             
                                                                      
        for (i = 0; i < ret; i += MSDOS_DIRECTORY_ENTRY_STRUCT_SIZE)  
 201b070:	10 80 00 0a 	b  201b098 <msdos_dir_read+0x4c4>              <== NOT EXECUTED
 201b074:	a4 04 80 16 	add  %l2, %l6, %l2                             <== NOT EXECUTED
                 */                                                   
                if ((lfn_entries != (*MSDOS_DIR_ENTRY_TYPE(entry) &   
                                     MSDOS_LAST_LONG_ENTRY_MASK)) ||  
                    (lfn_checksum != *MSDOS_DIR_LFN_CHECKSUM(entry))) 
                {                                                     
                    lfn_start = FAT_FILE_SHORT_NAME;                  
 201b078:	b4 10 3f ff 	mov  -1, %i2                                   <== NOT EXECUTED
        {                                                             
            rtems_semaphore_release(fs_info->vol_sema);               
            rtems_set_errno_and_return_minus_one(EIO);                
        }                                                             
                                                                      
        for (i = 0; i < ret; i += MSDOS_DIRECTORY_ENTRY_STRUCT_SIZE)  
 201b07c:	10 80 00 03 	b  201b088 <msdos_dir_read+0x4b4>              <== NOT EXECUTED
 201b080:	b8 07 20 20 	add  %i4, 0x20, %i4                            <== NOT EXECUTED
         * directories feature :( - we should count elements currently
         * present in the directory because there may be holes :)     
         */                                                           
        ret = fat_file_read(iop->pathinfo.mt_entry, fat_fd, (j * bts2rd),
                            bts2rd, fs_info->cl_buf);                 
        if (ret < MSDOS_DIRECTORY_ENTRY_STRUCT_SIZE)                  
 201b084:	b8 10 20 00 	clr  %i4                                       <== NOT EXECUTED
        {                                                             
            rtems_semaphore_release(fs_info->vol_sema);               
            rtems_set_errno_and_return_minus_one(EIO);                
        }                                                             
                                                                      
        for (i = 0; i < ret; i += MSDOS_DIRECTORY_ENTRY_STRUCT_SIZE)  
 201b088:	80 a7 00 17 	cmp  %i4, %l7                                  <== NOT EXECUTED
 201b08c:	2a bf ff 14 	bcs,a   201acdc <msdos_dir_read+0x108>         <== NOT EXECUTED
 201b090:	c2 06 60 9c 	ld  [ %i1 + 0x9c ], %g1                        <== NOT EXECUTED
 201b094:	a4 04 80 16 	add  %l2, %l6, %l2                             <== NOT EXECUTED
    sc = rtems_semaphore_obtain(fs_info->vol_sema, RTEMS_WAIT,        
                                MSDOS_VOLUME_SEMAPHORE_TIMEOUT);      
    if (sc != RTEMS_SUCCESSFUL)                                       
        rtems_set_errno_and_return_minus_one(EIO);                    
                                                                      
    while (count > 0)                                                 
 201b098:	80 a4 e0 00 	cmp  %l3, 0                                    <== NOT EXECUTED
 201b09c:	32 bf ff 00 	bne,a   201ac9c <msdos_dir_read+0xc8>          <== NOT EXECUTED
 201b0a0:	d0 07 60 2c 	ld  [ %i5 + 0x2c ], %o0                        <== NOT EXECUTED
                break;                                                
        }                                                             
        j++;                                                          
    }                                                                 
                                                                      
    rtems_semaphore_release(fs_info->vol_sema);                       
 201b0a4:	7f ff bc 0a 	call  200a0cc <rtems_semaphore_release>        <== NOT EXECUTED
 201b0a8:	d0 06 60 98 	ld  [ %i1 + 0x98 ], %o0                        <== NOT EXECUTED
    return cmpltd;                                                    
 201b0ac:	82 10 00 11 	mov  %l1, %g1                                  <== NOT EXECUTED
}                                                                     
 201b0b0:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 201b0b4:	91 e8 00 01 	restore  %g0, %g1, %o0                         <== NOT EXECUTED
                    tmp_dirent.d_namlen = msdos_format_dirent_with_dot(
                        tmp_dirent.d_name, entry); /* src text */     
                }                                                     
                else                                                  
                {                                                     
                    tmp_dirent.d_namlen = strlen(tmp_dirent.d_name);  
 201b0b8:	40 00 07 1c 	call  201cd28 <strlen>                         <== NOT EXECUTED
 201b0bc:	90 07 be e4 	add  %fp, -284, %o0                            <== NOT EXECUTED
 201b0c0:	10 bf ff d2 	b  201b008 <msdos_dir_read+0x434>              <== NOT EXECUTED
 201b0c4:	d0 37 be e2 	sth  %o0, [ %fp + -286 ]                       <== NOT EXECUTED
 201b0c8:	84 10 20 03 	mov  3, %g2                                    <== NOT EXECUTED
    {};                                                               
  /*                                                                  
   * extension is not empty                                           
   */                                                                 
  if (i > 0) {                                                        
    *dst++ = '.'; /* append dot */                                    
 201b0cc:	86 07 80 03 	add  %fp, %g3, %g3                             <== NOT EXECUTED
 201b0d0:	9e 10 20 2e 	mov  0x2e, %o7                                 <== NOT EXECUTED
 201b0d4:	de 28 fe e4 	stb  %o7, [ %g3 + -284 ]                       <== NOT EXECUTED
    len += i + 1; /* extension + dot */                               
 201b0d8:	86 00 a0 01 	add  %g2, 1, %g3                               <== NOT EXECUTED
    src_tmp = src + MSDOS_SHORT_BASE_LEN;                             
    while (i-- > 0) {                                                 
      *dst++ = tolower((unsigned char)(*src_tmp++));                  
 201b0dc:	35 00 80 b1 	sethi  %hi(0x202c400), %i2                     <== NOT EXECUTED
  /*                                                                  
   * extension is not empty                                           
   */                                                                 
  if (i > 0) {                                                        
    *dst++ = '.'; /* append dot */                                    
    len += i + 1; /* extension + dot */                               
 201b0e0:	82 00 40 03 	add  %g1, %g3, %g1                             <== NOT EXECUTED
    {};                                                               
  /*                                                                  
   * extension is not empty                                           
   */                                                                 
  if (i > 0) {                                                        
    *dst++ = '.'; /* append dot */                                    
 201b0e4:	9a 01 20 01 	add  %g4, 1, %o5                               <== NOT EXECUTED
    len += i + 1; /* extension + dot */                               
    src_tmp = src + MSDOS_SHORT_BASE_LEN;                             
    while (i-- > 0) {                                                 
      *dst++ = tolower((unsigned char)(*src_tmp++));                  
 201b0e8:	de 06 a2 6c 	ld  [ %i2 + 0x26c ], %o7                       <== NOT EXECUTED
 201b0ec:	10 bf ff bb 	b  201afd8 <msdos_dir_read+0x404>              <== NOT EXECUTED
 201b0f0:	86 10 20 00 	clr  %g3                                       <== NOT EXECUTED
                                                                      

0201b22c <msdos_dir_rmnod>: * RC_OK on success, or -1 if error occured (errno set apropriately). */ int msdos_dir_rmnod(rtems_filesystem_location_info_t *parent_pathloc, rtems_filesystem_location_info_t *pathloc) {
 201b22c:	9d e3 bf 98 	save  %sp, -104, %sp                           <== NOT EXECUTED
    int                rc = RC_OK;                                    
    rtems_status_code  sc = RTEMS_SUCCESSFUL;                         
    msdos_fs_info_t   *fs_info = pathloc->mt_entry->fs_info;          
 201b230:	c2 06 60 10 	ld  [ %i1 + 0x10 ], %g1                        <== NOT EXECUTED
    fat_file_fd_t     *fat_fd = pathloc->node_access;                 
 201b234:	f8 06 40 00 	ld  [ %i1 ], %i4                               <== NOT EXECUTED
msdos_dir_rmnod(rtems_filesystem_location_info_t *parent_pathloc,     
                rtems_filesystem_location_info_t *pathloc)            
{                                                                     
    int                rc = RC_OK;                                    
    rtems_status_code  sc = RTEMS_SUCCESSFUL;                         
    msdos_fs_info_t   *fs_info = pathloc->mt_entry->fs_info;          
 201b238:	fa 00 60 34 	ld  [ %g1 + 0x34 ], %i5                        <== NOT EXECUTED
    fat_file_fd_t     *fat_fd = pathloc->node_access;                 
    bool               is_empty = false;                              
 201b23c:	c0 2f bf ff 	clrb  [ %fp + -1 ]                             <== NOT EXECUTED
                                                                      
    sc = rtems_semaphore_obtain(fs_info->vol_sema, RTEMS_WAIT,        
 201b240:	d0 07 60 98 	ld  [ %i5 + 0x98 ], %o0                        <== NOT EXECUTED
 201b244:	92 10 20 00 	clr  %o1                                       <== NOT EXECUTED
 201b248:	7f ff bb 57 	call  2009fa4 <rtems_semaphore_obtain>         <== NOT EXECUTED
 201b24c:	94 10 20 00 	clr  %o2                                       <== NOT EXECUTED
                                MSDOS_VOLUME_SEMAPHORE_TIMEOUT);      
    if (sc != RTEMS_SUCCESSFUL)                                       
 201b250:	80 a2 20 00 	cmp  %o0, 0                                    <== NOT EXECUTED
 201b254:	22 80 00 06 	be,a   201b26c <msdos_dir_rmnod+0x40>          <== NOT EXECUTED
 201b258:	c2 07 20 08 	ld  [ %i4 + 8 ], %g1                           <== NOT EXECUTED
        rtems_set_errno_and_return_minus_one(EIO);                    
 201b25c:	40 00 00 69 	call  201b400 <__errno>                        <== NOT EXECUTED
 201b260:	01 00 00 00 	nop                                            <== NOT EXECUTED
 201b264:	10 80 00 20 	b  201b2e4 <msdos_dir_rmnod+0xb8>              <== NOT EXECUTED
 201b268:	82 10 20 05 	mov  5, %g1	! 5 <PROM_START+0x5>               <== NOT EXECUTED
                                                                      
    /*                                                                
     * We deny attempts to delete open directory (if directory is current
     * directory we assume it is open one)                            
     */                                                               
    if (fat_fd->links_num > 1)                                        
 201b26c:	80 a0 60 01 	cmp  %g1, 1                                    <== NOT EXECUTED
 201b270:	18 80 00 18 	bgu  201b2d0 <msdos_dir_rmnod+0xa4>            <== NOT EXECUTED
 201b274:	01 00 00 00 	nop                                            <== NOT EXECUTED
    }                                                                 
                                                                      
    /*                                                                
     * You cannot remove a node that still has children               
     */                                                               
    rc = msdos_dir_is_empty(pathloc->mt_entry, fat_fd, &is_empty);    
 201b278:	d0 06 60 10 	ld  [ %i1 + 0x10 ], %o0                        <== NOT EXECUTED
 201b27c:	92 10 00 1c 	mov  %i4, %o1                                  <== NOT EXECUTED
 201b280:	7f ff f4 7c 	call  2018470 <msdos_dir_is_empty>             <== NOT EXECUTED
 201b284:	94 07 bf ff 	add  %fp, -1, %o2                              <== NOT EXECUTED
    if (rc != RC_OK)                                                  
 201b288:	b0 92 20 00 	orcc  %o0, 0, %i0                              <== NOT EXECUTED
 201b28c:	12 80 00 1e 	bne  201b304 <msdos_dir_rmnod+0xd8>            <== NOT EXECUTED
 201b290:	01 00 00 00 	nop                                            <== NOT EXECUTED
    {                                                                 
        rtems_semaphore_release(fs_info->vol_sema);                   
        return rc;                                                    
    }                                                                 
                                                                      
    if (!is_empty)                                                    
 201b294:	c2 0f bf ff 	ldub  [ %fp + -1 ], %g1                        <== NOT EXECUTED
 201b298:	80 a0 60 00 	cmp  %g1, 0                                    <== NOT EXECUTED
 201b29c:	32 80 00 08 	bne,a   201b2bc <msdos_dir_rmnod+0x90>         <== NOT EXECUTED
 201b2a0:	d0 06 60 10 	ld  [ %i1 + 0x10 ], %o0                        <== NOT EXECUTED
    {                                                                 
        rtems_semaphore_release(fs_info->vol_sema);                   
 201b2a4:	7f ff bb 8a 	call  200a0cc <rtems_semaphore_release>        <== NOT EXECUTED
 201b2a8:	d0 07 60 98 	ld  [ %i5 + 0x98 ], %o0                        <== NOT EXECUTED
        rtems_set_errno_and_return_minus_one(ENOTEMPTY);              
 201b2ac:	40 00 00 55 	call  201b400 <__errno>                        <== NOT EXECUTED
 201b2b0:	01 00 00 00 	nop                                            <== NOT EXECUTED
 201b2b4:	10 80 00 0c 	b  201b2e4 <msdos_dir_rmnod+0xb8>              <== NOT EXECUTED
 201b2b8:	82 10 20 5a 	mov  0x5a, %g1	! 5a <PROM_START+0x5a>          <== NOT EXECUTED
    }                                                                 
                                                                      
    /*                                                                
     * You cannot remove the file system root node.                   
     */                                                               
    if (rtems_filesystem_is_root_location(pathloc))                   
 201b2bc:	c2 06 40 00 	ld  [ %i1 ], %g1                               <== NOT EXECUTED
 201b2c0:	c4 02 20 1c 	ld  [ %o0 + 0x1c ], %g2                        <== NOT EXECUTED
 201b2c4:	80 a0 80 01 	cmp  %g2, %g1                                  <== NOT EXECUTED
 201b2c8:	12 80 00 0a 	bne  201b2f0 <msdos_dir_rmnod+0xc4>            <== NOT EXECUTED
 201b2cc:	92 07 20 20 	add  %i4, 0x20, %o1                            <== NOT EXECUTED
    {                                                                 
        rtems_semaphore_release(fs_info->vol_sema);                   
 201b2d0:	7f ff bb 7f 	call  200a0cc <rtems_semaphore_release>        <== NOT EXECUTED
 201b2d4:	d0 07 60 98 	ld  [ %i5 + 0x98 ], %o0                        <== NOT EXECUTED
        rtems_set_errno_and_return_minus_one(EBUSY);                  
 201b2d8:	40 00 00 4a 	call  201b400 <__errno>                        <== NOT EXECUTED
 201b2dc:	01 00 00 00 	nop                                            <== NOT EXECUTED
 201b2e0:	82 10 20 10 	mov  0x10, %g1	! 10 <PROM_START+0x10>          <== NOT EXECUTED
 201b2e4:	c2 22 00 00 	st  %g1, [ %o0 ]                               <== NOT EXECUTED
 201b2e8:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 201b2ec:	91 e8 3f ff 	restore  %g0, -1, %o0                          <== NOT EXECUTED
     * You cannot remove a mountpoint.                                
     * not used - mount() not implemenetd yet.                        
     */                                                               
                                                                      
    /* mark file removed */                                           
    rc = msdos_set_first_char4file_name(pathloc->mt_entry, &fat_fd->dir_pos,
 201b2f0:	7f ff f4 17 	call  201834c <msdos_set_first_char4file_name> <== NOT EXECUTED
 201b2f4:	94 10 20 e5 	mov  0xe5, %o2                                 <== NOT EXECUTED
                                        MSDOS_THIS_DIR_ENTRY_EMPTY);  
    if (rc != RC_OK)                                                  
 201b2f8:	b0 92 20 00 	orcc  %o0, 0, %i0                              <== NOT EXECUTED
 201b2fc:	22 80 00 06 	be,a   201b314 <msdos_dir_rmnod+0xe8>          <== NOT EXECUTED
 201b300:	d0 06 60 10 	ld  [ %i1 + 0x10 ], %o0                        <== NOT EXECUTED
    {                                                                 
        rtems_semaphore_release(fs_info->vol_sema);                   
 201b304:	7f ff bb 72 	call  200a0cc <rtems_semaphore_release>        <== NOT EXECUTED
 201b308:	d0 07 60 98 	ld  [ %i5 + 0x98 ], %o0                        <== NOT EXECUTED
        return rc;                                                    
 201b30c:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 201b310:	81 e8 00 00 	restore                                        <== NOT EXECUTED
    }                                                                 
                                                                      
    fat_file_mark_removed(pathloc->mt_entry, fat_fd);                 
 201b314:	7f ff dc f5 	call  20126e8 <fat_file_mark_removed>          <== NOT EXECUTED
 201b318:	92 10 00 1c 	mov  %i4, %o1                                  <== NOT EXECUTED
                                                                      
    rtems_semaphore_release(fs_info->vol_sema);                       
 201b31c:	7f ff bb 6c 	call  200a0cc <rtems_semaphore_release>        <== NOT EXECUTED
 201b320:	d0 07 60 98 	ld  [ %i5 + 0x98 ], %o0                        <== NOT EXECUTED
    return rc;                                                        
}                                                                     
 201b324:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 201b328:	81 e8 00 00 	restore                                        <== NOT EXECUTED
                                                                      

0201b128 <msdos_dir_stat>: int msdos_dir_stat( rtems_filesystem_location_info_t *loc, struct stat *buf ) {
 201b128:	9d e3 bf a0 	save  %sp, -96, %sp                            
    rtems_status_code  sc = RTEMS_SUCCESSFUL;                         
    msdos_fs_info_t   *fs_info = loc->mt_entry->fs_info;              
 201b12c:	c2 06 20 10 	ld  [ %i0 + 0x10 ], %g1                        
    fat_file_fd_t     *fat_fd = loc->node_access;                     
 201b130:	f8 06 00 00 	ld  [ %i0 ], %i4                               
    rtems_filesystem_location_info_t *loc,                            
    struct stat                      *buf                             
    )                                                                 
{                                                                     
    rtems_status_code  sc = RTEMS_SUCCESSFUL;                         
    msdos_fs_info_t   *fs_info = loc->mt_entry->fs_info;              
 201b134:	fa 00 60 34 	ld  [ %g1 + 0x34 ], %i5                        
    fat_file_fd_t     *fat_fd = loc->node_access;                     
                                                                      
    sc = rtems_semaphore_obtain(fs_info->vol_sema, RTEMS_WAIT,        
 201b138:	92 10 20 00 	clr  %o1                                       
 201b13c:	d0 07 60 98 	ld  [ %i5 + 0x98 ], %o0                        
 201b140:	7f ff bb 99 	call  2009fa4 <rtems_semaphore_obtain>         
 201b144:	94 10 20 00 	clr  %o2                                       
                                MSDOS_VOLUME_SEMAPHORE_TIMEOUT);      
    if (sc != RTEMS_SUCCESSFUL)                                       
 201b148:	80 a2 20 00 	cmp  %o0, 0                                    
 201b14c:	22 80 00 08 	be,a   201b16c <msdos_dir_stat+0x44>           <== ALWAYS TAKEN
 201b150:	c2 07 20 0c 	ld  [ %i4 + 0xc ], %g1                         
        rtems_set_errno_and_return_minus_one(EIO);                    
 201b154:	40 00 00 ab 	call  201b400 <__errno>                        <== NOT EXECUTED
 201b158:	b0 10 3f ff 	mov  -1, %i0                                   <== NOT EXECUTED
 201b15c:	82 10 20 05 	mov  5, %g1                                    <== NOT EXECUTED
 201b160:	c2 22 00 00 	st  %g1, [ %o0 ]                               <== NOT EXECUTED
 201b164:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 201b168:	81 e8 00 00 	restore                                        <== NOT EXECUTED
                                                                      
    buf->st_dev = fs_info->fat.vol.dev;                               
 201b16c:	c4 1f 60 58 	ldd  [ %i5 + 0x58 ], %g2                       
    buf->st_ino = fat_fd->ino;                                        
 201b170:	c2 26 60 08 	st  %g1, [ %i1 + 8 ]                           
    buf->st_mode  = S_IFDIR | S_IRWXU | S_IRWXG | S_IRWXO;            
 201b174:	03 00 00 10 	sethi  %hi(0x4000), %g1                        
 201b178:	82 10 61 ff 	or  %g1, 0x1ff, %g1	! 41ff <PROM_START+0x41ff> 
 201b17c:	c2 26 60 0c 	st  %g1, [ %i1 + 0xc ]                         
    buf->st_rdev = 0ll;                                               
    buf->st_size = fat_fd->fat_file_size;                             
 201b180:	c2 07 20 18 	ld  [ %i4 + 0x18 ], %g1                        
    buf->st_blocks = fat_fd->fat_file_size >> FAT_SECTOR512_BITS;     
    buf->st_blksize = fs_info->fat.vol.bps;                           
    buf->st_mtime = fat_fd->mtime;                                    
                                                                      
    rtems_semaphore_release(fs_info->vol_sema);                       
 201b184:	d0 07 60 98 	ld  [ %i5 + 0x98 ], %o0                        
                                                                      
    buf->st_dev = fs_info->fat.vol.dev;                               
    buf->st_ino = fat_fd->ino;                                        
    buf->st_mode  = S_IFDIR | S_IRWXU | S_IRWXG | S_IRWXO;            
    buf->st_rdev = 0ll;                                               
    buf->st_size = fat_fd->fat_file_size;                             
 201b188:	c2 26 60 24 	st  %g1, [ %i1 + 0x24 ]                        
    buf->st_blocks = fat_fd->fat_file_size >> FAT_SECTOR512_BITS;     
 201b18c:	83 30 60 09 	srl  %g1, 9, %g1                               
 201b190:	c2 26 60 44 	st  %g1, [ %i1 + 0x44 ]                        
    buf->st_blksize = fs_info->fat.vol.bps;                           
 201b194:	c2 17 40 00 	lduh  [ %i5 ], %g1                             
    sc = rtems_semaphore_obtain(fs_info->vol_sema, RTEMS_WAIT,        
                                MSDOS_VOLUME_SEMAPHORE_TIMEOUT);      
    if (sc != RTEMS_SUCCESSFUL)                                       
        rtems_set_errno_and_return_minus_one(EIO);                    
                                                                      
    buf->st_dev = fs_info->fat.vol.dev;                               
 201b198:	c4 3e 40 00 	std  %g2, [ %i1 ]                              
    buf->st_ino = fat_fd->ino;                                        
    buf->st_mode  = S_IFDIR | S_IRWXU | S_IRWXG | S_IRWXO;            
    buf->st_rdev = 0ll;                                               
    buf->st_size = fat_fd->fat_file_size;                             
    buf->st_blocks = fat_fd->fat_file_size >> FAT_SECTOR512_BITS;     
    buf->st_blksize = fs_info->fat.vol.bps;                           
 201b19c:	c2 26 60 40 	st  %g1, [ %i1 + 0x40 ]                        
    buf->st_mtime = fat_fd->mtime;                                    
 201b1a0:	c2 07 20 40 	ld  [ %i4 + 0x40 ], %g1                        
        rtems_set_errno_and_return_minus_one(EIO);                    
                                                                      
    buf->st_dev = fs_info->fat.vol.dev;                               
    buf->st_ino = fat_fd->ino;                                        
    buf->st_mode  = S_IFDIR | S_IRWXU | S_IRWXG | S_IRWXO;            
    buf->st_rdev = 0ll;                                               
 201b1a4:	c0 26 60 18 	clr  [ %i1 + 0x18 ]                            
 201b1a8:	c0 26 60 1c 	clr  [ %i1 + 0x1c ]                            
    buf->st_size = fat_fd->fat_file_size;                             
 201b1ac:	c0 26 60 20 	clr  [ %i1 + 0x20 ]                            
    buf->st_blocks = fat_fd->fat_file_size >> FAT_SECTOR512_BITS;     
    buf->st_blksize = fs_info->fat.vol.bps;                           
    buf->st_mtime = fat_fd->mtime;                                    
 201b1b0:	c2 26 60 30 	st  %g1, [ %i1 + 0x30 ]                        
                                                                      
    rtems_semaphore_release(fs_info->vol_sema);                       
 201b1b4:	7f ff bb c6 	call  200a0cc <rtems_semaphore_release>        
 201b1b8:	b0 10 20 00 	clr  %i0                                       
    return RC_OK;                                                     
}                                                                     
 201b1bc:	81 c7 e0 08 	ret                                            
 201b1c0:	81 e8 00 00 	restore                                        
                                                                      

0201b1c4 <msdos_dir_sync>: * RETURNS: * RC_OK on success, or -1 if error occured (errno set apropriately). */ int msdos_dir_sync(rtems_libio_t *iop) {
 201b1c4:	9d e3 bf a0 	save  %sp, -96, %sp                            <== NOT EXECUTED
    int                rc = RC_OK;                                    
    rtems_status_code  sc = RTEMS_SUCCESSFUL;                         
    fat_file_fd_t     *fat_fd = iop->pathinfo.node_access;            
    msdos_fs_info_t   *fs_info = iop->pathinfo.mt_entry->fs_info;     
 201b1c8:	c2 06 20 2c 	ld  [ %i0 + 0x2c ], %g1                        <== NOT EXECUTED
int                                                                   
msdos_dir_sync(rtems_libio_t *iop)                                    
{                                                                     
    int                rc = RC_OK;                                    
    rtems_status_code  sc = RTEMS_SUCCESSFUL;                         
    fat_file_fd_t     *fat_fd = iop->pathinfo.node_access;            
 201b1cc:	f8 06 20 1c 	ld  [ %i0 + 0x1c ], %i4                        <== NOT EXECUTED
    msdos_fs_info_t   *fs_info = iop->pathinfo.mt_entry->fs_info;     
 201b1d0:	fa 00 60 34 	ld  [ %g1 + 0x34 ], %i5                        <== NOT EXECUTED
                                                                      
    sc = rtems_semaphore_obtain(fs_info->vol_sema, RTEMS_WAIT,        
 201b1d4:	92 10 20 00 	clr  %o1                                       <== NOT EXECUTED
 201b1d8:	d0 07 60 98 	ld  [ %i5 + 0x98 ], %o0                        <== NOT EXECUTED
 201b1dc:	7f ff bb 72 	call  2009fa4 <rtems_semaphore_obtain>         <== NOT EXECUTED
 201b1e0:	94 10 20 00 	clr  %o2                                       <== NOT EXECUTED
                                MSDOS_VOLUME_SEMAPHORE_TIMEOUT);      
    if (sc != RTEMS_SUCCESSFUL)                                       
 201b1e4:	80 a2 20 00 	cmp  %o0, 0                                    <== NOT EXECUTED
 201b1e8:	22 80 00 08 	be,a   201b208 <msdos_dir_sync+0x44>           <== NOT EXECUTED
 201b1ec:	d0 06 20 2c 	ld  [ %i0 + 0x2c ], %o0                        <== NOT EXECUTED
        rtems_set_errno_and_return_minus_one(EIO);                    
 201b1f0:	40 00 00 84 	call  201b400 <__errno>                        <== NOT EXECUTED
 201b1f4:	b0 10 3f ff 	mov  -1, %i0                                   <== NOT EXECUTED
 201b1f8:	82 10 20 05 	mov  5, %g1                                    <== NOT EXECUTED
 201b1fc:	c2 22 00 00 	st  %g1, [ %o0 ]                               <== NOT EXECUTED
 201b200:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 201b204:	81 e8 00 00 	restore                                        <== NOT EXECUTED
                                                                      
    rc = fat_file_datasync(iop->pathinfo.mt_entry, fat_fd);           
 201b208:	7f ff dd 4d 	call  201273c <fat_file_datasync>              <== NOT EXECUTED
 201b20c:	92 10 00 1c 	mov  %i4, %o1                                  <== NOT EXECUTED
 201b210:	b0 10 00 08 	mov  %o0, %i0                                  <== NOT EXECUTED
                                                                      
    rtems_semaphore_release(fs_info->vol_sema);                       
 201b214:	7f ff bb ae 	call  200a0cc <rtems_semaphore_release>        <== NOT EXECUTED
 201b218:	d0 07 60 98 	ld  [ %i5 + 0x98 ], %o0                        <== NOT EXECUTED
    return rc;                                                        
}                                                                     
 201b21c:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 201b220:	81 e8 00 00 	restore                                        <== NOT EXECUTED
                                                                      

02017358 <msdos_eval4make>: msdos_eval4make( const char *path, rtems_filesystem_location_info_t *pathloc, const char **name ) {
 2017358:	9d e3 bf 80 	save  %sp, -128, %sp                           
    int                               rc = RC_OK;                     
    rtems_status_code                 sc = RTEMS_SUCCESSFUL;          
    msdos_fs_info_t                  *fs_info = pathloc->mt_entry->fs_info;
 201735c:	c2 06 60 10 	ld  [ %i1 + 0x10 ], %g1                        
    int                               i = 0;                          
    int                               token_len;                      
    const char                       *token;                          
    bool                              done = false;                   
                                                                      
    sc = rtems_semaphore_obtain(fs_info->vol_sema, RTEMS_WAIT,        
 2017360:	92 10 20 00 	clr  %o1                                       
    const char                        **name                          
    )                                                                 
{                                                                     
    int                               rc = RC_OK;                     
    rtems_status_code                 sc = RTEMS_SUCCESSFUL;          
    msdos_fs_info_t                  *fs_info = pathloc->mt_entry->fs_info;
 2017364:	f6 00 60 34 	ld  [ %g1 + 0x34 ], %i3                        
    int                               i = 0;                          
    int                               token_len;                      
    const char                       *token;                          
    bool                              done = false;                   
                                                                      
    sc = rtems_semaphore_obtain(fs_info->vol_sema, RTEMS_WAIT,        
 2017368:	94 10 20 00 	clr  %o2                                       
 201736c:	d0 06 e0 98 	ld  [ %i3 + 0x98 ], %o0                        
 2017370:	7f ff cb 0d 	call  2009fa4 <rtems_semaphore_obtain>         
 2017374:	ba 10 00 18 	mov  %i0, %i5                                  
                                MSDOS_VOLUME_SEMAPHORE_TIMEOUT);      
    if (sc != RTEMS_SUCCESSFUL)                                       
 2017378:	80 a2 20 00 	cmp  %o0, 0                                    
 201737c:	22 80 00 08 	be,a   201739c <msdos_eval4make+0x44>          <== ALWAYS TAKEN
 2017380:	d0 06 40 00 	ld  [ %i1 ], %o0                               
        rtems_set_errno_and_return_minus_one(EIO);                    
 2017384:	40 00 10 1f 	call  201b400 <__errno>                        <== NOT EXECUTED
 2017388:	b0 10 3f ff 	mov  -1, %i0                                   <== NOT EXECUTED
 201738c:	82 10 20 05 	mov  5, %g1                                    <== NOT EXECUTED
 2017390:	c2 22 00 00 	st  %g1, [ %o0 ]                               <== NOT EXECUTED
 2017394:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2017398:	81 e8 00 00 	restore                                        <== NOT EXECUTED
                                                                      
    if (!pathloc->node_access)                                        
 201739c:	80 a2 20 00 	cmp  %o0, 0                                    
 20173a0:	12 80 00 07 	bne  20173bc <msdos_eval4make+0x64>            <== ALWAYS TAKEN
 20173a4:	01 00 00 00 	nop                                            
    {                                                                 
        errno = ENOENT;                                               
 20173a8:	40 00 10 16 	call  201b400 <__errno>                        <== NOT EXECUTED
 20173ac:	b0 10 3f ff 	mov  -1, %i0	! ffffffff <RAM_END+0xfdbfffff>   <== NOT EXECUTED
 20173b0:	82 10 20 02 	mov  2, %g1                                    <== NOT EXECUTED
        rc = -1;                                                      
        goto err;                                                     
 20173b4:	10 80 00 98 	b  2017614 <msdos_eval4make+0x2bc>             <== NOT EXECUTED
 20173b8:	c2 22 00 00 	st  %g1, [ %o0 ]                               <== NOT EXECUTED
    }                                                                 
                                                                      
    fat_fd = pathloc->node_access;                                    
                                                                      
    rc = fat_file_reopen(fat_fd);                                     
 20173bc:	7f ff ea b3 	call  2011e88 <fat_file_reopen>                
 20173c0:	01 00 00 00 	nop                                            
    if (rc != RC_OK)                                                  
 20173c4:	b0 92 20 00 	orcc  %o0, 0, %i0                              
 20173c8:	12 80 00 93 	bne  2017614 <msdos_eval4make+0x2bc>           <== NEVER TAKEN
 20173cc:	b8 10 20 00 	clr  %i4                                       
                    /*                                                
                     *  Am I at the root of all filesystems?          
                     *  XXX: MSDOS is not supposed to be base fs.     
                     */                                               
                    if (pathloc->node_access ==                       
                        rtems_filesystem_root.node_access)            
 20173d0:	21 00 80 b1 	sethi  %hi(0x202c400), %l0                     
    if (rc != RC_OK)                                                  
        goto err;                                                     
                                                                      
    while (!done)                                                     
    {                                                                 
        type = msdos_get_token(&path[i], strlen(&path[i]), &token, &token_len);
 20173d4:	a2 07 40 1c 	add  %i5, %i4, %l1                             
 20173d8:	40 00 16 54 	call  201cd28 <strlen>                         
 20173dc:	90 10 00 11 	mov  %l1, %o0                                  
 20173e0:	94 07 bf fc 	add  %fp, -4, %o2                              
 20173e4:	92 10 00 08 	mov  %o0, %o1                                  
 20173e8:	96 07 bf f8 	add  %fp, -8, %o3                              
 20173ec:	40 00 03 18 	call  201804c <msdos_get_token>                
 20173f0:	90 10 00 11 	mov  %l1, %o0                                  
        i += token_len;                                               
 20173f4:	d4 07 bf f8 	ld  [ %fp + -8 ], %o2                          
    if (rc != RC_OK)                                                  
        goto err;                                                     
                                                                      
    while (!done)                                                     
    {                                                                 
        type = msdos_get_token(&path[i], strlen(&path[i]), &token, &token_len);
 20173f8:	a4 10 00 08 	mov  %o0, %l2                                  
        i += token_len;                                               
 20173fc:	b8 07 00 0a 	add  %i4, %o2, %i4                             
        fat_fd = pathloc->node_access;                                
                                                                      
        switch (type)                                                 
 2017400:	80 a2 20 02 	cmp  %o0, 2                                    
 2017404:	02 80 00 0f 	be  2017440 <msdos_eval4make+0xe8>             
 2017408:	e2 06 40 00 	ld  [ %i1 ], %l1                               
 201740c:	80 a2 20 02 	cmp  %o0, 2                                    
 2017410:	18 80 00 07 	bgu  201742c <msdos_eval4make+0xd4>            
 2017414:	80 a2 20 03 	cmp  %o0, 3                                    
 2017418:	80 a2 20 00 	cmp  %o0, 0                                    
 201741c:	02 80 00 50 	be  201755c <msdos_eval4make+0x204>            
 2017420:	01 00 00 00 	nop                                            
    if (rc != RC_OK)                                                  
        goto err;                                                     
                                                                      
    while (!done)                                                     
    {                                                                 
        type = msdos_get_token(&path[i], strlen(&path[i]), &token, &token_len);
 2017424:	10 bf ff ed 	b  20173d8 <msdos_eval4make+0x80>              
 2017428:	a2 07 40 1c 	add  %i5, %i4, %l1                             
        i += token_len;                                               
        fat_fd = pathloc->node_access;                                
                                                                      
        switch (type)                                                 
 201742c:	02 80 00 3c 	be  201751c <msdos_eval4make+0x1c4>            <== ALWAYS TAKEN
 2017430:	80 a2 20 04 	cmp  %o0, 4                                    
 2017434:	32 bf ff e9 	bne,a   20173d8 <msdos_eval4make+0x80>         <== NOT EXECUTED
 2017438:	a2 07 40 1c 	add  %i5, %i4, %l1                             <== NOT EXECUTED
 201743c:	30 80 00 4c 	b,a   201756c <msdos_eval4make+0x214>          <== NOT EXECUTED
        {                                                             
            case MSDOS_UP_DIR:                                        
                /*                                                    
                 *  Only a directory can be decended into.            
                 */                                                   
                if (fat_fd->fat_file_type != FAT_DIRECTORY)           
 2017440:	c2 04 60 10 	ld  [ %l1 + 0x10 ], %g1                        
 2017444:	80 a0 60 01 	cmp  %g1, 1                                    
 2017448:	12 80 00 63 	bne  20175d4 <msdos_eval4make+0x27c>           <== NEVER TAKEN
 201744c:	01 00 00 00 	nop                                            
 2017450:	d2 06 60 10 	ld  [ %i1 + 0x10 ], %o1                        
 2017454:	e6 02 60 1c 	ld  [ %o1 + 0x1c ], %l3                        
                }                                                     
                                                                      
                /*                                                    
                 *  Am I at the root of this mounted filesystem?      
                 */                                                   
                if (rtems_filesystem_is_root_location(pathloc))       
 2017458:	80 a4 c0 11 	cmp  %l3, %l1                                  
 201745c:	32 80 00 21 	bne,a   20174e0 <msdos_eval4make+0x188>        <== NEVER TAKEN
 2017460:	d2 07 bf fc 	ld  [ %fp + -4 ], %o1                          <== NOT EXECUTED
                    /*                                                
                     *  Am I at the root of all filesystems?          
                     *  XXX: MSDOS is not supposed to be base fs.     
                     */                                               
                    if (pathloc->node_access ==                       
                        rtems_filesystem_root.node_access)            
 2017464:	c2 04 20 ac 	ld  [ %l0 + 0xac ], %g1                        
                {                                                     
                    /*                                                
                     *  Am I at the root of all filesystems?          
                     *  XXX: MSDOS is not supposed to be base fs.     
                     */                                               
                    if (pathloc->node_access ==                       
 2017468:	c2 00 60 18 	ld  [ %g1 + 0x18 ], %g1                        
 201746c:	80 a4 c0 01 	cmp  %l3, %g1                                  
 2017470:	22 bf ff da 	be,a   20173d8 <msdos_eval4make+0x80>          <== ALWAYS TAKEN
 2017474:	a2 07 40 1c 	add  %i5, %i4, %l1                             
                    {                                                 
                        break;       /* Throw out the .. in this case */
                    }                                                 
                    else                                              
                    {                                                 
                        newloc = pathloc->mt_entry->mt_point_node;    
 2017478:	92 02 60 08 	add  %o1, 8, %o1                               <== NOT EXECUTED
 201747c:	94 10 20 14 	mov  0x14, %o2                                 <== NOT EXECUTED
 2017480:	40 00 12 af 	call  201bf3c <memcpy>                         <== NOT EXECUTED
 2017484:	90 07 bf e4 	add  %fp, -28, %o0                             <== NOT EXECUTED
                        *pathloc = newloc;                            
 2017488:	92 07 bf e4 	add  %fp, -28, %o1                             <== NOT EXECUTED
 201748c:	94 10 20 14 	mov  0x14, %o2                                 <== NOT EXECUTED
 2017490:	40 00 12 ab 	call  201bf3c <memcpy>                         <== NOT EXECUTED
 2017494:	90 10 00 19 	mov  %i1, %o0                                  <== NOT EXECUTED
                                                                      
                        rc = fat_file_close(pathloc->mt_entry, fat_fd);
 2017498:	d0 06 60 10 	ld  [ %i1 + 0x10 ], %o0                        <== NOT EXECUTED
 201749c:	7f ff eb 33 	call  2012168 <fat_file_close>                 <== NOT EXECUTED
 20174a0:	92 10 00 13 	mov  %l3, %o1                                  <== NOT EXECUTED
                        if (rc != RC_OK)                              
 20174a4:	b0 92 20 00 	orcc  %o0, 0, %i0                              <== NOT EXECUTED
 20174a8:	12 80 00 5b 	bne  2017614 <msdos_eval4make+0x2bc>           <== NOT EXECUTED
 20174ac:	01 00 00 00 	nop                                            <== NOT EXECUTED
                            goto err;                                 
                                                                      
                        rtems_semaphore_release(fs_info->vol_sema);   
 20174b0:	7f ff cb 07 	call  200a0cc <rtems_semaphore_release>        <== NOT EXECUTED
 20174b4:	d0 06 e0 98 	ld  [ %i3 + 0x98 ], %o0                        <== NOT EXECUTED
                        return (*pathloc->ops->evalformake_h)(&path[i-token_len],
 20174b8:	c2 06 60 0c 	ld  [ %i1 + 0xc ], %g1                         <== NOT EXECUTED
 20174bc:	c4 07 bf f8 	ld  [ %fp + -8 ], %g2                          <== NOT EXECUTED
 20174c0:	c2 00 60 04 	ld  [ %g1 + 4 ], %g1                           <== NOT EXECUTED
 20174c4:	b8 27 00 02 	sub  %i4, %g2, %i4                             <== NOT EXECUTED
 20174c8:	92 10 00 19 	mov  %i1, %o1                                  <== NOT EXECUTED
 20174cc:	90 07 40 1c 	add  %i5, %i4, %o0                             <== NOT EXECUTED
 20174d0:	9f c0 40 00 	call  %g1                                      <== NOT EXECUTED
 20174d4:	94 10 00 1a 	mov  %i2, %o2                                  <== NOT EXECUTED
 20174d8:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 20174dc:	91 e8 00 08 	restore  %g0, %o0, %o0                         <== NOT EXECUTED
                                                              pathloc, name);
                    }                                                 
                }                                                     
                else                                                  
                {                                                     
                    rc = msdos_find_name(pathloc, token, token_len);  
 20174e0:	40 00 07 df 	call  201945c <msdos_find_name>                <== NOT EXECUTED
 20174e4:	90 10 00 19 	mov  %i1, %o0                                  <== NOT EXECUTED
                    if (rc != RC_OK)                                  
 20174e8:	a6 92 20 00 	orcc  %o0, 0, %l3                              <== NOT EXECUTED
 20174ec:	22 bf ff bb 	be,a   20173d8 <msdos_eval4make+0x80>          <== NOT EXECUTED
 20174f0:	a2 07 40 1c 	add  %i5, %i4, %l1                             <== NOT EXECUTED
                    {                                                 
                        if (rc == MSDOS_NAME_NOT_FOUND_ERR)           
 20174f4:	03 00 00 1f 	sethi  %hi(0x7c00), %g1                        <== NOT EXECUTED
 20174f8:	82 10 61 01 	or  %g1, 0x101, %g1	! 7d01 <PROM_START+0x7d01> <== NOT EXECUTED
 20174fc:	80 a4 c0 01 	cmp  %l3, %g1                                  <== NOT EXECUTED
 2017500:	32 80 00 42 	bne,a   2017608 <msdos_eval4make+0x2b0>        <== NOT EXECUTED
 2017504:	d0 06 60 10 	ld  [ %i1 + 0x10 ], %o0                        <== NOT EXECUTED
                        {                                             
                            errno = ENOENT;                           
 2017508:	40 00 0f be 	call  201b400 <__errno>                        <== NOT EXECUTED
 201750c:	01 00 00 00 	nop                                            <== NOT EXECUTED
 2017510:	e4 22 00 00 	st  %l2, [ %o0 ]                               <== NOT EXECUTED
                            rc = -1;                                  
 2017514:	10 80 00 3c 	b  2017604 <msdos_eval4make+0x2ac>             
 2017518:	a6 10 3f ff 	mov  -1, %l3                                   
                                                                      
            case MSDOS_NAME:                                          
                /*                                                    
                 *  Only a directory can be decended into.            
                 */                                                   
                if (fat_fd->fat_file_type != FAT_DIRECTORY)           
 201751c:	c2 04 60 10 	ld  [ %l1 + 0x10 ], %g1                        
 2017520:	80 a0 60 01 	cmp  %g1, 1                                    
 2017524:	12 80 00 2c 	bne  20175d4 <msdos_eval4make+0x27c>           
 2017528:	01 00 00 00 	nop                                            
                                                                      
                /*                                                    
                 * Otherwise find the token name in the present location and
                 * set the node access to the point we have found.    
                 */                                                   
                rc = msdos_find_name(pathloc, token, token_len);      
 201752c:	d2 07 bf fc 	ld  [ %fp + -4 ], %o1                          
 2017530:	40 00 07 cb 	call  201945c <msdos_find_name>                
 2017534:	90 10 00 19 	mov  %i1, %o0                                  
                if (rc)                                               
 2017538:	80 a2 20 00 	cmp  %o0, 0                                    
 201753c:	22 bf ff a7 	be,a   20173d8 <msdos_eval4make+0x80>          
 2017540:	a2 07 40 1c 	add  %i5, %i4, %l1                             
                {                                                     
                    if (rc != MSDOS_NAME_NOT_FOUND_ERR)               
 2017544:	03 00 00 1f 	sethi  %hi(0x7c00), %g1                        
 2017548:	82 10 61 01 	or  %g1, 0x101, %g1	! 7d01 <PROM_START+0x7d01> 
 201754c:	80 a2 00 01 	cmp  %o0, %g1                                  
 2017550:	22 80 00 0b 	be,a   201757c <msdos_eval4make+0x224>         <== ALWAYS TAKEN
 2017554:	c2 07 bf f8 	ld  [ %fp + -8 ], %g1                          
 2017558:	30 80 00 12 	b,a   20175a0 <msdos_eval4make+0x248>          <== NOT EXECUTED
                        done = true;                                  
                }                                                     
                break;                                                
                                                                      
            case MSDOS_NO_MORE_PATH:                                  
                errno = EEXIST;                                       
 201755c:	40 00 0f a9 	call  201b400 <__errno>                        
 2017560:	01 00 00 00 	nop                                            
 2017564:	10 80 00 1f 	b  20175e0 <msdos_eval4make+0x288>             
 2017568:	82 10 20 11 	mov  0x11, %g1	! 11 <PROM_START+0x11>          
                                                                      
            case MSDOS_CURRENT_DIR:                                   
                break;                                                
                                                                      
            case MSDOS_INVALID_TOKEN:                                 
                errno = ENAMETOOLONG;                                 
 201756c:	40 00 0f a5 	call  201b400 <__errno>                        <== NOT EXECUTED
 2017570:	01 00 00 00 	nop                                            <== NOT EXECUTED
 2017574:	10 80 00 1b 	b  20175e0 <msdos_eval4make+0x288>             <== NOT EXECUTED
 2017578:	82 10 20 5b 	mov  0x5b, %g1	! 5b <PROM_START+0x5b>          <== NOT EXECUTED
                break;                                                
                                                                      
        }                                                             
    }                                                                 
                                                                      
    *name = &path[i - token_len];                                     
 201757c:	82 27 00 01 	sub  %i4, %g1, %g1                             
 2017580:	82 07 40 01 	add  %i5, %g1, %g1                             
                                                                      
    /*                                                                
     * We have evaluated the path as far as we can.                   
     * Verify there is not any invalid stuff at the end of the name.  
     */                                                               
    for( ; path[i] != '\0'; i++)                                      
 2017584:	10 80 00 0b 	b  20175b0 <msdos_eval4make+0x258>             
 2017588:	c2 26 80 00 	st  %g1, [ %i2 ]                               
    {                                                                 
        if (!msdos_is_separator(path[i]))                             
 201758c:	7f ff bf a0 	call  200740c <rtems_filesystem_is_separator>  
 2017590:	01 00 00 00 	nop                                            
 2017594:	80 a2 20 00 	cmp  %o0, 0                                    
 2017598:	32 80 00 06 	bne,a   20175b0 <msdos_eval4make+0x258>        
 201759c:	b8 07 20 01 	inc  %i4                                       
        {                                                             
            errno = ENOENT;                                           
 20175a0:	40 00 0f 98 	call  201b400 <__errno>                        
 20175a4:	01 00 00 00 	nop                                            
 20175a8:	10 80 00 0e 	b  20175e0 <msdos_eval4make+0x288>             
 20175ac:	82 10 20 02 	mov  2, %g1	! 2 <PROM_START+0x2>               
                                                                      
    /*                                                                
     * We have evaluated the path as far as we can.                   
     * Verify there is not any invalid stuff at the end of the name.  
     */                                                               
    for( ; path[i] != '\0'; i++)                                      
 20175b0:	d0 4f 40 1c 	ldsb  [ %i5 + %i4 ], %o0                       
 20175b4:	80 a2 20 00 	cmp  %o0, 0                                    
 20175b8:	12 bf ff f5 	bne  201758c <msdos_eval4make+0x234>           
 20175bc:	01 00 00 00 	nop                                            
            rc = -1;                                                  
            goto error;                                               
        }                                                             
    }                                                                 
                                                                      
    fat_fd = pathloc->node_access;                                    
 20175c0:	e2 06 40 00 	ld  [ %i1 ], %l1                               
                                                                      
    if (fat_fd->fat_file_type != FAT_DIRECTORY)                       
 20175c4:	c2 04 60 10 	ld  [ %l1 + 0x10 ], %g1                        
 20175c8:	80 a0 60 01 	cmp  %g1, 1                                    
 20175cc:	22 80 00 07 	be,a   20175e8 <msdos_eval4make+0x290>         <== ALWAYS TAKEN
 20175d0:	c2 06 60 10 	ld  [ %i1 + 0x10 ], %g1                        
    {                                                                 
        errno = ENOTDIR;                                              
 20175d4:	40 00 0f 8b 	call  201b400 <__errno>                        
 20175d8:	01 00 00 00 	nop                                            
 20175dc:	82 10 20 14 	mov  0x14, %g1	! 14 <PROM_START+0x14>          
 20175e0:	10 bf ff cd 	b  2017514 <msdos_eval4make+0x1bc>             
 20175e4:	c2 22 00 00 	st  %g1, [ %o0 ]                               
        goto error;                                                   
    }                                                                 
                                                                      
    msdos_set_handlers(pathloc);                                      
                                                                      
    rtems_semaphore_release(fs_info->vol_sema);                       
 20175e8:	d0 06 e0 98 	ld  [ %i3 + 0x98 ], %o0                        
{                                                                     
    msdos_fs_info_t *fs_info = loc->mt_entry->fs_info;                
    fat_file_fd_t   *fat_fd = loc->node_access;                       
                                                                      
    if (fat_fd->fat_file_type == FAT_DIRECTORY)                       
        loc->handlers = fs_info->directory_handlers;                  
 20175ec:	c2 00 60 34 	ld  [ %g1 + 0x34 ], %g1                        
 20175f0:	c2 00 60 90 	ld  [ %g1 + 0x90 ], %g1                        
        goto error;                                                   
    }                                                                 
                                                                      
    msdos_set_handlers(pathloc);                                      
                                                                      
    rtems_semaphore_release(fs_info->vol_sema);                       
 20175f4:	7f ff ca b6 	call  200a0cc <rtems_semaphore_release>        
 20175f8:	c2 26 60 08 	st  %g1, [ %i1 + 8 ]                           
    return RC_OK;                                                     
 20175fc:	81 c7 e0 08 	ret                                            
 2017600:	81 e8 00 00 	restore                                        
                                                                      
error:                                                                
    fat_file_close(pathloc->mt_entry, fat_fd);                        
 2017604:	d0 06 60 10 	ld  [ %i1 + 0x10 ], %o0                        
 2017608:	92 10 00 11 	mov  %l1, %o1                                  
 201760c:	7f ff ea d7 	call  2012168 <fat_file_close>                 
 2017610:	b0 10 00 13 	mov  %l3, %i0                                  
                                                                      
err:                                                                  
    rtems_semaphore_release(fs_info->vol_sema);                       
 2017614:	7f ff ca ae 	call  200a0cc <rtems_semaphore_release>        
 2017618:	d0 06 e0 98 	ld  [ %i3 + 0x98 ], %o0                        
    return rc;                                                        
}                                                                     
 201761c:	81 c7 e0 08 	ret                                            
 2017620:	81 e8 00 00 	restore                                        
                                                                      

020170dc <msdos_eval_path>: const char *pathname, size_t pathnamelen, int flags, rtems_filesystem_location_info_t *pathloc ) {
 20170dc:	9d e3 bf 80 	save  %sp, -128, %sp                           
    int                               rc = RC_OK;                     
    rtems_status_code                 sc = RTEMS_SUCCESSFUL;          
    msdos_fs_info_t                  *fs_info = pathloc->mt_entry->fs_info;
 20170e0:	c2 06 e0 10 	ld  [ %i3 + 0x10 ], %g1                        
    fat_file_fd_t                    *fat_fd = NULL;                  
    rtems_filesystem_location_info_t  newloc;                         
    int                               i = 0;                          
    int                               token_len = 0;                  
 20170e4:	c0 27 bf f8 	clr  [ %fp + -8 ]                              
    rtems_filesystem_location_info_t  *pathloc                        
    )                                                                 
{                                                                     
    int                               rc = RC_OK;                     
    rtems_status_code                 sc = RTEMS_SUCCESSFUL;          
    msdos_fs_info_t                  *fs_info = pathloc->mt_entry->fs_info;
 20170e8:	f8 00 60 34 	ld  [ %g1 + 0x34 ], %i4                        
    int                               i = 0;                          
    int                               token_len = 0;                  
    msdos_token_types_t               type = MSDOS_CURRENT_DIR;       
    const char                       *token;                          
                                                                      
    sc = rtems_semaphore_obtain(fs_info->vol_sema, RTEMS_WAIT,        
 20170ec:	92 10 20 00 	clr  %o1                                       
 20170f0:	d0 07 20 98 	ld  [ %i4 + 0x98 ], %o0                        
 20170f4:	94 10 20 00 	clr  %o2                                       
 20170f8:	7f ff cb ab 	call  2009fa4 <rtems_semaphore_obtain>         
 20170fc:	ba 10 00 18 	mov  %i0, %i5                                  
                                MSDOS_VOLUME_SEMAPHORE_TIMEOUT);      
    if (sc != RTEMS_SUCCESSFUL)                                       
 2017100:	80 a2 20 00 	cmp  %o0, 0                                    
 2017104:	22 80 00 08 	be,a   2017124 <msdos_eval_path+0x48>          <== ALWAYS TAKEN
 2017108:	d0 06 c0 00 	ld  [ %i3 ], %o0                               
        rtems_set_errno_and_return_minus_one(EIO);                    
 201710c:	40 00 10 bd 	call  201b400 <__errno>                        <== NOT EXECUTED
 2017110:	b0 10 3f ff 	mov  -1, %i0                                   <== NOT EXECUTED
 2017114:	82 10 20 05 	mov  5, %g1                                    <== NOT EXECUTED
 2017118:	c2 22 00 00 	st  %g1, [ %o0 ]                               <== NOT EXECUTED
 201711c:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2017120:	81 e8 00 00 	restore                                        <== NOT EXECUTED
                                                                      
    if (!pathloc->node_access)                                        
 2017124:	80 a2 20 00 	cmp  %o0, 0                                    
 2017128:	12 80 00 07 	bne  2017144 <msdos_eval_path+0x68>            <== ALWAYS TAKEN
 201712c:	01 00 00 00 	nop                                            
    {                                                                 
        errno = ENOENT;                                               
 2017130:	40 00 10 b4 	call  201b400 <__errno>                        <== NOT EXECUTED
 2017134:	b0 10 3f ff 	mov  -1, %i0	! ffffffff <RAM_END+0xfdbfffff>   <== NOT EXECUTED
 2017138:	82 10 20 02 	mov  2, %g1                                    <== NOT EXECUTED
        rc = -1;                                                      
        goto err;                                                     
 201713c:	10 80 00 83 	b  2017348 <msdos_eval_path+0x26c>             <== NOT EXECUTED
 2017140:	c2 22 00 00 	st  %g1, [ %o0 ]                               <== NOT EXECUTED
    }                                                                 
                                                                      
    fat_fd = pathloc->node_access;                                    
                                                                      
    rc = fat_file_reopen(fat_fd);                                     
 2017144:	7f ff eb 51 	call  2011e88 <fat_file_reopen>                
 2017148:	a4 10 20 01 	mov  1, %l2                                    
    if (rc != RC_OK)                                                  
 201714c:	a0 10 20 00 	clr  %l0                                       
 2017150:	b0 92 20 00 	orcc  %o0, 0, %i0                              
 2017154:	02 80 00 66 	be  20172ec <msdos_eval_path+0x210>            <== ALWAYS TAKEN
 2017158:	23 00 80 b1 	sethi  %hi(0x202c400), %l1                     
 201715c:	30 80 00 7b 	b,a   2017348 <msdos_eval_path+0x26c>          <== NOT EXECUTED
        goto err;                                                     
                                                                      
    while ((type != MSDOS_NO_MORE_PATH) && (type != MSDOS_INVALID_TOKEN))
    {                                                                 
        type = msdos_get_token(&pathname[i], pathnamelen, &token, &token_len);
 2017160:	92 10 00 19 	mov  %i1, %o1                                  
 2017164:	94 07 bf fc 	add  %fp, -4, %o2                              
 2017168:	40 00 03 b9 	call  201804c <msdos_get_token>                
 201716c:	96 07 bf f8 	add  %fp, -8, %o3                              
        pathnamelen -= token_len;                                     
 2017170:	d4 07 bf f8 	ld  [ %fp + -8 ], %o2                          
    if (rc != RC_OK)                                                  
        goto err;                                                     
                                                                      
    while ((type != MSDOS_NO_MORE_PATH) && (type != MSDOS_INVALID_TOKEN))
    {                                                                 
        type = msdos_get_token(&pathname[i], pathnamelen, &token, &token_len);
 2017174:	a4 10 00 08 	mov  %o0, %l2                                  
        pathnamelen -= token_len;                                     
 2017178:	b2 26 40 0a 	sub  %i1, %o2, %i1                             
        i += token_len;                                               
 201717c:	a0 04 00 0a 	add  %l0, %o2, %l0                             
                                                                      
        fat_fd = pathloc->node_access;                                
                                                                      
        switch (type)                                                 
 2017180:	80 a2 20 03 	cmp  %o0, 3                                    
 2017184:	02 80 00 3f 	be  2017280 <msdos_eval_path+0x1a4>            
 2017188:	e6 06 c0 00 	ld  [ %i3 ], %l3                               
 201718c:	80 a2 20 04 	cmp  %o0, 4                                    
 2017190:	02 80 00 52 	be  20172d8 <msdos_eval_path+0x1fc>            <== NEVER TAKEN
 2017194:	80 a2 20 02 	cmp  %o0, 2                                    
 2017198:	12 80 00 56 	bne  20172f0 <msdos_eval_path+0x214>           
 201719c:	80 a4 a0 04 	cmp  %l2, 4                                    
        {                                                             
            case MSDOS_UP_DIR:                                        
                /*                                                    
                 *  Only a directory can be decended into.            
                 */                                                   
                if (fat_fd->fat_file_type != FAT_DIRECTORY)           
 20171a0:	c2 04 e0 10 	ld  [ %l3 + 0x10 ], %g1                        
 20171a4:	80 a0 60 01 	cmp  %g1, 1                                    
 20171a8:	12 80 00 3a 	bne  2017290 <msdos_eval_path+0x1b4>           <== NEVER TAKEN
 20171ac:	01 00 00 00 	nop                                            
 20171b0:	d2 06 e0 10 	ld  [ %i3 + 0x10 ], %o1                        
 20171b4:	e8 02 60 1c 	ld  [ %o1 + 0x1c ], %l4                        
                }                                                     
                                                                      
                /*                                                    
                 *  Am I at the root of this mounted filesystem?      
                 */                                                   
                if (rtems_filesystem_is_root_location(pathloc))       
 20171b8:	80 a5 00 13 	cmp  %l4, %l3                                  
 20171bc:	32 80 00 22 	bne,a   2017244 <msdos_eval_path+0x168>        <== ALWAYS TAKEN
 20171c0:	d2 07 bf fc 	ld  [ %fp + -4 ], %o1                          
                    /*                                                
                     *  Am I at the root of all filesystems?          
                     *  XXX: MSDOS is not supposed to be base fs.     
                     */                                               
                    if (pathloc->node_access ==                       
                        rtems_filesystem_root.node_access)            
 20171c4:	c2 04 60 ac 	ld  [ %l1 + 0xac ], %g1                        <== NOT EXECUTED
                {                                                     
                    /*                                                
                     *  Am I at the root of all filesystems?          
                     *  XXX: MSDOS is not supposed to be base fs.     
                     */                                               
                    if (pathloc->node_access ==                       
 20171c8:	c2 00 60 18 	ld  [ %g1 + 0x18 ], %g1                        <== NOT EXECUTED
 20171cc:	80 a5 00 01 	cmp  %l4, %g1                                  <== NOT EXECUTED
 20171d0:	02 80 00 48 	be  20172f0 <msdos_eval_path+0x214>            <== NOT EXECUTED
 20171d4:	80 a4 a0 04 	cmp  %l2, 4                                    <== NOT EXECUTED
                    {                                                 
                        break;       /* Throw out the .. in this case */
                    }                                                 
                    else                                              
                    {                                                 
                        newloc = pathloc->mt_entry->mt_point_node;    
 20171d8:	92 02 60 08 	add  %o1, 8, %o1                               <== NOT EXECUTED
 20171dc:	94 10 20 14 	mov  0x14, %o2                                 <== NOT EXECUTED
 20171e0:	40 00 13 57 	call  201bf3c <memcpy>                         <== NOT EXECUTED
 20171e4:	90 07 bf e4 	add  %fp, -28, %o0                             <== NOT EXECUTED
                        *pathloc = newloc;                            
 20171e8:	92 07 bf e4 	add  %fp, -28, %o1                             <== NOT EXECUTED
 20171ec:	94 10 20 14 	mov  0x14, %o2                                 <== NOT EXECUTED
 20171f0:	40 00 13 53 	call  201bf3c <memcpy>                         <== NOT EXECUTED
 20171f4:	90 10 00 1b 	mov  %i3, %o0                                  <== NOT EXECUTED
                                                                      
                        rc = fat_file_close(pathloc->mt_entry, fat_fd);
 20171f8:	d0 06 e0 10 	ld  [ %i3 + 0x10 ], %o0                        <== NOT EXECUTED
 20171fc:	7f ff eb db 	call  2012168 <fat_file_close>                 <== NOT EXECUTED
 2017200:	92 10 00 14 	mov  %l4, %o1                                  <== NOT EXECUTED
                        if (rc != RC_OK)                              
 2017204:	b0 92 20 00 	orcc  %o0, 0, %i0                              <== NOT EXECUTED
 2017208:	12 80 00 50 	bne  2017348 <msdos_eval_path+0x26c>           <== NOT EXECUTED
 201720c:	01 00 00 00 	nop                                            <== NOT EXECUTED
                            goto err;                                 
                                                                      
                        rtems_semaphore_release(fs_info->vol_sema);   
 2017210:	7f ff cb af 	call  200a0cc <rtems_semaphore_release>        <== NOT EXECUTED
 2017214:	d0 07 20 98 	ld  [ %i4 + 0x98 ], %o0                        <== NOT EXECUTED
                        return (*pathloc->ops->evalpath_h)(&(pathname[i-token_len]),
 2017218:	c2 06 e0 0c 	ld  [ %i3 + 0xc ], %g1                         <== NOT EXECUTED
 201721c:	d2 07 bf f8 	ld  [ %fp + -8 ], %o1                          <== NOT EXECUTED
 2017220:	c2 00 40 00 	ld  [ %g1 ], %g1                               <== NOT EXECUTED
 2017224:	90 24 00 09 	sub  %l0, %o1, %o0                             <== NOT EXECUTED
 2017228:	94 10 00 1a 	mov  %i2, %o2                                  <== NOT EXECUTED
 201722c:	90 07 40 08 	add  %i5, %o0, %o0                             <== NOT EXECUTED
 2017230:	92 06 40 09 	add  %i1, %o1, %o1                             <== NOT EXECUTED
 2017234:	9f c0 40 00 	call  %g1                                      <== NOT EXECUTED
 2017238:	96 10 00 1b 	mov  %i3, %o3                                  <== NOT EXECUTED
 201723c:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2017240:	91 e8 00 08 	restore  %g0, %o0, %o0                         <== NOT EXECUTED
                                                           flags, pathloc);
                    }                                                 
                }                                                     
                else                                                  
                {                                                     
                  rc = msdos_find_name(pathloc, token, token_len);    
 2017244:	40 00 08 86 	call  201945c <msdos_find_name>                
 2017248:	90 10 00 1b 	mov  %i3, %o0                                  
                    if (rc != RC_OK)                                  
 201724c:	a8 92 20 00 	orcc  %o0, 0, %l4                              
 2017250:	02 80 00 28 	be  20172f0 <msdos_eval_path+0x214>            <== ALWAYS TAKEN
 2017254:	80 a4 a0 04 	cmp  %l2, 4                                    
                    {                                                 
                        if (rc == MSDOS_NAME_NOT_FOUND_ERR)           
 2017258:	03 00 00 1f 	sethi  %hi(0x7c00), %g1                        <== NOT EXECUTED
 201725c:	82 10 61 01 	or  %g1, 0x101, %g1	! 7d01 <PROM_START+0x7d01> <== NOT EXECUTED
 2017260:	80 a5 00 01 	cmp  %l4, %g1                                  <== NOT EXECUTED
 2017264:	32 80 00 36 	bne,a   201733c <msdos_eval_path+0x260>        <== NOT EXECUTED
 2017268:	d0 06 e0 10 	ld  [ %i3 + 0x10 ], %o0                        <== NOT EXECUTED
                        {                                             
                            errno = ENOENT;                           
 201726c:	40 00 10 65 	call  201b400 <__errno>                        <== NOT EXECUTED
 2017270:	01 00 00 00 	nop                                            <== NOT EXECUTED
 2017274:	e4 22 00 00 	st  %l2, [ %o0 ]                               <== NOT EXECUTED
                            rc = -1;                                  
 2017278:	10 80 00 30 	b  2017338 <msdos_eval_path+0x25c>             
 201727c:	a8 10 3f ff 	mov  -1, %l4                                   
                                                                      
            case MSDOS_NAME:                                          
                /*                                                    
                 *  Only a directory can be decended into.            
                 */                                                   
                if (fat_fd->fat_file_type != FAT_DIRECTORY)           
 2017280:	c2 04 e0 10 	ld  [ %l3 + 0x10 ], %g1                        
 2017284:	80 a0 60 01 	cmp  %g1, 1                                    
 2017288:	02 80 00 06 	be  20172a0 <msdos_eval_path+0x1c4>            
 201728c:	d2 07 bf fc 	ld  [ %fp + -4 ], %o1                          
                {                                                     
                    errno = ENOTSUP;                                  
 2017290:	40 00 10 5c 	call  201b400 <__errno>                        
 2017294:	01 00 00 00 	nop                                            
 2017298:	10 80 00 13 	b  20172e4 <msdos_eval_path+0x208>             
 201729c:	82 10 20 86 	mov  0x86, %g1	! 86 <PROM_START+0x86>          
                                                                      
                /*                                                    
                 *  Otherwise find the token name in the present location and
                 * set the node access to the point we have found.    
                 */                                                   
                rc = msdos_find_name(pathloc, token, token_len);      
 20172a0:	40 00 08 6f 	call  201945c <msdos_find_name>                
 20172a4:	90 10 00 1b 	mov  %i3, %o0                                  
                if (rc != RC_OK)                                      
 20172a8:	a8 92 20 00 	orcc  %o0, 0, %l4                              
 20172ac:	02 80 00 11 	be  20172f0 <msdos_eval_path+0x214>            
 20172b0:	80 a4 a0 04 	cmp  %l2, 4                                    
                {                                                     
                    if (rc == MSDOS_NAME_NOT_FOUND_ERR)               
 20172b4:	03 00 00 1f 	sethi  %hi(0x7c00), %g1                        
 20172b8:	82 10 61 01 	or  %g1, 0x101, %g1	! 7d01 <PROM_START+0x7d01> 
 20172bc:	80 a5 00 01 	cmp  %l4, %g1                                  
 20172c0:	32 80 00 1f 	bne,a   201733c <msdos_eval_path+0x260>        <== NEVER TAKEN
 20172c4:	d0 06 e0 10 	ld  [ %i3 + 0x10 ], %o0                        <== NOT EXECUTED
                    {                                                 
                        errno = ENOENT;                               
 20172c8:	40 00 10 4e 	call  201b400 <__errno>                        
 20172cc:	01 00 00 00 	nop                                            
 20172d0:	10 80 00 05 	b  20172e4 <msdos_eval_path+0x208>             
 20172d4:	82 10 20 02 	mov  2, %g1	! 2 <PROM_START+0x2>               
            case MSDOS_NO_MORE_PATH:                                  
            case MSDOS_CURRENT_DIR:                                   
                break;                                                
                                                                      
            case MSDOS_INVALID_TOKEN:                                 
                errno = ENAMETOOLONG;                                 
 20172d8:	40 00 10 4a 	call  201b400 <__errno>                        <== NOT EXECUTED
 20172dc:	01 00 00 00 	nop                                            <== NOT EXECUTED
 20172e0:	82 10 20 5b 	mov  0x5b, %g1	! 5b <PROM_START+0x5b>          <== NOT EXECUTED
 20172e4:	10 bf ff e5 	b  2017278 <msdos_eval_path+0x19c>             
 20172e8:	c2 22 00 00 	st  %g1, [ %o0 ]                               
                                                                      
    rc = fat_file_reopen(fat_fd);                                     
    if (rc != RC_OK)                                                  
        goto err;                                                     
                                                                      
    while ((type != MSDOS_NO_MORE_PATH) && (type != MSDOS_INVALID_TOKEN))
 20172ec:	80 a4 a0 04 	cmp  %l2, 4                                    
 20172f0:	02 80 00 04 	be  2017300 <msdos_eval_path+0x224>            <== NEVER TAKEN
 20172f4:	80 a4 a0 00 	cmp  %l2, 0                                    
 20172f8:	12 bf ff 9a 	bne  2017160 <msdos_eval_path+0x84>            
 20172fc:	90 07 40 10 	add  %i5, %l0, %o0                             
msdos_set_handlers(rtems_filesystem_location_info_t *loc)             
{                                                                     
    msdos_fs_info_t *fs_info = loc->mt_entry->fs_info;                
    fat_file_fd_t   *fat_fd = loc->node_access;                       
                                                                      
    if (fat_fd->fat_file_type == FAT_DIRECTORY)                       
 2017300:	c4 06 c0 00 	ld  [ %i3 ], %g2                               
 *     None                                                           
 */                                                                   
static void                                                           
msdos_set_handlers(rtems_filesystem_location_info_t *loc)             
{                                                                     
    msdos_fs_info_t *fs_info = loc->mt_entry->fs_info;                
 2017304:	c2 06 e0 10 	ld  [ %i3 + 0x10 ], %g1                        
    fat_file_fd_t   *fat_fd = loc->node_access;                       
                                                                      
    if (fat_fd->fat_file_type == FAT_DIRECTORY)                       
 2017308:	c4 00 a0 10 	ld  [ %g2 + 0x10 ], %g2                        
 201730c:	80 a0 a0 01 	cmp  %g2, 1                                    
 2017310:	12 80 00 04 	bne  2017320 <msdos_eval_path+0x244>           
 2017314:	c2 00 60 34 	ld  [ %g1 + 0x34 ], %g1                        
        loc->handlers = fs_info->directory_handlers;                  
 2017318:	10 80 00 03 	b  2017324 <msdos_eval_path+0x248>             
 201731c:	c2 00 60 90 	ld  [ %g1 + 0x90 ], %g1                        
    else                                                              
        loc->handlers = fs_info->file_handlers;                       
 2017320:	c2 00 60 94 	ld  [ %g1 + 0x94 ], %g1                        
     */                                                               
    fat_fd = pathloc->node_access;                                    
                                                                      
    msdos_set_handlers(pathloc);                                      
                                                                      
    rtems_semaphore_release(fs_info->vol_sema);                       
 2017324:	d0 07 20 98 	ld  [ %i4 + 0x98 ], %o0                        
 2017328:	7f ff cb 69 	call  200a0cc <rtems_semaphore_release>        
 201732c:	c2 26 e0 08 	st  %g1, [ %i3 + 8 ]                           
    return RC_OK;                                                     
 2017330:	81 c7 e0 08 	ret                                            
 2017334:	81 e8 00 00 	restore                                        
                                                                      
error:                                                                
    fat_file_close(pathloc->mt_entry, fat_fd);                        
 2017338:	d0 06 e0 10 	ld  [ %i3 + 0x10 ], %o0                        
 201733c:	92 10 00 13 	mov  %l3, %o1                                  
 2017340:	7f ff eb 8a 	call  2012168 <fat_file_close>                 
 2017344:	b0 10 00 14 	mov  %l4, %i0                                  
                                                                      
err:                                                                  
    rtems_semaphore_release(fs_info->vol_sema);                       
 2017348:	7f ff cb 61 	call  200a0cc <rtems_semaphore_release>        
 201734c:	d0 07 20 98 	ld  [ %i4 + 0x98 ], %o0                        
    return rc;                                                        
}                                                                     
 2017350:	81 c7 e0 08 	ret                                            
 2017354:	81 e8 00 00 	restore                                        
                                                                      

02017c40 <msdos_file_chmod>: int msdos_file_chmod(rtems_filesystem_location_info_t *pathloc, mode_t mode) { return RC_OK; }
 2017c40:	81 c3 e0 08 	retl                                           <== NOT EXECUTED
 2017c44:	90 10 20 00 	clr  %o0                                       <== NOT EXECUTED
                                                                      

020176bc <msdos_file_close>: * RC_OK, if file closed successfully, or -1 if error occured (errno set * appropriately) */ int msdos_file_close(rtems_libio_t *iop) {
 20176bc:	9d e3 bf a0 	save  %sp, -96, %sp                            
    int                rc = RC_OK;                                    
    rtems_status_code  sc = RTEMS_SUCCESSFUL;                         
    msdos_fs_info_t   *fs_info = iop->pathinfo.mt_entry->fs_info;     
 20176c0:	c2 06 20 2c 	ld  [ %i0 + 0x2c ], %g1                        
    fat_file_fd_t     *fat_fd = iop->pathinfo.node_access;            
 20176c4:	f6 06 20 1c 	ld  [ %i0 + 0x1c ], %i3                        
int                                                                   
msdos_file_close(rtems_libio_t *iop)                                  
{                                                                     
    int                rc = RC_OK;                                    
    rtems_status_code  sc = RTEMS_SUCCESSFUL;                         
    msdos_fs_info_t   *fs_info = iop->pathinfo.mt_entry->fs_info;     
 20176c8:	f8 00 60 34 	ld  [ %g1 + 0x34 ], %i4                        
    fat_file_fd_t     *fat_fd = iop->pathinfo.node_access;            
                                                                      
    sc = rtems_semaphore_obtain(fs_info->vol_sema, RTEMS_WAIT,        
 20176cc:	92 10 20 00 	clr  %o1                                       
 20176d0:	d0 07 20 98 	ld  [ %i4 + 0x98 ], %o0                        
 20176d4:	94 10 20 00 	clr  %o2                                       
 20176d8:	7f ff ca 33 	call  2009fa4 <rtems_semaphore_obtain>         
 20176dc:	ba 10 00 18 	mov  %i0, %i5                                  
                                MSDOS_VOLUME_SEMAPHORE_TIMEOUT);      
    if (sc != RTEMS_SUCCESSFUL)                                       
 20176e0:	80 a2 20 00 	cmp  %o0, 0                                    
 20176e4:	22 80 00 08 	be,a   2017704 <msdos_file_close+0x48>         <== ALWAYS TAKEN
 20176e8:	c2 0e e0 30 	ldub  [ %i3 + 0x30 ], %g1                      
        rtems_set_errno_and_return_minus_one(EIO);                    
 20176ec:	40 00 0f 45 	call  201b400 <__errno>                        <== NOT EXECUTED
 20176f0:	b0 10 3f ff 	mov  -1, %i0                                   <== NOT EXECUTED
 20176f4:	82 10 20 05 	mov  5, %g1                                    <== NOT EXECUTED
 20176f8:	c2 22 00 00 	st  %g1, [ %o0 ]                               <== NOT EXECUTED
 20176fc:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2017700:	81 e8 00 00 	restore                                        <== NOT EXECUTED
                                                                      
    /*                                                                
     * if fat-file descriptor is not marked as "removed", synchronize 
     * size, first cluster number, write time and date fields of the file
     */                                                               
    if (!FAT_FILE_IS_REMOVED(fat_fd))                                 
 2017704:	80 88 60 01 	btst  1, %g1                                   
 2017708:	32 80 00 13 	bne,a   2017754 <msdos_file_close+0x98>        <== NEVER TAKEN
 201770c:	d0 07 60 2c 	ld  [ %i5 + 0x2c ], %o0                        <== NOT EXECUTED
    {                                                                 
        rc = msdos_set_first_cluster_num(iop->pathinfo.mt_entry, fat_fd);
 2017710:	10 80 00 18 	b  2017770 <msdos_file_close+0xb4>             
 2017714:	d0 06 20 2c 	ld  [ %i0 + 0x2c ], %o0                        
        {                                                             
            rtems_semaphore_release(fs_info->vol_sema);               
            return rc;                                                
        }                                                             
                                                                      
        rc = msdos_set_file_size(iop->pathinfo.mt_entry, fat_fd);     
 2017718:	40 00 02 f4 	call  20182e8 <msdos_set_file_size>            
 201771c:	92 10 00 1b 	mov  %i3, %o1                                  
        if (rc != RC_OK)                                              
 2017720:	b0 92 20 00 	orcc  %o0, 0, %i0                              
 2017724:	12 80 00 08 	bne  2017744 <msdos_file_close+0x88>           <== NEVER TAKEN
 2017728:	01 00 00 00 	nop                                            
        {                                                             
            rtems_semaphore_release(fs_info->vol_sema);               
            return rc;                                                
        }                                                             
                                                                      
        rc = msdos_set_dir_wrt_time_and_date(iop->pathinfo.mt_entry, fat_fd);
 201772c:	d0 07 60 2c 	ld  [ %i5 + 0x2c ], %o0                        
 2017730:	40 00 02 85 	call  2018144 <msdos_set_dir_wrt_time_and_date>
 2017734:	92 10 00 1b 	mov  %i3, %o1                                  
        if (rc != RC_OK)                                              
 2017738:	b0 92 20 00 	orcc  %o0, 0, %i0                              
 201773c:	22 80 00 06 	be,a   2017754 <msdos_file_close+0x98>         <== ALWAYS TAKEN
 2017740:	d0 07 60 2c 	ld  [ %i5 + 0x2c ], %o0                        
        {                                                             
            rtems_semaphore_release(fs_info->vol_sema);               
 2017744:	7f ff ca 62 	call  200a0cc <rtems_semaphore_release>        <== NOT EXECUTED
 2017748:	d0 07 20 98 	ld  [ %i4 + 0x98 ], %o0                        <== NOT EXECUTED
            return rc;                                                
 201774c:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2017750:	81 e8 00 00 	restore                                        <== NOT EXECUTED
        }                                                             
    }                                                                 
                                                                      
    rc = fat_file_close(iop->pathinfo.mt_entry, fat_fd);              
 2017754:	7f ff ea 85 	call  2012168 <fat_file_close>                 
 2017758:	92 10 00 1b 	mov  %i3, %o1                                  
 201775c:	b0 10 00 08 	mov  %o0, %i0                                  
                                                                      
    rtems_semaphore_release(fs_info->vol_sema);                       
 2017760:	7f ff ca 5b 	call  200a0cc <rtems_semaphore_release>        
 2017764:	d0 07 20 98 	ld  [ %i4 + 0x98 ], %o0                        
    return rc;                                                        
}                                                                     
 2017768:	81 c7 e0 08 	ret                                            
 201776c:	81 e8 00 00 	restore                                        
     * if fat-file descriptor is not marked as "removed", synchronize 
     * size, first cluster number, write time and date fields of the file
     */                                                               
    if (!FAT_FILE_IS_REMOVED(fat_fd))                                 
    {                                                                 
        rc = msdos_set_first_cluster_num(iop->pathinfo.mt_entry, fat_fd);
 2017770:	40 00 02 af 	call  201822c <msdos_set_first_cluster_num>    
 2017774:	92 10 00 1b 	mov  %i3, %o1                                  
        if (rc != RC_OK)                                              
 2017778:	b0 92 20 00 	orcc  %o0, 0, %i0                              
 201777c:	22 bf ff e7 	be,a   2017718 <msdos_file_close+0x5c>         <== ALWAYS TAKEN
 2017780:	d0 07 60 2c 	ld  [ %i5 + 0x2c ], %o0                        
 2017784:	30 bf ff f0 	b,a   2017744 <msdos_file_close+0x88>          <== NOT EXECUTED
                                                                      

02017bd8 <msdos_file_datasync>: * RETURNS: * RC_OK on success, or -1 if error occured (errno set appropriately) */ int msdos_file_datasync(rtems_libio_t *iop) {
 2017bd8:	9d e3 bf a0 	save  %sp, -96, %sp                            <== NOT EXECUTED
    int                rc = RC_OK;                                    
    rtems_status_code  sc = RTEMS_SUCCESSFUL;                         
    fat_file_fd_t     *fat_fd = iop->pathinfo.node_access;            
    msdos_fs_info_t   *fs_info = iop->pathinfo.mt_entry->fs_info;     
 2017bdc:	c2 06 20 2c 	ld  [ %i0 + 0x2c ], %g1                        <== NOT EXECUTED
int                                                                   
msdos_file_datasync(rtems_libio_t *iop)                               
{                                                                     
    int                rc = RC_OK;                                    
    rtems_status_code  sc = RTEMS_SUCCESSFUL;                         
    fat_file_fd_t     *fat_fd = iop->pathinfo.node_access;            
 2017be0:	f8 06 20 1c 	ld  [ %i0 + 0x1c ], %i4                        <== NOT EXECUTED
    msdos_fs_info_t   *fs_info = iop->pathinfo.mt_entry->fs_info;     
 2017be4:	fa 00 60 34 	ld  [ %g1 + 0x34 ], %i5                        <== NOT EXECUTED
                                                                      
    sc = rtems_semaphore_obtain(fs_info->vol_sema, RTEMS_WAIT,        
 2017be8:	92 10 20 00 	clr  %o1                                       <== NOT EXECUTED
 2017bec:	d0 07 60 98 	ld  [ %i5 + 0x98 ], %o0                        <== NOT EXECUTED
 2017bf0:	7f ff c8 ed 	call  2009fa4 <rtems_semaphore_obtain>         <== NOT EXECUTED
 2017bf4:	94 10 20 00 	clr  %o2                                       <== NOT EXECUTED
                                MSDOS_VOLUME_SEMAPHORE_TIMEOUT);      
    if (sc != RTEMS_SUCCESSFUL)                                       
 2017bf8:	80 a2 20 00 	cmp  %o0, 0                                    <== NOT EXECUTED
 2017bfc:	22 80 00 08 	be,a   2017c1c <msdos_file_datasync+0x44>      <== NOT EXECUTED
 2017c00:	d0 06 20 2c 	ld  [ %i0 + 0x2c ], %o0                        <== NOT EXECUTED
        rtems_set_errno_and_return_minus_one(EIO);                    
 2017c04:	40 00 0d ff 	call  201b400 <__errno>                        <== NOT EXECUTED
 2017c08:	b0 10 3f ff 	mov  -1, %i0                                   <== NOT EXECUTED
 2017c0c:	82 10 20 05 	mov  5, %g1                                    <== NOT EXECUTED
 2017c10:	c2 22 00 00 	st  %g1, [ %o0 ]                               <== NOT EXECUTED
 2017c14:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2017c18:	81 e8 00 00 	restore                                        <== NOT EXECUTED
                                                                      
    /* synchronize file data */                                       
    rc = fat_file_datasync(iop->pathinfo.mt_entry, fat_fd);           
 2017c1c:	7f ff ea c8 	call  201273c <fat_file_datasync>              <== NOT EXECUTED
 2017c20:	92 10 00 1c 	mov  %i4, %o1                                  <== NOT EXECUTED
                                                                      
    rtems_semaphore_release(fs_info->vol_sema);                       
 2017c24:	d0 07 60 98 	ld  [ %i5 + 0x98 ], %o0                        <== NOT EXECUTED
 2017c28:	7f ff c9 29 	call  200a0cc <rtems_semaphore_release>        <== NOT EXECUTED
 2017c2c:	b0 10 20 00 	clr  %i0                                       <== NOT EXECUTED
    return RC_OK;                                                     
}                                                                     
 2017c30:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2017c34:	81 e8 00 00 	restore                                        <== NOT EXECUTED
                                                                      

02017a14 <msdos_file_ftruncate>: * RETURNS: * RC_OK on success, or -1 if error occured (errno set appropriately). */ int msdos_file_ftruncate(rtems_libio_t *iop, rtems_off64_t length) {
 2017a14:	9d e3 bf a0 	save  %sp, -96, %sp                            
    int                rc = RC_OK;                                    
    rtems_status_code  sc = RTEMS_SUCCESSFUL;                         
    msdos_fs_info_t   *fs_info = iop->pathinfo.mt_entry->fs_info;     
 2017a18:	c2 06 20 2c 	ld  [ %i0 + 0x2c ], %g1                        
    fat_file_fd_t     *fat_fd = iop->pathinfo.node_access;            
 2017a1c:	f8 06 20 1c 	ld  [ %i0 + 0x1c ], %i4                        
int                                                                   
msdos_file_ftruncate(rtems_libio_t *iop, rtems_off64_t length)        
{                                                                     
    int                rc = RC_OK;                                    
    rtems_status_code  sc = RTEMS_SUCCESSFUL;                         
    msdos_fs_info_t   *fs_info = iop->pathinfo.mt_entry->fs_info;     
 2017a20:	f6 00 60 34 	ld  [ %g1 + 0x34 ], %i3                        
 * RETURNS:                                                           
 *     RC_OK on success, or -1 if error occured (errno set appropriately).
 */                                                                   
int                                                                   
msdos_file_ftruncate(rtems_libio_t *iop, rtems_off64_t length)        
{                                                                     
 2017a24:	ba 10 00 18 	mov  %i0, %i5                                  
    int                rc = RC_OK;                                    
    rtems_status_code  sc = RTEMS_SUCCESSFUL;                         
    msdos_fs_info_t   *fs_info = iop->pathinfo.mt_entry->fs_info;     
    fat_file_fd_t     *fat_fd = iop->pathinfo.node_access;            
                                                                      
    if (length >= fat_fd->fat_file_size)                              
 2017a28:	82 10 20 00 	clr  %g1                                       
 2017a2c:	80 a0 40 19 	cmp  %g1, %i1                                  
 2017a30:	14 80 00 07 	bg  2017a4c <msdos_file_ftruncate+0x38>        <== NEVER TAKEN
 2017a34:	c4 07 20 18 	ld  [ %i4 + 0x18 ], %g2                        
 2017a38:	80 a0 40 19 	cmp  %g1, %i1                                  
 2017a3c:	12 80 00 26 	bne  2017ad4 <msdos_file_ftruncate+0xc0>       <== NEVER TAKEN
 2017a40:	80 a0 80 1a 	cmp  %g2, %i2                                  
 2017a44:	08 80 00 24 	bleu  2017ad4 <msdos_file_ftruncate+0xc0>      
 2017a48:	01 00 00 00 	nop                                            
        return RC_OK;                                                 
                                                                      
    sc = rtems_semaphore_obtain(fs_info->vol_sema, RTEMS_WAIT,        
 2017a4c:	d0 06 e0 98 	ld  [ %i3 + 0x98 ], %o0                        
 2017a50:	92 10 20 00 	clr  %o1                                       
 2017a54:	7f ff c9 54 	call  2009fa4 <rtems_semaphore_obtain>         
 2017a58:	94 10 20 00 	clr  %o2                                       
                                MSDOS_VOLUME_SEMAPHORE_TIMEOUT);      
    if (sc != RTEMS_SUCCESSFUL)                                       
 2017a5c:	80 a2 20 00 	cmp  %o0, 0                                    
 2017a60:	22 80 00 08 	be,a   2017a80 <msdos_file_ftruncate+0x6c>     <== ALWAYS TAKEN
 2017a64:	d0 07 60 2c 	ld  [ %i5 + 0x2c ], %o0                        
        rtems_set_errno_and_return_minus_one(EIO);                    
 2017a68:	40 00 0e 66 	call  201b400 <__errno>                        <== NOT EXECUTED
 2017a6c:	b0 10 3f ff 	mov  -1, %i0                                   <== NOT EXECUTED
 2017a70:	82 10 20 05 	mov  5, %g1                                    <== NOT EXECUTED
 2017a74:	c2 22 00 00 	st  %g1, [ %o0 ]                               <== NOT EXECUTED
 2017a78:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2017a7c:	81 e8 00 00 	restore                                        <== NOT EXECUTED
                                                                      
    rc = fat_file_truncate(iop->pathinfo.mt_entry, fat_fd, length);   
 2017a80:	92 10 00 1c 	mov  %i4, %o1                                  
 2017a84:	7f ff e9 75 	call  2012058 <fat_file_truncate>              
 2017a88:	94 10 00 1a 	mov  %i2, %o2                                  
    if (rc != RC_OK)                                                  
 2017a8c:	b0 92 20 00 	orcc  %o0, 0, %i0                              
 2017a90:	12 80 00 0d 	bne  2017ac4 <msdos_file_ftruncate+0xb0>       <== NEVER TAKEN
 2017a94:	01 00 00 00 	nop                                            
                                                                      
    /*                                                                
     * fat_file_truncate do nothing if new length >= fat-file size, so update
     * file size only if length < fat-file size                       
     */                                                               
    if (length < fat_fd->fat_file_size)                               
 2017a98:	80 a6 00 19 	cmp  %i0, %i1                                  
 2017a9c:	14 80 00 07 	bg  2017ab8 <msdos_file_ftruncate+0xa4>        <== NEVER TAKEN
 2017aa0:	c2 07 20 18 	ld  [ %i4 + 0x18 ], %g1                        
 2017aa4:	80 a6 00 19 	cmp  %i0, %i1                                  
 2017aa8:	12 80 00 07 	bne  2017ac4 <msdos_file_ftruncate+0xb0>       <== NEVER TAKEN
 2017aac:	80 a0 40 1a 	cmp  %g1, %i2                                  
 2017ab0:	08 80 00 05 	bleu  2017ac4 <msdos_file_ftruncate+0xb0>      <== NEVER TAKEN
 2017ab4:	01 00 00 00 	nop                                            
        iop->size = fat_fd->fat_file_size = length;                   
 2017ab8:	f4 27 20 18 	st  %i2, [ %i4 + 0x18 ]                        
 2017abc:	c0 27 60 08 	clr  [ %i5 + 8 ]                               
 2017ac0:	f4 27 60 0c 	st  %i2, [ %i5 + 0xc ]                         
                                                                      
    rtems_semaphore_release(fs_info->vol_sema);                       
 2017ac4:	7f ff c9 82 	call  200a0cc <rtems_semaphore_release>        
 2017ac8:	d0 06 e0 98 	ld  [ %i3 + 0x98 ], %o0                        
    return RC_OK;                                                     
 2017acc:	81 c7 e0 08 	ret                                            
 2017ad0:	81 e8 00 00 	restore                                        
}                                                                     
 2017ad4:	81 c7 e0 08 	ret                                            
 2017ad8:	91 e8 20 00 	restore  %g0, 0, %o0                           
                                                                      

02017c38 <msdos_file_ioctl>: msdos_file_ioctl(rtems_libio_t *iop,uint32_t command, void *buffer) { int rc = RC_OK; return rc; }
 2017c38:	81 c3 e0 08 	retl                                           <== NOT EXECUTED
 2017c3c:	90 10 20 00 	clr  %o0                                       <== NOT EXECUTED
                                                                      

020178c0 <msdos_file_lseek>: * new offset on success, or -1 if error occured (errno set * appropriately). */ rtems_off64_t msdos_file_lseek(rtems_libio_t *iop, rtems_off64_t offset, int whence) {
 20178c0:	9d e3 bf 98 	save  %sp, -104, %sp                           
    int                rc = RC_OK;                                    
    rtems_status_code  sc = RTEMS_SUCCESSFUL;                         
    msdos_fs_info_t   *fs_info = iop->pathinfo.mt_entry->fs_info;     
 20178c4:	c2 06 20 2c 	ld  [ %i0 + 0x2c ], %g1                        
    fat_file_fd_t     *fat_fd = iop->pathinfo.node_access;            
 20178c8:	fa 06 20 1c 	ld  [ %i0 + 0x1c ], %i5                        
rtems_off64_t                                                         
msdos_file_lseek(rtems_libio_t *iop, rtems_off64_t offset, int whence)
{                                                                     
    int                rc = RC_OK;                                    
    rtems_status_code  sc = RTEMS_SUCCESSFUL;                         
    msdos_fs_info_t   *fs_info = iop->pathinfo.mt_entry->fs_info;     
 20178cc:	f8 00 60 34 	ld  [ %g1 + 0x34 ], %i4                        
    fat_file_fd_t     *fat_fd = iop->pathinfo.node_access;            
    uint32_t           real_size = 0;                                 
 20178d0:	c0 27 bf fc 	clr  [ %fp + -4 ]                              
                                                                      
    sc = rtems_semaphore_obtain(fs_info->vol_sema, RTEMS_WAIT,        
 20178d4:	d0 07 20 98 	ld  [ %i4 + 0x98 ], %o0                        
 20178d8:	92 10 20 00 	clr  %o1                                       
 20178dc:	7f ff c9 b2 	call  2009fa4 <rtems_semaphore_obtain>         
 20178e0:	94 10 20 00 	clr  %o2                                       
                                MSDOS_VOLUME_SEMAPHORE_TIMEOUT);      
    if (sc != RTEMS_SUCCESSFUL)                                       
 20178e4:	80 a2 20 00 	cmp  %o0, 0                                    
 20178e8:	22 80 00 09 	be,a   201790c <msdos_file_lseek+0x4c>         <== ALWAYS TAKEN
 20178ec:	d0 06 20 2c 	ld  [ %i0 + 0x2c ], %o0                        
        rtems_set_errno_and_return_minus_one(EIO);                    
 20178f0:	40 00 0e c4 	call  201b400 <__errno>                        <== NOT EXECUTED
 20178f4:	31 3f ff ff 	sethi  %hi(0xfffffc00), %i0                    <== NOT EXECUTED
 20178f8:	82 10 20 05 	mov  5, %g1                                    <== NOT EXECUTED
 20178fc:	c2 22 00 00 	st  %g1, [ %o0 ]                               <== NOT EXECUTED
 2017900:	b0 16 23 ff 	or  %i0, 0x3ff, %i0                            <== NOT EXECUTED
 2017904:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2017908:	93 e8 00 18 	restore  %g0, %i0, %o1                         <== NOT EXECUTED
                                                                      
    rc = fat_file_extend(iop->pathinfo.mt_entry, fat_fd, iop->offset, 
 201790c:	d4 06 20 14 	ld  [ %i0 + 0x14 ], %o2                        
 2017910:	92 10 00 1d 	mov  %i5, %o1                                  
 2017914:	7f ff ea 78 	call  20122f4 <fat_file_extend>                
 2017918:	96 07 bf fc 	add  %fp, -4, %o3                              
                         &real_size);                                 
    if (rc != RC_OK)                                                  
 201791c:	b6 92 20 00 	orcc  %o0, 0, %i3                              
 2017920:	02 80 00 07 	be  201793c <msdos_file_lseek+0x7c>            <== ALWAYS TAKEN
 2017924:	d0 07 20 98 	ld  [ %i4 + 0x98 ], %o0                        
    {                                                                 
        rtems_semaphore_release(fs_info->vol_sema);                   
 2017928:	7f ff c9 e9 	call  200a0cc <rtems_semaphore_release>        <== NOT EXECUTED
 201792c:	b2 10 00 1b 	mov  %i3, %i1                                  <== NOT EXECUTED
        return rc;                                                    
 2017930:	b1 3e e0 1f 	sra  %i3, 0x1f, %i0                            <== NOT EXECUTED
 2017934:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2017938:	81 e8 00 00 	restore                                        <== NOT EXECUTED
    }                                                                 
                                                                      
    if (real_size > fat_fd->fat_file_size)                            
 201793c:	c2 07 bf fc 	ld  [ %fp + -4 ], %g1                          
 2017940:	c4 07 60 18 	ld  [ %i5 + 0x18 ], %g2                        
 2017944:	80 a0 40 02 	cmp  %g1, %g2                                  
 2017948:	28 80 00 06 	bleu,a   2017960 <msdos_file_lseek+0xa0>       <== ALWAYS TAKEN
 201794c:	c2 07 60 18 	ld  [ %i5 + 0x18 ], %g1                        
        fat_fd->fat_file_size = iop->offset = real_size;              
 2017950:	c0 26 20 10 	clr  [ %i0 + 0x10 ]                            <== NOT EXECUTED
 2017954:	c2 26 20 14 	st  %g1, [ %i0 + 0x14 ]                        <== NOT EXECUTED
 2017958:	c2 27 60 18 	st  %g1, [ %i5 + 0x18 ]                        <== NOT EXECUTED
                                                                      
    iop->size = fat_fd->fat_file_size;                                
 201795c:	c2 07 60 18 	ld  [ %i5 + 0x18 ], %g1                        <== NOT EXECUTED
 2017960:	c0 26 20 08 	clr  [ %i0 + 8 ]                               
                                                                      
    rtems_semaphore_release(fs_info->vol_sema);                       
 2017964:	7f ff c9 da 	call  200a0cc <rtems_semaphore_release>        
 2017968:	c2 26 20 0c 	st  %g1, [ %i0 + 0xc ]                         
    return iop->offset;                                               
 201796c:	f0 1e 20 10 	ldd  [ %i0 + 0x10 ], %i0                       
}                                                                     
 2017970:	81 c7 e0 08 	ret                                            
 2017974:	81 e8 00 00 	restore                                        
                                                                      

02017624 <msdos_file_open>: * and errno set appropriately */ int msdos_file_open(rtems_libio_t *iop, const char *pathname, uint32_t flag, uint32_t mode) {
 2017624:	9d e3 bf a0 	save  %sp, -96, %sp                            
    int                rc = RC_OK;                                    
    rtems_status_code  sc = RTEMS_SUCCESSFUL;                         
    msdos_fs_info_t   *fs_info = iop->pathinfo.mt_entry->fs_info;     
 2017628:	c2 06 20 2c 	ld  [ %i0 + 0x2c ], %g1                        
    fat_file_fd_t     *fat_fd = iop->pathinfo.node_access;            
 201762c:	f8 06 20 1c 	ld  [ %i0 + 0x1c ], %i4                        
msdos_file_open(rtems_libio_t *iop, const char *pathname, uint32_t   flag,
                uint32_t   mode)                                      
{                                                                     
    int                rc = RC_OK;                                    
    rtems_status_code  sc = RTEMS_SUCCESSFUL;                         
    msdos_fs_info_t   *fs_info = iop->pathinfo.mt_entry->fs_info;     
 2017630:	f6 00 60 34 	ld  [ %g1 + 0x34 ], %i3                        
    fat_file_fd_t     *fat_fd = iop->pathinfo.node_access;            
                                                                      
    sc = rtems_semaphore_obtain(fs_info->vol_sema, RTEMS_WAIT,        
 2017634:	92 10 20 00 	clr  %o1                                       
 2017638:	d0 06 e0 98 	ld  [ %i3 + 0x98 ], %o0                        
 201763c:	94 10 20 00 	clr  %o2                                       
 2017640:	7f ff ca 59 	call  2009fa4 <rtems_semaphore_obtain>         
 2017644:	ba 10 00 18 	mov  %i0, %i5                                  
                                MSDOS_VOLUME_SEMAPHORE_TIMEOUT);      
    if (sc != RTEMS_SUCCESSFUL)                                       
 2017648:	80 a2 20 00 	cmp  %o0, 0                                    
 201764c:	02 80 00 08 	be  201766c <msdos_file_open+0x48>             <== ALWAYS TAKEN
 2017650:	01 00 00 00 	nop                                            
        rtems_set_errno_and_return_minus_one(EIO);                    
 2017654:	40 00 0f 6b 	call  201b400 <__errno>                        <== NOT EXECUTED
 2017658:	b0 10 3f ff 	mov  -1, %i0	! ffffffff <RAM_END+0xfdbfffff>   <== NOT EXECUTED
 201765c:	82 10 20 05 	mov  5, %g1                                    <== NOT EXECUTED
 2017660:	c2 22 00 00 	st  %g1, [ %o0 ]                               <== NOT EXECUTED
 2017664:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2017668:	81 e8 00 00 	restore                                        <== NOT EXECUTED
                                                                      
    rc = fat_file_reopen(fat_fd);                                     
 201766c:	7f ff ea 07 	call  2011e88 <fat_file_reopen>                
 2017670:	90 10 00 1c 	mov  %i4, %o0                                  
    if (rc != RC_OK)                                                  
 2017674:	b0 92 20 00 	orcc  %o0, 0, %i0                              
 2017678:	02 80 00 06 	be  2017690 <msdos_file_open+0x6c>             <== ALWAYS TAKEN
 201767c:	d0 06 e0 98 	ld  [ %i3 + 0x98 ], %o0                        
    {                                                                 
        rtems_semaphore_release(fs_info->vol_sema);                   
 2017680:	7f ff ca 93 	call  200a0cc <rtems_semaphore_release>        <== NOT EXECUTED
 2017684:	01 00 00 00 	nop                                            <== NOT EXECUTED
        return rc;                                                    
 2017688:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 201768c:	81 e8 00 00 	restore                                        <== NOT EXECUTED
    }                                                                 
                                                                      
    if (iop->flags & LIBIO_FLAGS_APPEND)                              
 2017690:	c2 07 60 18 	ld  [ %i5 + 0x18 ], %g1                        
 2017694:	80 88 62 00 	btst  0x200, %g1                               
 2017698:	02 80 00 04 	be  20176a8 <msdos_file_open+0x84>             
 201769c:	c2 07 20 18 	ld  [ %i4 + 0x18 ], %g1                        
        iop->offset = fat_fd->fat_file_size;                          
 20176a0:	c0 27 60 10 	clr  [ %i5 + 0x10 ]                            
 20176a4:	c2 27 60 14 	st  %g1, [ %i5 + 0x14 ]                        
                                                                      
    iop->size = fat_fd->fat_file_size;                                
 20176a8:	c0 27 60 08 	clr  [ %i5 + 8 ]                               
                                                                      
    rtems_semaphore_release(fs_info->vol_sema);                       
 20176ac:	7f ff ca 88 	call  200a0cc <rtems_semaphore_release>        
 20176b0:	c2 27 60 0c 	st  %g1, [ %i5 + 0xc ]                         
    return RC_OK;                                                     
}                                                                     
 20176b4:	81 c7 e0 08 	ret                                            
 20176b8:	81 e8 00 00 	restore                                        
                                                                      

02017788 <msdos_file_read>: * the number of bytes read on success, or -1 if error occured (errno set * appropriately) */ ssize_t msdos_file_read(rtems_libio_t *iop, void *buffer, size_t count) {
 2017788:	9d e3 bf a0 	save  %sp, -96, %sp                            
    ssize_t            ret = 0;                                       
    rtems_status_code  sc = RTEMS_SUCCESSFUL;                         
    msdos_fs_info_t   *fs_info = iop->pathinfo.mt_entry->fs_info;     
 201778c:	c2 06 20 2c 	ld  [ %i0 + 0x2c ], %g1                        
    fat_file_fd_t     *fat_fd = iop->pathinfo.node_access;            
 2017790:	f8 06 20 1c 	ld  [ %i0 + 0x1c ], %i4                        
ssize_t                                                               
msdos_file_read(rtems_libio_t *iop, void *buffer, size_t count)       
{                                                                     
    ssize_t            ret = 0;                                       
    rtems_status_code  sc = RTEMS_SUCCESSFUL;                         
    msdos_fs_info_t   *fs_info = iop->pathinfo.mt_entry->fs_info;     
 2017794:	fa 00 60 34 	ld  [ %g1 + 0x34 ], %i5                        
    fat_file_fd_t     *fat_fd = iop->pathinfo.node_access;            
                                                                      
    sc = rtems_semaphore_obtain(fs_info->vol_sema, RTEMS_WAIT,        
 2017798:	92 10 20 00 	clr  %o1                                       
 201779c:	d0 07 60 98 	ld  [ %i5 + 0x98 ], %o0                        
 20177a0:	7f ff ca 01 	call  2009fa4 <rtems_semaphore_obtain>         
 20177a4:	94 10 20 00 	clr  %o2                                       
                                MSDOS_VOLUME_SEMAPHORE_TIMEOUT);      
    if (sc != RTEMS_SUCCESSFUL)                                       
 20177a8:	80 a2 20 00 	cmp  %o0, 0                                    
 20177ac:	22 80 00 08 	be,a   20177cc <msdos_file_read+0x44>          <== ALWAYS TAKEN
 20177b0:	d4 06 20 14 	ld  [ %i0 + 0x14 ], %o2                        
        rtems_set_errno_and_return_minus_one(EIO);                    
 20177b4:	40 00 0f 13 	call  201b400 <__errno>                        <== NOT EXECUTED
 20177b8:	b0 10 3f ff 	mov  -1, %i0                                   <== NOT EXECUTED
 20177bc:	82 10 20 05 	mov  5, %g1                                    <== NOT EXECUTED
 20177c0:	c2 22 00 00 	st  %g1, [ %o0 ]                               <== NOT EXECUTED
 20177c4:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 20177c8:	81 e8 00 00 	restore                                        <== NOT EXECUTED
                                                                      
    ret = fat_file_read(iop->pathinfo.mt_entry, fat_fd, iop->offset, count,
 20177cc:	d0 06 20 2c 	ld  [ %i0 + 0x2c ], %o0                        
 20177d0:	92 10 00 1c 	mov  %i4, %o1                                  
 20177d4:	96 10 00 1a 	mov  %i2, %o3                                  
 20177d8:	7f ff e9 b1 	call  2011e9c <fat_file_read>                  
 20177dc:	98 10 00 19 	mov  %i1, %o4                                  
 20177e0:	b0 10 00 08 	mov  %o0, %i0                                  
                        buffer);                                      
                                                                      
    rtems_semaphore_release(fs_info->vol_sema);                       
 20177e4:	7f ff ca 3a 	call  200a0cc <rtems_semaphore_release>        
 20177e8:	d0 07 60 98 	ld  [ %i5 + 0x98 ], %o0                        
    return ret;                                                       
}                                                                     
 20177ec:	81 c7 e0 08 	ret                                            
 20177f0:	81 e8 00 00 	restore                                        
                                                                      

02017c48 <msdos_file_rmnod>: * RC_OK on success, or -1 if error occured (errno set appropriately) */ int msdos_file_rmnod(rtems_filesystem_location_info_t *parent_pathloc, rtems_filesystem_location_info_t *pathloc) {
 2017c48:	9d e3 bf a0 	save  %sp, -96, %sp                            <== NOT EXECUTED
    int                rc = RC_OK;                                    
    rtems_status_code  sc = RTEMS_SUCCESSFUL;                         
    msdos_fs_info_t   *fs_info = pathloc->mt_entry->fs_info;          
 2017c4c:	c2 06 60 10 	ld  [ %i1 + 0x10 ], %g1                        <== NOT EXECUTED
    fat_file_fd_t     *fat_fd = pathloc->node_access;                 
 2017c50:	f8 06 40 00 	ld  [ %i1 ], %i4                               <== NOT EXECUTED
msdos_file_rmnod(rtems_filesystem_location_info_t *parent_pathloc,    
                 rtems_filesystem_location_info_t *pathloc)           
{                                                                     
    int                rc = RC_OK;                                    
    rtems_status_code  sc = RTEMS_SUCCESSFUL;                         
    msdos_fs_info_t   *fs_info = pathloc->mt_entry->fs_info;          
 2017c54:	fa 00 60 34 	ld  [ %g1 + 0x34 ], %i5                        <== NOT EXECUTED
    fat_file_fd_t     *fat_fd = pathloc->node_access;                 
                                                                      
    sc = rtems_semaphore_obtain(fs_info->vol_sema, RTEMS_WAIT,        
 2017c58:	92 10 20 00 	clr  %o1                                       <== NOT EXECUTED
 2017c5c:	d0 07 60 98 	ld  [ %i5 + 0x98 ], %o0                        <== NOT EXECUTED
 2017c60:	7f ff c8 d1 	call  2009fa4 <rtems_semaphore_obtain>         <== NOT EXECUTED
 2017c64:	94 10 20 00 	clr  %o2                                       <== NOT EXECUTED
                                MSDOS_VOLUME_SEMAPHORE_TIMEOUT);      
    if (sc != RTEMS_SUCCESSFUL)                                       
 2017c68:	80 a2 20 00 	cmp  %o0, 0                                    <== NOT EXECUTED
 2017c6c:	22 80 00 08 	be,a   2017c8c <msdos_file_rmnod+0x44>         <== NOT EXECUTED
 2017c70:	d0 06 60 10 	ld  [ %i1 + 0x10 ], %o0                        <== NOT EXECUTED
        rtems_set_errno_and_return_minus_one(EIO);                    
 2017c74:	40 00 0d e3 	call  201b400 <__errno>                        <== NOT EXECUTED
 2017c78:	b0 10 3f ff 	mov  -1, %i0                                   <== NOT EXECUTED
 2017c7c:	82 10 20 05 	mov  5, %g1                                    <== NOT EXECUTED
 2017c80:	c2 22 00 00 	st  %g1, [ %o0 ]                               <== NOT EXECUTED
 2017c84:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2017c88:	81 e8 00 00 	restore                                        <== NOT EXECUTED
                                                                      
    /* mark file removed */                                           
    rc = msdos_set_first_char4file_name(pathloc->mt_entry,            
 2017c8c:	92 07 20 20 	add  %i4, 0x20, %o1                            <== NOT EXECUTED
 2017c90:	40 00 01 af 	call  201834c <msdos_set_first_char4file_name> <== NOT EXECUTED
 2017c94:	94 10 20 e5 	mov  0xe5, %o2                                 <== NOT EXECUTED
                                        &fat_fd->dir_pos,             
                                        MSDOS_THIS_DIR_ENTRY_EMPTY);  
    if (rc != RC_OK)                                                  
 2017c98:	b0 92 20 00 	orcc  %o0, 0, %i0                              <== NOT EXECUTED
 2017c9c:	22 80 00 06 	be,a   2017cb4 <msdos_file_rmnod+0x6c>         <== NOT EXECUTED
 2017ca0:	d0 06 60 10 	ld  [ %i1 + 0x10 ], %o0                        <== NOT EXECUTED
    {                                                                 
        rtems_semaphore_release(fs_info->vol_sema);                   
 2017ca4:	7f ff c9 0a 	call  200a0cc <rtems_semaphore_release>        <== NOT EXECUTED
 2017ca8:	d0 07 60 98 	ld  [ %i5 + 0x98 ], %o0                        <== NOT EXECUTED
        return rc;                                                    
 2017cac:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2017cb0:	81 e8 00 00 	restore                                        <== NOT EXECUTED
    }                                                                 
                                                                      
    fat_file_mark_removed(pathloc->mt_entry, fat_fd);                 
 2017cb4:	7f ff ea 8d 	call  20126e8 <fat_file_mark_removed>          <== NOT EXECUTED
 2017cb8:	92 10 00 1c 	mov  %i4, %o1                                  <== NOT EXECUTED
                                                                      
    rtems_semaphore_release(fs_info->vol_sema);                       
 2017cbc:	7f ff c9 04 	call  200a0cc <rtems_semaphore_release>        <== NOT EXECUTED
 2017cc0:	d0 07 60 98 	ld  [ %i5 + 0x98 ], %o0                        <== NOT EXECUTED
    return RC_OK;                                                     
}                                                                     
 2017cc4:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2017cc8:	81 e8 00 00 	restore                                        <== NOT EXECUTED
                                                                      

02017978 <msdos_file_stat>: int msdos_file_stat( rtems_filesystem_location_info_t *loc, struct stat *buf ) {
 2017978:	9d e3 bf a0 	save  %sp, -96, %sp                            
    rtems_status_code  sc = RTEMS_SUCCESSFUL;                         
    msdos_fs_info_t   *fs_info = loc->mt_entry->fs_info;              
 201797c:	c2 06 20 10 	ld  [ %i0 + 0x10 ], %g1                        
    fat_file_fd_t     *fat_fd = loc->node_access;                     
 2017980:	f8 06 00 00 	ld  [ %i0 ], %i4                               
    rtems_filesystem_location_info_t *loc,                            
    struct stat                      *buf                             
    )                                                                 
{                                                                     
    rtems_status_code  sc = RTEMS_SUCCESSFUL;                         
    msdos_fs_info_t   *fs_info = loc->mt_entry->fs_info;              
 2017984:	fa 00 60 34 	ld  [ %g1 + 0x34 ], %i5                        
    fat_file_fd_t     *fat_fd = loc->node_access;                     
                                                                      
    sc = rtems_semaphore_obtain(fs_info->vol_sema, RTEMS_WAIT,        
 2017988:	92 10 20 00 	clr  %o1                                       
 201798c:	d0 07 60 98 	ld  [ %i5 + 0x98 ], %o0                        
 2017990:	7f ff c9 85 	call  2009fa4 <rtems_semaphore_obtain>         
 2017994:	94 10 20 00 	clr  %o2                                       
                                MSDOS_VOLUME_SEMAPHORE_TIMEOUT);      
    if (sc != RTEMS_SUCCESSFUL)                                       
 2017998:	80 a2 20 00 	cmp  %o0, 0                                    
 201799c:	22 80 00 08 	be,a   20179bc <msdos_file_stat+0x44>          <== ALWAYS TAKEN
 20179a0:	c2 07 20 0c 	ld  [ %i4 + 0xc ], %g1                         
        rtems_set_errno_and_return_minus_one(EIO);                    
 20179a4:	40 00 0e 97 	call  201b400 <__errno>                        <== NOT EXECUTED
 20179a8:	b0 10 3f ff 	mov  -1, %i0                                   <== NOT EXECUTED
 20179ac:	82 10 20 05 	mov  5, %g1                                    <== NOT EXECUTED
 20179b0:	c2 22 00 00 	st  %g1, [ %o0 ]                               <== NOT EXECUTED
 20179b4:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 20179b8:	81 e8 00 00 	restore                                        <== NOT EXECUTED
                                                                      
    buf->st_dev = fs_info->fat.vol.dev;                               
 20179bc:	c4 1f 60 58 	ldd  [ %i5 + 0x58 ], %g2                       
    buf->st_ino = fat_fd->ino;                                        
 20179c0:	c2 26 60 08 	st  %g1, [ %i1 + 8 ]                           
    buf->st_mode  = S_IFREG | S_IRWXU | S_IRWXG | S_IRWXO;            
 20179c4:	03 00 00 20 	sethi  %hi(0x8000), %g1                        
 20179c8:	82 10 61 ff 	or  %g1, 0x1ff, %g1	! 81ff <PROM_START+0x81ff> 
 20179cc:	c2 26 60 0c 	st  %g1, [ %i1 + 0xc ]                         
    buf->st_rdev = 0ll;                                               
    buf->st_size = fat_fd->fat_file_size;                             
 20179d0:	c2 07 20 18 	ld  [ %i4 + 0x18 ], %g1                        
    buf->st_blocks = fat_fd->fat_file_size >> FAT_SECTOR512_BITS;     
    buf->st_blksize = fs_info->fat.vol.bps;                           
    buf->st_mtime = fat_fd->mtime;                                    
                                                                      
    rtems_semaphore_release(fs_info->vol_sema);                       
 20179d4:	d0 07 60 98 	ld  [ %i5 + 0x98 ], %o0                        
                                                                      
    buf->st_dev = fs_info->fat.vol.dev;                               
    buf->st_ino = fat_fd->ino;                                        
    buf->st_mode  = S_IFREG | S_IRWXU | S_IRWXG | S_IRWXO;            
    buf->st_rdev = 0ll;                                               
    buf->st_size = fat_fd->fat_file_size;                             
 20179d8:	c2 26 60 24 	st  %g1, [ %i1 + 0x24 ]                        
    buf->st_blocks = fat_fd->fat_file_size >> FAT_SECTOR512_BITS;     
 20179dc:	83 30 60 09 	srl  %g1, 9, %g1                               
 20179e0:	c2 26 60 44 	st  %g1, [ %i1 + 0x44 ]                        
    buf->st_blksize = fs_info->fat.vol.bps;                           
 20179e4:	c2 17 40 00 	lduh  [ %i5 ], %g1                             
    sc = rtems_semaphore_obtain(fs_info->vol_sema, RTEMS_WAIT,        
                                MSDOS_VOLUME_SEMAPHORE_TIMEOUT);      
    if (sc != RTEMS_SUCCESSFUL)                                       
        rtems_set_errno_and_return_minus_one(EIO);                    
                                                                      
    buf->st_dev = fs_info->fat.vol.dev;                               
 20179e8:	c4 3e 40 00 	std  %g2, [ %i1 ]                              
    buf->st_ino = fat_fd->ino;                                        
    buf->st_mode  = S_IFREG | S_IRWXU | S_IRWXG | S_IRWXO;            
    buf->st_rdev = 0ll;                                               
    buf->st_size = fat_fd->fat_file_size;                             
    buf->st_blocks = fat_fd->fat_file_size >> FAT_SECTOR512_BITS;     
    buf->st_blksize = fs_info->fat.vol.bps;                           
 20179ec:	c2 26 60 40 	st  %g1, [ %i1 + 0x40 ]                        
    buf->st_mtime = fat_fd->mtime;                                    
 20179f0:	c2 07 20 40 	ld  [ %i4 + 0x40 ], %g1                        
        rtems_set_errno_and_return_minus_one(EIO);                    
                                                                      
    buf->st_dev = fs_info->fat.vol.dev;                               
    buf->st_ino = fat_fd->ino;                                        
    buf->st_mode  = S_IFREG | S_IRWXU | S_IRWXG | S_IRWXO;            
    buf->st_rdev = 0ll;                                               
 20179f4:	c0 26 60 18 	clr  [ %i1 + 0x18 ]                            
 20179f8:	c0 26 60 1c 	clr  [ %i1 + 0x1c ]                            
    buf->st_size = fat_fd->fat_file_size;                             
 20179fc:	c0 26 60 20 	clr  [ %i1 + 0x20 ]                            
    buf->st_blocks = fat_fd->fat_file_size >> FAT_SECTOR512_BITS;     
    buf->st_blksize = fs_info->fat.vol.bps;                           
    buf->st_mtime = fat_fd->mtime;                                    
 2017a00:	c2 26 60 30 	st  %g1, [ %i1 + 0x30 ]                        
                                                                      
    rtems_semaphore_release(fs_info->vol_sema);                       
 2017a04:	7f ff c9 b2 	call  200a0cc <rtems_semaphore_release>        
 2017a08:	b0 10 20 00 	clr  %i0                                       
    return RC_OK;                                                     
}                                                                     
 2017a0c:	81 c7 e0 08 	ret                                            
 2017a10:	81 e8 00 00 	restore                                        
                                                                      

02017adc <msdos_file_sync>: * RETURNS: * RC_OK on success, or -1 if error occured (errno set appropriately) */ int msdos_file_sync(rtems_libio_t *iop) {
 2017adc:	9d e3 bf a0 	save  %sp, -96, %sp                            <== NOT EXECUTED
    int                rc = RC_OK;                                    
    rtems_status_code  sc = RTEMS_SUCCESSFUL;                         
    fat_file_fd_t     *fat_fd = iop->pathinfo.node_access;            
    msdos_fs_info_t   *fs_info = iop->pathinfo.mt_entry->fs_info;     
 2017ae0:	c2 06 20 2c 	ld  [ %i0 + 0x2c ], %g1                        <== NOT EXECUTED
int                                                                   
msdos_file_sync(rtems_libio_t *iop)                                   
{                                                                     
    int                rc = RC_OK;                                    
    rtems_status_code  sc = RTEMS_SUCCESSFUL;                         
    fat_file_fd_t     *fat_fd = iop->pathinfo.node_access;            
 2017ae4:	f6 06 20 1c 	ld  [ %i0 + 0x1c ], %i3                        <== NOT EXECUTED
    msdos_fs_info_t   *fs_info = iop->pathinfo.mt_entry->fs_info;     
 2017ae8:	fa 00 60 34 	ld  [ %g1 + 0x34 ], %i5                        <== NOT EXECUTED
                                                                      
    sc = rtems_semaphore_obtain(fs_info->vol_sema, RTEMS_WAIT,        
 2017aec:	92 10 20 00 	clr  %o1                                       <== NOT EXECUTED
 2017af0:	d0 07 60 98 	ld  [ %i5 + 0x98 ], %o0                        <== NOT EXECUTED
 2017af4:	94 10 20 00 	clr  %o2                                       <== NOT EXECUTED
 2017af8:	7f ff c9 2b 	call  2009fa4 <rtems_semaphore_obtain>         <== NOT EXECUTED
 2017afc:	b8 10 00 18 	mov  %i0, %i4                                  <== NOT EXECUTED
                                MSDOS_VOLUME_SEMAPHORE_TIMEOUT);      
    if (sc != RTEMS_SUCCESSFUL)                                       
 2017b00:	80 a2 20 00 	cmp  %o0, 0                                    <== NOT EXECUTED
 2017b04:	22 80 00 08 	be,a   2017b24 <msdos_file_sync+0x48>          <== NOT EXECUTED
 2017b08:	d0 06 20 2c 	ld  [ %i0 + 0x2c ], %o0                        <== NOT EXECUTED
        rtems_set_errno_and_return_minus_one(EIO);                    
 2017b0c:	40 00 0e 3d 	call  201b400 <__errno>                        <== NOT EXECUTED
 2017b10:	b0 10 3f ff 	mov  -1, %i0                                   <== NOT EXECUTED
 2017b14:	82 10 20 05 	mov  5, %g1                                    <== NOT EXECUTED
 2017b18:	c2 22 00 00 	st  %g1, [ %o0 ]                               <== NOT EXECUTED
 2017b1c:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2017b20:	81 e8 00 00 	restore                                        <== NOT EXECUTED
                                                                      
    /* synchronize file data */                                       
    rc = fat_file_datasync(iop->pathinfo.mt_entry, fat_fd);           
 2017b24:	7f ff eb 06 	call  201273c <fat_file_datasync>              <== NOT EXECUTED
 2017b28:	92 10 00 1b 	mov  %i3, %o1                                  <== NOT EXECUTED
    if (rc != RC_OK)                                                  
 2017b2c:	b0 92 20 00 	orcc  %o0, 0, %i0                              <== NOT EXECUTED
 2017b30:	22 80 00 06 	be,a   2017b48 <msdos_file_sync+0x6c>          <== NOT EXECUTED
 2017b34:	c2 0e e0 30 	ldub  [ %i3 + 0x30 ], %g1                      <== NOT EXECUTED
    {                                                                 
        rtems_semaphore_release(fs_info->vol_sema);                   
 2017b38:	7f ff c9 65 	call  200a0cc <rtems_semaphore_release>        <== NOT EXECUTED
 2017b3c:	d0 07 60 98 	ld  [ %i5 + 0x98 ], %o0                        <== NOT EXECUTED
        return rc;                                                    
 2017b40:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2017b44:	81 e8 00 00 	restore                                        <== NOT EXECUTED
                                                                      
    /*                                                                
     * if fat-file descriptor is not marked "removed" - synchronize file
     * metadata                                                       
     */                                                               
    if (!FAT_FILE_IS_REMOVED(fat_fd))                                 
 2017b48:	80 88 60 01 	btst  1, %g1                                   <== NOT EXECUTED
 2017b4c:	12 80 00 18 	bne  2017bac <msdos_file_sync+0xd0>            <== NOT EXECUTED
 2017b50:	01 00 00 00 	nop                                            <== NOT EXECUTED
    {                                                                 
        rc = msdos_set_first_cluster_num(iop->pathinfo.mt_entry, fat_fd);
 2017b54:	10 80 00 1a 	b  2017bbc <msdos_file_sync+0xe0>              <== NOT EXECUTED
 2017b58:	d0 07 20 2c 	ld  [ %i4 + 0x2c ], %o0                        <== NOT EXECUTED
        if (rc != RC_OK)                                              
        {                                                             
            rtems_semaphore_release(fs_info->vol_sema);               
            return rc;                                                
        }                                                             
        rc = msdos_set_file_size(iop->pathinfo.mt_entry, fat_fd);     
 2017b5c:	40 00 01 e3 	call  20182e8 <msdos_set_file_size>            <== NOT EXECUTED
 2017b60:	92 10 00 1b 	mov  %i3, %o1                                  <== NOT EXECUTED
        if (rc != RC_OK)                                              
 2017b64:	b4 92 20 00 	orcc  %o0, 0, %i2                              <== NOT EXECUTED
 2017b68:	22 80 00 07 	be,a   2017b84 <msdos_file_sync+0xa8>          <== NOT EXECUTED
 2017b6c:	d0 07 20 2c 	ld  [ %i4 + 0x2c ], %o0                        <== NOT EXECUTED
        {                                                             
            rtems_semaphore_release(fs_info->vol_sema);               
 2017b70:	d0 07 60 98 	ld  [ %i5 + 0x98 ], %o0                        <== NOT EXECUTED
 2017b74:	7f ff c9 56 	call  200a0cc <rtems_semaphore_release>        <== NOT EXECUTED
 2017b78:	b0 10 00 1a 	mov  %i2, %i0                                  <== NOT EXECUTED
            return rc;                                                
 2017b7c:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2017b80:	81 e8 00 00 	restore                                        <== NOT EXECUTED
        }                                                             
        rc = msdos_set_dir_wrt_time_and_date(iop->pathinfo.mt_entry, fat_fd);
 2017b84:	40 00 01 70 	call  2018144 <msdos_set_dir_wrt_time_and_date><== NOT EXECUTED
 2017b88:	92 10 00 1b 	mov  %i3, %o1                                  <== NOT EXECUTED
        if (rc != RC_OK)                                              
 2017b8c:	b8 92 20 00 	orcc  %o0, 0, %i4                              <== NOT EXECUTED
 2017b90:	02 80 00 07 	be  2017bac <msdos_file_sync+0xd0>             <== NOT EXECUTED
 2017b94:	01 00 00 00 	nop                                            <== NOT EXECUTED
        {                                                             
            rtems_semaphore_release(fs_info->vol_sema);               
 2017b98:	d0 07 60 98 	ld  [ %i5 + 0x98 ], %o0                        <== NOT EXECUTED
 2017b9c:	7f ff c9 4c 	call  200a0cc <rtems_semaphore_release>        <== NOT EXECUTED
 2017ba0:	b0 10 00 1c 	mov  %i4, %i0                                  <== NOT EXECUTED
            return rc;                                                
 2017ba4:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2017ba8:	81 e8 00 00 	restore                                        <== NOT EXECUTED
        }                                                             
    }                                                                 
                                                                      
    rtems_semaphore_release(fs_info->vol_sema);                       
 2017bac:	7f ff c9 48 	call  200a0cc <rtems_semaphore_release>        <== NOT EXECUTED
 2017bb0:	d0 07 60 98 	ld  [ %i5 + 0x98 ], %o0                        <== NOT EXECUTED
    return RC_OK;                                                     
}                                                                     
 2017bb4:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2017bb8:	81 e8 00 00 	restore                                        <== NOT EXECUTED
     * if fat-file descriptor is not marked "removed" - synchronize file
     * metadata                                                       
     */                                                               
    if (!FAT_FILE_IS_REMOVED(fat_fd))                                 
    {                                                                 
        rc = msdos_set_first_cluster_num(iop->pathinfo.mt_entry, fat_fd);
 2017bbc:	40 00 01 9c 	call  201822c <msdos_set_first_cluster_num>    <== NOT EXECUTED
 2017bc0:	92 10 00 1b 	mov  %i3, %o1                                  <== NOT EXECUTED
        if (rc != RC_OK)                                              
 2017bc4:	b4 92 20 00 	orcc  %o0, 0, %i2                              <== NOT EXECUTED
 2017bc8:	22 bf ff e5 	be,a   2017b5c <msdos_file_sync+0x80>          <== NOT EXECUTED
 2017bcc:	d0 07 20 2c 	ld  [ %i4 + 0x2c ], %o0                        <== NOT EXECUTED
            return rc;                                                
        }                                                             
        rc = msdos_set_file_size(iop->pathinfo.mt_entry, fat_fd);     
        if (rc != RC_OK)                                              
        {                                                             
            rtems_semaphore_release(fs_info->vol_sema);               
 2017bd0:	10 bf ff e9 	b  2017b74 <msdos_file_sync+0x98>              <== NOT EXECUTED
 2017bd4:	d0 07 60 98 	ld  [ %i5 + 0x98 ], %o0                        <== NOT EXECUTED
                                                                      

020177f4 <msdos_file_write>: * the number of bytes written on success, or -1 if error occured * and errno set appropriately */ ssize_t msdos_file_write(rtems_libio_t *iop,const void *buffer, size_t count) {
 20177f4:	9d e3 bf a0 	save  %sp, -96, %sp                            
    ssize_t            ret = 0;                                       
    rtems_status_code  sc = RTEMS_SUCCESSFUL;                         
    msdos_fs_info_t   *fs_info = iop->pathinfo.mt_entry->fs_info;     
 20177f8:	c2 06 20 2c 	ld  [ %i0 + 0x2c ], %g1                        
    fat_file_fd_t     *fat_fd = iop->pathinfo.node_access;            
 20177fc:	f8 06 20 1c 	ld  [ %i0 + 0x1c ], %i4                        
ssize_t                                                               
msdos_file_write(rtems_libio_t *iop,const void *buffer, size_t count) 
{                                                                     
    ssize_t            ret = 0;                                       
    rtems_status_code  sc = RTEMS_SUCCESSFUL;                         
    msdos_fs_info_t   *fs_info = iop->pathinfo.mt_entry->fs_info;     
 2017800:	f6 00 60 34 	ld  [ %g1 + 0x34 ], %i3                        
    fat_file_fd_t     *fat_fd = iop->pathinfo.node_access;            
                                                                      
    sc = rtems_semaphore_obtain(fs_info->vol_sema, RTEMS_WAIT,        
 2017804:	92 10 20 00 	clr  %o1                                       
 2017808:	d0 06 e0 98 	ld  [ %i3 + 0x98 ], %o0                        
 201780c:	94 10 20 00 	clr  %o2                                       
 2017810:	7f ff c9 e5 	call  2009fa4 <rtems_semaphore_obtain>         
 2017814:	ba 10 00 18 	mov  %i0, %i5                                  
                                MSDOS_VOLUME_SEMAPHORE_TIMEOUT);      
    if (sc != RTEMS_SUCCESSFUL)                                       
 2017818:	80 a2 20 00 	cmp  %o0, 0                                    
 201781c:	22 80 00 08 	be,a   201783c <msdos_file_write+0x48>         <== ALWAYS TAKEN
 2017820:	d0 06 20 2c 	ld  [ %i0 + 0x2c ], %o0                        
        rtems_set_errno_and_return_minus_one(EIO);                    
 2017824:	40 00 0e f7 	call  201b400 <__errno>                        <== NOT EXECUTED
 2017828:	b0 10 3f ff 	mov  -1, %i0                                   <== NOT EXECUTED
 201782c:	82 10 20 05 	mov  5, %g1                                    <== NOT EXECUTED
 2017830:	c2 22 00 00 	st  %g1, [ %o0 ]                               <== NOT EXECUTED
 2017834:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2017838:	81 e8 00 00 	restore                                        <== NOT EXECUTED
                                                                      
    ret = fat_file_write(iop->pathinfo.mt_entry, fat_fd, iop->offset, count,
 201783c:	d4 06 20 14 	ld  [ %i0 + 0x14 ], %o2                        
 2017840:	92 10 00 1c 	mov  %i4, %o1                                  
 2017844:	96 10 00 1a 	mov  %i2, %o3                                  
 2017848:	7f ff eb 27 	call  20124e4 <fat_file_write>                 
 201784c:	98 10 00 19 	mov  %i1, %o4                                  
                         buffer);                                     
    if (ret < 0)                                                      
 2017850:	b0 92 20 00 	orcc  %o0, 0, %i0                              
 2017854:	36 80 00 06 	bge,a   201786c <msdos_file_write+0x78>        <== ALWAYS TAKEN
 2017858:	d8 1f 60 10 	ldd  [ %i5 + 0x10 ], %o4                       
    {                                                                 
        rtems_semaphore_release(fs_info->vol_sema);                   
 201785c:	7f ff ca 1c 	call  200a0cc <rtems_semaphore_release>        <== NOT EXECUTED
 2017860:	d0 06 e0 98 	ld  [ %i3 + 0x98 ], %o0                        <== NOT EXECUTED
        return -1;                                                    
 2017864:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2017868:	91 e8 3f ff 	restore  %g0, -1, %o0                          <== NOT EXECUTED
                                                                      
    /*                                                                
     * update file size in both fat-file descriptor and file control block if
     * file was extended                                              
     */                                                               
    if (iop->offset + ret > fat_fd->fat_file_size)                    
 201786c:	85 3e 20 1f 	sra  %i0, 0x1f, %g2                            
 2017870:	86 83 40 18 	addcc  %o5, %i0, %g3                           
 2017874:	84 43 00 02 	addx  %o4, %g2, %g2                            
 2017878:	80 a0 a0 00 	cmp  %g2, 0                                    
 201787c:	14 80 00 08 	bg  201789c <msdos_file_write+0xa8>            <== NEVER TAKEN
 2017880:	c2 07 20 18 	ld  [ %i4 + 0x18 ], %g1                        
 2017884:	80 a0 a0 00 	cmp  %g2, 0                                    
 2017888:	32 80 00 09 	bne,a   20178ac <msdos_file_write+0xb8>        <== NEVER TAKEN
 201788c:	d0 06 e0 98 	ld  [ %i3 + 0x98 ], %o0                        <== NOT EXECUTED
 2017890:	80 a0 c0 01 	cmp  %g3, %g1                                  
 2017894:	28 80 00 06 	bleu,a   20178ac <msdos_file_write+0xb8>       
 2017898:	d0 06 e0 98 	ld  [ %i3 + 0x98 ], %o0                        
        fat_fd->fat_file_size = iop->offset + ret;                    
 201789c:	82 06 00 0d 	add  %i0, %o5, %g1                             
 20178a0:	c2 27 20 18 	st  %g1, [ %i4 + 0x18 ]                        
                                                                      
    iop->size = fat_fd->fat_file_size;                                
 20178a4:	c2 07 20 18 	ld  [ %i4 + 0x18 ], %g1                        
                                                                      
    rtems_semaphore_release(fs_info->vol_sema);                       
 20178a8:	d0 06 e0 98 	ld  [ %i3 + 0x98 ], %o0                        
     * file was extended                                              
     */                                                               
    if (iop->offset + ret > fat_fd->fat_file_size)                    
        fat_fd->fat_file_size = iop->offset + ret;                    
                                                                      
    iop->size = fat_fd->fat_file_size;                                
 20178ac:	c0 27 60 08 	clr  [ %i5 + 8 ]                               
                                                                      
    rtems_semaphore_release(fs_info->vol_sema);                       
 20178b0:	7f ff ca 07 	call  200a0cc <rtems_semaphore_release>        
 20178b4:	c2 27 60 0c 	st  %g1, [ %i5 + 0xc ]                         
    return ret;                                                       
}                                                                     
 20178b8:	81 c7 e0 08 	ret                                            
 20178bc:	81 e8 00 00 	restore                                        
                                                                      

0201a948 <msdos_filename_unix2dos>: /* * Fill the dos filename string with blanks. These are DOS's pad * characters. */ for (i = 0; i <= 10; i++)
 201a948:	82 10 20 00 	clr  %g1                                       
		dn[i] = ' ';                                                        
 201a94c:	84 10 20 20 	mov  0x20, %g2                                 
 201a950:	c4 2a 80 01 	stb  %g2, [ %o2 + %g1 ]                        
                                                                      
	/*                                                                   
	 * Fill the dos filename string with blanks. These are DOS's pad     
	 * characters.                                                       
	 */                                                                  
	for (i = 0; i <= 10; i++)                                            
 201a954:	82 00 60 01 	inc  %g1                                       
 201a958:	80 a0 60 0b 	cmp  %g1, 0xb                                  
 201a95c:	32 bf ff fe 	bne,a   201a954 <msdos_filename_unix2dos+0xc>  
 201a960:	c4 2a 80 01 	stb  %g2, [ %o2 + %g1 ]                        
                                                                      
	/*                                                                   
	 * The filenames "." and ".." are handled specially, since they      
	 * don't follow dos filename rules.                                  
	 */                                                                  
	if (un[0] == '.' && unlen == 1) {                                    
 201a964:	c2 4a 00 00 	ldsb  [ %o0 ], %g1                             
 201a968:	82 18 60 2e 	xor  %g1, 0x2e, %g1                            
 201a96c:	80 a0 00 01 	cmp  %g0, %g1                                  
 201a970:	82 60 3f ff 	subx  %g0, -1, %g1                             
 201a974:	80 a2 60 01 	cmp  %o1, 1                                    
 201a978:	12 80 00 06 	bne  201a990 <msdos_filename_unix2dos+0x48>    <== ALWAYS TAKEN
 201a97c:	80 a0 60 00 	cmp  %g1, 0                                    
 201a980:	02 80 00 04 	be  201a990 <msdos_filename_unix2dos+0x48>     <== NOT EXECUTED
 201a984:	82 10 20 2e 	mov  0x2e, %g1                                 <== NOT EXECUTED
		dn[0] = '.';                                                        
		return 0;                                                           
 201a988:	10 80 00 53 	b  201aad4 <msdos_filename_unix2dos+0x18c>     <== NOT EXECUTED
 201a98c:	c2 2a 80 00 	stb  %g1, [ %o2 ]                              <== NOT EXECUTED
	}                                                                    
	if (un[0] == '.' && un[1] == '.' && unlen == 2) {                    
 201a990:	02 80 00 0e 	be  201a9c8 <msdos_filename_unix2dos+0x80>     <== ALWAYS TAKEN
 201a994:	80 a2 60 00 	cmp  %o1, 0                                    
 201a998:	80 a2 60 02 	cmp  %o1, 2                                    <== NOT EXECUTED
 201a99c:	12 80 00 0b 	bne  201a9c8 <msdos_filename_unix2dos+0x80>    <== NOT EXECUTED
 201a9a0:	80 a2 60 00 	cmp  %o1, 0                                    <== NOT EXECUTED
 201a9a4:	c2 4a 20 01 	ldsb  [ %o0 + 1 ], %g1                         <== NOT EXECUTED
 201a9a8:	80 a0 60 2e 	cmp  %g1, 0x2e                                 <== NOT EXECUTED
 201a9ac:	12 80 00 07 	bne  201a9c8 <msdos_filename_unix2dos+0x80>    <== NOT EXECUTED
 201a9b0:	80 a2 60 00 	cmp  %o1, 0                                    <== NOT EXECUTED
		dn[0] = '.';                                                        
 201a9b4:	c2 2a 80 00 	stb  %g1, [ %o2 ]                              <== NOT EXECUTED
		dn[1] = '.';                                                        
		return 0;                                                           
 201a9b8:	10 80 00 47 	b  201aad4 <msdos_filename_unix2dos+0x18c>     <== NOT EXECUTED
 201a9bc:	c2 2a a0 01 	stb  %g1, [ %o2 + 1 ]                          <== NOT EXECUTED
  /*                                                                  
   * Remove any dots from the start of a file name.                   
   */                                                                 
	while (unlen && (*un == '.')) {                                      
		un++;                                                               
		unlen--;                                                            
 201a9c0:	92 02 7f ff 	add  %o1, -1, %o1                              <== NOT EXECUTED
	}                                                                    
                                                                      
  /*                                                                  
   * Remove any dots from the start of a file name.                   
   */                                                                 
	while (unlen && (*un == '.')) {                                      
 201a9c4:	80 a2 60 00 	cmp  %o1, 0                                    <== NOT EXECUTED
 201a9c8:	32 80 00 05 	bne,a   201a9dc <msdos_filename_unix2dos+0x94> <== ALWAYS TAKEN
 201a9cc:	c2 4a 00 00 	ldsb  [ %o0 ], %g1                             
                                                                      
	/*                                                                   
	 * Fill the dos filename string with blanks. These are DOS's pad     
	 * characters.                                                       
	 */                                                                  
	for (i = 0; i <= 10; i++)                                            
 201a9d0:	82 10 20 00 	clr  %g1                                       <== NOT EXECUTED
	 * of string, a '.', or 8 characters. Whichever happens first stops  
	 * us. This forms the name portion of the dos filename. Fold to      
	 * upper case.                                                       
	 */                                                                  
	for (i = 0; i <= 7 && unlen && (c = *un) && c != '.'; i++) {         
    if (msdos_map[c] == 0)                                            
 201a9d4:	10 80 00 0f 	b  201aa10 <msdos_filename_unix2dos+0xc8>      
 201a9d8:	07 00 80 ac 	sethi  %hi(0x202b000), %g3                     
	}                                                                    
                                                                      
  /*                                                                  
   * Remove any dots from the start of a file name.                   
   */                                                                 
	while (unlen && (*un == '.')) {                                      
 201a9dc:	80 a0 60 2e 	cmp  %g1, 0x2e                                 
 201a9e0:	22 bf ff f8 	be,a   201a9c0 <msdos_filename_unix2dos+0x78>  <== NEVER TAKEN
 201a9e4:	90 02 20 01 	inc  %o0                                       <== NOT EXECUTED
                                                                      
	/*                                                                   
	 * Fill the dos filename string with blanks. These are DOS's pad     
	 * characters.                                                       
	 */                                                                  
	for (i = 0; i <= 10; i++)                                            
 201a9e8:	10 bf ff fb 	b  201a9d4 <msdos_filename_unix2dos+0x8c>      
 201a9ec:	82 10 20 00 	clr  %g1                                       
	 * of string, a '.', or 8 characters. Whichever happens first stops  
	 * us. This forms the name portion of the dos filename. Fold to      
	 * upper case.                                                       
	 */                                                                  
	for (i = 0; i <= 7 && unlen && (c = *un) && c != '.'; i++) {         
    if (msdos_map[c] == 0)                                            
 201a9f0:	c4 09 00 02 	ldub  [ %g4 + %g2 ], %g2                       
 201a9f4:	80 88 a0 ff 	btst  0xff, %g2                                
 201a9f8:	02 80 00 1b 	be  201aa64 <msdos_filename_unix2dos+0x11c>    <== NEVER TAKEN
 201a9fc:	80 a2 60 00 	cmp  %o1, 0                                    
      break;                                                          
		dn[i] = msdos_map[c];                                               
 201aa00:	c4 2a 80 01 	stb  %g2, [ %o2 + %g1 ]                        
		un++;                                                               
 201aa04:	90 02 20 01 	inc  %o0                                       
		unlen--;                                                            
 201aa08:	92 02 7f ff 	add  %o1, -1, %o1                              
	 * Copy the unix filename into the dos filename string upto the end  
	 * of string, a '.', or 8 characters. Whichever happens first stops  
	 * us. This forms the name portion of the dos filename. Fold to      
	 * upper case.                                                       
	 */                                                                  
	for (i = 0; i <= 7 && unlen && (c = *un) && c != '.'; i++) {         
 201aa0c:	82 00 60 01 	inc  %g1                                       
 201aa10:	80 a2 60 00 	cmp  %o1, 0                                    
 201aa14:	02 80 00 13 	be  201aa60 <msdos_filename_unix2dos+0x118>    
 201aa18:	80 a0 60 07 	cmp  %g1, 7                                    
 201aa1c:	04 80 00 03 	ble  201aa28 <msdos_filename_unix2dos+0xe0>    
 201aa20:	84 10 20 01 	mov  1, %g2                                    
 201aa24:	84 10 20 00 	clr  %g2                                       
 201aa28:	80 88 a0 ff 	btst  0xff, %g2                                
 201aa2c:	02 80 00 0e 	be  201aa64 <msdos_filename_unix2dos+0x11c>    
 201aa30:	80 a2 60 00 	cmp  %o1, 0                                    
 201aa34:	c4 0a 00 00 	ldub  [ %o0 ], %g2                             
 201aa38:	80 a0 a0 00 	cmp  %g2, 0                                    
 201aa3c:	02 80 00 09 	be  201aa60 <msdos_filename_unix2dos+0x118>    <== NEVER TAKEN
 201aa40:	80 a0 a0 2e 	cmp  %g2, 0x2e                                 
 201aa44:	12 bf ff eb 	bne  201a9f0 <msdos_filename_unix2dos+0xa8>    <== ALWAYS TAKEN
 201aa48:	88 10 e3 b8 	or  %g3, 0x3b8, %g4                            
                                                                      
	/*                                                                   
	 * Strip any further characters up to a '.' or the end of the        
	 * string.                                                           
	 */                                                                  
	while (unlen && (c = *un)) {                                         
 201aa4c:	10 80 00 06 	b  201aa64 <msdos_filename_unix2dos+0x11c>     <== NOT EXECUTED
 201aa50:	80 a2 60 00 	cmp  %o1, 0                                    <== NOT EXECUTED
		un++;                                                               
		unlen--;                                                            
		/* Make sure we've skipped over the dot before stopping. */         
		if (c == '.')                                                       
 201aa54:	80 a0 60 2e 	cmp  %g1, 0x2e                                 
 201aa58:	02 80 00 09 	be  201aa7c <msdos_filename_unix2dos+0x134>    <== NEVER TAKEN
 201aa5c:	92 02 7f ff 	add  %o1, -1, %o1                              
                                                                      
	/*                                                                   
	 * Strip any further characters up to a '.' or the end of the        
	 * string.                                                           
	 */                                                                  
	while (unlen && (c = *un)) {                                         
 201aa60:	80 a2 60 00 	cmp  %o1, 0                                    
 201aa64:	02 80 00 07 	be  201aa80 <msdos_filename_unix2dos+0x138>    
 201aa68:	82 10 20 08 	mov  8, %g1                                    
 201aa6c:	c2 0a 00 00 	ldub  [ %o0 ], %g1                             
 201aa70:	80 a0 60 00 	cmp  %g1, 0                                    
 201aa74:	32 bf ff f8 	bne,a   201aa54 <msdos_filename_unix2dos+0x10c><== ALWAYS TAKEN
 201aa78:	90 02 20 01 	inc  %o0                                       
                                                                      
	/*                                                                   
	 * Fill the dos filename string with blanks. These are DOS's pad     
	 * characters.                                                       
	 */                                                                  
	for (i = 0; i <= 10; i++)                                            
 201aa7c:	82 10 20 08 	mov  8, %g1                                    <== NOT EXECUTED
	 * Copy in the extension part of the name, if any. Force to upper    
	 * case. Note that the extension is allowed to contain '.'s.         
	 * Filenames in this form are probably inaccessable under dos.       
	 */                                                                  
	for (i = 8; i <= 10 && unlen && (c = *un); i++) {                    
    if (msdos_map[c] == 0)                                            
 201aa80:	10 80 00 08 	b  201aaa0 <msdos_filename_unix2dos+0x158>     
 201aa84:	07 00 80 ac 	sethi  %hi(0x202b000), %g3                     
 201aa88:	c4 09 00 02 	ldub  [ %g4 + %g2 ], %g2                       <== NOT EXECUTED
 201aa8c:	80 88 a0 ff 	btst  0xff, %g2                                <== NOT EXECUTED
 201aa90:	02 80 00 11 	be  201aad4 <msdos_filename_unix2dos+0x18c>    <== NOT EXECUTED
 201aa94:	92 02 7f ff 	add  %o1, -1, %o1                              <== NOT EXECUTED
      break;                                                          
    dn[i] = msdos_map[c];                                             
 201aa98:	c4 2a 80 01 	stb  %g2, [ %o2 + %g1 ]                        <== NOT EXECUTED
	/*                                                                   
	 * Copy in the extension part of the name, if any. Force to upper    
	 * case. Note that the extension is allowed to contain '.'s.         
	 * Filenames in this form are probably inaccessable under dos.       
	 */                                                                  
	for (i = 8; i <= 10 && unlen && (c = *un); i++) {                    
 201aa9c:	82 00 60 01 	inc  %g1                                       <== NOT EXECUTED
 201aaa0:	80 a2 60 00 	cmp  %o1, 0                                    
 201aaa4:	02 80 00 0c 	be  201aad4 <msdos_filename_unix2dos+0x18c>    <== ALWAYS TAKEN
 201aaa8:	80 a0 60 0a 	cmp  %g1, 0xa                                  
 201aaac:	04 80 00 03 	ble  201aab8 <msdos_filename_unix2dos+0x170>   <== NOT EXECUTED
 201aab0:	84 10 20 01 	mov  1, %g2                                    <== NOT EXECUTED
 201aab4:	84 10 20 00 	clr  %g2                                       <== NOT EXECUTED
 201aab8:	80 88 a0 ff 	btst  0xff, %g2                                <== NOT EXECUTED
 201aabc:	02 80 00 06 	be  201aad4 <msdos_filename_unix2dos+0x18c>    <== NOT EXECUTED
 201aac0:	84 02 00 01 	add  %o0, %g1, %g2                             <== NOT EXECUTED
 201aac4:	c4 08 bf f8 	ldub  [ %g2 + -8 ], %g2                        <== NOT EXECUTED
 201aac8:	80 a0 a0 00 	cmp  %g2, 0                                    <== NOT EXECUTED
 201aacc:	12 bf ff ef 	bne  201aa88 <msdos_filename_unix2dos+0x140>   <== NOT EXECUTED
 201aad0:	88 10 e3 b8 	or  %g3, 0x3b8, %g4                            <== NOT EXECUTED
    dn[i] = msdos_map[c];                                             
		un++;                                                               
		unlen--;                                                            
	}                                                                    
	return 0;                                                            
}                                                                     
 201aad4:	81 c3 e0 08 	retl                                           
 201aad8:	90 10 20 00 	clr  %o0                                       
                                                                      

0201945c <msdos_find_name>: msdos_find_name( rtems_filesystem_location_info_t *parent_loc, const char *name, int name_len ) {
 201945c:	9d e3 bf 60 	save  %sp, -160, %sp                           
    int                rc = RC_OK;                                    
    msdos_fs_info_t   *fs_info = parent_loc->mt_entry->fs_info;       
 2019460:	c2 06 20 10 	ld  [ %i0 + 0x10 ], %g1                        
    fat_dir_pos_t      dir_pos;                                       
    unsigned short     time_val = 0;                                  
    unsigned short     date = 0;                                      
    char               node_entry[MSDOS_DIRECTORY_ENTRY_STRUCT_SIZE]; 
                                                                      
    memset(node_entry, 0, MSDOS_DIRECTORY_ENTRY_STRUCT_SIZE);         
 2019464:	b8 07 bf c8 	add  %fp, -56, %i4                             
    const char                       *name,                           
    int                               name_len                        
    )                                                                 
{                                                                     
    int                rc = RC_OK;                                    
    msdos_fs_info_t   *fs_info = parent_loc->mt_entry->fs_info;       
 2019468:	f6 00 60 34 	ld  [ %g1 + 0x34 ], %i3                        
    fat_dir_pos_t      dir_pos;                                       
    unsigned short     time_val = 0;                                  
    unsigned short     date = 0;                                      
    char               node_entry[MSDOS_DIRECTORY_ENTRY_STRUCT_SIZE]; 
                                                                      
    memset(node_entry, 0, MSDOS_DIRECTORY_ENTRY_STRUCT_SIZE);         
 201946c:	92 10 20 00 	clr  %o1                                       
 2019470:	94 10 20 20 	mov  0x20, %o2                                 
    int                               name_len                        
    )                                                                 
{                                                                     
    int                rc = RC_OK;                                    
    msdos_fs_info_t   *fs_info = parent_loc->mt_entry->fs_info;       
    fat_file_fd_t     *fat_fd = NULL;                                 
 2019474:	c0 27 bf fc 	clr  [ %fp + -4 ]                              
    fat_dir_pos_t      dir_pos;                                       
    unsigned short     time_val = 0;                                  
    unsigned short     date = 0;                                      
    char               node_entry[MSDOS_DIRECTORY_ENTRY_STRUCT_SIZE]; 
                                                                      
    memset(node_entry, 0, MSDOS_DIRECTORY_ENTRY_STRUCT_SIZE);         
 2019478:	40 00 0a ed 	call  201c02c <memset>                         
 201947c:	90 10 00 1c 	mov  %i4, %o0                                  
                                                                      
    name_type = msdos_long_to_short (name,                            
 2019480:	92 10 00 1a 	mov  %i2, %o1                                  
 2019484:	94 10 00 1c 	mov  %i4, %o2                                  
 2019488:	96 10 20 0b 	mov  0xb, %o3                                  
 201948c:	7f ff fa 71 	call  2017e50 <msdos_long_to_short>            
 2019490:	90 10 00 19 	mov  %i1, %o0                                  
msdos_find_name(                                                      
    rtems_filesystem_location_info_t *parent_loc,                     
    const char                       *name,                           
    int                               name_len                        
    )                                                                 
{                                                                     
 2019494:	ba 10 00 18 	mov  %i0, %i5                                  
    unsigned short     date = 0;                                      
    char               node_entry[MSDOS_DIRECTORY_ENTRY_STRUCT_SIZE]; 
                                                                      
    memset(node_entry, 0, MSDOS_DIRECTORY_ENTRY_STRUCT_SIZE);         
                                                                      
    name_type = msdos_long_to_short (name,                            
 2019498:	98 10 00 08 	mov  %o0, %o4                                  
                                                                      
    /*                                                                
     * find the node which correspondes to the name in the directory pointed by
     * 'parent_loc'                                                   
     */                                                               
    rc = msdos_get_name_node(parent_loc, false, name, name_len, name_type,
 201949c:	f8 23 a0 5c 	st  %i4, [ %sp + 0x5c ]                        
 20194a0:	90 10 00 18 	mov  %i0, %o0                                  
 20194a4:	92 10 20 00 	clr  %o1                                       
 20194a8:	94 10 00 19 	mov  %i1, %o2                                  
 20194ac:	96 10 00 1a 	mov  %i2, %o3                                  
 20194b0:	7f ff ff ab 	call  201935c <msdos_get_name_node>            
 20194b4:	9a 07 bf ec 	add  %fp, -20, %o5                             
                             &dir_pos, node_entry);                   
    if (rc != RC_OK)                                                  
 20194b8:	b0 92 20 00 	orcc  %o0, 0, %i0                              
 20194bc:	12 80 00 68 	bne  201965c <msdos_find_name+0x200>           
 20194c0:	01 00 00 00 	nop                                            
        return rc;                                                    
                                                                      
    if (((*MSDOS_DIR_ATTR(node_entry)) & MSDOS_ATTR_VOLUME_ID) ||     
 20194c4:	c2 0f 20 0b 	ldub  [ %i4 + 0xb ], %g1                       
        ((*MSDOS_DIR_ATTR(node_entry) & MSDOS_ATTR_LFN_MASK) == MSDOS_ATTR_LFN))
        return MSDOS_NAME_NOT_FOUND_ERR;                              
 20194c8:	31 00 00 1f 	sethi  %hi(0x7c00), %i0                        
    rc = msdos_get_name_node(parent_loc, false, name, name_len, name_type,
                             &dir_pos, node_entry);                   
    if (rc != RC_OK)                                                  
        return rc;                                                    
                                                                      
    if (((*MSDOS_DIR_ATTR(node_entry)) & MSDOS_ATTR_VOLUME_ID) ||     
 20194cc:	80 88 60 08 	btst  8, %g1                                   
 20194d0:	12 80 00 60 	bne  2019650 <msdos_find_name+0x1f4>           <== NEVER TAKEN
 20194d4:	b0 16 21 01 	or  %i0, 0x101, %i0                            
        ((*MSDOS_DIR_ATTR(node_entry) & MSDOS_ATTR_LFN_MASK) == MSDOS_ATTR_LFN))
 20194d8:	82 08 60 3f 	and  %g1, 0x3f, %g1                            
    rc = msdos_get_name_node(parent_loc, false, name, name_len, name_type,
                             &dir_pos, node_entry);                   
    if (rc != RC_OK)                                                  
        return rc;                                                    
                                                                      
    if (((*MSDOS_DIR_ATTR(node_entry)) & MSDOS_ATTR_VOLUME_ID) ||     
 20194dc:	80 a0 60 0f 	cmp  %g1, 0xf                                  
 20194e0:	02 80 00 5c 	be  2019650 <msdos_find_name+0x1f4>            <== NEVER TAKEN
 20194e4:	92 07 bf ec 	add  %fp, -20, %o1                             
        ((*MSDOS_DIR_ATTR(node_entry) & MSDOS_ATTR_LFN_MASK) == MSDOS_ATTR_LFN))
        return MSDOS_NAME_NOT_FOUND_ERR;                              
                                                                      
    /* open fat-file corresponded to the found node */                
    rc = fat_file_open(parent_loc->mt_entry, &dir_pos, &fat_fd);      
 20194e8:	d0 07 60 10 	ld  [ %i5 + 0x10 ], %o0                        
 20194ec:	7f ff e2 14 	call  2011d3c <fat_file_open>                  
 20194f0:	94 07 bf fc 	add  %fp, -4, %o2                              
    if (rc != RC_OK)                                                  
 20194f4:	b0 92 20 00 	orcc  %o0, 0, %i0                              
 20194f8:	12 80 00 56 	bne  2019650 <msdos_find_name+0x1f4>           <== NEVER TAKEN
 20194fc:	f4 07 bf fc 	ld  [ %fp + -4 ], %i2                          
        return rc;                                                    
                                                                      
    fat_fd->dir_pos = dir_pos;                                        
 2019500:	92 07 bf ec 	add  %fp, -20, %o1                             
 2019504:	90 06 a0 20 	add  %i2, 0x20, %o0                            
 2019508:	40 00 0a 8d 	call  201bf3c <memcpy>                         
 201950c:	94 10 20 10 	mov  0x10, %o2                                 
     * size and first cluster num to the disk after each write operation
     * (even if one byte is written  - that is TOO slow) because      
     * otherwise real values of these fields stored in fat-file descriptor
     * may be accidentally rewritten with wrong values stored on the disk
     */                                                               
    if (fat_fd->links_num == 1)                                       
 2019510:	f2 06 a0 08 	ld  [ %i2 + 8 ], %i1                           
 2019514:	80 a6 60 01 	cmp  %i1, 1                                    
 2019518:	32 80 00 46 	bne,a   2019630 <msdos_find_name+0x1d4>        
 201951c:	d2 07 40 00 	ld  [ %i5 ], %o1                               
    {                                                                 
        fat_fd->cln = MSDOS_EXTRACT_CLUSTER_NUM(node_entry);          
 2019520:	c4 17 20 14 	lduh  [ %i4 + 0x14 ], %g2                      
 2019524:	c2 17 20 1a 	lduh  [ %i4 + 0x1a ], %g1                      
 2019528:	85 28 a0 10 	sll  %g2, 0x10, %g2                            
 201952c:	89 30 a0 18 	srl  %g2, 0x18, %g4                            
 2019530:	87 30 a0 08 	srl  %g2, 8, %g3                               
 2019534:	83 28 60 10 	sll  %g1, 0x10, %g1                            
 2019538:	05 00 00 3f 	sethi  %hi(0xfc00), %g2                        
 201953c:	84 10 a3 ff 	or  %g2, 0x3ff, %g2	! ffff <PROM_START+0xffff> 
 2019540:	86 08 c0 02 	and  %g3, %g2, %g3                             
 2019544:	86 11 00 03 	or  %g4, %g3, %g3                              
 2019548:	89 30 60 18 	srl  %g1, 0x18, %g4                            
 201954c:	87 28 e0 10 	sll  %g3, 0x10, %g3                            
 2019550:	83 30 60 08 	srl  %g1, 8, %g1                               
 2019554:	82 08 40 02 	and  %g1, %g2, %g1                             
 2019558:	82 11 00 01 	or  %g4, %g1, %g1                              
 201955c:	82 10 c0 01 	or  %g3, %g1, %g1                              
                                                                      
        time_val = *MSDOS_DIR_WRITE_TIME(node_entry);                 
        date = *MSDOS_DIR_WRITE_DATE(node_entry);                     
 2019560:	c6 17 20 18 	lduh  [ %i4 + 0x18 ], %g3                      
     * otherwise real values of these fields stored in fat-file descriptor
     * may be accidentally rewritten with wrong values stored on the disk
     */                                                               
    if (fat_fd->links_num == 1)                                       
    {                                                                 
        fat_fd->cln = MSDOS_EXTRACT_CLUSTER_NUM(node_entry);          
 2019564:	c2 26 a0 1c 	st  %g1, [ %i2 + 0x1c ]                        
                                                                      
        time_val = *MSDOS_DIR_WRITE_TIME(node_entry);                 
 2019568:	c2 17 20 16 	lduh  [ %i4 + 0x16 ], %g1                      
        date = *MSDOS_DIR_WRITE_DATE(node_entry);                     
                                                                      
        fat_fd->mtime = msdos_date_dos2unix(CF_LE_W(date), CF_LE_W(time_val));
 201956c:	87 28 e0 10 	sll  %g3, 0x10, %g3                            
 2019570:	83 28 60 10 	sll  %g1, 0x10, %g1                            
 2019574:	91 30 e0 18 	srl  %g3, 0x18, %o0                            
 2019578:	93 30 60 18 	srl  %g1, 0x18, %o1                            
 201957c:	87 30 e0 08 	srl  %g3, 8, %g3                               
 2019580:	83 30 60 08 	srl  %g1, 8, %g1                               
 2019584:	86 08 c0 02 	and  %g3, %g2, %g3                             
 2019588:	82 08 40 02 	and  %g1, %g2, %g1                             
 201958c:	90 12 00 03 	or  %o0, %g3, %o0                              
 2019590:	40 00 04 a6 	call  201a828 <msdos_date_dos2unix>            
 2019594:	92 12 40 01 	or  %o1, %g1, %o1                              
                                                                      
        if ((*MSDOS_DIR_ATTR(node_entry)) & MSDOS_ATTR_DIRECTORY)     
 2019598:	c2 0f 20 0b 	ldub  [ %i4 + 0xb ], %g1                       
        fat_fd->cln = MSDOS_EXTRACT_CLUSTER_NUM(node_entry);          
                                                                      
        time_val = *MSDOS_DIR_WRITE_TIME(node_entry);                 
        date = *MSDOS_DIR_WRITE_DATE(node_entry);                     
                                                                      
        fat_fd->mtime = msdos_date_dos2unix(CF_LE_W(date), CF_LE_W(time_val));
 201959c:	d0 26 a0 40 	st  %o0, [ %i2 + 0x40 ]                        
                                                                      
        if ((*MSDOS_DIR_ATTR(node_entry)) & MSDOS_ATTR_DIRECTORY)     
 20195a0:	80 88 60 10 	btst  0x10, %g1                                
 20195a4:	02 80 00 0e 	be  20195dc <msdos_find_name+0x180>            
 20195a8:	f4 07 bf fc 	ld  [ %fp + -4 ], %i2                          
        {                                                             
            fat_fd->fat_file_type = FAT_DIRECTORY;                    
            fat_fd->size_limit = MSDOS_MAX_DIR_LENGHT;                
                                                                      
            rc = fat_file_size(parent_loc->mt_entry, fat_fd);         
 20195ac:	d0 07 60 10 	ld  [ %i5 + 0x10 ], %o0                        
        fat_fd->mtime = msdos_date_dos2unix(CF_LE_W(date), CF_LE_W(time_val));
                                                                      
        if ((*MSDOS_DIR_ATTR(node_entry)) & MSDOS_ATTR_DIRECTORY)     
        {                                                             
            fat_fd->fat_file_type = FAT_DIRECTORY;                    
            fat_fd->size_limit = MSDOS_MAX_DIR_LENGHT;                
 20195b0:	03 00 08 00 	sethi  %hi(0x200000), %g1                      
                                                                      
        fat_fd->mtime = msdos_date_dos2unix(CF_LE_W(date), CF_LE_W(time_val));
                                                                      
        if ((*MSDOS_DIR_ATTR(node_entry)) & MSDOS_ATTR_DIRECTORY)     
        {                                                             
            fat_fd->fat_file_type = FAT_DIRECTORY;                    
 20195b4:	f2 26 a0 10 	st  %i1, [ %i2 + 0x10 ]                        
            fat_fd->size_limit = MSDOS_MAX_DIR_LENGHT;                
 20195b8:	c2 26 a0 14 	st  %g1, [ %i2 + 0x14 ]                        
                                                                      
            rc = fat_file_size(parent_loc->mt_entry, fat_fd);         
 20195bc:	7f ff e4 9c 	call  201282c <fat_file_size>                  
 20195c0:	92 10 00 1a 	mov  %i2, %o1                                  
            if (rc != RC_OK)                                          
 20195c4:	b0 92 20 00 	orcc  %o0, 0, %i0                              
 20195c8:	02 80 00 0d 	be  20195fc <msdos_find_name+0x1a0>            <== ALWAYS TAKEN
 20195cc:	c2 07 bf fc 	ld  [ %fp + -4 ], %g1                          
            {                                                         
                fat_file_close(parent_loc->mt_entry, fat_fd);         
 20195d0:	d0 07 60 10 	ld  [ %i5 + 0x10 ], %o0                        <== NOT EXECUTED
 20195d4:	10 80 00 1d 	b  2019648 <msdos_find_name+0x1ec>             <== NOT EXECUTED
 20195d8:	d2 07 bf fc 	ld  [ %fp + -4 ], %o1                          <== NOT EXECUTED
                return rc;                                            
            }                                                         
        }                                                             
        else                                                          
        {                                                             
            fat_fd->fat_file_size = CF_LE_L(*MSDOS_DIR_FILE_SIZE(node_entry));
 20195dc:	7f ff f9 e8 	call  2017d7c <CPU_swap_u32>                   
 20195e0:	d0 07 20 1c 	ld  [ %i4 + 0x1c ], %o0                        
            fat_fd->fat_file_type = FAT_FILE;                         
 20195e4:	82 10 20 05 	mov  5, %g1                                    
                return rc;                                            
            }                                                         
        }                                                             
        else                                                          
        {                                                             
            fat_fd->fat_file_size = CF_LE_L(*MSDOS_DIR_FILE_SIZE(node_entry));
 20195e8:	d0 26 a0 18 	st  %o0, [ %i2 + 0x18 ]                        
            fat_fd->fat_file_type = FAT_FILE;                         
 20195ec:	c2 26 a0 10 	st  %g1, [ %i2 + 0x10 ]                        
            fat_fd->size_limit = MSDOS_MAX_FILE_SIZE;                 
 20195f0:	82 10 3f ff 	mov  -1, %g1                                   
 20195f4:	c2 26 a0 14 	st  %g1, [ %i2 + 0x14 ]                        
        }                                                             
                                                                      
        /* these data is not actual for zero-length fat-file */       
        fat_fd->map.file_cln = 0;                                     
 20195f8:	c2 07 bf fc 	ld  [ %fp + -4 ], %g1                          
        fat_fd->map.disk_cln = fat_fd->cln;                           
 20195fc:	c4 00 60 1c 	ld  [ %g1 + 0x1c ], %g2                        
                                                                      
        if ((fat_fd->fat_file_size != 0) &&                           
 2019600:	c6 00 60 18 	ld  [ %g1 + 0x18 ], %g3                        
            fat_fd->fat_file_type = FAT_FILE;                         
            fat_fd->size_limit = MSDOS_MAX_FILE_SIZE;                 
        }                                                             
                                                                      
        /* these data is not actual for zero-length fat-file */       
        fat_fd->map.file_cln = 0;                                     
 2019604:	c0 20 60 34 	clr  [ %g1 + 0x34 ]                            
        fat_fd->map.disk_cln = fat_fd->cln;                           
                                                                      
        if ((fat_fd->fat_file_size != 0) &&                           
 2019608:	80 a0 e0 00 	cmp  %g3, 0                                    
 201960c:	02 80 00 06 	be  2019624 <msdos_find_name+0x1c8>            
 2019610:	c4 20 60 38 	st  %g2, [ %g1 + 0x38 ]                        
            (fat_fd->fat_file_size <= fs_info->fat.vol.bpc))          
 2019614:	c8 16 e0 06 	lduh  [ %i3 + 6 ], %g4                         
                                                                      
        /* these data is not actual for zero-length fat-file */       
        fat_fd->map.file_cln = 0;                                     
        fat_fd->map.disk_cln = fat_fd->cln;                           
                                                                      
        if ((fat_fd->fat_file_size != 0) &&                           
 2019618:	80 a0 c0 04 	cmp  %g3, %g4                                  
 201961c:	28 80 00 04 	bleu,a   201962c <msdos_find_name+0x1d0>       <== ALWAYS TAKEN
 2019620:	c4 20 60 3c 	st  %g2, [ %g1 + 0x3c ]                        
        {                                                             
            fat_fd->map.last_cln = fat_fd->cln;                       
        }                                                             
        else                                                          
        {                                                             
            fat_fd->map.last_cln = FAT_UNDEFINED_VALUE;               
 2019624:	84 10 3f ff 	mov  -1, %g2                                   
 2019628:	c4 20 60 3c 	st  %g2, [ %g1 + 0x3c ]                        
        }                                                             
    }                                                                 
                                                                      
    /* close fat-file corresponded to the node we searched in */      
    rc = fat_file_close(parent_loc->mt_entry, parent_loc->node_access);
 201962c:	d2 07 40 00 	ld  [ %i5 ], %o1                               
 2019630:	7f ff e2 ce 	call  2012168 <fat_file_close>                 
 2019634:	d0 07 60 10 	ld  [ %i5 + 0x10 ], %o0                        
    if (rc != RC_OK)                                                  
 2019638:	b0 92 20 00 	orcc  %o0, 0, %i0                              
 201963c:	02 80 00 07 	be  2019658 <msdos_find_name+0x1fc>            <== ALWAYS TAKEN
 2019640:	d2 07 bf fc 	ld  [ %fp + -4 ], %o1                          
    {                                                                 
        fat_file_close(parent_loc->mt_entry, fat_fd);                 
 2019644:	d0 07 60 10 	ld  [ %i5 + 0x10 ], %o0                        <== NOT EXECUTED
 2019648:	7f ff e2 c8 	call  2012168 <fat_file_close>                 <== NOT EXECUTED
 201964c:	01 00 00 00 	nop                                            <== NOT EXECUTED
        return rc;                                                    
 2019650:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2019654:	81 e8 00 00 	restore                                        <== NOT EXECUTED
    }                                                                 
                                                                      
    /* update node_info_ptr field */                                  
    parent_loc->node_access = fat_fd;                                 
 2019658:	d2 27 40 00 	st  %o1, [ %i5 ]                               
                                                                      
    return rc;                                                        
}                                                                     
 201965c:	81 c7 e0 08 	ret                                            
 2019660:	81 e8 00 00 	restore                                        
                                                                      

020185a0 <msdos_find_name_in_fat_file>: int name_len, msdos_name_type_t name_type, fat_dir_pos_t *dir_pos, char *name_dir_entry ) {
 20185a0:	9d e3 bf 68 	save  %sp, -152, %sp                           
 20185a4:	f6 27 a0 50 	st  %i3, [ %fp + 0x50 ]                        
 20185a8:	f8 27 a0 54 	st  %i4, [ %fp + 0x54 ]                        
 20185ac:	fa 27 a0 58 	st  %i5, [ %fp + 0x58 ]                        
 20185b0:	82 10 00 1a 	mov  %i2, %g1                                  
 20185b4:	a0 10 00 18 	mov  %i0, %l0                                  
 20185b8:	f6 07 a0 5c 	ld  [ %fp + 0x5c ], %i3                        
 20185bc:	f4 07 a0 60 	ld  [ %fp + 0x60 ], %i2                        
    uint32_t         empty_space_count = 0;                           
    bool             empty_space_found = false;                       
    uint32_t         entries_per_block;                               
    bool             read_cluster = false;                            
                                                                      
    assert(name_len > 0);                                             
 20185c0:	80 a7 20 00 	cmp  %i4, 0                                    
 20185c4:	14 80 00 0a 	bg  20185ec <msdos_find_name_in_fat_file+0x4c> <== ALWAYS TAKEN
 20185c8:	e2 06 20 34 	ld  [ %i0 + 0x34 ], %l1                        
 20185cc:	11 00 80 ac 	sethi  %hi(0x202b000), %o0                     <== NOT EXECUTED
 20185d0:	15 00 80 ac 	sethi  %hi(0x202b000), %o2                     <== NOT EXECUTED
 20185d4:	17 00 80 ac 	sethi  %hi(0x202b000), %o3                     <== NOT EXECUTED
 20185d8:	90 12 21 f8 	or  %o0, 0x1f8, %o0                            <== NOT EXECUTED
 20185dc:	92 10 24 19 	mov  0x419, %o1                                <== NOT EXECUTED
 20185e0:	94 12 a2 c8 	or  %o2, 0x2c8, %o2                            <== NOT EXECUTED
 20185e4:	10 80 00 45 	b  20186f8 <msdos_find_name_in_fat_file+0x158> <== NOT EXECUTED
 20185e8:	96 12 e2 88 	or  %o3, 0x288, %o3                            <== NOT EXECUTED
    fat_dir_pos_t *dir_pos                                            
    )                                                                 
{                                                                     
  dir_pos->sname.cln = 0;                                             
  dir_pos->sname.ofs = 0;                                             
  dir_pos->lname.cln = FAT_FILE_SHORT_NAME;                           
 20185ec:	84 10 3f ff 	mov  -1, %g2                                   
static inline void                                                    
fat_dir_pos_init(                                                     
    fat_dir_pos_t *dir_pos                                            
    )                                                                 
{                                                                     
  dir_pos->sname.cln = 0;                                             
 20185f0:	c0 26 c0 00 	clr  [ %i3 ]                                   
  dir_pos->sname.ofs = 0;                                             
 20185f4:	c0 26 e0 04 	clr  [ %i3 + 4 ]                               
  dir_pos->lname.cln = FAT_FILE_SHORT_NAME;                           
 20185f8:	c4 26 e0 08 	st  %g2, [ %i3 + 8 ]                           
  dir_pos->lname.ofs = FAT_FILE_SHORT_NAME;                           
 20185fc:	c4 26 e0 0c 	st  %g2, [ %i3 + 0xc ]                         
                                                                      
    fat_dir_pos_init(dir_pos);                                        
                                                                      
    lfn_start.cln = lfn_start.ofs = FAT_FILE_SHORT_NAME;              
 2018600:	c4 27 bf f8 	st  %g2, [ %fp + -8 ]                          
     * is short still check for possible long entries with the short name.
     *                                                                
     * In PR1491 we need to have a LFN for a short file name entry. To
     * test this make this test always fail, ie add "0 &&".           
     */                                                               
    if (create_node && (name_type == MSDOS_NAME_SHORT))               
 2018604:	80 a0 60 00 	cmp  %g1, 0                                    
 2018608:	02 80 00 06 	be  2018620 <msdos_find_name_in_fat_file+0x80> 
 201860c:	c4 27 bf f4 	st  %g2, [ %fp + -12 ]                         
 2018610:	c4 07 a0 58 	ld  [ %fp + 0x58 ], %g2                        
 2018614:	80 a0 a0 01 	cmp  %g2, 1                                    
 2018618:	02 80 00 09 	be  201863c <msdos_find_name_in_fat_file+0x9c> 
 201861c:	b8 10 20 00 	clr  %i4                                       
      lfn_entries = 0;                                                
    else                                                              
      lfn_entries =                                                   
 2018620:	c8 07 a0 54 	ld  [ %fp + 0x54 ], %g4                        
 2018624:	c2 27 bf d4 	st  %g1, [ %fp + -44 ]                         
 2018628:	90 01 20 0c 	add  %g4, 0xc, %o0                             
 201862c:	40 00 3e 5d 	call  2027fa0 <.div>                           
 2018630:	92 10 20 0d 	mov  0xd, %o1                                  
 2018634:	c2 07 bf d4 	ld  [ %fp + -44 ], %g1                         
 2018638:	b8 10 00 08 	mov  %o0, %i4                                  
        ((name_len - 1) + MSDOS_LFN_LEN_PER_ENTRY) / MSDOS_LFN_LEN_PER_ENTRY;
                                                                      
    if (FAT_FD_OF_ROOT_DIR(fat_fd) &&                                 
 201863c:	c4 06 60 20 	ld  [ %i1 + 0x20 ], %g2                        
 2018640:	80 a0 a0 01 	cmp  %g2, 1                                    
 2018644:	32 80 00 0b 	bne,a   2018670 <msdos_find_name_in_fat_file+0xd0>
 2018648:	fa 14 60 06 	lduh  [ %l1 + 6 ], %i5                         
 201864c:	c4 06 60 24 	ld  [ %i1 + 0x24 ], %g2                        
 2018650:	80 a0 a0 00 	cmp  %g2, 0                                    
 2018654:	32 80 00 07 	bne,a   2018670 <msdos_find_name_in_fat_file+0xd0><== NEVER TAKEN
 2018658:	fa 14 60 06 	lduh  [ %l1 + 6 ], %i5                         <== NOT EXECUTED
        (fs_info->fat.vol.type & (FAT_FAT12 | FAT_FAT16)))            
 201865c:	c4 0c 60 0a 	ldub  [ %l1 + 0xa ], %g2                       
      lfn_entries = 0;                                                
    else                                                              
      lfn_entries =                                                   
        ((name_len - 1) + MSDOS_LFN_LEN_PER_ENTRY) / MSDOS_LFN_LEN_PER_ENTRY;
                                                                      
    if (FAT_FD_OF_ROOT_DIR(fat_fd) &&                                 
 2018660:	80 88 a0 03 	btst  3, %g2                                   
 2018664:	22 80 00 03 	be,a   2018670 <msdos_find_name_in_fat_file+0xd0><== NEVER TAKEN
 2018668:	fa 14 60 06 	lduh  [ %l1 + 6 ], %i5                         <== NOT EXECUTED
 201866c:	fa 06 60 18 	ld  [ %i1 + 0x18 ], %i5                        
    fat_pos_t        lfn_start;                                       
    bool             lfn_matched = false;                             
    uint8_t          lfn_checksum = 0;                                
    int              lfn_entries;                                     
    int              lfn_entry = 0;                                   
    uint32_t         empty_space_offset = 0;                          
 2018670:	a6 10 20 00 	clr  %l3                                       
    /*                                                                
     * Scan the directory seeing if the file is present. While        
     * doing this see if a suitable location can be found to          
     * create the entry if the name is not found.                     
     */                                                               
    while ((ret = fat_file_read(mt_entry, fat_fd, (dir_offset * bts2rd),
 2018674:	88 10 20 00 	clr  %g4                                       
    uint32_t         dir_offset = 0;                                  
    uint32_t         dir_entry = 0;                                   
    uint32_t         bts2rd = 0;                                      
    fat_pos_t        lfn_start;                                       
    bool             lfn_matched = false;                             
    uint8_t          lfn_checksum = 0;                                
 2018678:	9a 10 20 00 	clr  %o5                                       
    msdos_fs_info_t *fs_info = mt_entry->fs_info;                     
    uint32_t         dir_offset = 0;                                  
    uint32_t         dir_entry = 0;                                   
    uint32_t         bts2rd = 0;                                      
    fat_pos_t        lfn_start;                                       
    bool             lfn_matched = false;                             
 201867c:	84 10 20 00 	clr  %g2                                       
                  /*                                                  
                   * Remainder is not empty so is this entry empty ?  
                   */                                                 
                  empty_space_count++;                                
                                                                      
                  if (empty_space_count == (lfn_entries + 1))         
 2018680:	96 07 20 01 	add  %i4, 1, %o3                               
 2018684:	e6 27 bf e0 	st  %l3, [ %fp + -32 ]                         
 2018688:	ac 10 00 10 	mov  %l0, %l6                                  
 201868c:	a4 10 00 19 	mov  %i1, %l2                                  
 2018690:	f6 27 bf dc 	st  %i3, [ %fp + -36 ]                         
    int              lfn_entries;                                     
    int              lfn_entry = 0;                                   
    uint32_t         empty_space_offset = 0;                          
    uint32_t         empty_space_entry = 0;                           
    uint32_t         empty_space_count = 0;                           
    bool             empty_space_found = false;                       
 2018694:	c0 2f bf e8 	clrb  [ %fp + -24 ]                            
    uint8_t          lfn_checksum = 0;                                
    int              lfn_entries;                                     
    int              lfn_entry = 0;                                   
    uint32_t         empty_space_offset = 0;                          
    uint32_t         empty_space_entry = 0;                           
    uint32_t         empty_space_count = 0;                           
 2018698:	aa 10 20 00 	clr  %l5                                       
    bool             lfn_matched = false;                             
    uint8_t          lfn_checksum = 0;                                
    int              lfn_entries;                                     
    int              lfn_entry = 0;                                   
    uint32_t         empty_space_offset = 0;                          
    uint32_t         empty_space_entry = 0;                           
 201869c:	a8 10 20 00 	clr  %l4                                       
    uint32_t         bts2rd = 0;                                      
    fat_pos_t        lfn_start;                                       
    bool             lfn_matched = false;                             
    uint8_t          lfn_checksum = 0;                                
    int              lfn_entries;                                     
    int              lfn_entry = 0;                                   
 20186a0:	b0 10 20 00 	clr  %i0                                       
    char                                 *name_dir_entry              
                                )                                     
{                                                                     
    ssize_t          ret = 0;                                         
    msdos_fs_info_t *fs_info = mt_entry->fs_info;                     
    uint32_t         dir_offset = 0;                                  
 20186a4:	ae 10 20 00 	clr  %l7                                       
                        memcpy(name_dir_entry, entry,                 
                               MSDOS_DIRECTORY_ENTRY_STRUCT_SIZE);    
                        return RC_OK;                                 
                    }                                                 
                                                                      
                    lfn_start.cln = FAT_FILE_SHORT_NAME;              
 20186a8:	86 10 3f ff 	mov  -1, %g3                                   
                  /*                                                  
                   * Remainder is not empty so is this entry empty ?  
                   */                                                 
                  empty_space_count++;                                
                                                                      
                  if (empty_space_count == (lfn_entries + 1))         
 20186ac:	d6 27 bf d8 	st  %o3, [ %fp + -40 ]                         
 20186b0:	a0 10 00 04 	mov  %g4, %l0                                  
 20186b4:	b2 10 00 0d 	mov  %o5, %i1                                  
 20186b8:	a6 10 00 01 	mov  %g1, %l3                                  
    /*                                                                
     * Scan the directory seeing if the file is present. While        
     * doing this see if a suitable location can be found to          
     * create the entry if the name is not found.                     
     */                                                               
    while ((ret = fat_file_read(mt_entry, fat_fd, (dir_offset * bts2rd),
 20186bc:	10 80 00 f1 	b  2018a80 <msdos_find_name_in_fat_file+0x4e0> 
 20186c0:	b6 10 00 02 	mov  %g2, %i3                                  
        bool remainder_empty = false;                                 
#if MSDOS_FIND_PRINT                                                  
        printf ("MSFS:[2] dir_offset:%li\n", dir_offset);             
#endif                                                                
                                                                      
        if (ret < MSDOS_DIRECTORY_ENTRY_STRUCT_SIZE)                  
 20186c4:	80 a2 20 1f 	cmp  %o0, 0x1f                                 
 20186c8:	04 80 02 00 	ble  2018ec8 <msdos_find_name_in_fat_file+0x928><== NEVER TAKEN
 20186cc:	01 00 00 00 	nop                                            
            rtems_set_errno_and_return_minus_one(EIO);                
                                                                      
        assert(ret == bts2rd);                                        
 20186d0:	80 a2 00 1d 	cmp  %o0, %i5                                  
 20186d4:	02 80 00 0b 	be  2018700 <msdos_find_name_in_fat_file+0x160><== ALWAYS TAKEN
 20186d8:	84 10 20 00 	clr  %g2                                       
 20186dc:	11 00 80 ac 	sethi  %hi(0x202b000), %o0                     <== NOT EXECUTED
 20186e0:	15 00 80 ac 	sethi  %hi(0x202b000), %o2                     <== NOT EXECUTED
 20186e4:	17 00 80 ac 	sethi  %hi(0x202b000), %o3                     <== NOT EXECUTED
 20186e8:	90 12 21 f8 	or  %o0, 0x1f8, %o0                            <== NOT EXECUTED
 20186ec:	92 10 24 49 	mov  0x449, %o1                                <== NOT EXECUTED
 20186f0:	94 12 a2 c8 	or  %o2, 0x2c8, %o2                            <== NOT EXECUTED
 20186f4:	96 12 e2 98 	or  %o3, 0x298, %o3                            <== NOT EXECUTED
 20186f8:	7f ff f0 45 	call  201480c <__assert_func>                  <== NOT EXECUTED
 20186fc:	01 00 00 00 	nop                                            <== NOT EXECUTED
        /* have to look at the DIR_NAME as "raw" 8-bit data */        
        for (dir_entry = 0;                                           
             dir_entry < bts2rd;                                      
             dir_entry += MSDOS_DIRECTORY_ENTRY_STRUCT_SIZE)          
        {                                                             
            char* entry = (char*) fs_info->cl_buf + dir_entry;        
 2018700:	c8 04 60 9c 	ld  [ %l1 + 0x9c ], %g4                        
             * to here and write the long file name if this is the start of
             * a series of empty entries. If empty_space_count is 0 then
             * we are currently not inside an empty series of entries. It
             * is a count of empty entries.                           
             */                                                       
            if (empty_space_count == 0)                               
 2018704:	80 a5 60 00 	cmp  %l5, 0                                    
        /* have to look at the DIR_NAME as "raw" 8-bit data */        
        for (dir_entry = 0;                                           
             dir_entry < bts2rd;                                      
             dir_entry += MSDOS_DIRECTORY_ENTRY_STRUCT_SIZE)          
        {                                                             
            char* entry = (char*) fs_info->cl_buf + dir_entry;        
 2018708:	82 01 00 02 	add  %g4, %g2, %g1                             
             * to here and write the long file name if this is the start of
             * a series of empty entries. If empty_space_count is 0 then
             * we are currently not inside an empty series of entries. It
             * is a count of empty entries.                           
             */                                                       
            if (empty_space_count == 0)                               
 201870c:	12 80 00 04 	bne  201871c <msdos_find_name_in_fat_file+0x17c><== NEVER TAKEN
 2018710:	c8 09 00 02 	ldub  [ %g4 + %g2 ], %g4                       
 2018714:	a8 10 00 02 	mov  %g2, %l4                                  
 2018718:	ee 27 bf e0 	st  %l7, [ %fp + -32 ]                         
            {                                                         
                empty_space_entry = dir_entry;                        
                empty_space_offset = dir_offset;                      
            }                                                         
                                                                      
            if (remainder_empty)                                      
 201871c:	9e 89 20 ff 	andcc  %g4, 0xff, %o7                          
 2018720:	12 80 00 14 	bne  2018770 <msdos_find_name_in_fat_file+0x1d0>
 2018724:	80 a3 e0 e5 	cmp  %o7, 0xe5                                 
 2018728:	82 10 00 13 	mov  %l3, %g1                                  
                /*                                                    
                 * If just looking and there is no more entries in the
                 * directory - return name-not-found                  
                 */                                                   
                if (!create_node)                                     
                    return MSDOS_NAME_NOT_FOUND_ERR;                  
 201872c:	31 00 00 1f 	sethi  %hi(0x7c00), %i0                        
 2018730:	a0 10 00 16 	mov  %l6, %l0                                  
 2018734:	b2 10 00 12 	mov  %l2, %i1                                  
 2018738:	e6 07 bf e0 	ld  [ %fp + -32 ], %l3                         
 201873c:	f6 07 bf dc 	ld  [ %fp + -36 ], %i3                         
#endif                                                                
                /*                                                    
                 * If just looking and there is no more entries in the
                 * directory - return name-not-found                  
                 */                                                   
                if (!create_node)                                     
 2018740:	80 a0 60 00 	cmp  %g1, 0                                    
 2018744:	02 80 00 c3 	be  2018a50 <msdos_find_name_in_fat_file+0x4b0>
 2018748:	b0 16 21 01 	or  %i0, 0x101, %i0                            
                 * Lets go and write the directory entries. If we have not found
                 * any available space add the remaining number of entries to any that
                 * we may have already found that are just before this entry. If more
                 * are needed FAT_EOF is returned by the read and we extend the file.
                 */                                                   
                if (!empty_space_found)                               
 201874c:	c2 0f bf e8 	ldub  [ %fp + -24 ], %g1                       
 2018750:	80 88 60 ff 	btst  0xff, %g1                                
 2018754:	32 80 00 df 	bne,a   2018ad0 <msdos_find_name_in_fat_file+0x530><== NEVER TAKEN
 2018758:	c4 07 a0 58 	ld  [ %fp + 0x58 ], %g2                        <== NOT EXECUTED
        (fs_info->fat.vol.type & (FAT_FAT12 | FAT_FAT16)))            
        bts2rd = fat_fd->fat_file_size;                               
    else                                                              
        bts2rd = fs_info->fat.vol.bpc;                                
                                                                      
    entries_per_block = bts2rd / MSDOS_DIRECTORY_ENTRY_STRUCT_SIZE;   
 201875c:	83 37 60 05 	srl  %i5, 5, %g1                               
                 * are needed FAT_EOF is returned by the read and we extend the file.
                 */                                                   
                if (!empty_space_found)                               
                {                                                     
                  empty_space_count +=                                
                    entries_per_block - (dir_entry / MSDOS_DIRECTORY_ENTRY_STRUCT_SIZE);
 2018760:	a5 30 a0 05 	srl  %g2, 5, %l2                               
 2018764:	aa 05 40 01 	add  %l5, %g1, %l5                             
                 * we may have already found that are just before this entry. If more
                 * are needed FAT_EOF is returned by the read and we extend the file.
                 */                                                   
                if (!empty_space_found)                               
                {                                                     
                  empty_space_count +=                                
 2018768:	10 80 00 d9 	b  2018acc <msdos_find_name_in_fat_file+0x52c> 
 201876c:	aa 25 40 12 	sub  %l5, %l2, %l5                             
                  printf ("MSFS:[3.2] esf:%i esc%i\n", empty_space_found, empty_space_count);
#endif                                                                
                }                                                     
                break;                                                
            }                                                         
            else if (entry_empty)                                     
 2018770:	12 80 00 0b 	bne  201879c <msdos_find_name_in_fat_file+0x1fc><== ALWAYS TAKEN
 2018774:	80 a4 e0 00 	cmp  %l3, 0                                    
            {                                                         
                if (create_node)                                      
 2018778:	22 80 00 bd 	be,a   2018a6c <msdos_find_name_in_fat_file+0x4cc><== NOT EXECUTED
 201877c:	84 00 a0 20 	add  %g2, 0x20, %g2                            <== NOT EXECUTED
                  /*                                                  
                   * Remainder is not empty so is this entry empty ?  
                   */                                                 
                  empty_space_count++;                                
                                                                      
                  if (empty_space_count == (lfn_entries + 1))         
 2018780:	c8 07 bf d8 	ld  [ %fp + -40 ], %g4                         <== NOT EXECUTED
                if (create_node)                                      
                {                                                     
                  /*                                                  
                   * Remainder is not empty so is this entry empty ?  
                   */                                                 
                  empty_space_count++;                                
 2018784:	aa 05 60 01 	inc  %l5                                       <== NOT EXECUTED
                                                                      
                  if (empty_space_count == (lfn_entries + 1))         
 2018788:	80 a5 40 04 	cmp  %l5, %g4                                  <== NOT EXECUTED
 201878c:	32 80 00 b8 	bne,a   2018a6c <msdos_find_name_in_fat_file+0x4cc><== NOT EXECUTED
 2018790:	84 00 a0 20 	add  %g2, 0x20, %g2                            <== NOT EXECUTED
                    empty_space_found = true;                         
 2018794:	10 80 00 b4 	b  2018a64 <msdos_find_name_in_fat_file+0x4c4> <== NOT EXECUTED
 2018798:	82 10 20 01 	mov  1, %g1                                    <== NOT EXECUTED
                 * A valid entry so handle it.                        
                 *                                                    
                 * If empty space has not been found we need to start the
                 * count again.                                       
                 */                                                   
                if (create_node && !empty_space_found)                
 201879c:	02 80 00 08 	be  20187bc <msdos_find_name_in_fat_file+0x21c>
 20187a0:	de 08 60 0b 	ldub  [ %g1 + 0xb ], %o7                       
 20187a4:	d6 0f bf e8 	ldub  [ %fp + -24 ], %o3                       
 20187a8:	80 8a e0 ff 	btst  0xff, %o3                                
 20187ac:	12 80 00 04 	bne  20187bc <msdos_find_name_in_fat_file+0x21c><== NEVER TAKEN
 20187b0:	01 00 00 00 	nop                                            
                {                                                     
                    empty_space_entry = 0;                            
                    empty_space_count = 0;                            
 20187b4:	aa 10 20 00 	clr  %l5	! 0 <PROM_START>                      
                 * If empty space has not been found we need to start the
                 * count again.                                       
                 */                                                   
                if (create_node && !empty_space_found)                
                {                                                     
                    empty_space_entry = 0;                            
 20187b8:	a8 10 20 00 	clr  %l4                                       
                                                                      
                /*                                                    
                 * Check the attribute to see if the entry is for a long
                 * file name.                                         
                 */                                                   
                if ((*MSDOS_DIR_ATTR(entry) & MSDOS_ATTR_LFN_MASK) == 
 20187bc:	9e 0b e0 3f 	and  %o7, 0x3f, %o7                            
 20187c0:	80 a3 e0 0f 	cmp  %o7, 0xf                                  
 20187c4:	12 80 00 54 	bne  2018914 <msdos_find_name_in_fat_file+0x374>
 20187c8:	80 8e e0 ff 	btst  0xff, %i3                                
#endif                                                                
                    /*                                                
                     * If we are not already processing a LFN see if this is
                     * the first entry of a LFN ?                     
                     */                                               
                    if (lfn_start.cln == FAT_FILE_SHORT_NAME)         
 20187cc:	de 07 bf f4 	ld  [ %fp + -12 ], %o7                         
 20187d0:	80 a3 ff ff 	cmp  %o7, -1                                   
 20187d4:	32 80 00 0f 	bne,a   2018810 <msdos_find_name_in_fat_file+0x270>
 20187d8:	c8 08 40 00 	ldub  [ %g1 ], %g4                             
                                                                      
                        /*                                            
                         * The first entry must have the last long entry
                         * flag set.                                  
                         */                                           
                        if ((*MSDOS_DIR_ENTRY_TYPE(entry) &           
 20187dc:	88 09 20 ff 	and  %g4, 0xff, %g4                            
 20187e0:	80 89 20 40 	btst  0x40, %g4                                
 20187e4:	02 80 00 a1 	be  2018a68 <msdos_find_name_in_fat_file+0x4c8>
 20187e8:	b6 10 20 00 	clr  %i3                                       
                         * entry match the number we expect for this  
                         * file name. Note we do not know the number of
                         * characters in the entry so this is check further
                         * on when the characters are checked.        
                         */                                           
                        if (lfn_entries != (*MSDOS_DIR_ENTRY_TYPE(entry) &
 20187ec:	88 09 20 3f 	and  %g4, 0x3f, %g4                            
 20187f0:	80 a7 00 04 	cmp  %i4, %g4                                  
 20187f4:	32 80 00 9e 	bne,a   2018a6c <msdos_find_name_in_fat_file+0x4cc>
 20187f8:	84 00 a0 20 	add  %g2, 0x20, %g2                            
                         * Get the checksum of the short entry.       
                         */                                           
                        lfn_start.cln = dir_offset;                   
                        lfn_start.ofs = dir_entry;                    
                        lfn_entry = lfn_entries;                      
                        lfn_checksum = *MSDOS_DIR_LFN_CHECKSUM(entry);
 20187fc:	f2 08 60 0d 	ldub  [ %g1 + 0xd ], %i1                       
                            continue;                                 
                                                                      
                        /*                                            
                         * Get the checksum of the short entry.       
                         */                                           
                        lfn_start.cln = dir_offset;                   
 2018800:	ee 27 bf f4 	st  %l7, [ %fp + -12 ]                         
                        lfn_start.ofs = dir_entry;                    
 2018804:	c4 27 bf f8 	st  %g2, [ %fp + -8 ]                          
                        lfn_entry = lfn_entries;                      
                        lfn_checksum = *MSDOS_DIR_LFN_CHECKSUM(entry);
 2018808:	b0 10 00 1c 	mov  %i4, %i0                                  
                     * If the entry number or the check sum do not match
                     * forget this series of long directory entries. These
                     * could be orphaned entries depending on the history
                     * of the disk.                                   
                     */                                               
                    if ((lfn_entry != (*MSDOS_DIR_ENTRY_TYPE(entry) & 
 201880c:	c8 08 40 00 	ldub  [ %g1 ], %g4                             
 2018810:	88 09 20 3f 	and  %g4, 0x3f, %g4                            
 2018814:	80 a6 00 04 	cmp  %i0, %g4                                  
 2018818:	32 80 00 94 	bne,a   2018a68 <msdos_find_name_in_fat_file+0x4c8><== NEVER TAKEN
 201881c:	c6 27 bf f4 	st  %g3, [ %fp + -12 ]                         <== NOT EXECUTED
                                       MSDOS_LAST_LONG_ENTRY_MASK)) ||
 2018820:	c8 08 60 0d 	ldub  [ %g1 + 0xd ], %g4                       
 2018824:	9e 0e 60 ff 	and  %i1, 0xff, %o7                            
 2018828:	80 a3 c0 04 	cmp  %o7, %g4                                  
 201882c:	02 80 00 04 	be  201883c <msdos_find_name_in_fat_file+0x29c><== ALWAYS TAKEN
 2018830:	9e 06 3f ff 	add  %i0, -1, %o7                              
                    {                                                 
#if MSDOS_FIND_PRINT                                                  
                        printf ("MSFS:[4.4] no match\n");             
#endif                                                                
                        lfn_start.cln = FAT_FILE_SHORT_NAME;          
                        continue;                                     
 2018834:	10 80 00 8d 	b  2018a68 <msdos_find_name_in_fat_file+0x4c8> <== NOT EXECUTED
 2018838:	c6 27 bf f4 	st  %g3, [ %fp + -12 ]                         <== NOT EXECUTED
                    }                                                 
                                                                      
                    lfn_entry--;                                      
                    o = lfn_entry * MSDOS_LFN_LEN_PER_ENTRY;          
 201883c:	89 2b e0 02 	sll  %o7, 2, %g4                               
 2018840:	b7 2b e0 04 	sll  %o7, 4, %i3                               
                    p = entry + 1;                                    
 2018844:	82 00 60 01 	inc  %g1                                       
                        lfn_start.cln = FAT_FILE_SHORT_NAME;          
                        continue;                                     
                    }                                                 
                                                                      
                    lfn_entry--;                                      
                    o = lfn_entry * MSDOS_LFN_LEN_PER_ENTRY;          
 2018848:	b6 26 c0 04 	sub  %i3, %g4, %i3                             
                    p = entry + 1;                                    
                                                                      
#if MSDOS_FIND_PRINT                                                  
                    printf ("MSFS:[5] lfne:%i\n", lfn_entry);         
#endif                                                                
                    for (i = 0; i < MSDOS_LFN_LEN_PER_ENTRY; i++)     
 201884c:	88 10 20 00 	clr  %g4                                       
                        lfn_start.cln = FAT_FILE_SHORT_NAME;          
                        continue;                                     
                    }                                                 
                                                                      
                    lfn_entry--;                                      
                    o = lfn_entry * MSDOS_LFN_LEN_PER_ENTRY;          
 2018850:	b6 06 c0 0f 	add  %i3, %o7, %i3                             
                    {                                                 
#if MSDOS_FIND_PRINT > 1                                              
                        printf ("MSFS:[6] o:%i i:%i *p:%c(%02x) name[o + i]:%c(%02x)\n",
                                o, i, *p, *p, name[o + i], name[o + i]);
#endif                                                                
                        if (*p == '\0')                               
 2018854:	da 48 40 00 	ldsb  [ %g1 ], %o5                             
 2018858:	80 a3 60 00 	cmp  %o5, 0                                    
 201885c:	12 80 00 0c 	bne  201888c <msdos_find_name_in_fat_file+0x2ec>
 2018860:	d6 07 a0 54 	ld  [ %fp + 0x54 ], %o3                        
                            /*                                        
                             * If this is the first entry, ie the last part of the
                             * long file name and the length does not match then
                             * the file names do not match.           
                             */                                       
                            if (((lfn_entry + 1) == lfn_entries) &&   
 2018864:	80 a6 00 1c 	cmp  %i0, %i4                                  
 2018868:	32 80 00 23 	bne,a   20188f4 <msdos_find_name_in_fat_file+0x354><== NEVER TAKEN
 201886c:	b6 10 20 00 	clr  %i3                                       <== NOT EXECUTED
 2018870:	c2 07 a0 54 	ld  [ %fp + 0x54 ], %g1                        
                                ((o + i) != name_len))                
 2018874:	88 06 c0 04 	add  %i3, %g4, %g4                             
                            /*                                        
                             * If this is the first entry, ie the last part of the
                             * long file name and the length does not match then
                             * the file names do not match.           
                             */                                       
                            if (((lfn_entry + 1) == lfn_entries) &&   
 2018878:	80 a1 00 01 	cmp  %g4, %g1                                  
 201887c:	32 80 00 1d 	bne,a   20188f0 <msdos_find_name_in_fat_file+0x350><== NEVER TAKEN
 2018880:	c6 27 bf f4 	st  %g3, [ %fp + -12 ]                         <== NOT EXECUTED
                                p += 2;                               
                                break;                                
                        }                                             
                    }                                                 
                                                                      
                    lfn_matched = ((lfn_entry == 0) &&                
 2018884:	10 80 00 1c 	b  20188f4 <msdos_find_name_in_fat_file+0x354> 
 2018888:	b6 10 20 00 	clr  %i3                                       
 *     RC_OK on success, or error code if error occured (errno set    
 *     appropriately)                                                 
 *                                                                    
 */                                                                   
#define MSDOS_FIND_PRINT 0                                            
int msdos_find_name_in_fat_file(                                      
 201888c:	98 01 00 1b 	add  %g4, %i3, %o4                             
                                ((o + i) != name_len))                
                                lfn_start.cln = FAT_FILE_SHORT_NAME;  
                            break;                                    
                        }                                             
                                                                      
                        if (((o + i) >= name_len) || (*p != name[o + i]))
 2018890:	80 a3 00 0b 	cmp  %o4, %o3                                  
 2018894:	16 80 00 07 	bge  20188b0 <msdos_find_name_in_fat_file+0x310>
 2018898:	d6 07 a0 50 	ld  [ %fp + 0x50 ], %o3                        
 *     RC_OK on success, or error code if error occured (errno set    
 *     appropriately)                                                 
 *                                                                    
 */                                                                   
#define MSDOS_FIND_PRINT 0                                            
int msdos_find_name_in_fat_file(                                      
 201889c:	98 02 c0 1b 	add  %o3, %i3, %o4                             
                                ((o + i) != name_len))                
                                lfn_start.cln = FAT_FILE_SHORT_NAME;  
                            break;                                    
                        }                                             
                                                                      
                        if (((o + i) >= name_len) || (*p != name[o + i]))
 20188a0:	d8 4b 00 04 	ldsb  [ %o4 + %g4 ], %o4                       
 20188a4:	80 a3 40 0c 	cmp  %o5, %o4                                  
 20188a8:	02 80 00 04 	be  20188b8 <msdos_find_name_in_fat_file+0x318>
 20188ac:	80 a1 20 04 	cmp  %g4, 4                                    
                        {                                             
                            lfn_start.cln = FAT_FILE_SHORT_NAME;      
                            break;                                    
 20188b0:	10 80 00 10 	b  20188f0 <msdos_find_name_in_fat_file+0x350> 
 20188b4:	c6 27 bf f4 	st  %g3, [ %fp + -12 ]                         
                        }                                             
                                                                      
                        switch (i)                                    
 20188b8:	02 80 00 06 	be  20188d0 <msdos_find_name_in_fat_file+0x330>
 20188bc:	80 a1 20 0a 	cmp  %g4, 0xa                                  
 20188c0:	32 80 00 08 	bne,a   20188e0 <msdos_find_name_in_fat_file+0x340>
 20188c4:	82 00 60 02 	add  %g1, 2, %g1                               
                        {                                             
                            case 4:                                   
                                p += 5;                               
                                break;                                
                            case 10:                                  
                                p += 4;                               
 20188c8:	10 80 00 04 	b  20188d8 <msdos_find_name_in_fat_file+0x338> 
 20188cc:	82 00 60 04 	add  %g1, 4, %g1                               
                                                                      
                        switch (i)                                    
                        {                                             
                            case 4:                                   
                                p += 5;                               
                                break;                                
 20188d0:	10 80 00 04 	b  20188e0 <msdos_find_name_in_fat_file+0x340> 
 20188d4:	82 00 60 05 	add  %g1, 5, %g1                               
                            case 10:                                  
                                p += 4;                               
                                break;                                
 20188d8:	10 80 00 03 	b  20188e4 <msdos_find_name_in_fat_file+0x344> 
 20188dc:	88 01 20 01 	inc  %g4                                       
                    p = entry + 1;                                    
                                                                      
#if MSDOS_FIND_PRINT                                                  
                    printf ("MSFS:[5] lfne:%i\n", lfn_entry);         
#endif                                                                
                    for (i = 0; i < MSDOS_LFN_LEN_PER_ENTRY; i++)     
 20188e0:	88 01 20 01 	inc  %g4                                       
 20188e4:	80 a1 20 0d 	cmp  %g4, 0xd                                  
 20188e8:	32 bf ff dc 	bne,a   2018858 <msdos_find_name_in_fat_file+0x2b8>
 20188ec:	da 48 40 00 	ldsb  [ %g1 ], %o5                             
                                p += 2;                               
                                break;                                
                        }                                             
                    }                                                 
                                                                      
                    lfn_matched = ((lfn_entry == 0) &&                
 20188f0:	b6 10 20 00 	clr  %i3                                       
 20188f4:	80 a3 e0 00 	cmp  %o7, 0                                    
 20188f8:	12 80 00 5c 	bne  2018a68 <msdos_find_name_in_fat_file+0x4c8>
 20188fc:	b0 10 00 0f 	mov  %o7, %i0                                  
 *     RC_OK on success, or error code if error occured (errno set    
 *     appropriately)                                                 
 *                                                                    
 */                                                                   
#define MSDOS_FIND_PRINT 0                                            
int msdos_find_name_in_fat_file(                                      
 2018900:	c2 07 bf f4 	ld  [ %fp + -12 ], %g1                         
 2018904:	82 38 00 01 	xnor  %g0, %g1, %g1                            
                                p += 2;                               
                                break;                                
                        }                                             
                    }                                                 
                                                                      
                    lfn_matched = ((lfn_entry == 0) &&                
 2018908:	80 a0 00 01 	cmp  %g0, %g1                                  
 201890c:	10 80 00 57 	b  2018a68 <msdos_find_name_in_fat_file+0x4c8> 
 2018910:	b6 40 20 00 	addx  %g0, 0, %i3                              
                     * If a LFN has been found and it matched check the
                     * entries have all been found and the checksum is
                     * correct. If this is the case return the short file
                     * name entry.                                    
                     */                                               
                    if (lfn_matched)                                  
 2018914:	02 80 00 19 	be  2018978 <msdos_find_name_in_fat_file+0x3d8>
 2018918:	c8 07 a0 58 	ld  [ %fp + 0x58 ], %g4                        
 201891c:	88 10 20 00 	clr  %g4                                       
 2018920:	9e 10 20 00 	clr  %o7                                       
                        uint8_t  cs = 0;                              
                        uint8_t* p = (uint8_t*) MSDOS_DIR_NAME(entry);
                        int      i;                                   
                                                                      
                        for (i = 0; i < MSDOS_SHORT_NAME_LEN; i++, p++)
                            cs = ((cs & 1) ? 0x80 : 0) + (cs >> 1) + *p;
 2018924:	da 08 40 04 	ldub  [ %g1 + %g4 ], %o5                       
 2018928:	9e 0b e0 ff 	and  %o7, 0xff, %o7                            
 201892c:	b6 0b e0 01 	and  %o7, 1, %i3                               
 2018930:	80 a0 00 1b 	cmp  %g0, %i3                                  
 2018934:	9f 33 e0 01 	srl  %o7, 1, %o7                               
 2018938:	b6 40 3f ff 	addx  %g0, -1, %i3                             
 201893c:	9e 03 40 0f 	add  %o5, %o7, %o7                             
 2018940:	b6 0e e0 80 	and  %i3, 0x80, %i3                            
                    {                                                 
                        uint8_t  cs = 0;                              
                        uint8_t* p = (uint8_t*) MSDOS_DIR_NAME(entry);
                        int      i;                                   
                                                                      
                        for (i = 0; i < MSDOS_SHORT_NAME_LEN; i++, p++)
 2018944:	88 01 20 01 	inc  %g4                                       
                            cs = ((cs & 1) ? 0x80 : 0) + (cs >> 1) + *p;
 2018948:	b6 06 ff 80 	add  %i3, -128, %i3                            
                    {                                                 
                        uint8_t  cs = 0;                              
                        uint8_t* p = (uint8_t*) MSDOS_DIR_NAME(entry);
                        int      i;                                   
                                                                      
                        for (i = 0; i < MSDOS_SHORT_NAME_LEN; i++, p++)
 201894c:	80 a1 20 0b 	cmp  %g4, 0xb                                  
 2018950:	12 bf ff f5 	bne  2018924 <msdos_find_name_in_fat_file+0x384>
 2018954:	9e 03 c0 1b 	add  %o7, %i3, %o7                             
                            cs = ((cs & 1) ? 0x80 : 0) + (cs >> 1) + *p;
                                                                      
                        if (lfn_entry || (lfn_checksum != cs))        
 2018958:	9e 1b c0 19 	xor  %o7, %i1, %o7                             
 201895c:	80 8b e0 ff 	btst  0xff, %o7                                
 2018960:	12 80 00 06 	bne  2018978 <msdos_find_name_in_fat_file+0x3d8><== NEVER TAKEN
 2018964:	c8 07 a0 58 	ld  [ %fp + 0x58 ], %g4                        
 2018968:	80 a6 20 00 	cmp  %i0, 0                                    
 201896c:	22 80 00 15 	be,a   20189c0 <msdos_find_name_in_fat_file+0x420><== ALWAYS TAKEN
 2018970:	f6 07 bf dc 	ld  [ %fp + -36 ], %i3                         
                     * short and they match then we have the entry. We will not
                     * match a long file name against a short file name because
                     * a long file name that generates a matching short file
                     * name is not a long file name.                  
                     */                                               
                    if (lfn_matched ||                                
 2018974:	c8 07 a0 58 	ld  [ %fp + 0x58 ], %g4                        <== NOT EXECUTED
 2018978:	80 a1 20 01 	cmp  %g4, 1                                    
 201897c:	32 80 00 38 	bne,a   2018a5c <msdos_find_name_in_fat_file+0x4bc>
 2018980:	c6 27 bf f4 	st  %g3, [ %fp + -12 ]                         
                        ((name_type == MSDOS_NAME_SHORT) &&           
 2018984:	c8 07 bf f4 	ld  [ %fp + -12 ], %g4                         
 2018988:	80 a1 3f ff 	cmp  %g4, -1                                   
 201898c:	32 80 00 34 	bne,a   2018a5c <msdos_find_name_in_fat_file+0x4bc><== NEVER TAKEN
 2018990:	c6 27 bf f4 	st  %g3, [ %fp + -12 ]                         <== NOT EXECUTED
                         (lfn_start.cln == FAT_FILE_SHORT_NAME) &&    
                         (memcmp(MSDOS_DIR_NAME(entry),               
 2018994:	90 10 00 01 	mov  %g1, %o0                                  
 2018998:	c2 27 bf d4 	st  %g1, [ %fp + -44 ]                         
 201899c:	c4 3f bf c8 	std  %g2, [ %fp + -56 ]                        
 20189a0:	92 10 00 1a 	mov  %i2, %o1                                  
 20189a4:	40 00 0d 38 	call  201be84 <memcmp>                         
 20189a8:	94 10 20 0b 	mov  0xb, %o2                                  
                     * a long file name that generates a matching short file
                     * name is not a long file name.                  
                     */                                               
                    if (lfn_matched ||                                
                        ((name_type == MSDOS_NAME_SHORT) &&           
                         (lfn_start.cln == FAT_FILE_SHORT_NAME) &&    
 20189ac:	c2 07 bf d4 	ld  [ %fp + -44 ], %g1                         
 20189b0:	80 a2 20 00 	cmp  %o0, 0                                    
 20189b4:	12 80 00 29 	bne  2018a58 <msdos_find_name_in_fat_file+0x4b8>
 20189b8:	c4 1f bf c8 	ldd  [ %fp + -56 ], %g2                        
 20189bc:	f6 07 bf dc 	ld  [ %fp + -36 ], %i3                         
 20189c0:	88 10 00 10 	mov  %l0, %g4                                  
 20189c4:	b2 10 00 12 	mov  %l2, %i1                                  
 20189c8:	a0 10 00 16 	mov  %l6, %l0                                  
 20189cc:	a4 10 00 02 	mov  %g2, %l2                                  
 20189d0:	ac 10 00 01 	mov  %g1, %l6                                  
#endif                                                                
                        /*                                            
                         * We get the entry we looked for - fill the position
                         * structure and the 32 bytes of the short entry
                         */                                           
                        int rc = fat_file_ioctl(mt_entry, fat_fd, F_CLU_NUM,
 20189d4:	90 10 00 10 	mov  %l0, %o0                                  
 20189d8:	92 10 00 19 	mov  %i1, %o1                                  
 20189dc:	94 10 20 01 	mov  1, %o2                                    
 20189e0:	96 10 00 04 	mov  %g4, %o3                                  
 20189e4:	7f ff e6 0f 	call  2012220 <fat_file_ioctl>                 
 20189e8:	98 10 00 1b 	mov  %i3, %o4                                  
                                                dir_offset * bts2rd,  
                                                &dir_pos->sname.cln); 
                        if (rc != RC_OK)                              
 20189ec:	b0 92 20 00 	orcc  %o0, 0, %i0                              
 20189f0:	12 80 00 18 	bne  2018a50 <msdos_find_name_in_fat_file+0x4b0><== NEVER TAKEN
 20189f4:	d2 07 bf f4 	ld  [ %fp + -12 ], %o1                         
                            return rc;                                
                                                                      
                        dir_pos->sname.ofs = dir_entry;               
                                                                      
                        if (lfn_start.cln != FAT_FILE_SHORT_NAME)     
 20189f8:	80 a2 7f ff 	cmp  %o1, -1                                   
 20189fc:	02 80 00 0d 	be  2018a30 <msdos_find_name_in_fat_file+0x490>
 2018a00:	e4 26 e0 04 	st  %l2, [ %i3 + 4 ]                           
                        {                                             
                          rc = fat_file_ioctl(mt_entry, fat_fd, F_CLU_NUM,
 2018a04:	40 00 3d 2b 	call  2027eb0 <.umul>                          
 2018a08:	90 10 00 1d 	mov  %i5, %o0                                  
 2018a0c:	92 10 00 19 	mov  %i1, %o1                                  
 2018a10:	96 10 00 08 	mov  %o0, %o3                                  
 2018a14:	94 10 20 01 	mov  1, %o2                                    
 2018a18:	90 10 00 10 	mov  %l0, %o0                                  
 2018a1c:	7f ff e6 01 	call  2012220 <fat_file_ioctl>                 
 2018a20:	98 07 bf f4 	add  %fp, -12, %o4                             
                                              lfn_start.cln * bts2rd, 
                                              &lfn_start.cln);        
                          if (rc != RC_OK)                            
 2018a24:	80 a2 20 00 	cmp  %o0, 0                                    
 2018a28:	12 80 01 38 	bne  2018f08 <msdos_find_name_in_fat_file+0x968><== NEVER TAKEN
 2018a2c:	01 00 00 00 	nop                                            
                            return rc;                                
                        }                                             
                                                                      
                        dir_pos->lname.cln = lfn_start.cln;           
 2018a30:	c2 07 bf f4 	ld  [ %fp + -12 ], %g1                         
                        dir_pos->lname.ofs = lfn_start.ofs;           
                                                                      
                        memcpy(name_dir_entry, entry,                 
 2018a34:	90 10 00 1a 	mov  %i2, %o0                                  
                                              &lfn_start.cln);        
                          if (rc != RC_OK)                            
                            return rc;                                
                        }                                             
                                                                      
                        dir_pos->lname.cln = lfn_start.cln;           
 2018a38:	c2 26 e0 08 	st  %g1, [ %i3 + 8 ]                           
                        dir_pos->lname.ofs = lfn_start.ofs;           
 2018a3c:	c2 07 bf f8 	ld  [ %fp + -8 ], %g1                          
                                                                      
                        memcpy(name_dir_entry, entry,                 
 2018a40:	92 10 00 16 	mov  %l6, %o1                                  
                          if (rc != RC_OK)                            
                            return rc;                                
                        }                                             
                                                                      
                        dir_pos->lname.cln = lfn_start.cln;           
                        dir_pos->lname.ofs = lfn_start.ofs;           
 2018a44:	c2 26 e0 0c 	st  %g1, [ %i3 + 0xc ]                         
                                                                      
                        memcpy(name_dir_entry, entry,                 
 2018a48:	40 00 0d 3d 	call  201bf3c <memcpy>                         
 2018a4c:	94 10 20 20 	mov  0x20, %o2                                 
                               MSDOS_DIRECTORY_ENTRY_STRUCT_SIZE);    
                        return RC_OK;                                 
 2018a50:	81 c7 e0 08 	ret                                            
 2018a54:	81 e8 00 00 	restore                                        
                    }                                                 
                                                                      
                    lfn_start.cln = FAT_FILE_SHORT_NAME;              
 2018a58:	c6 27 bf f4 	st  %g3, [ %fp + -12 ]                         
                    lfn_matched = false;                              
 2018a5c:	10 80 00 03 	b  2018a68 <msdos_find_name_in_fat_file+0x4c8> 
 2018a60:	b6 10 20 00 	clr  %i3                                       
                   * Remainder is not empty so is this entry empty ?  
                   */                                                 
                  empty_space_count++;                                
                                                                      
                  if (empty_space_count == (lfn_entries + 1))         
                    empty_space_found = true;                         
 2018a64:	c2 2f bf e8 	stb  %g1, [ %fp + -24 ]                        <== NOT EXECUTED
        assert(ret == bts2rd);                                        
                                                                      
        /* have to look at the DIR_NAME as "raw" 8-bit data */        
        for (dir_entry = 0;                                           
             dir_entry < bts2rd;                                      
             dir_entry += MSDOS_DIRECTORY_ENTRY_STRUCT_SIZE)          
 2018a68:	84 00 a0 20 	add  %g2, 0x20, %g2                            
            rtems_set_errno_and_return_minus_one(EIO);                
                                                                      
        assert(ret == bts2rd);                                        
                                                                      
        /* have to look at the DIR_NAME as "raw" 8-bit data */        
        for (dir_entry = 0;                                           
 2018a6c:	80 a0 80 1d 	cmp  %g2, %i5                                  
 2018a70:	2a bf ff 25 	bcs,a   2018704 <msdos_find_name_in_fat_file+0x164><== ALWAYS TAKEN
 2018a74:	c8 04 60 9c 	ld  [ %l1 + 0x9c ], %g4                        
 2018a78:	a0 04 00 1d 	add  %l0, %i5, %l0                             <== NOT EXECUTED
        }                                                             
                                                                      
        if (remainder_empty)                                          
            break;                                                    
                                                                      
        dir_offset++;                                                 
 2018a7c:	ae 05 e0 01 	inc  %l7                                       <== NOT EXECUTED
    /*                                                                
     * Scan the directory seeing if the file is present. While        
     * doing this see if a suitable location can be found to          
     * create the entry if the name is not found.                     
     */                                                               
    while ((ret = fat_file_read(mt_entry, fat_fd, (dir_offset * bts2rd),
 2018a80:	d8 04 60 9c 	ld  [ %l1 + 0x9c ], %o4                        
 2018a84:	90 10 00 16 	mov  %l6, %o0                                  
 2018a88:	c6 27 bf cc 	st  %g3, [ %fp + -52 ]                         
 2018a8c:	92 10 00 12 	mov  %l2, %o1                                  
 2018a90:	94 10 00 10 	mov  %l0, %o2                                  
 2018a94:	7f ff e5 02 	call  2011e9c <fat_file_read>                  
 2018a98:	96 10 00 1d 	mov  %i5, %o3                                  
 2018a9c:	80 a2 20 00 	cmp  %o0, 0                                    
 2018aa0:	12 bf ff 09 	bne  20186c4 <msdos_find_name_in_fat_file+0x124><== ALWAYS TAKEN
 2018aa4:	c6 07 bf cc 	ld  [ %fp + -52 ], %g3                         
 2018aa8:	82 10 00 13 	mov  %l3, %g1                                  <== NOT EXECUTED
                                                                      
    /*                                                                
     * If we are not to create the entry return a not found error.    
     */                                                               
    if (!create_node)                                                 
      return MSDOS_NAME_NOT_FOUND_ERR;                                
 2018aac:	31 00 00 1f 	sethi  %hi(0x7c00), %i0                        <== NOT EXECUTED
 2018ab0:	a0 10 00 16 	mov  %l6, %l0                                  <== NOT EXECUTED
 2018ab4:	b2 10 00 12 	mov  %l2, %i1                                  <== NOT EXECUTED
 2018ab8:	e6 07 bf e0 	ld  [ %fp + -32 ], %l3                         <== NOT EXECUTED
 2018abc:	f6 07 bf dc 	ld  [ %fp + -36 ], %i3                         <== NOT EXECUTED
    }                                                                 
                                                                      
    /*                                                                
     * If we are not to create the entry return a not found error.    
     */                                                               
    if (!create_node)                                                 
 2018ac0:	80 a0 60 00 	cmp  %g1, 0                                    <== NOT EXECUTED
 2018ac4:	02 bf ff e3 	be  2018a50 <msdos_find_name_in_fat_file+0x4b0><== NOT EXECUTED
 2018ac8:	b0 16 21 01 	or  %i0, 0x101, %i0                            <== NOT EXECUTED
     * data to place in each long file name entry. First set the short
     * file name to the slot of the SFN entry. This will mean no clashes
     * in this directory.                                             
     */                                                               
    lfn_checksum = 0;                                                 
    if (name_type == MSDOS_NAME_LONG)                                 
 2018acc:	c4 07 a0 58 	ld  [ %fp + 0x58 ], %g2                        
 2018ad0:	80 a0 a0 02 	cmp  %g2, 2                                    
 2018ad4:	12 80 00 2b 	bne  2018b80 <msdos_find_name_in_fat_file+0x5e0>
 2018ad8:	80 a7 20 00 	cmp  %i4, 0                                    
    {                                                                 
        int      slot = (((empty_space_offset * bts2rd) + empty_space_entry) /
 2018adc:	90 10 00 13 	mov  %l3, %o0                                  
 2018ae0:	40 00 3c f4 	call  2027eb0 <.umul>                          
 2018ae4:	92 10 00 1d 	mov  %i5, %o1                                  
{                                                                     
    static const char* hex = "0123456789ABCDEF";                      
    char* c = MSDOS_DIR_NAME(sfn);                                    
    int   i;                                                          
    for (i = 0; i < 2; i++, c++)                                      
      if ((*c == ' ') || (*c == '.'))                                 
 2018ae8:	c2 4e 80 00 	ldsb  [ %i2 ], %g1                             
     */                                                               
    lfn_checksum = 0;                                                 
    if (name_type == MSDOS_NAME_LONG)                                 
    {                                                                 
        int      slot = (((empty_space_offset * bts2rd) + empty_space_entry) /
                         MSDOS_DIRECTORY_ENTRY_STRUCT_SIZE) + lfn_entries + 1;
 2018aec:	b0 07 20 01 	add  %i4, 1, %i0                               
     * in this directory.                                             
     */                                                               
    lfn_checksum = 0;                                                 
    if (name_type == MSDOS_NAME_LONG)                                 
    {                                                                 
        int      slot = (((empty_space_offset * bts2rd) + empty_space_entry) /
 2018af0:	90 02 00 14 	add  %o0, %l4, %o0                             
{                                                                     
    static const char* hex = "0123456789ABCDEF";                      
    char* c = MSDOS_DIR_NAME(sfn);                                    
    int   i;                                                          
    for (i = 0; i < 2; i++, c++)                                      
      if ((*c == ' ') || (*c == '.'))                                 
 2018af4:	80 a0 60 2e 	cmp  %g1, 0x2e                                 
     * in this directory.                                             
     */                                                               
    lfn_checksum = 0;                                                 
    if (name_type == MSDOS_NAME_LONG)                                 
    {                                                                 
        int      slot = (((empty_space_offset * bts2rd) + empty_space_entry) /
 2018af8:	91 32 20 05 	srl  %o0, 5, %o0                               
{                                                                     
    static const char* hex = "0123456789ABCDEF";                      
    char* c = MSDOS_DIR_NAME(sfn);                                    
    int   i;                                                          
    for (i = 0; i < 2; i++, c++)                                      
      if ((*c == ' ') || (*c == '.'))                                 
 2018afc:	02 80 00 05 	be  2018b10 <msdos_find_name_in_fat_file+0x570><== NEVER TAKEN
 2018b00:	b0 06 00 08 	add  %i0, %o0, %i0                             
 2018b04:	80 a0 60 20 	cmp  %g1, 0x20                                 
 2018b08:	32 80 00 05 	bne,a   2018b1c <msdos_find_name_in_fat_file+0x57c><== ALWAYS TAKEN
 2018b0c:	c2 4e a0 01 	ldsb  [ %i2 + 1 ], %g1                         
        *c = '_';                                                     
 2018b10:	82 10 20 5f 	mov  0x5f, %g1                                 <== NOT EXECUTED
 2018b14:	c2 2e 80 00 	stb  %g1, [ %i2 ]                              <== NOT EXECUTED
{                                                                     
    static const char* hex = "0123456789ABCDEF";                      
    char* c = MSDOS_DIR_NAME(sfn);                                    
    int   i;                                                          
    for (i = 0; i < 2; i++, c++)                                      
      if ((*c == ' ') || (*c == '.'))                                 
 2018b18:	c2 4e a0 01 	ldsb  [ %i2 + 1 ], %g1                         <== NOT EXECUTED
 2018b1c:	80 a0 60 2e 	cmp  %g1, 0x2e                                 
 2018b20:	22 80 00 06 	be,a   2018b38 <msdos_find_name_in_fat_file+0x598><== NEVER TAKEN
 2018b24:	82 10 20 5f 	mov  0x5f, %g1                                 <== NOT EXECUTED
 2018b28:	80 a0 60 20 	cmp  %g1, 0x20                                 
 2018b2c:	32 80 00 05 	bne,a   2018b40 <msdos_find_name_in_fat_file+0x5a0><== ALWAYS TAKEN
 2018b30:	84 06 a0 02 	add  %i2, 2, %g2                               
        *c = '_';                                                     
 2018b34:	82 10 20 5f 	mov  0x5f, %g1                                 <== NOT EXECUTED
 2018b38:	c2 2e a0 01 	stb  %g1, [ %i2 + 1 ]                          <== NOT EXECUTED
msdos_short_name_hex(char* sfn, int num)                              
{                                                                     
    static const char* hex = "0123456789ABCDEF";                      
    char* c = MSDOS_DIR_NAME(sfn);                                    
    int   i;                                                          
    for (i = 0; i < 2; i++, c++)                                      
 2018b3c:	84 06 a0 02 	add  %i2, 2, %g2                               <== NOT EXECUTED
 2018b40:	82 10 20 0c 	mov  0xc, %g1                                  
      if ((*c == ' ') || (*c == '.'))                                 
        *c = '_';                                                     
    for (i = 0; i < 4; i++, c++)                                      
      *c = hex[(num >> ((3 - i) * 4)) & 0xf];                         
 2018b44:	07 00 80 aa 	sethi  %hi(0x202a800), %g3                     
 2018b48:	89 3e 00 01 	sra  %i0, %g1, %g4                             
 2018b4c:	9e 10 e3 b0 	or  %g3, 0x3b0, %o7                            
 2018b50:	88 09 20 0f 	and  %g4, 0xf, %g4                             
 2018b54:	c8 0b c0 04 	ldub  [ %o7 + %g4 ], %g4                       
    char* c = MSDOS_DIR_NAME(sfn);                                    
    int   i;                                                          
    for (i = 0; i < 2; i++, c++)                                      
      if ((*c == ' ') || (*c == '.'))                                 
        *c = '_';                                                     
    for (i = 0; i < 4; i++, c++)                                      
 2018b58:	82 00 7f fc 	add  %g1, -4, %g1                              
      *c = hex[(num >> ((3 - i) * 4)) & 0xf];                         
 2018b5c:	c8 28 80 00 	stb  %g4, [ %g2 ]                              
    char* c = MSDOS_DIR_NAME(sfn);                                    
    int   i;                                                          
    for (i = 0; i < 2; i++, c++)                                      
      if ((*c == ' ') || (*c == '.'))                                 
        *c = '_';                                                     
    for (i = 0; i < 4; i++, c++)                                      
 2018b60:	80 a0 7f fc 	cmp  %g1, -4                                   
 2018b64:	12 bf ff f9 	bne  2018b48 <msdos_find_name_in_fat_file+0x5a8>
 2018b68:	84 00 a0 01 	inc  %g2                                       
      *c = hex[(num >> ((3 - i) * 4)) & 0xf];                         
    *c++ = '~';                                                       
 2018b6c:	82 10 20 7e 	mov  0x7e, %g1                                 
 2018b70:	c2 2e a0 06 	stb  %g1, [ %i2 + 6 ]                          
    *c++ = '1';                                                       
 2018b74:	82 10 20 31 	mov  0x31, %g1                                 
 2018b78:	c2 2e a0 07 	stb  %g1, [ %i2 + 7 ]                          
        int      slot = (((empty_space_offset * bts2rd) + empty_space_entry) /
                         MSDOS_DIRECTORY_ENTRY_STRUCT_SIZE) + lfn_entries + 1;
        msdos_short_name_hex(MSDOS_DIR_NAME(name_dir_entry), slot);   
    }                                                                 
                                                                      
    if (lfn_entries)                                                  
 2018b7c:	80 a7 20 00 	cmp  %i4, 0                                    
 2018b80:	02 80 00 12 	be  2018bc8 <msdos_find_name_in_fat_file+0x628>
 2018b84:	c0 2f bf ef 	clrb  [ %fp + -17 ]                            
 2018b88:	82 10 20 00 	clr  %g1                                       
 2018b8c:	84 10 20 00 	clr  %g2                                       
    {                                                                 
        uint8_t* p = (uint8_t*) MSDOS_DIR_NAME(name_dir_entry);       
        int      i;                                                   
        for (i = 0; i < 11; i++, p++)                                 
            lfn_checksum =                                            
 2018b90:	c8 0e 80 01 	ldub  [ %i2 + %g1 ], %g4                       
                ((lfn_checksum & 1) ? 0x80 : 0) + (lfn_checksum >> 1) + *p;
 2018b94:	86 08 a0 ff 	and  %g2, 0xff, %g3                            
 2018b98:	84 08 e0 01 	and  %g3, 1, %g2                               
    if (lfn_entries)                                                  
    {                                                                 
        uint8_t* p = (uint8_t*) MSDOS_DIR_NAME(name_dir_entry);       
        int      i;                                                   
        for (i = 0; i < 11; i++, p++)                                 
            lfn_checksum =                                            
 2018b9c:	80 a0 00 02 	cmp  %g0, %g2                                  
 2018ba0:	87 30 e0 01 	srl  %g3, 1, %g3                               
 2018ba4:	84 40 3f ff 	addx  %g0, -1, %g2                             
 2018ba8:	86 01 00 03 	add  %g4, %g3, %g3                             
 2018bac:	84 08 a0 80 	and  %g2, 0x80, %g2                            
                                                                      
    if (lfn_entries)                                                  
    {                                                                 
        uint8_t* p = (uint8_t*) MSDOS_DIR_NAME(name_dir_entry);       
        int      i;                                                   
        for (i = 0; i < 11; i++, p++)                                 
 2018bb0:	82 00 60 01 	inc  %g1                                       
            lfn_checksum =                                            
 2018bb4:	84 00 bf 80 	add  %g2, -128, %g2                            
                                                                      
    if (lfn_entries)                                                  
    {                                                                 
        uint8_t* p = (uint8_t*) MSDOS_DIR_NAME(name_dir_entry);       
        int      i;                                                   
        for (i = 0; i < 11; i++, p++)                                 
 2018bb8:	80 a0 60 0b 	cmp  %g1, 0xb                                  
 2018bbc:	12 bf ff f5 	bne  2018b90 <msdos_find_name_in_fat_file+0x5f0>
 2018bc0:	84 00 c0 02 	add  %g3, %g2, %g2                             
 2018bc4:	c4 2f bf ef 	stb  %g2, [ %fp + -17 ]                        
     * empty_space_count is a count of empty entries in the currently 
     * read cluster so if 0 there is no space. Note, dir_offset will  
     * be at the next cluster so we can just make empty_space_offset  
     * that value.                                                    
     */                                                               
    if (empty_space_count == 0)                                       
 2018bc8:	80 a5 60 00 	cmp  %l5, 0                                    
 2018bcc:	22 80 00 06 	be,a   2018be4 <msdos_find_name_in_fat_file+0x644><== NEVER TAKEN
 2018bd0:	a6 10 00 17 	mov  %l7, %l3                                  <== NOT EXECUTED
    uint32_t         empty_space_offset = 0;                          
    uint32_t         empty_space_entry = 0;                           
    uint32_t         empty_space_count = 0;                           
    bool             empty_space_found = false;                       
    uint32_t         entries_per_block;                               
    bool             read_cluster = false;                            
 2018bd4:	ae 1d c0 13 	xor  %l7, %l3, %l7                             
 2018bd8:	80 a0 00 17 	cmp  %g0, %l7                                  
 2018bdc:	10 80 00 04 	b  2018bec <msdos_find_name_in_fat_file+0x64c> 
 2018be0:	b0 40 20 00 	addx  %g0, 0, %i0                              
     * be at the next cluster so we can just make empty_space_offset  
     * that value.                                                    
     */                                                               
    if (empty_space_count == 0)                                       
    {                                                                 
        read_cluster = true;                                          
 2018be4:	b0 10 20 01 	mov  1, %i0                                    <== NOT EXECUTED
        empty_space_offset = dir_offset;                              
        empty_space_entry = 0;                                        
 2018be8:	a8 10 20 00 	clr  %l4                                       <== NOT EXECUTED
        read_cluster = true;                                          
                                                                      
    /*                                                                
     * Handle the entry writes.                                       
     */                                                               
    lfn_start.cln = lfn_start.ofs = FAT_FILE_SHORT_NAME;              
 2018bec:	82 10 3f ff 	mov  -1, %g1                                   
 2018bf0:	90 10 00 13 	mov  %l3, %o0                                  
 2018bf4:	c2 27 bf f8 	st  %g1, [ %fp + -8 ]                          
 2018bf8:	c2 27 bf f4 	st  %g1, [ %fp + -12 ]                         
 2018bfc:	40 00 3c ad 	call  2027eb0 <.umul>                          
 2018c00:	92 10 00 1d 	mov  %i5, %o1                                  
 *     RC_OK on success, or error code if error occured (errno set    
 *     appropriately)                                                 
 *                                                                    
 */                                                                   
#define MSDOS_FIND_PRINT 0                                            
int msdos_find_name_in_fat_file(                                      
 2018c04:	c2 07 a0 50 	ld  [ %fp + 0x50 ], %g1                        
 2018c08:	88 07 20 01 	add  %i4, 1, %g4                               
 2018c0c:	84 00 7f f3 	add  %g1, -13, %g2                             
 2018c10:	87 2f 20 04 	sll  %i4, 4, %g3                               
 2018c14:	83 2f 20 02 	sll  %i4, 2, %g1                               
        read_cluster = true;                                          
                                                                      
    /*                                                                
     * Handle the entry writes.                                       
     */                                                               
    lfn_start.cln = lfn_start.ofs = FAT_FILE_SHORT_NAME;              
 2018c18:	a4 10 00 08 	mov  %o0, %l2                                  
 *     RC_OK on success, or error code if error occured (errno set    
 *     appropriately)                                                 
 *                                                                    
 */                                                                   
#define MSDOS_FIND_PRINT 0                                            
int msdos_find_name_in_fat_file(                                      
 2018c1c:	82 20 c0 01 	sub  %g3, %g1, %g1                             
                                                                      
    /*                                                                
     * Handle the entry writes.                                       
     */                                                               
    lfn_start.cln = lfn_start.ofs = FAT_FILE_SHORT_NAME;              
    lfn_entry = 0;                                                    
 2018c20:	aa 10 20 00 	clr  %l5                                       
 *     RC_OK on success, or error code if error occured (errno set    
 *     appropriately)                                                 
 *                                                                    
 */                                                                   
#define MSDOS_FIND_PRINT 0                                            
int msdos_find_name_in_fat_file(                                      
 2018c24:	82 00 40 1c 	add  %g1, %i4, %g1                             
 2018c28:	c8 27 bf e8 	st  %g4, [ %fp + -24 ]                         
 2018c2c:	82 00 80 01 	add  %g2, %g1, %g1                             
 2018c30:	ae 10 00 1c 	mov  %i4, %l7                                  
#endif                                                                
                                                                      
    /*                                                                
     * The one more is the short entry.                               
     */                                                               
    while (lfn_entry < (lfn_entries + 1))                             
 2018c34:	10 80 00 ae 	b  2018eec <msdos_find_name_in_fat_file+0x94c> 
 2018c38:	c2 27 bf e4 	st  %g1, [ %fp + -28 ]                         
    {                                                                 
        int length = 0;                                               
                                                                      
        if (read_cluster)                                             
 2018c3c:	02 80 00 0c 	be  2018c6c <msdos_find_name_in_fat_file+0x6cc><== ALWAYS TAKEN
 2018c40:	89 2d 60 04 	sll  %l5, 4, %g4                               
        {                                                             
          uint32_t new_length;                                        
#if MSDOS_FIND_PRINT                                                  
          printf ("MSFS:[9.1] eso:%li\n", empty_space_offset);        
#endif                                                                
          ret = fat_file_read(mt_entry, fat_fd,                       
 2018c44:	d8 04 60 9c 	ld  [ %l1 + 0x9c ], %o4                        <== NOT EXECUTED
 2018c48:	90 10 00 10 	mov  %l0, %o0                                  <== NOT EXECUTED
 2018c4c:	92 10 00 19 	mov  %i1, %o1                                  <== NOT EXECUTED
 2018c50:	94 10 00 12 	mov  %l2, %o2                                  <== NOT EXECUTED
 2018c54:	7f ff e4 92 	call  2011e9c <fat_file_read>                  <== NOT EXECUTED
 2018c58:	96 10 00 1d 	mov  %i5, %o3                                  <== NOT EXECUTED
                              (empty_space_offset * bts2rd), bts2rd,  
                              fs_info->cl_buf);                       
                                                                      
          if (ret != bts2rd)                                          
 2018c5c:	80 a2 00 1d 	cmp  %o0, %i5                                  <== NOT EXECUTED
 2018c60:	12 80 00 0f 	bne  2018c9c <msdos_find_name_in_fat_file+0x6fc><== NOT EXECUTED
 2018c64:	80 a2 20 00 	cmp  %o0, 0                                    <== NOT EXECUTED
 *     RC_OK on success, or error code if error occured (errno set    
 *     appropriately)                                                 
 *                                                                    
 */                                                                   
#define MSDOS_FIND_PRINT 0                                            
int msdos_find_name_in_fat_file(                                      
 2018c68:	89 2d 60 04 	sll  %l5, 4, %g4                               <== NOT EXECUTED
#endif                                                                
          ret = fat_file_read(mt_entry, fat_fd,                       
                              (empty_space_offset * bts2rd), bts2rd,  
                              fs_info->cl_buf);                       
                                                                      
          if (ret != bts2rd)                                          
 2018c6c:	c4 07 bf e8 	ld  [ %fp + -24 ], %g2                         
 *     RC_OK on success, or error code if error occured (errno set    
 *     appropriately)                                                 
 *                                                                    
 */                                                                   
#define MSDOS_FIND_PRINT 0                                            
int msdos_find_name_in_fat_file(                                      
 2018c70:	87 2d 60 02 	sll  %l5, 2, %g3                               
 2018c74:	86 21 00 03 	sub  %g4, %g3, %g3                             
 2018c78:	c8 07 bf e4 	ld  [ %fp + -28 ], %g4                         
 2018c7c:	82 05 60 01 	add  %l5, 1, %g1                               
 2018c80:	86 00 c0 15 	add  %g3, %l5, %g3                             
#endif                                                                
          ret = fat_file_read(mt_entry, fat_fd,                       
                              (empty_space_offset * bts2rd), bts2rd,  
                              fs_info->cl_buf);                       
                                                                      
          if (ret != bts2rd)                                          
 2018c84:	82 20 80 01 	sub  %g2, %g1, %g1                             
 *     RC_OK on success, or error code if error occured (errno set    
 *     appropriately)                                                 
 *                                                                    
 */                                                                   
#define MSDOS_FIND_PRINT 0                                            
int msdos_find_name_in_fat_file(                                      
 2018c88:	b0 10 00 14 	mov  %l4, %i0                                  
 2018c8c:	84 10 20 00 	clr  %g2                                       
 2018c90:	ac 10 20 00 	clr  %l6                                       
 2018c94:	10 80 00 7e 	b  2018e8c <msdos_find_name_in_fat_file+0x8ec> 
 2018c98:	86 21 00 03 	sub  %g4, %g3, %g3                             
                              (empty_space_offset * bts2rd), bts2rd,  
                              fs_info->cl_buf);                       
                                                                      
          if (ret != bts2rd)                                          
          {                                                           
            if (ret != FAT_EOF)                                       
 2018c9c:	12 80 00 8b 	bne  2018ec8 <msdos_find_name_in_fat_file+0x928><== NOT EXECUTED
 2018ca0:	01 00 00 00 	nop                                            <== NOT EXECUTED
              rtems_set_errno_and_return_minus_one(EIO);              
                                                                      
#if MSDOS_FIND_PRINT                                                  
            printf ("MSFS:[9.2] extending file:%li\n", empty_space_offset);
#endif                                                                
            ret = fat_file_extend (mt_entry, fat_fd, empty_space_offset * bts2rd,
 2018ca4:	90 10 00 10 	mov  %l0, %o0                                  <== NOT EXECUTED
 2018ca8:	92 10 00 19 	mov  %i1, %o1                                  <== NOT EXECUTED
 2018cac:	94 10 00 12 	mov  %l2, %o2                                  <== NOT EXECUTED
 2018cb0:	7f ff e5 91 	call  20122f4 <fat_file_extend>                <== NOT EXECUTED
 2018cb4:	96 07 bf fc 	add  %fp, -4, %o3                              <== NOT EXECUTED
                                   &new_length);                      
                                                                      
            if (ret != RC_OK)                                         
 2018cb8:	80 a2 20 00 	cmp  %o0, 0                                    <== NOT EXECUTED
 2018cbc:	12 80 00 93 	bne  2018f08 <msdos_find_name_in_fat_file+0x968><== NOT EXECUTED
 2018cc0:	c2 07 bf fc 	ld  [ %fp + -4 ], %g1                          <== NOT EXECUTED
              return ret;                                             
                                                                      
#if MSDOS_FIND_PRINT                                                  
            printf ("MSFS:[9.3] extended: %d <-> %d\n", new_length, empty_space_offset * bts2rd);
#endif                                                                
            if (new_length != (empty_space_offset * bts2rd))          
 2018cc4:	80 a0 40 12 	cmp  %g1, %l2                                  <== NOT EXECUTED
 2018cc8:	12 80 00 80 	bne  2018ec8 <msdos_find_name_in_fat_file+0x928><== NOT EXECUTED
 2018ccc:	01 00 00 00 	nop                                            <== NOT EXECUTED
              rtems_set_errno_and_return_minus_one(EIO);              
                                                                      
            memset(fs_info->cl_buf, 0, bts2rd);                       
 2018cd0:	d0 04 60 9c 	ld  [ %l1 + 0x9c ], %o0                        <== NOT EXECUTED
 2018cd4:	92 10 20 00 	clr  %o1                                       <== NOT EXECUTED
 2018cd8:	40 00 0c d5 	call  201c02c <memset>                         <== NOT EXECUTED
 2018cdc:	94 10 00 1d 	mov  %i5, %o2                                  <== NOT EXECUTED
                                                                      
            ret = fat_file_write(mt_entry, fat_fd,                    
 2018ce0:	d8 04 60 9c 	ld  [ %l1 + 0x9c ], %o4                        <== NOT EXECUTED
 2018ce4:	90 10 00 10 	mov  %l0, %o0                                  <== NOT EXECUTED
 2018ce8:	92 10 00 19 	mov  %i1, %o1                                  <== NOT EXECUTED
 2018cec:	94 10 00 12 	mov  %l2, %o2                                  <== NOT EXECUTED
 2018cf0:	7f ff e5 fd 	call  20124e4 <fat_file_write>                 <== NOT EXECUTED
 2018cf4:	96 10 00 1d 	mov  %i5, %o3                                  <== NOT EXECUTED
                                 empty_space_offset * bts2rd,         
                                 bts2rd, fs_info->cl_buf);            
#if MSDOS_FIND_PRINT                                                  
            printf ("MSFS:[9.4] clear write: %d\n", ret);             
#endif                                                                
            if (ret == -1)                                            
 2018cf8:	80 a2 3f ff 	cmp  %o0, -1                                   <== NOT EXECUTED
 2018cfc:	02 80 00 81 	be  2018f00 <msdos_find_name_in_fat_file+0x960><== NOT EXECUTED
 2018d00:	80 a2 00 1d 	cmp  %o0, %i5                                  <== NOT EXECUTED
              return ret;                                             
            else if (ret != bts2rd)                                   
 2018d04:	02 bf ff da 	be  2018c6c <msdos_find_name_in_fat_file+0x6cc><== NOT EXECUTED
 2018d08:	89 2d 60 04 	sll  %l5, 4, %g4                               <== NOT EXECUTED
 2018d0c:	30 80 00 6f 	b,a   2018ec8 <msdos_find_name_in_fat_file+0x928><== NOT EXECUTED
                    length, lfn_entry);                               
#endif                                                                
            /*                                                        
             * Time to write the short file name entry.               
             */                                                       
            if (lfn_entry == (lfn_entries + 1))                       
 2018d10:	c8 07 bf e8 	ld  [ %fp + -24 ], %g4                         
            const char* n;                                            
            int         i;                                            
            char        fill = 0;                                     
                                                                      
            length += MSDOS_DIRECTORY_ENTRY_STRUCT_SIZE;              
            lfn_entry++;                                              
 2018d14:	aa 05 60 01 	inc  %l5                                       
                                                                      
        for (dir_entry = empty_space_entry;                           
             dir_entry < bts2rd;                                      
             dir_entry += MSDOS_DIRECTORY_ENTRY_STRUCT_SIZE)          
        {                                                             
            char*       entry = (char*) fs_info->cl_buf + dir_entry;  
 2018d18:	b8 07 00 18 	add  %i4, %i0, %i4                             
                    length, lfn_entry);                               
#endif                                                                
            /*                                                        
             * Time to write the short file name entry.               
             */                                                       
            if (lfn_entry == (lfn_entries + 1))                       
 2018d1c:	80 a5 40 04 	cmp  %l5, %g4                                  
 2018d20:	12 80 00 23 	bne  2018dac <msdos_find_name_in_fat_file+0x80c>
 2018d24:	ac 05 a0 20 	add  %l6, 0x20, %l6                            
            {                                                         
                /* get current cluster number */                      
                int rc = fat_file_ioctl(mt_entry, fat_fd, F_CLU_NUM,  
 2018d28:	90 10 00 10 	mov  %l0, %o0                                  
 2018d2c:	92 10 00 19 	mov  %i1, %o1                                  
 2018d30:	94 10 20 01 	mov  1, %o2                                    
 2018d34:	96 10 00 12 	mov  %l2, %o3                                  
 2018d38:	7f ff e5 3a 	call  2012220 <fat_file_ioctl>                 
 2018d3c:	98 10 00 1b 	mov  %i3, %o4                                  
                                        empty_space_offset * bts2rd,  
                                        &dir_pos->sname.cln);         
                if (rc != RC_OK)                                      
 2018d40:	80 a2 20 00 	cmp  %o0, 0                                    
 2018d44:	12 80 00 71 	bne  2018f08 <msdos_find_name_in_fat_file+0x968><== NEVER TAKEN
 2018d48:	d2 07 bf f4 	ld  [ %fp + -12 ], %o1                         
                  return rc;                                          
                                                                      
                dir_pos->sname.ofs = dir_entry;                       
                                                                      
                if (lfn_start.cln != FAT_FILE_SHORT_NAME)             
 2018d4c:	80 a2 7f ff 	cmp  %o1, -1                                   
 2018d50:	02 80 00 0d 	be  2018d84 <msdos_find_name_in_fat_file+0x7e4>
 2018d54:	f0 26 e0 04 	st  %i0, [ %i3 + 4 ]                           
                {                                                     
                  rc = fat_file_ioctl(mt_entry, fat_fd, F_CLU_NUM,    
 2018d58:	40 00 3c 56 	call  2027eb0 <.umul>                          
 2018d5c:	90 10 00 1d 	mov  %i5, %o0                                  
 2018d60:	92 10 00 19 	mov  %i1, %o1                                  
 2018d64:	96 10 00 08 	mov  %o0, %o3                                  
 2018d68:	94 10 20 01 	mov  1, %o2                                    
 2018d6c:	90 10 00 10 	mov  %l0, %o0                                  
 2018d70:	7f ff e5 2c 	call  2012220 <fat_file_ioctl>                 
 2018d74:	98 07 bf f4 	add  %fp, -12, %o4                             
                                      lfn_start.cln * bts2rd,         
                                      &lfn_start.cln);                
                  if (rc != RC_OK)                                    
 2018d78:	80 a2 20 00 	cmp  %o0, 0                                    
 2018d7c:	12 80 00 63 	bne  2018f08 <msdos_find_name_in_fat_file+0x968><== NEVER TAKEN
 2018d80:	01 00 00 00 	nop                                            
                    return rc;                                        
                }                                                     
                                                                      
                dir_pos->lname.cln = lfn_start.cln;                   
 2018d84:	c2 07 bf f4 	ld  [ %fp + -12 ], %g1                         
                dir_pos->lname.ofs = lfn_start.ofs;                   
                                                                      
                /* write new node entry */                            
                memcpy (entry, (uint8_t *) name_dir_entry,            
 2018d88:	90 10 00 1c 	mov  %i4, %o0                                  
                                      &lfn_start.cln);                
                  if (rc != RC_OK)                                    
                    return rc;                                        
                }                                                     
                                                                      
                dir_pos->lname.cln = lfn_start.cln;                   
 2018d8c:	c2 26 e0 08 	st  %g1, [ %i3 + 8 ]                           
                dir_pos->lname.ofs = lfn_start.ofs;                   
 2018d90:	c2 07 bf f8 	ld  [ %fp + -8 ], %g1                          
                                                                      
                /* write new node entry */                            
                memcpy (entry, (uint8_t *) name_dir_entry,            
 2018d94:	92 10 00 1a 	mov  %i2, %o1                                  
                  if (rc != RC_OK)                                    
                    return rc;                                        
                }                                                     
                                                                      
                dir_pos->lname.cln = lfn_start.cln;                   
                dir_pos->lname.ofs = lfn_start.ofs;                   
 2018d98:	c2 26 e0 0c 	st  %g1, [ %i3 + 0xc ]                         
                                                                      
                /* write new node entry */                            
                memcpy (entry, (uint8_t *) name_dir_entry,            
 2018d9c:	40 00 0c 68 	call  201bf3c <memcpy>                         
 2018da0:	94 10 20 20 	mov  0x20, %o2                                 
                        MSDOS_DIRECTORY_ENTRY_STRUCT_SIZE);           
                break;                                                
 2018da4:	10 80 00 3e 	b  2018e9c <msdos_find_name_in_fat_file+0x8fc> 
 2018da8:	d8 04 60 9c 	ld  [ %l1 + 0x9c ], %o4                        
             * This is a long file name and we need to write          
             * a long file name entry. See if this is the             
             * first entry written and if so remember the             
             * the location of the long file name.                    
             */                                                       
            if (lfn_start.cln == FAT_FILE_SHORT_NAME)                 
 2018dac:	c8 07 bf f4 	ld  [ %fp + -12 ], %g4                         
 2018db0:	80 a1 3f ff 	cmp  %g4, -1                                   
 2018db4:	32 80 00 05 	bne,a   2018dc8 <msdos_find_name_in_fat_file+0x828>
 2018db8:	c2 27 bf d4 	st  %g1, [ %fp + -44 ]                         
            {                                                         
              lfn_start.cln = empty_space_offset;                     
 2018dbc:	e6 27 bf f4 	st  %l3, [ %fp + -12 ]                         
              lfn_start.ofs = dir_entry;                              
 2018dc0:	f0 27 bf f8 	st  %i0, [ %fp + -8 ]                          
            }                                                         
                                                                      
            /*                                                        
             * Clear the entry before loading the data.               
             */                                                       
            memset (entry, 0, MSDOS_DIRECTORY_ENTRY_STRUCT_SIZE);     
 2018dc4:	c2 27 bf d4 	st  %g1, [ %fp + -44 ]                         
 2018dc8:	c4 3f bf c8 	std  %g2, [ %fp + -56 ]                        
 2018dcc:	90 10 00 1c 	mov  %i4, %o0                                  
 2018dd0:	92 10 20 00 	clr  %o1                                       
 2018dd4:	40 00 0c 96 	call  201c02c <memset>                         
 2018dd8:	94 10 20 20 	mov  0x20, %o2                                 
                                                                      
            *MSDOS_DIR_LFN_CHECKSUM(entry) = lfn_checksum;            
 2018ddc:	c8 0f bf ef 	ldub  [ %fp + -17 ], %g4                       
        {                                                             
            char*       entry = (char*) fs_info->cl_buf + dir_entry;  
            char*       p;                                            
            const char* n;                                            
            int         i;                                            
            char        fill = 0;                                     
 2018de0:	98 10 20 00 	clr  %o4                                       
            /*                                                        
             * Clear the entry before loading the data.               
             */                                                       
            memset (entry, 0, MSDOS_DIRECTORY_ENTRY_STRUCT_SIZE);     
                                                                      
            *MSDOS_DIR_LFN_CHECKSUM(entry) = lfn_checksum;            
 2018de4:	c8 2f 20 0d 	stb  %g4, [ %i4 + 0xd ]                        
 *     RC_OK on success, or error code if error occured (errno set    
 *     appropriately)                                                 
 *                                                                    
 */                                                                   
#define MSDOS_FIND_PRINT 0                                            
int msdos_find_name_in_fat_file(                                      
 2018de8:	c4 1f bf c8 	ldd  [ %fp + -56 ], %g2                        
            *MSDOS_DIR_LFN_CHECKSUM(entry) = lfn_checksum;            
                                                                      
            p = entry + 1;                                            
            n = name + (lfn_entries - lfn_entry) * MSDOS_LFN_LEN_PER_ENTRY;
                                                                      
            for (i = 0; i < MSDOS_LFN_LEN_PER_ENTRY; i++)             
 2018dec:	c2 07 bf d4 	ld  [ %fp + -44 ], %g1                         
             */                                                       
            memset (entry, 0, MSDOS_DIRECTORY_ENTRY_STRUCT_SIZE);     
                                                                      
            *MSDOS_DIR_LFN_CHECKSUM(entry) = lfn_checksum;            
                                                                      
            p = entry + 1;                                            
 2018df0:	88 07 20 01 	add  %i4, 1, %g4                               
 *     RC_OK on success, or error code if error occured (errno set    
 *     appropriately)                                                 
 *                                                                    
 */                                                                   
#define MSDOS_FIND_PRINT 0                                            
int msdos_find_name_in_fat_file(                                      
 2018df4:	9a 00 c0 02 	add  %g3, %g2, %o5                             
            *MSDOS_DIR_LFN_CHECKSUM(entry) = lfn_checksum;            
                                                                      
            p = entry + 1;                                            
            n = name + (lfn_entries - lfn_entry) * MSDOS_LFN_LEN_PER_ENTRY;
                                                                      
            for (i = 0; i < MSDOS_LFN_LEN_PER_ENTRY; i++)             
 2018df8:	9e 10 20 00 	clr  %o7                                       
            {                                                         
                if (*n != 0)                                          
 2018dfc:	d4 4b 40 00 	ldsb  [ %o5 ], %o2                             
 2018e00:	80 a2 a0 00 	cmp  %o2, 0                                    
 2018e04:	02 80 00 05 	be  2018e18 <msdos_find_name_in_fat_file+0x878>
 2018e08:	d6 0b 40 00 	ldub  [ %o5 ], %o3                             
                {                                                     
                    *p = *n;                                          
 2018e0c:	d6 29 00 00 	stb  %o3, [ %g4 ]                              
                    n++;                                              
 2018e10:	10 80 00 05 	b  2018e24 <msdos_find_name_in_fat_file+0x884> 
 2018e14:	9a 03 60 01 	inc  %o5                                       
                }                                                     
                else                                                  
                {                                                     
                    p [0] = fill;                                     
 2018e18:	d8 29 00 00 	stb  %o4, [ %g4 ]                              
                    p [1] = fill;                                     
 2018e1c:	d8 29 20 01 	stb  %o4, [ %g4 + 1 ]                          
                    fill = 0xff;                                      
 2018e20:	98 10 3f ff 	mov  -1, %o4                                   
                }                                                     
                                                                      
                switch (i)                                            
 2018e24:	80 a3 e0 04 	cmp  %o7, 4                                    
 2018e28:	02 80 00 06 	be  2018e40 <msdos_find_name_in_fat_file+0x8a0>
 2018e2c:	80 a3 e0 0a 	cmp  %o7, 0xa                                  
 2018e30:	32 80 00 08 	bne,a   2018e50 <msdos_find_name_in_fat_file+0x8b0>
 2018e34:	88 01 20 02 	add  %g4, 2, %g4                               
                {                                                     
                    case 4:                                           
                        p += 5;                                       
                        break;                                        
                    case 10:                                          
                        p += 4;                                       
 2018e38:	10 80 00 04 	b  2018e48 <msdos_find_name_in_fat_file+0x8a8> 
 2018e3c:	88 01 20 04 	add  %g4, 4, %g4                               
                                                                      
                switch (i)                                            
                {                                                     
                    case 4:                                           
                        p += 5;                                       
                        break;                                        
 2018e40:	10 80 00 04 	b  2018e50 <msdos_find_name_in_fat_file+0x8b0> 
 2018e44:	88 01 20 05 	add  %g4, 5, %g4                               
                    case 10:                                          
                        p += 4;                                       
                        break;                                        
 2018e48:	10 80 00 03 	b  2018e54 <msdos_find_name_in_fat_file+0x8b4> 
 2018e4c:	9e 03 e0 01 	inc  %o7                                       
            *MSDOS_DIR_LFN_CHECKSUM(entry) = lfn_checksum;            
                                                                      
            p = entry + 1;                                            
            n = name + (lfn_entries - lfn_entry) * MSDOS_LFN_LEN_PER_ENTRY;
                                                                      
            for (i = 0; i < MSDOS_LFN_LEN_PER_ENTRY; i++)             
 2018e50:	9e 03 e0 01 	inc  %o7                                       
 2018e54:	80 a3 e0 0d 	cmp  %o7, 0xd                                  
 2018e58:	32 bf ff ea 	bne,a   2018e00 <msdos_find_name_in_fat_file+0x860>
 2018e5c:	d4 4b 40 00 	ldsb  [ %o5 ], %o2                             
                        break;                                        
                }                                                     
            }                                                         
                                                                      
            *MSDOS_DIR_ENTRY_TYPE(entry) = (lfn_entries - lfn_entry) + 1;
            if (lfn_entry == 1)                                       
 2018e60:	80 a5 60 01 	cmp  %l5, 1                                    
 2018e64:	12 80 00 04 	bne  2018e74 <msdos_find_name_in_fat_file+0x8d4>
 2018e68:	c2 2f 00 00 	stb  %g1, [ %i4 ]                              
                *MSDOS_DIR_ENTRY_TYPE(entry) |= MSDOS_LAST_LONG_ENTRY;
 2018e6c:	88 10 60 40 	or  %g1, 0x40, %g4                             
 2018e70:	c8 2f 00 00 	stb  %g4, [ %i4 ]                              
            *MSDOS_DIR_ATTR(entry) |= MSDOS_ATTR_LFN;                 
 2018e74:	c8 0f 20 0b 	ldub  [ %i4 + 0xb ], %g4                       
        printf ("MSFS:[10] eso:%li\n", empty_space_offset);           
#endif                                                                
                                                                      
        for (dir_entry = empty_space_entry;                           
             dir_entry < bts2rd;                                      
             dir_entry += MSDOS_DIRECTORY_ENTRY_STRUCT_SIZE)          
 2018e78:	b0 06 20 20 	add  %i0, 0x20, %i0                            
            }                                                         
                                                                      
            *MSDOS_DIR_ENTRY_TYPE(entry) = (lfn_entries - lfn_entry) + 1;
            if (lfn_entry == 1)                                       
                *MSDOS_DIR_ENTRY_TYPE(entry) |= MSDOS_LAST_LONG_ENTRY;
            *MSDOS_DIR_ATTR(entry) |= MSDOS_ATTR_LFN;                 
 2018e7c:	88 11 20 0f 	or  %g4, 0xf, %g4                              
        printf ("MSFS:[10] eso:%li\n", empty_space_offset);           
#endif                                                                
                                                                      
        for (dir_entry = empty_space_entry;                           
             dir_entry < bts2rd;                                      
             dir_entry += MSDOS_DIRECTORY_ENTRY_STRUCT_SIZE)          
 2018e80:	82 00 7f ff 	add  %g1, -1, %g1                              
            }                                                         
                                                                      
            *MSDOS_DIR_ENTRY_TYPE(entry) = (lfn_entries - lfn_entry) + 1;
            if (lfn_entry == 1)                                       
                *MSDOS_DIR_ENTRY_TYPE(entry) |= MSDOS_LAST_LONG_ENTRY;
            *MSDOS_DIR_ATTR(entry) |= MSDOS_ATTR_LFN;                 
 2018e84:	c8 2f 20 0b 	stb  %g4, [ %i4 + 0xb ]                        
        printf ("MSFS:[10] eso:%li\n", empty_space_offset);           
#endif                                                                
                                                                      
        for (dir_entry = empty_space_entry;                           
             dir_entry < bts2rd;                                      
             dir_entry += MSDOS_DIRECTORY_ENTRY_STRUCT_SIZE)          
 2018e88:	84 00 bf f3 	add  %g2, -13, %g2                             
                                                                      
#if MSDOS_FIND_PRINT                                                  
        printf ("MSFS:[10] eso:%li\n", empty_space_offset);           
#endif                                                                
                                                                      
        for (dir_entry = empty_space_entry;                           
 2018e8c:	80 a6 00 1d 	cmp  %i0, %i5                                  
 2018e90:	2a bf ff a0 	bcs,a   2018d10 <msdos_find_name_in_fat_file+0x770><== ALWAYS TAKEN
 2018e94:	f8 04 60 9c 	ld  [ %l1 + 0x9c ], %i4                        
            if (lfn_entry == 1)                                       
                *MSDOS_DIR_ENTRY_TYPE(entry) |= MSDOS_LAST_LONG_ENTRY;
            *MSDOS_DIR_ATTR(entry) |= MSDOS_ATTR_LFN;                 
        }                                                             
                                                                      
        ret = fat_file_write(mt_entry, fat_fd,                        
 2018e98:	d8 04 60 9c 	ld  [ %l1 + 0x9c ], %o4                        <== NOT EXECUTED
 2018e9c:	90 10 00 10 	mov  %l0, %o0                                  
 2018ea0:	92 10 00 19 	mov  %i1, %o1                                  
 2018ea4:	94 04 80 14 	add  %l2, %l4, %o2                             
 2018ea8:	96 10 00 16 	mov  %l6, %o3                                  
 2018eac:	7f ff e5 8e 	call  20124e4 <fat_file_write>                 
 2018eb0:	98 03 00 14 	add  %o4, %l4, %o4                             
                             (empty_space_offset * bts2rd) + empty_space_entry,
                             length, fs_info->cl_buf + empty_space_entry);
        if (ret == -1)                                                
 2018eb4:	80 a2 3f ff 	cmp  %o0, -1                                   
 2018eb8:	02 80 00 16 	be  2018f10 <msdos_find_name_in_fat_file+0x970><== NEVER TAKEN
 2018ebc:	80 a2 00 16 	cmp  %o0, %l6                                  
            return ret;                                               
        else if (ret != length)                                       
 2018ec0:	02 80 00 08 	be  2018ee0 <msdos_find_name_in_fat_file+0x940><== ALWAYS TAKEN
 2018ec4:	a4 04 80 1d 	add  %l2, %i5, %l2                             
            rtems_set_errno_and_return_minus_one(EIO);                
 2018ec8:	40 00 09 4e 	call  201b400 <__errno>                        <== NOT EXECUTED
 2018ecc:	b0 10 3f ff 	mov  -1, %i0                                   <== NOT EXECUTED
 2018ed0:	82 10 20 05 	mov  5, %g1                                    <== NOT EXECUTED
 2018ed4:	c2 22 00 00 	st  %g1, [ %o0 ]                               <== NOT EXECUTED
 2018ed8:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2018edc:	81 e8 00 00 	restore                                        <== NOT EXECUTED
                                                                      
        empty_space_offset++;                                         
 2018ee0:	a6 04 e0 01 	inc  %l3                                       
        empty_space_entry = 0;                                        
 2018ee4:	a8 10 20 00 	clr  %l4                                       
        read_cluster = true;                                          
 2018ee8:	b0 10 20 01 	mov  1, %i0                                    
#endif                                                                
                                                                      
    /*                                                                
     * The one more is the short entry.                               
     */                                                               
    while (lfn_entry < (lfn_entries + 1))                             
 2018eec:	80 a5 c0 15 	cmp  %l7, %l5                                  
 2018ef0:	16 bf ff 53 	bge  2018c3c <msdos_find_name_in_fat_file+0x69c>
 2018ef4:	80 8e 20 ff 	btst  0xff, %i0                                
        empty_space_offset++;                                         
        empty_space_entry = 0;                                        
        read_cluster = true;                                          
    }                                                                 
                                                                      
    return 0;                                                         
 2018ef8:	81 c7 e0 08 	ret                                            
 2018efc:	91 e8 20 00 	restore  %g0, 0, %o0                           
                                 empty_space_offset * bts2rd,         
                                 bts2rd, fs_info->cl_buf);            
#if MSDOS_FIND_PRINT                                                  
            printf ("MSFS:[9.4] clear write: %d\n", ret);             
#endif                                                                
            if (ret == -1)                                            
 2018f00:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2018f04:	91 e8 3f ff 	restore  %g0, -1, %o0                          <== NOT EXECUTED
                                                                      
                dir_pos->sname.ofs = dir_entry;                       
                                                                      
                if (lfn_start.cln != FAT_FILE_SHORT_NAME)             
                {                                                     
                  rc = fat_file_ioctl(mt_entry, fat_fd, F_CLU_NUM,    
 2018f08:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2018f0c:	91 e8 00 08 	restore  %g0, %o0, %o0                         <== NOT EXECUTED
        }                                                             
                                                                      
        ret = fat_file_write(mt_entry, fat_fd,                        
                             (empty_space_offset * bts2rd) + empty_space_entry,
                             length, fs_info->cl_buf + empty_space_entry);
        if (ret == -1)                                                
 2018f10:	b0 10 3f ff 	mov  -1, %i0                                   <== NOT EXECUTED
        empty_space_entry = 0;                                        
        read_cluster = true;                                          
    }                                                                 
                                                                      
    return 0;                                                         
}                                                                     
 2018f14:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2018f18:	81 e8 00 00 	restore                                        <== NOT EXECUTED
                                                                      

02018f1c <msdos_find_node_by_cluster_num_in_fat_file>: fat_file_fd_t *fat_fd, uint32_t cl4find, fat_dir_pos_t *dir_pos, char *dir_entry ) {
 2018f1c:	9d e3 bf a0 	save  %sp, -96, %sp                            <== NOT EXECUTED
    ssize_t          ret = 0;                                         
    msdos_fs_info_t *fs_info = mt_entry->fs_info;                     
    uint32_t         bts2rd = 0;                                      
    uint32_t         i = 0, j = 0;                                    
                                                                      
    if (FAT_FD_OF_ROOT_DIR(fat_fd) &&                                 
 2018f20:	c2 06 60 20 	ld  [ %i1 + 0x20 ], %g1                        <== NOT EXECUTED
 2018f24:	80 a0 60 01 	cmp  %g1, 1                                    <== NOT EXECUTED
 2018f28:	12 80 00 0f 	bne  2018f64 <msdos_find_node_by_cluster_num_in_fat_file+0x48><== NOT EXECUTED
 2018f2c:	e6 06 20 34 	ld  [ %i0 + 0x34 ], %l3                        <== NOT EXECUTED
 2018f30:	c2 06 60 24 	ld  [ %i1 + 0x24 ], %g1                        <== NOT EXECUTED
 2018f34:	80 a0 60 00 	cmp  %g1, 0                                    <== NOT EXECUTED
 2018f38:	32 80 00 07 	bne,a   2018f54 <msdos_find_node_by_cluster_num_in_fat_file+0x38><== NOT EXECUTED
 2018f3c:	e0 14 e0 06 	lduh  [ %l3 + 6 ], %l0                         <== NOT EXECUTED
       (fs_info->fat.vol.type & (FAT_FAT12 | FAT_FAT16)))             
 2018f40:	c2 0c e0 0a 	ldub  [ %l3 + 0xa ], %g1                       <== NOT EXECUTED
    ssize_t          ret = 0;                                         
    msdos_fs_info_t *fs_info = mt_entry->fs_info;                     
    uint32_t         bts2rd = 0;                                      
    uint32_t         i = 0, j = 0;                                    
                                                                      
    if (FAT_FD_OF_ROOT_DIR(fat_fd) &&                                 
 2018f44:	80 88 60 03 	btst  3, %g1                                   <== NOT EXECUTED
 2018f48:	22 80 00 03 	be,a   2018f54 <msdos_find_node_by_cluster_num_in_fat_file+0x38><== NOT EXECUTED
 2018f4c:	e0 14 e0 06 	lduh  [ %l3 + 6 ], %l0                         <== NOT EXECUTED
       (fs_info->fat.vol.type & (FAT_FAT12 | FAT_FAT16)))             
        bts2rd = fat_fd->fat_file_size;                               
 2018f50:	e0 06 60 18 	ld  [ %i1 + 0x18 ], %l0                        <== NOT EXECUTED
            if ((*MSDOS_DIR_ENTRY_TYPE(entry)) ==                     
                MSDOS_THIS_DIR_ENTRY_EMPTY)                           
                continue;                                             
                                                                      
            /* if get a non-empty entry - compare clusters num */     
            if (MSDOS_EXTRACT_CLUSTER_NUM(entry) == cl4find)          
 2018f54:	29 00 00 3f 	sethi  %hi(0xfc00), %l4                        <== NOT EXECUTED
                                                                      
        assert(ret == bts2rd);                                        
                                                                      
        for (i = 0; i < bts2rd; i += MSDOS_DIRECTORY_ENTRY_STRUCT_SIZE)
        {                                                             
            char* entry = (char*) fs_info->cl_buf + i;                
 2018f58:	a4 10 20 00 	clr  %l2                                       <== NOT EXECUTED
            if ((*MSDOS_DIR_ENTRY_TYPE(entry)) ==                     
                MSDOS_THIS_DIR_ENTRY_EMPTY)                           
                continue;                                             
                                                                      
            /* if get a non-empty entry - compare clusters num */     
            if (MSDOS_EXTRACT_CLUSTER_NUM(entry) == cl4find)          
 2018f5c:	10 80 00 44 	b  201906c <msdos_find_node_by_cluster_num_in_fat_file+0x150><== NOT EXECUTED
 2018f60:	a8 15 23 ff 	or  %l4, 0x3ff, %l4                            <== NOT EXECUTED
                                                                      
    if (FAT_FD_OF_ROOT_DIR(fat_fd) &&                                 
       (fs_info->fat.vol.type & (FAT_FAT12 | FAT_FAT16)))             
        bts2rd = fat_fd->fat_file_size;                               
    else                                                              
        bts2rd = fs_info->fat.vol.bpc;                                
 2018f64:	10 bf ff fc 	b  2018f54 <msdos_find_node_by_cluster_num_in_fat_file+0x38><== NOT EXECUTED
 2018f68:	e0 14 e0 06 	lduh  [ %l3 + 6 ], %l0                         <== NOT EXECUTED
                                                                      
    while ((ret = fat_file_read(mt_entry, fat_fd, j * bts2rd, bts2rd, 
                                  fs_info->cl_buf)) != FAT_EOF)       
    {                                                                 
        if ( ret < MSDOS_DIRECTORY_ENTRY_STRUCT_SIZE )                
 2018f6c:	14 80 00 08 	bg  2018f8c <msdos_find_node_by_cluster_num_in_fat_file+0x70><== NOT EXECUTED
 2018f70:	80 a2 00 10 	cmp  %o0, %l0                                  <== NOT EXECUTED
            rtems_set_errno_and_return_minus_one( EIO );              
 2018f74:	40 00 09 23 	call  201b400 <__errno>                        <== NOT EXECUTED
 2018f78:	b0 10 3f ff 	mov  -1, %i0                                   <== NOT EXECUTED
 2018f7c:	82 10 20 05 	mov  5, %g1                                    <== NOT EXECUTED
 2018f80:	c2 22 00 00 	st  %g1, [ %o0 ]                               <== NOT EXECUTED
 2018f84:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2018f88:	81 e8 00 00 	restore                                        <== NOT EXECUTED
                                                                      
        assert(ret == bts2rd);                                        
 2018f8c:	22 80 00 0a 	be,a   2018fb4 <msdos_find_node_by_cluster_num_in_fat_file+0x98><== NOT EXECUTED
 2018f90:	fa 04 e0 9c 	ld  [ %l3 + 0x9c ], %i5                        <== NOT EXECUTED
 2018f94:	11 00 80 ac 	sethi  %hi(0x202b000), %o0                     <== NOT EXECUTED
 2018f98:	15 00 80 ac 	sethi  %hi(0x202b000), %o2                     <== NOT EXECUTED
 2018f9c:	17 00 80 ac 	sethi  %hi(0x202b000), %o3                     <== NOT EXECUTED
 2018fa0:	90 12 21 f8 	or  %o0, 0x1f8, %o0                            <== NOT EXECUTED
 2018fa4:	92 10 26 9e 	mov  0x69e, %o1                                <== NOT EXECUTED
 2018fa8:	94 12 a2 e8 	or  %o2, 0x2e8, %o2                            <== NOT EXECUTED
 2018fac:	7f ff ee 18 	call  201480c <__assert_func>                  <== NOT EXECUTED
 2018fb0:	96 12 e2 98 	or  %o3, 0x298, %o3                            <== NOT EXECUTED
                                                                      
        for (i = 0; i < bts2rd; i += MSDOS_DIRECTORY_ENTRY_STRUCT_SIZE)
        {                                                             
            char* entry = (char*) fs_info->cl_buf + i;                
 2018fb4:	a2 10 20 00 	clr  %l1                                       <== NOT EXECUTED
                                                                      
            /* if this and all rest entries are empty - return not-found */
            if ((*MSDOS_DIR_ENTRY_TYPE(entry)) ==                     
 2018fb8:	c2 0f 40 00 	ldub  [ %i5 ], %g1                             <== NOT EXECUTED
 2018fbc:	80 a0 60 00 	cmp  %g1, 0                                    <== NOT EXECUTED
 2018fc0:	02 80 00 38 	be  20190a0 <msdos_find_node_by_cluster_num_in_fat_file+0x184><== NOT EXECUTED
 2018fc4:	80 a0 60 e5 	cmp  %g1, 0xe5                                 <== NOT EXECUTED
                MSDOS_THIS_DIR_ENTRY_AND_REST_EMPTY)                  
                return MSDOS_NAME_NOT_FOUND_ERR;                      
                                                                      
            /* if this entry is empty - skip it */                    
            if ((*MSDOS_DIR_ENTRY_TYPE(entry)) ==                     
 2018fc8:	22 80 00 25 	be,a   201905c <msdos_find_node_by_cluster_num_in_fat_file+0x140><== NOT EXECUTED
 2018fcc:	a2 04 60 20 	add  %l1, 0x20, %l1                            <== NOT EXECUTED
                MSDOS_THIS_DIR_ENTRY_EMPTY)                           
                continue;                                             
                                                                      
            /* if get a non-empty entry - compare clusters num */     
            if (MSDOS_EXTRACT_CLUSTER_NUM(entry) == cl4find)          
 2018fd0:	c4 17 60 14 	lduh  [ %i5 + 0x14 ], %g2                      <== NOT EXECUTED
 2018fd4:	c2 17 60 1a 	lduh  [ %i5 + 0x1a ], %g1                      <== NOT EXECUTED
 2018fd8:	85 28 a0 10 	sll  %g2, 0x10, %g2                            <== NOT EXECUTED
 2018fdc:	87 30 a0 18 	srl  %g2, 0x18, %g3                            <== NOT EXECUTED
 2018fe0:	83 28 60 10 	sll  %g1, 0x10, %g1                            <== NOT EXECUTED
 2018fe4:	85 30 a0 08 	srl  %g2, 8, %g2                               <== NOT EXECUTED
 2018fe8:	84 08 80 14 	and  %g2, %l4, %g2                             <== NOT EXECUTED
 2018fec:	84 10 c0 02 	or  %g3, %g2, %g2                              <== NOT EXECUTED
 2018ff0:	87 30 60 18 	srl  %g1, 0x18, %g3                            <== NOT EXECUTED
 2018ff4:	85 28 a0 10 	sll  %g2, 0x10, %g2                            <== NOT EXECUTED
 2018ff8:	83 30 60 08 	srl  %g1, 8, %g1                               <== NOT EXECUTED
 2018ffc:	82 08 40 14 	and  %g1, %l4, %g1                             <== NOT EXECUTED
 2019000:	82 10 c0 01 	or  %g3, %g1, %g1                              <== NOT EXECUTED
 2019004:	82 10 80 01 	or  %g2, %g1, %g1                              <== NOT EXECUTED
 2019008:	80 a0 40 1a 	cmp  %g1, %i2                                  <== NOT EXECUTED
 201900c:	32 80 00 14 	bne,a   201905c <msdos_find_node_by_cluster_num_in_fat_file+0x140><== NOT EXECUTED
 2019010:	a2 04 60 20 	add  %l1, 0x20, %l1                            <== NOT EXECUTED
            {                                                         
                /* on success fill aux structure and copy all 32 bytes */
                rc = fat_file_ioctl(mt_entry, fat_fd, F_CLU_NUM, j * bts2rd,
 2019014:	90 10 00 18 	mov  %i0, %o0                                  <== NOT EXECUTED
 2019018:	92 10 00 19 	mov  %i1, %o1                                  <== NOT EXECUTED
 201901c:	94 10 20 01 	mov  1, %o2                                    <== NOT EXECUTED
 2019020:	96 10 00 12 	mov  %l2, %o3                                  <== NOT EXECUTED
 2019024:	7f ff e4 7f 	call  2012220 <fat_file_ioctl>                 <== NOT EXECUTED
 2019028:	98 10 00 1b 	mov  %i3, %o4                                  <== NOT EXECUTED
                                    &dir_pos->sname.cln);             
                if (rc != RC_OK)                                      
 201902c:	b0 92 20 00 	orcc  %o0, 0, %i0                              <== NOT EXECUTED
 2019030:	12 bf ff d5 	bne  2018f84 <msdos_find_node_by_cluster_num_in_fat_file+0x68><== NOT EXECUTED
 2019034:	82 10 3f ff 	mov  -1, %g1                                   <== NOT EXECUTED
                    return rc;                                        
                                                                      
                dir_pos->sname.ofs = i;                               
 2019038:	e2 26 e0 04 	st  %l1, [ %i3 + 4 ]                           <== NOT EXECUTED
                dir_pos->lname.cln = FAT_FILE_SHORT_NAME;             
 201903c:	c2 26 e0 08 	st  %g1, [ %i3 + 8 ]                           <== NOT EXECUTED
                dir_pos->lname.ofs = FAT_FILE_SHORT_NAME;             
 2019040:	c2 26 e0 0c 	st  %g1, [ %i3 + 0xc ]                         <== NOT EXECUTED
                                                                      
                memcpy(dir_entry, entry,                              
 2019044:	90 10 00 1c 	mov  %i4, %o0                                  <== NOT EXECUTED
 2019048:	92 10 00 1d 	mov  %i5, %o1                                  <== NOT EXECUTED
 201904c:	40 00 0b bc 	call  201bf3c <memcpy>                         <== NOT EXECUTED
 2019050:	94 10 20 20 	mov  0x20, %o2                                 <== NOT EXECUTED
                       MSDOS_DIRECTORY_ENTRY_STRUCT_SIZE);            
                return RC_OK;                                         
 2019054:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2019058:	81 e8 00 00 	restore                                        <== NOT EXECUTED
        if ( ret < MSDOS_DIRECTORY_ENTRY_STRUCT_SIZE )                
            rtems_set_errno_and_return_minus_one( EIO );              
                                                                      
        assert(ret == bts2rd);                                        
                                                                      
        for (i = 0; i < bts2rd; i += MSDOS_DIRECTORY_ENTRY_STRUCT_SIZE)
 201905c:	80 a4 40 10 	cmp  %l1, %l0                                  <== NOT EXECUTED
 2019060:	0a bf ff d6 	bcs  2018fb8 <msdos_find_node_by_cluster_num_in_fat_file+0x9c><== NOT EXECUTED
 2019064:	ba 07 60 20 	add  %i5, 0x20, %i5                            <== NOT EXECUTED
 2019068:	a4 04 80 10 	add  %l2, %l0, %l2                             <== NOT EXECUTED
       (fs_info->fat.vol.type & (FAT_FAT12 | FAT_FAT16)))             
        bts2rd = fat_fd->fat_file_size;                               
    else                                                              
        bts2rd = fs_info->fat.vol.bpc;                                
                                                                      
    while ((ret = fat_file_read(mt_entry, fat_fd, j * bts2rd, bts2rd, 
 201906c:	d8 04 e0 9c 	ld  [ %l3 + 0x9c ], %o4                        <== NOT EXECUTED
 2019070:	90 10 00 18 	mov  %i0, %o0                                  <== NOT EXECUTED
 2019074:	92 10 00 19 	mov  %i1, %o1                                  <== NOT EXECUTED
 2019078:	94 10 00 12 	mov  %l2, %o2                                  <== NOT EXECUTED
 201907c:	7f ff e3 88 	call  2011e9c <fat_file_read>                  <== NOT EXECUTED
 2019080:	96 10 00 10 	mov  %l0, %o3                                  <== NOT EXECUTED
 2019084:	80 a2 20 00 	cmp  %o0, 0                                    <== NOT EXECUTED
 2019088:	32 bf ff b9 	bne,a   2018f6c <msdos_find_node_by_cluster_num_in_fat_file+0x50><== NOT EXECUTED
 201908c:	80 a2 20 1f 	cmp  %o0, 0x1f                                 <== NOT EXECUTED
                return RC_OK;                                         
            }                                                         
        }                                                             
        j++;                                                          
    }                                                                 
    return MSDOS_NAME_NOT_FOUND_ERR;                                  
 2019090:	31 00 00 1f 	sethi  %hi(0x7c00), %i0                        <== NOT EXECUTED
 2019094:	b0 16 21 01 	or  %i0, 0x101, %i0	! 7d01 <PROM_START+0x7d01> <== NOT EXECUTED
 2019098:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 201909c:	81 e8 00 00 	restore                                        <== NOT EXECUTED
            char* entry = (char*) fs_info->cl_buf + i;                
                                                                      
            /* if this and all rest entries are empty - return not-found */
            if ((*MSDOS_DIR_ENTRY_TYPE(entry)) ==                     
                MSDOS_THIS_DIR_ENTRY_AND_REST_EMPTY)                  
                return MSDOS_NAME_NOT_FOUND_ERR;                      
 20190a0:	31 00 00 1f 	sethi  %hi(0x7c00), %i0                        <== NOT EXECUTED
 20190a4:	b0 16 21 01 	or  %i0, 0x101, %i0	! 7d01 <PROM_START+0x7d01> <== NOT EXECUTED
            }                                                         
        }                                                             
        j++;                                                          
    }                                                                 
    return MSDOS_NAME_NOT_FOUND_ERR;                                  
}                                                                     
 20190a8:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 20190ac:	81 e8 00 00 	restore                                        <== NOT EXECUTED
                                                                      

0200deec <msdos_format>: ) /*-------------------------------------------------------------------------*\ | Return Value: | | 0, if success, -1 and errno if failed | \*=========================================================================*/ {
 200deec:	9d e3 bc d8 	save  %sp, -808, %sp                           
  msdos_format_param_t fmt_params;                                    
                                                                      
  /*                                                                  
   * open device for writing                                          
   */                                                                 
  msdos_format_printf (rqdata, MSDOS_FMT_INFO_LEVEL_DETAIL, "open device\n");
 200def0:	92 10 20 02 	mov  2, %o1                                    
 200def4:	90 10 00 19 	mov  %i1, %o0                                  
 200def8:	15 00 80 ab 	sethi  %hi(0x202ac00), %o2                     
 200defc:	7f ff ff 83 	call  200dd08 <msdos_format_printf>            
 200df00:	94 12 a1 b8 	or  %o2, 0x1b8, %o2	! 202adb8 <_CPU_Trap_slot_template+0x64>
  fd = open(devname, O_RDWR);                                         
 200df04:	92 10 20 02 	mov  2, %o1                                    
 200df08:	7f ff e3 18 	call  2006b68 <open>                           
 200df0c:	90 10 00 18 	mov  %i0, %o0                                  
{                                                                     
  char                 tmp_sec[FAT_TOTAL_MBR_SIZE];                   
  int                  rc;                                            
  rtems_disk_device   *dd        = NULL;                              
  struct stat          stat_buf;                                      
  int                  ret_val   = 0;                                 
 200df10:	82 38 00 08 	xnor  %g0, %o0, %g1                            
 200df14:	80 a0 00 01 	cmp  %g0, %g1                                  
                                                                      
  /*                                                                  
   * open device for writing                                          
   */                                                                 
  msdos_format_printf (rqdata, MSDOS_FMT_INFO_LEVEL_DETAIL, "open device\n");
  fd = open(devname, O_RDWR);                                         
 200df18:	b8 10 00 08 	mov  %o0, %i4                                  
{                                                                     
  char                 tmp_sec[FAT_TOTAL_MBR_SIZE];                   
  int                  rc;                                            
  rtems_disk_device   *dd        = NULL;                              
  struct stat          stat_buf;                                      
  int                  ret_val   = 0;                                 
 200df1c:	b6 40 3f ff 	addx  %g0, -1, %i3                             
  }                                                                   
                                                                      
  /*                                                                  
   * sanity check on device                                           
   */                                                                 
  msdos_format_printf (rqdata, MSDOS_FMT_INFO_LEVEL_DETAIL,           
 200df20:	90 10 00 19 	mov  %i1, %o0                                  
 200df24:	92 10 20 02 	mov  2, %o1                                    
 200df28:	15 00 80 ab 	sethi  %hi(0x202ac00), %o2                     
 200df2c:	96 10 00 18 	mov  %i0, %o3                                  
 200df30:	7f ff ff 76 	call  200dd08 <msdos_format_printf>            
 200df34:	94 12 a1 c8 	or  %o2, 0x1c8, %o2                            
                       "stat check: %s\n", devname);                  
  if (ret_val == 0) {                                                 
 200df38:	80 a6 e0 00 	cmp  %i3, 0                                    
 200df3c:	12 80 00 06 	bne  200df54 <msdos_format+0x68>               <== NEVER TAKEN
 200df40:	ba 10 3f ff 	mov  -1, %i5                                   
    rc = fstat(fd, &stat_buf);                                        
 200df44:	90 10 00 1c 	mov  %i4, %o0                                  
 200df48:	40 00 1a 76 	call  2014920 <fstat>                          
 200df4c:	92 07 bf a8 	add  %fp, -88, %o1                             
 200df50:	ba 10 00 08 	mov  %o0, %i5                                  
    ret_val = rc;                                                     
  }                                                                   
                                                                      
  msdos_format_printf (rqdata, MSDOS_FMT_INFO_LEVEL_INFO,             
 200df54:	90 10 00 19 	mov  %i1, %o0                                  
 200df58:	92 10 20 01 	mov  1, %o1                                    
 200df5c:	15 00 80 ab 	sethi  %hi(0x202ac00), %o2                     
 200df60:	96 10 00 18 	mov  %i0, %o3                                  
 200df64:	7f ff ff 69 	call  200dd08 <msdos_format_printf>            
 200df68:	94 12 a1 d8 	or  %o2, 0x1d8, %o2                            
                       "formating: %s\n", devname);                   
  /* rtems feature: no block devices, all are character devices */    
  if ((ret_val == 0) && (!S_ISBLK(stat_buf.st_mode))) {               
 200df6c:	80 a7 60 00 	cmp  %i5, 0                                    
 200df70:	12 80 01 7f 	bne  200e56c <msdos_format+0x680>              <== NEVER TAKEN
 200df74:	b6 10 20 00 	clr  %i3                                       
 200df78:	c4 07 bf b4 	ld  [ %fp + -76 ], %g2                         
 200df7c:	03 00 00 3c 	sethi  %hi(0xf000), %g1                        
 200df80:	84 08 80 01 	and  %g2, %g1, %g2                             
 200df84:	03 00 00 18 	sethi  %hi(0x6000), %g1                        
 200df88:	80 a0 80 01 	cmp  %g2, %g1                                  
 200df8c:	02 80 02 de 	be  200eb04 <msdos_format+0xc18>               <== ALWAYS TAKEN
 200df90:	01 00 00 00 	nop                                            
                                                                      
  /* check that  device is registered as block device and lock it */  
  if (ret_val == 0) {                                                 
    dd = rtems_disk_obtain(stat_buf.st_rdev);                         
    if (dd == NULL) {                                                 
      errno = ENOTTY;                                                 
 200df94:	40 00 35 1b 	call  201b400 <__errno>                        <== NOT EXECUTED
 200df98:	ba 10 3f ff 	mov  -1, %i5	! ffffffff <RAM_END+0xfdbfffff>   <== NOT EXECUTED
 200df9c:	82 10 20 19 	mov  0x19, %g1                                 <== NOT EXECUTED
 200dfa0:	c2 22 00 00 	st  %g1, [ %o0 ]                               <== NOT EXECUTED
  }                                                                   
  /*                                                                  
   * Phuuu.... That's it.                                             
   */                                                                 
  if (ret_val != 0) {                                                 
    rtems_set_errno_and_return_minus_one(ret_val);                    
 200dfa4:	10 80 01 71 	b  200e568 <msdos_format+0x67c>                <== NOT EXECUTED
 200dfa8:	b6 10 20 00 	clr  %i3                                       <== NOT EXECUTED
  }                                                                   
  /*                                                                  
   * determine number of FATs                                         
   */                                                                 
  if (ret_val == 0) {                                                 
    if ((rqdata == NULL) ||                                           
 200dfac:	80 a0 60 00 	cmp  %g1, 0                                    
 200dfb0:	12 80 00 04 	bne  200dfc0 <msdos_format+0xd4>               <== NEVER TAKEN
 200dfb4:	80 a0 60 06 	cmp  %g1, 6                                    
	(rqdata->fat_num == 0)) {                                            
      fmt_params->fat_num = 2;                                        
 200dfb8:	10 80 00 04 	b  200dfc8 <msdos_format+0xdc>                 
 200dfbc:	82 10 20 02 	mov  2, %g1                                    
    }                                                                 
    else if (rqdata->fat_num <= 6) {                                  
 200dfc0:	18 80 01 08 	bgu  200e3e0 <msdos_format+0x4f4>              <== NOT EXECUTED
 200dfc4:	b0 10 20 16 	mov  0x16, %i0                                 <== NOT EXECUTED
      fmt_params->fat_num = rqdata->fat_num;                          
 200dfc8:	c2 2f bf 88 	stb  %g1, [ %fp + -120 ]                       
      ret_val = EINVAL;                                               
    }                                                                 
  }                                                                   
                                                                      
  if (ret_val == 0)                                                   
    msdos_format_printf (rqdata, MSDOS_FMT_INFO_LEVEL_DETAIL,         
 200dfcc:	d6 0f bf 88 	ldub  [ %fp + -120 ], %o3                      
 200dfd0:	90 10 00 19 	mov  %i1, %o0                                  
 200dfd4:	92 10 20 02 	mov  2, %o1                                    
 200dfd8:	15 00 80 ab 	sethi  %hi(0x202ac00), %o2                     
 200dfdc:	7f ff ff 4b 	call  200dd08 <msdos_format_printf>            
 200dfe0:	94 12 a1 e8 	or  %o2, 0x1e8, %o2	! 202ade8 <_CPU_Trap_slot_template+0x94>
  /*                                                                  
   * determine FAT type and sectors per cluster                       
   * depends on                                                       
   */                                                                 
  if (ret_val == 0) {                                                 
    fmt_params->sectors_per_cluster = 1;                              
 200dfe4:	82 10 20 01 	mov  1, %g1                                    
    if ((rqdata != NULL) &&                                           
 200dfe8:	80 a6 60 00 	cmp  %i1, 0                                    
 200dfec:	02 80 00 17 	be  200e048 <msdos_format+0x15c>               <== NEVER TAKEN
 200dff0:	c2 27 bf 64 	st  %g1, [ %fp + -156 ]                        
 200dff4:	c2 0e 60 14 	ldub  [ %i1 + 0x14 ], %g1                      
 200dff8:	80 a0 60 01 	cmp  %g1, 1                                    
 200dffc:	22 80 00 0a 	be,a   200e024 <msdos_format+0x138>            <== NEVER TAKEN
 200e000:	c2 2f bf 8a 	stb  %g1, [ %fp + -118 ]                       <== NOT EXECUTED
	(rqdata->fattype == MSDOS_FMT_FAT12)) {                              
      fmt_params->fattype = FAT_FAT12;                                
    }                                                                 
    else if ((rqdata != NULL) &&                                      
 200e004:	80 a0 60 02 	cmp  %g1, 2                                    
 200e008:	22 80 00 07 	be,a   200e024 <msdos_format+0x138>            <== NEVER TAKEN
 200e00c:	c2 2f bf 8a 	stb  %g1, [ %fp + -118 ]                       <== NOT EXECUTED
	     (rqdata->fattype == MSDOS_FMT_FAT16)) {                         
      fmt_params->fattype = FAT_FAT16;                                
    }                                                                 
    else if ((rqdata != NULL) &&                                      
 200e010:	80 a0 60 03 	cmp  %g1, 3                                    
 200e014:	12 80 00 06 	bne  200e02c <msdos_format+0x140>              <== ALWAYS TAKEN
 200e018:	80 a0 60 00 	cmp  %g1, 0                                    
	     (rqdata->fattype == MSDOS_FMT_FAT32)) {                         
      fmt_params->fattype = FAT_FAT32;                                
 200e01c:	82 10 20 04 	mov  4, %g1                                    <== NOT EXECUTED
 200e020:	c2 2f bf 8a 	stb  %g1, [ %fp + -118 ]                       <== NOT EXECUTED
 200e024:	10 80 00 2f 	b  200e0e0 <msdos_format+0x1f4>                <== NOT EXECUTED
 200e028:	b0 10 20 00 	clr  %i0                                       <== NOT EXECUTED
    }                                                                 
    else if ((rqdata != NULL) &&                                      
 200e02c:	02 80 00 08 	be  200e04c <msdos_format+0x160>               <== ALWAYS TAKEN
 200e030:	03 00 00 1f 	sethi  %hi(0x7c00), %g1                        
	     (rqdata->fattype != MSDOS_FMT_FATANY)) {                        
      ret_val = -1;                                                   
      errno = EINVAL;                                                 
 200e034:	40 00 34 f3 	call  201b400 <__errno>                        <== NOT EXECUTED
 200e038:	b0 10 3f ff 	mov  -1, %i0                                   <== NOT EXECUTED
 200e03c:	82 10 20 16 	mov  0x16, %g1                                 <== NOT EXECUTED
 200e040:	10 80 00 28 	b  200e0e0 <msdos_format+0x1f4>                <== NOT EXECUTED
 200e044:	c2 22 00 00 	st  %g1, [ %o0 ]                               <== NOT EXECUTED
      /*                                                              
       * limiting values for disk size, fat type, sectors per cluster 
       * NOTE: maximum sect_per_clust is arbitrarily choosen with values that
       * are a compromise concerning capacity and efficency           
       */                                                             
      if (fmt_params->totl_sector_cnt                                 
 200e048:	03 00 00 1f 	sethi  %hi(0x7c00), %g1                        <== NOT EXECUTED
 200e04c:	82 10 63 a7 	or  %g1, 0x3a7, %g1	! 7fa7 <PROM_START+0x7fa7> 
 200e050:	80 a6 80 01 	cmp  %i2, %g1                                  
 200e054:	38 80 00 04 	bgu,a   200e064 <msdos_format+0x178>           <== NEVER TAKEN
 200e058:	03 00 07 ff 	sethi  %hi(0x1ffc00), %g1                      <== NOT EXECUTED
          < ((uint32_t)FAT_FAT12_MAX_CLN)*8) {                        
        fmt_params->fattype = FAT_FAT12;                              
 200e05c:	10 80 00 07 	b  200e078 <msdos_format+0x18c>                
 200e060:	82 10 20 01 	mov  1, %g1                                    
        /* start trying with small clusters */                        
        fmt_params->sectors_per_cluster = 2;                          
      }                                                               
      else if (fmt_params->totl_sector_cnt                            
 200e064:	82 10 62 9f 	or  %g1, 0x29f, %g1                            <== NOT EXECUTED
 200e068:	80 a6 80 01 	cmp  %i2, %g1                                  <== NOT EXECUTED
 200e06c:	38 80 00 06 	bgu,a   200e084 <msdos_format+0x198>           <== NOT EXECUTED
 200e070:	07 10 00 00 	sethi  %hi(0x40000000), %g3                    <== NOT EXECUTED
               < ((uint32_t)FAT_FAT16_MAX_CLN)*32) {                  
        fmt_params->fattype = FAT_FAT16;                              
 200e074:	82 10 20 02 	mov  2, %g1                                    <== NOT EXECUTED
 200e078:	c2 2f bf 8a 	stb  %g1, [ %fp + -118 ]                       
        /* start trying with small clusters */                        
        fmt_params->sectors_per_cluster = 2;                          
 200e07c:	10 80 00 15 	b  200e0d0 <msdos_format+0x1e4>                
 200e080:	82 10 20 02 	mov  2, %g1                                    
      }                                                               
      else {                                                          
        #define ONE_GB (1024L * 1024L * 1024L)                        
        uint32_t gigs = (total_size + ONE_GB) / ONE_GB;               
 200e084:	86 84 40 03 	addcc  %l1, %g3, %g3                           <== NOT EXECUTED
 200e088:	83 30 e0 1e 	srl  %g3, 0x1e, %g1                            <== NOT EXECUTED
 200e08c:	84 10 20 00 	clr  %g2                                       <== NOT EXECUTED
 200e090:	84 44 00 02 	addx  %l0, %g2, %g2                            <== NOT EXECUTED
 200e094:	85 28 a0 02 	sll  %g2, 2, %g2                               <== NOT EXECUTED
 200e098:	86 10 80 01 	or  %g2, %g1, %g3                              <== NOT EXECUTED
        int b;                                                        
        fmt_params->fattype = FAT_FAT32;                              
 200e09c:	82 10 20 04 	mov  4, %g1                                    <== NOT EXECUTED
        /* scale with the size of disk... */                          
        for (b = 31; b > 0; b--)                                      
          if ((gigs & (1 << b)) != 0)                                 
 200e0a0:	84 10 20 01 	mov  1, %g2                                    <== NOT EXECUTED
      }                                                               
      else {                                                          
        #define ONE_GB (1024L * 1024L * 1024L)                        
        uint32_t gigs = (total_size + ONE_GB) / ONE_GB;               
        int b;                                                        
        fmt_params->fattype = FAT_FAT32;                              
 200e0a4:	c2 2f bf 8a 	stb  %g1, [ %fp + -118 ]                       <== NOT EXECUTED
        /* scale with the size of disk... */                          
        for (b = 31; b > 0; b--)                                      
 200e0a8:	82 10 20 1f 	mov  0x1f, %g1                                 <== NOT EXECUTED
          if ((gigs & (1 << b)) != 0)                                 
 200e0ac:	89 28 80 01 	sll  %g2, %g1, %g4                             <== NOT EXECUTED
 200e0b0:	80 89 00 03 	btst  %g4, %g3                                 <== NOT EXECUTED
 200e0b4:	32 80 00 06 	bne,a   200e0cc <msdos_format+0x1e0>           <== NOT EXECUTED
 200e0b8:	84 10 20 01 	mov  1, %g2                                    <== NOT EXECUTED
        #define ONE_GB (1024L * 1024L * 1024L)                        
        uint32_t gigs = (total_size + ONE_GB) / ONE_GB;               
        int b;                                                        
        fmt_params->fattype = FAT_FAT32;                              
        /* scale with the size of disk... */                          
        for (b = 31; b > 0; b--)                                      
 200e0bc:	82 80 7f ff 	addcc  %g1, -1, %g1                            <== NOT EXECUTED
 200e0c0:	12 bf ff fc 	bne  200e0b0 <msdos_format+0x1c4>              <== NOT EXECUTED
 200e0c4:	89 28 80 01 	sll  %g2, %g1, %g4                             <== NOT EXECUTED
          if ((gigs & (1 << b)) != 0)                                 
            break;                                                    
        fmt_params->sectors_per_cluster = 1 << b;                     
 200e0c8:	84 10 20 01 	mov  1, %g2                                    <== NOT EXECUTED
 200e0cc:	83 28 80 01 	sll  %g2, %g1, %g1                             <== NOT EXECUTED
 200e0d0:	c2 27 bf 64 	st  %g1, [ %fp + -156 ]                        
      }                                                               
    }                                                                 
    /*                                                                
     * try to use user requested cluster size                         
     */                                                               
    if ((rqdata != NULL) &&                                           
 200e0d4:	80 a6 60 00 	cmp  %i1, 0                                    
 200e0d8:	02 80 00 06 	be  200e0f0 <msdos_format+0x204>               <== NEVER TAKEN
 200e0dc:	b0 10 20 00 	clr  %i0                                       
	(rqdata->sectors_per_cluster > 0)) {                                 
 200e0e0:	c2 06 60 08 	ld  [ %i1 + 8 ], %g1                           
      }                                                               
    }                                                                 
    /*                                                                
     * try to use user requested cluster size                         
     */                                                               
    if ((rqdata != NULL) &&                                           
 200e0e4:	80 a0 60 00 	cmp  %g1, 0                                    
 200e0e8:	32 80 00 02 	bne,a   200e0f0 <msdos_format+0x204>           <== NEVER TAKEN
 200e0ec:	c2 27 bf 64 	st  %g1, [ %fp + -156 ]                        <== NOT EXECUTED
     */                                                               
    for (onebit = 128;onebit >= 1;onebit = onebit>>1) {               
      if (fmt_params->sectors_per_cluster >= onebit) {                
	fmt_params->sectors_per_cluster = onebit;                            
	if (fmt_params->sectors_per_cluster                                  
	    <= 32768L/fmt_params->bytes_per_sector) {                        
 200e0f0:	e0 07 bf 58 	ld  [ %fp + -168 ], %l0                        
 200e0f4:	d6 07 bf 64 	ld  [ %fp + -156 ], %o3                        
 200e0f8:	b4 10 20 80 	mov  0x80, %i2                                 
     * must be power of 2                                             
     * must be smaller than or equal to 128                           
     * sectors_per_cluster*bytes_per_sector must not be bigger than 32K
     */                                                               
    for (onebit = 128;onebit >= 1;onebit = onebit>>1) {               
      if (fmt_params->sectors_per_cluster >= onebit) {                
 200e0fc:	80 a2 c0 1a 	cmp  %o3, %i2                                  
 200e100:	2a 80 00 0a 	bcs,a   200e128 <msdos_format+0x23c>           
 200e104:	b5 36 a0 01 	srl  %i2, 1, %i2                               
	fmt_params->sectors_per_cluster = onebit;                            
	if (fmt_params->sectors_per_cluster                                  
	    <= 32768L/fmt_params->bytes_per_sector) {                        
 200e108:	11 00 00 20 	sethi  %hi(0x8000), %o0                        
 200e10c:	40 00 67 a3 	call  2027f98 <.udiv>                          
 200e110:	92 10 00 10 	mov  %l0, %o1                                  
     * sectors_per_cluster*bytes_per_sector must not be bigger than 32K
     */                                                               
    for (onebit = 128;onebit >= 1;onebit = onebit>>1) {               
      if (fmt_params->sectors_per_cluster >= onebit) {                
	fmt_params->sectors_per_cluster = onebit;                            
	if (fmt_params->sectors_per_cluster                                  
 200e114:	80 a6 80 08 	cmp  %i2, %o0                                  
 200e118:	18 80 00 03 	bgu  200e124 <msdos_format+0x238>              <== NEVER TAKEN
 200e11c:	96 10 00 1a 	mov  %i2, %o3                                  
	    <= 32768L/fmt_params->bytes_per_sector) {                        
	  /* value is small enough so this value is ok */                    
	  onebit = 1;                                                        
 200e120:	b4 10 20 01 	mov  1, %i2                                    
     * check sectors per cluster.                                     
     * must be power of 2                                             
     * must be smaller than or equal to 128                           
     * sectors_per_cluster*bytes_per_sector must not be bigger than 32K
     */                                                               
    for (onebit = 128;onebit >= 1;onebit = onebit>>1) {               
 200e124:	b5 36 a0 01 	srl  %i2, 1, %i2                               
 200e128:	80 a6 a0 00 	cmp  %i2, 0                                    
 200e12c:	12 bf ff f5 	bne  200e100 <msdos_format+0x214>              
 200e130:	80 a2 c0 1a 	cmp  %o3, %i2                                  
	}                                                                    
      }                                                               
    }                                                                 
  }                                                                   
                                                                      
  if (ret_val == 0) {                                                 
 200e134:	80 a6 20 00 	cmp  %i0, 0                                    
 200e138:	12 80 00 a9 	bne  200e3dc <msdos_format+0x4f0>              <== NEVER TAKEN
 200e13c:	d6 27 bf 64 	st  %o3, [ %fp + -156 ]                        
    msdos_format_printf (rqdata, MSDOS_FMT_INFO_LEVEL_DETAIL,         
 200e140:	90 10 00 19 	mov  %i1, %o0                                  
 200e144:	92 10 20 02 	mov  2, %o1                                    
 200e148:	15 00 80 ab 	sethi  %hi(0x202ac00), %o2                     
 200e14c:	7f ff fe ef 	call  200dd08 <msdos_format_printf>            
 200e150:	94 12 a2 00 	or  %o2, 0x200, %o2	! 202ae00 <_CPU_Trap_slot_template+0xac>
                         "sectors per cluster: %d\n", fmt_params->sectors_per_cluster);
                                                                      
    if (fmt_params->fattype == FAT_FAT32) {                           
 200e154:	c2 0f bf 8a 	ldub  [ %fp + -118 ], %g1                      
 200e158:	84 08 60 ff 	and  %g1, 0xff, %g2                            
 200e15c:	80 a0 a0 04 	cmp  %g2, 4                                    
 200e160:	12 80 00 0a 	bne  200e188 <msdos_format+0x29c>              <== ALWAYS TAKEN
 200e164:	84 10 20 01 	mov  1, %g2                                    
      /* recommended: for FAT32, always set reserved sector count to 32 */
      fmt_params->rsvd_sector_cnt = 32;                               
 200e168:	82 10 20 20 	mov  0x20, %g1                                 <== NOT EXECUTED
 200e16c:	c2 27 bf 60 	st  %g1, [ %fp + -160 ]                        <== NOT EXECUTED
      /* for FAT32, always set files per root directory 0 */          
      fmt_params->files_per_root_dir = 0;                             
      /* location of copy of MBR */                                   
      fmt_params->mbr_copy_sec = 6;                                   
 200e170:	82 10 20 06 	mov  6, %g1                                    <== NOT EXECUTED
                                                                      
    if (fmt_params->fattype == FAT_FAT32) {                           
      /* recommended: for FAT32, always set reserved sector count to 32 */
      fmt_params->rsvd_sector_cnt = 32;                               
      /* for FAT32, always set files per root directory 0 */          
      fmt_params->files_per_root_dir = 0;                             
 200e174:	c0 27 bf 70 	clr  [ %fp + -144 ]                            <== NOT EXECUTED
      /* location of copy of MBR */                                   
      fmt_params->mbr_copy_sec = 6;                                   
 200e178:	c2 27 bf 80 	st  %g1, [ %fp + -128 ]                        <== NOT EXECUTED
      /* location of fsinfo sector */                                 
      fmt_params->fsinfo_sec = 1;                                     
 200e17c:	82 10 20 01 	mov  1, %g1                                    <== NOT EXECUTED
 200e180:	10 80 00 1b 	b  200e1ec <msdos_format+0x300>                <== NOT EXECUTED
 200e184:	c2 27 bf 84 	st  %g1, [ %fp + -124 ]                        <== NOT EXECUTED
      /* recommended: for FAT12/FAT16, always set reserved sector count to 1 */
      fmt_params->rsvd_sector_cnt = 1;                                
      /* recommended: for FAT16, set files per root directory to 512 */
      /* for FAT12/FAT16, set files per root directory */             
      /* must fill up an even count of sectors         */             
      if ((rqdata != NULL) &&                                         
 200e188:	80 a6 60 00 	cmp  %i1, 0                                    
 200e18c:	02 80 00 08 	be  200e1ac <msdos_format+0x2c0>               <== NEVER TAKEN
 200e190:	c4 27 bf 60 	st  %g2, [ %fp + -160 ]                        
	  (rqdata->files_per_root_dir > 0)) {                                
 200e194:	c4 06 60 10 	ld  [ %i1 + 0x10 ], %g2                        
      /* recommended: for FAT12/FAT16, always set reserved sector count to 1 */
      fmt_params->rsvd_sector_cnt = 1;                                
      /* recommended: for FAT16, set files per root directory to 512 */
      /* for FAT12/FAT16, set files per root directory */             
      /* must fill up an even count of sectors         */             
      if ((rqdata != NULL) &&                                         
 200e198:	80 a0 a0 00 	cmp  %g2, 0                                    
 200e19c:	02 80 00 05 	be  200e1b0 <msdos_format+0x2c4>               <== ALWAYS TAKEN
 200e1a0:	82 08 60 ff 	and  %g1, 0xff, %g1                            
	  (rqdata->files_per_root_dir > 0)) {                                
	fmt_params->files_per_root_dir = rqdata->files_per_root_dir;         
 200e1a4:	10 80 00 08 	b  200e1c4 <msdos_format+0x2d8>                <== NOT EXECUTED
 200e1a8:	c4 27 bf 70 	st  %g2, [ %fp + -144 ]                        <== NOT EXECUTED
      }                                                               
      else {                                                          
	if (fmt_params->fattype == FAT_FAT16) {                              
 200e1ac:	82 08 60 ff 	and  %g1, 0xff, %g1                            <== NOT EXECUTED
 200e1b0:	80 a0 60 02 	cmp  %g1, 2                                    
 200e1b4:	32 80 00 03 	bne,a   200e1c0 <msdos_format+0x2d4>           <== ALWAYS TAKEN
 200e1b8:	82 10 20 40 	mov  0x40, %g1                                 
 200e1bc:	82 10 22 00 	mov  0x200, %g1                                <== NOT EXECUTED
	  fmt_params->files_per_root_dir = 512;                              
	}                                                                    
	else {                                                               
	  fmt_params->files_per_root_dir = 64;                               
 200e1c0:	c2 27 bf 70 	st  %g1, [ %fp + -144 ]                        
	}                                                                    
      }                                                               
      fmt_params->files_per_root_dir = (fmt_params->files_per_root_dir +
 200e1c4:	f4 07 bf 70 	ld  [ %fp + -144 ], %i2                        
			    (2*fmt_params->bytes_per_sector/                               
 200e1c8:	d2 07 bf 58 	ld  [ %fp + -168 ], %o1                        
	}                                                                    
	else {                                                               
	  fmt_params->files_per_root_dir = 64;                               
	}                                                                    
      }                                                               
      fmt_params->files_per_root_dir = (fmt_params->files_per_root_dir +
 200e1cc:	b4 06 bf ff 	add  %i2, -1, %i2                              
			    (2*fmt_params->bytes_per_sector/                               
 200e1d0:	93 2a 60 01 	sll  %o1, 1, %o1                               
 200e1d4:	93 32 60 05 	srl  %o1, 5, %o1                               
	}                                                                    
	else {                                                               
	  fmt_params->files_per_root_dir = 64;                               
	}                                                                    
      }                                                               
      fmt_params->files_per_root_dir = (fmt_params->files_per_root_dir +
 200e1d8:	b4 06 80 09 	add  %i2, %o1, %i2                             
			    (2*fmt_params->bytes_per_sector/                               
			     FAT_DIRENTRY_SIZE-1));                                        
      fmt_params->files_per_root_dir -= (fmt_params->files_per_root_dir %
 200e1dc:	40 00 68 1b 	call  2028248 <.urem>                          
 200e1e0:	90 10 00 1a 	mov  %i2, %o0                                  
 200e1e4:	b4 26 80 08 	sub  %i2, %o0, %i2                             
 200e1e8:	f4 27 bf 70 	st  %i2, [ %fp + -144 ]                        
			     (2*fmt_params->bytes_per_sector                               
			      /FAT_DIRENTRY_SIZE));                                        
    }                                                                 
    fmt_params->root_dir_sectors =                                    
      (((fmt_params->files_per_root_dir * FAT_DIRENTRY_SIZE)          
	+ fmt_params->bytes_per_sector - 1)                                  
 200e1ec:	e0 07 bf 58 	ld  [ %fp + -168 ], %l0                        
      fmt_params->files_per_root_dir -= (fmt_params->files_per_root_dir %
			     (2*fmt_params->bytes_per_sector                               
			      /FAT_DIRENTRY_SIZE));                                        
    }                                                                 
    fmt_params->root_dir_sectors =                                    
      (((fmt_params->files_per_root_dir * FAT_DIRENTRY_SIZE)          
 200e1f0:	d0 07 bf 70 	ld  [ %fp + -144 ], %o0                        
	+ fmt_params->bytes_per_sector - 1)                                  
       / fmt_params->bytes_per_sector);                               
 200e1f4:	92 10 00 10 	mov  %l0, %o1                                  
			     (2*fmt_params->bytes_per_sector                               
			      /FAT_DIRENTRY_SIZE));                                        
    }                                                                 
    fmt_params->root_dir_sectors =                                    
      (((fmt_params->files_per_root_dir * FAT_DIRENTRY_SIZE)          
	+ fmt_params->bytes_per_sector - 1)                                  
 200e1f8:	a6 04 3f ff 	add  %l0, -1, %l3                              
      fmt_params->files_per_root_dir -= (fmt_params->files_per_root_dir %
			     (2*fmt_params->bytes_per_sector                               
			      /FAT_DIRENTRY_SIZE));                                        
    }                                                                 
    fmt_params->root_dir_sectors =                                    
      (((fmt_params->files_per_root_dir * FAT_DIRENTRY_SIZE)          
 200e1fc:	91 2a 20 05 	sll  %o0, 5, %o0                               
	+ fmt_params->bytes_per_sector - 1)                                  
       / fmt_params->bytes_per_sector);                               
 200e200:	40 00 67 66 	call  2027f98 <.udiv>                          
 200e204:	90 04 c0 08 	add  %l3, %o0, %o0                             
  }                                                                   
  if (ret_val == 0) {                                                 
    fatdata_sect_cnt = (fmt_params->totl_sector_cnt -                 
 200e208:	c2 07 bf 60 	ld  [ %fp + -160 ], %g1                        
 200e20c:	c4 07 bf 5c 	ld  [ %fp + -164 ], %g2                        
			     FAT_DIRENTRY_SIZE-1));                                        
      fmt_params->files_per_root_dir -= (fmt_params->files_per_root_dir %
			     (2*fmt_params->bytes_per_sector                               
			      /FAT_DIRENTRY_SIZE));                                        
    }                                                                 
    fmt_params->root_dir_sectors =                                    
 200e210:	d0 27 bf 74 	st  %o0, [ %fp + -140 ]                        
      (((fmt_params->files_per_root_dir * FAT_DIRENTRY_SIZE)          
	+ fmt_params->bytes_per_sector - 1)                                  
       / fmt_params->bytes_per_sector);                               
  }                                                                   
  if (ret_val == 0) {                                                 
    fatdata_sect_cnt = (fmt_params->totl_sector_cnt -                 
 200e214:	82 20 80 01 	sub  %g2, %g1, %g1                             
 200e218:	82 20 40 08 	sub  %g1, %o0, %g1                             
    /*                                                                
     * check values to get legal arrangement of FAT type and cluster count
     */                                                               
                                                                      
    ret_val = msdos_format_eval_sectors_per_cluster                   
      (fmt_params->fattype,                                           
 200e21c:	e4 0f bf 8a 	ldub  [ %fp + -118 ], %l2                      
      (((fmt_params->files_per_root_dir * FAT_DIRENTRY_SIZE)          
	+ fmt_params->bytes_per_sector - 1)                                  
       / fmt_params->bytes_per_sector);                               
  }                                                                   
  if (ret_val == 0) {                                                 
    fatdata_sect_cnt = (fmt_params->totl_sector_cnt -                 
 200e220:	c2 27 bd 4c 	st  %g1, [ %fp + -692 ]                        
    /*                                                                
     * check values to get legal arrangement of FAT type and cluster count
     */                                                               
                                                                      
    ret_val = msdos_format_eval_sectors_per_cluster                   
      (fmt_params->fattype,                                           
 200e224:	e2 0f bf 88 	ldub  [ %fp + -120 ], %l1                      
 200e228:	f4 07 bf 64 	ld  [ %fp + -156 ], %i2                        
  uint32_t sectors_per_fat;                                           
  uint32_t data_cluster_cnt;                                          
  /*                                                                  
   * ensure, that maximum cluster size (32KByte) is not exceeded      
   */                                                                 
  while (MS_BYTES_PER_CLUSTER_LIMIT / bytes_per_sector < sectors_per_cluster) {
 200e22c:	92 10 00 10 	mov  %l0, %o1                                  
 200e230:	40 00 67 5a 	call  2027f98 <.udiv>                          
 200e234:	11 00 00 20 	sethi  %hi(0x8000), %o0                        
 200e238:	10 80 00 03 	b  200e244 <msdos_format+0x358>                
 200e23c:	80 a2 00 1a 	cmp  %o0, %i2                                  
 200e240:	80 a2 00 1a 	cmp  %o0, %i2                                  <== NOT EXECUTED
 200e244:	2a bf ff ff 	bcs,a   200e240 <msdos_format+0x354>           <== NEVER TAKEN
 200e248:	b5 36 a0 01 	srl  %i2, 1, %i2                               <== NOT EXECUTED
			 / sectors_per_cluster));                                          
    /*                                                                
     * data cluster count too big? then make sectors bigger           
     */                                                               
    if (((fattype == FAT_FAT12) && (data_cluster_cnt > FAT_FAT12_MAX_CLN)) ||
        ((fattype == FAT_FAT16) && (data_cluster_cnt > FAT_FAT16_MAX_CLN))) {
 200e24c:	82 1c a0 02 	xor  %l2, 2, %g1                               
			  + (sectors_per_cluster - 1))                                     
			 / sectors_per_cluster));                                          
    /*                                                                
     * data cluster count too big? then make sectors bigger           
     */                                                               
    if (((fattype == FAT_FAT12) && (data_cluster_cnt > FAT_FAT12_MAX_CLN)) ||
 200e250:	80 a0 00 01 	cmp  %g0, %g1                                  
    sectors_per_fat = ((fat_capacity                                  
			+ (bytes_per_sector - 1))                                          
		       / bytes_per_sector);                                         
                                                                      
    data_cluster_cnt = (fatdata_cluster_cnt -                         
			(((sectors_per_fat * fat_num)                                      
 200e254:	a2 0c 60 ff 	and  %l1, 0xff, %l1                            
			  + (sectors_per_cluster - 1))                                     
			 / sectors_per_cluster));                                          
    /*                                                                
     * data cluster count too big? then make sectors bigger           
     */                                                               
    if (((fattype == FAT_FAT12) && (data_cluster_cnt > FAT_FAT12_MAX_CLN)) ||
 200e258:	ae 60 3f ff 	subx  %g0, -1, %l7                             
 200e25c:	82 1c a0 01 	xor  %l2, 1, %g1                               
    sectors_per_fat = ((fat_capacity                                  
			+ (bytes_per_sector - 1))                                          
		       / bytes_per_sector);                                         
                                                                      
    data_cluster_cnt = (fatdata_cluster_cnt -                         
			(((sectors_per_fat * fat_num)                                      
 200e260:	e2 27 bd 48 	st  %l1, [ %fp + -696 ]                        
			  + (sectors_per_cluster - 1))                                     
			 / sectors_per_cluster));                                          
    /*                                                                
     * data cluster count too big? then make sectors bigger           
     */                                                               
    if (((fattype == FAT_FAT12) && (data_cluster_cnt > FAT_FAT12_MAX_CLN)) ||
 200e264:	80 a0 00 01 	cmp  %g0, %g1                                  
      finished = true;                                                
    }                                                                 
    /*                                                                
     * when maximum cluster size is exceeded, we have invalid data, abort...
     */                                                               
    if ((sectors_per_cluster * bytes_per_sector)                      
 200e268:	2b 00 00 20 	sethi  %hi(0x8000), %l5                        
			  + (sectors_per_cluster - 1))                                     
			 / sectors_per_cluster));                                          
    /*                                                                
     * data cluster count too big? then make sectors bigger           
     */                                                               
    if (((fattype == FAT_FAT12) && (data_cluster_cnt > FAT_FAT12_MAX_CLN)) ||
 200e26c:	ac 60 3f ff 	subx  %g0, -1, %l6                             
     * compute number of data clusters for current data:              
     * - compute cluster count for data AND fat                       
     * - compute storage size for FAT                                 
     * - subtract from total cluster count                            
     */                                                               
    fatdata_cluster_cnt = fatdata_sec_cnt/sectors_per_cluster;        
 200e270:	d0 07 bd 4c 	ld  [ %fp + -692 ], %o0                        
 200e274:	40 00 67 49 	call  2027f98 <.udiv>                          
 200e278:	92 10 00 1a 	mov  %i2, %o1                                  
    if (fattype == FAT_FAT12) {                                       
 200e27c:	80 a4 a0 01 	cmp  %l2, 1                                    
 200e280:	12 80 00 06 	bne  200e298 <msdos_format+0x3ac>              <== NEVER TAKEN
 200e284:	a2 10 00 08 	mov  %o0, %l1                                  
      fat_capacity = fatdata_cluster_cnt * 3 / 2;                     
 200e288:	91 2a 20 01 	sll  %o0, 1, %o0                               
 200e28c:	90 02 00 11 	add  %o0, %l1, %o0                             
 200e290:	10 80 00 06 	b  200e2a8 <msdos_format+0x3bc>                
 200e294:	91 32 20 01 	srl  %o0, 1, %o0                               
    }                                                                 
    else if (fattype == FAT_FAT16) {                                  
 200e298:	80 a4 a0 02 	cmp  %l2, 2                                    <== NOT EXECUTED
 200e29c:	12 80 00 03 	bne  200e2a8 <msdos_format+0x3bc>              <== NOT EXECUTED
 200e2a0:	91 2a 20 02 	sll  %o0, 2, %o0                               <== NOT EXECUTED
      fat_capacity = fatdata_cluster_cnt * 2;                         
 200e2a4:	91 2c 60 01 	sll  %l1, 1, %o0                               <== NOT EXECUTED
    }                                                                 
    else { /* FAT32 */                                                
      fat_capacity = fatdata_cluster_cnt * 4;                         
    }                                                                 
                                                                      
    sectors_per_fat = ((fat_capacity                                  
 200e2a8:	92 10 00 10 	mov  %l0, %o1                                  
 200e2ac:	40 00 67 3b 	call  2027f98 <.udiv>                          
 200e2b0:	90 02 00 13 	add  %o0, %l3, %o0                             
			+ (bytes_per_sector - 1))                                          
		       / bytes_per_sector);                                         
                                                                      
    data_cluster_cnt = (fatdata_cluster_cnt -                         
			(((sectors_per_fat * fat_num)                                      
 200e2b4:	d2 07 bd 48 	ld  [ %fp + -696 ], %o1                        
			  + (sectors_per_cluster - 1))                                     
 200e2b8:	82 06 bf ff 	add  %i2, -1, %g1                              
    }                                                                 
    else { /* FAT32 */                                                
      fat_capacity = fatdata_cluster_cnt * 4;                         
    }                                                                 
                                                                      
    sectors_per_fat = ((fat_capacity                                  
 200e2bc:	a8 10 00 08 	mov  %o0, %l4                                  
			+ (bytes_per_sector - 1))                                          
		       / bytes_per_sector);                                         
                                                                      
    data_cluster_cnt = (fatdata_cluster_cnt -                         
			(((sectors_per_fat * fat_num)                                      
 200e2c0:	40 00 66 fc 	call  2027eb0 <.umul>                          
 200e2c4:	c2 27 bd 44 	st  %g1, [ %fp + -700 ]                        
			  + (sectors_per_cluster - 1))                                     
			 / sectors_per_cluster));                                          
 200e2c8:	c2 07 bd 44 	ld  [ %fp + -700 ], %g1                        
 200e2cc:	92 10 00 1a 	mov  %i2, %o1                                  
 200e2d0:	40 00 67 32 	call  2027f98 <.udiv>                          
 200e2d4:	90 00 40 08 	add  %g1, %o0, %o0                             
                                                                      
    sectors_per_fat = ((fat_capacity                                  
			+ (bytes_per_sector - 1))                                          
		       / bytes_per_sector);                                         
                                                                      
    data_cluster_cnt = (fatdata_cluster_cnt -                         
 200e2d8:	90 24 40 08 	sub  %l1, %o0, %o0                             
			  + (sectors_per_cluster - 1))                                     
			 / sectors_per_cluster));                                          
    /*                                                                
     * data cluster count too big? then make sectors bigger           
     */                                                               
    if (((fattype == FAT_FAT12) && (data_cluster_cnt > FAT_FAT12_MAX_CLN)) ||
 200e2dc:	80 a2 2f f5 	cmp  %o0, 0xff5                                
 200e2e0:	18 80 00 03 	bgu  200e2ec <msdos_format+0x400>              <== NEVER TAKEN
 200e2e4:	82 10 20 01 	mov  1, %g1                                    
 200e2e8:	82 10 20 00 	clr  %g1                                       
 200e2ec:	80 88 60 ff 	btst  0xff, %g1                                
 200e2f0:	02 80 00 06 	be  200e308 <msdos_format+0x41c>               <== ALWAYS TAKEN
 200e2f4:	03 00 00 3f 	sethi  %hi(0xfc00), %g1                        
 200e2f8:	80 a5 a0 00 	cmp  %l6, 0                                    <== NOT EXECUTED
 200e2fc:	32 80 00 0b 	bne,a   200e328 <msdos_format+0x43c>           <== NOT EXECUTED
 200e300:	b5 2e a0 01 	sll  %i2, 1, %i2                               <== NOT EXECUTED
 200e304:	03 00 00 3f 	sethi  %hi(0xfc00), %g1                        <== NOT EXECUTED
 200e308:	82 10 63 f5 	or  %g1, 0x3f5, %g1	! fff5 <PROM_START+0xfff5> 
 200e30c:	80 a0 40 08 	cmp  %g1, %o0                                  
 200e310:	1a 80 00 07 	bcc  200e32c <msdos_format+0x440>              <== ALWAYS TAKEN
 200e314:	a2 10 20 01 	mov  1, %l1                                    
 200e318:	80 a5 e0 00 	cmp  %l7, 0                                    <== NOT EXECUTED
 200e31c:	02 80 00 05 	be  200e330 <msdos_format+0x444>               <== NOT EXECUTED
 200e320:	90 10 00 1a 	mov  %i2, %o0                                  <== NOT EXECUTED
        ((fattype == FAT_FAT16) && (data_cluster_cnt > FAT_FAT16_MAX_CLN))) {
      sectors_per_cluster *= 2;                                       
 200e324:	b5 2e a0 01 	sll  %i2, 1, %i2                               <== NOT EXECUTED
 200e328:	a2 10 20 00 	clr  %l1                                       <== NOT EXECUTED
      finished = true;                                                
    }                                                                 
    /*                                                                
     * when maximum cluster size is exceeded, we have invalid data, abort...
     */                                                               
    if ((sectors_per_cluster * bytes_per_sector)                      
 200e32c:	90 10 00 1a 	mov  %i2, %o0                                  
 200e330:	40 00 66 e0 	call  2027eb0 <.umul>                          
 200e334:	92 10 00 10 	mov  %l0, %o1                                  
 200e338:	80 a2 00 15 	cmp  %o0, %l5                                  
 200e33c:	18 80 00 06 	bgu  200e354 <msdos_format+0x468>              <== NEVER TAKEN
 200e340:	80 8c 60 ff 	btst  0xff, %l1                                
	> MS_BYTES_PER_CLUSTER_LIMIT) {                                      
      ret_val = EINVAL;                                               
      finished = true;                                                
    }                                                                 
  } while (!finished);                                                
 200e344:	02 bf ff cc 	be  200e274 <msdos_format+0x388>               <== NEVER TAKEN
 200e348:	d0 07 bd 4c 	ld  [ %fp + -692 ], %o0                        
  if (ret_val != 0) {                                                 
    rtems_set_errno_and_return_minus_one(ret_val);                    
  }                                                                   
  else {                                                              
    *sectors_per_cluster_adj = sectors_per_cluster;                   
    *sectors_per_fat_ptr     = sectors_per_fat;                       
 200e34c:	10 80 00 07 	b  200e368 <msdos_format+0x47c>                
 200e350:	e8 27 bf 68 	st  %l4, [ %fp + -152 ]                        
      finished = true;                                                
    }                                                                 
  } while (!finished);                                                
                                                                      
  if (ret_val != 0) {                                                 
    rtems_set_errno_and_return_minus_one(ret_val);                    
 200e354:	40 00 34 2b 	call  201b400 <__errno>                        <== NOT EXECUTED
 200e358:	b4 10 20 00 	clr  %i2                                       <== NOT EXECUTED
 200e35c:	82 10 20 16 	mov  0x16, %g1                                 <== NOT EXECUTED
 200e360:	c2 22 00 00 	st  %g1, [ %o0 ]                               <== NOT EXECUTED
 200e364:	b0 10 3f ff 	mov  -1, %i0                                   <== NOT EXECUTED
  }                                                                   
                                                                      
  /*                                                                  
   * determine media code                                             
   */                                                                 
  if (ret_val == 0) {                                                 
 200e368:	80 a6 20 00 	cmp  %i0, 0                                    
 200e36c:	12 80 00 1c 	bne  200e3dc <msdos_format+0x4f0>              <== NEVER TAKEN
 200e370:	f4 27 bf 64 	st  %i2, [ %fp + -156 ]                        
    if ((rqdata != NULL) &&                                           
 200e374:	80 a6 60 00 	cmp  %i1, 0                                    
 200e378:	02 80 00 17 	be  200e3d4 <msdos_format+0x4e8>               <== NEVER TAKEN
 200e37c:	82 10 3f f8 	mov  -8, %g1                                   
	(rqdata->media != 0)) {                                              
 200e380:	f4 0e 60 15 	ldub  [ %i1 + 0x15 ], %i2                      
                                                                      
  /*                                                                  
   * determine media code                                             
   */                                                                 
  if (ret_val == 0) {                                                 
    if ((rqdata != NULL) &&                                           
 200e384:	a0 8e a0 ff 	andcc  %i2, 0xff, %l0                          
 200e388:	22 80 00 16 	be,a   200e3e0 <msdos_format+0x4f4>            <== ALWAYS TAKEN
 200e38c:	c2 2f bf 89 	stb  %g1, [ %fp + -119 ]                       
	(rqdata->media != 0)) {                                              
      const char valid_media_codes[] =                                
 200e390:	94 10 20 09 	mov  9, %o2                                    <== NOT EXECUTED
 200e394:	90 07 bf f0 	add  %fp, -16, %o0                             <== NOT EXECUTED
 200e398:	13 00 80 ab 	sethi  %hi(0x202ac00), %o1                     <== NOT EXECUTED
 200e39c:	40 00 36 e8 	call  201bf3c <memcpy>                         <== NOT EXECUTED
 200e3a0:	92 12 62 d0 	or  %o1, 0x2d0, %o1	! 202aed0 <_CPU_Trap_slot_template+0x17c><== NOT EXECUTED
	{0xF0,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xFF};                      
      if (NULL==memchr(valid_media_codes,                             
 200e3a4:	90 07 bf f0 	add  %fp, -16, %o0                             <== NOT EXECUTED
 200e3a8:	92 10 00 10 	mov  %l0, %o1                                  <== NOT EXECUTED
 200e3ac:	40 00 36 71 	call  201bd70 <memchr>                         <== NOT EXECUTED
 200e3b0:	94 10 20 09 	mov  9, %o2                                    <== NOT EXECUTED
 200e3b4:	80 a2 20 00 	cmp  %o0, 0                                    <== NOT EXECUTED
 200e3b8:	32 80 00 0a 	bne,a   200e3e0 <msdos_format+0x4f4>           <== NOT EXECUTED
 200e3bc:	f4 2f bf 89 	stb  %i2, [ %fp + -119 ]                       <== NOT EXECUTED
		       rqdata->media,                                               
		       sizeof(valid_media_codes))) {                                
	ret_val = -1;                                                        
	errno = EINVAL;                                                      
 200e3c0:	40 00 34 10 	call  201b400 <__errno>                        <== NOT EXECUTED
 200e3c4:	b0 10 3f ff 	mov  -1, %i0                                   <== NOT EXECUTED
 200e3c8:	82 10 20 16 	mov  0x16, %g1                                 <== NOT EXECUTED
 200e3cc:	10 80 00 05 	b  200e3e0 <msdos_format+0x4f4>                <== NOT EXECUTED
 200e3d0:	c2 22 00 00 	st  %g1, [ %o0 ]                               <== NOT EXECUTED
      else {                                                          
	fmt_params->media_code = rqdata->media;                              
      }                                                               
    }                                                                 
    else {                                                            
      fmt_params->media_code = FAT_BR_MEDIA_FIXED;                    
 200e3d4:	10 80 00 03 	b  200e3e0 <msdos_format+0x4f4>                <== NOT EXECUTED
 200e3d8:	c2 2f bf 89 	stb  %g1, [ %fp + -119 ]                       <== NOT EXECUTED
  }                                                                   
                                                                      
  /*                                                                  
   * determine media code                                             
   */                                                                 
  if (ret_val == 0) {                                                 
 200e3dc:	b0 10 3f ff 	mov  -1, %i0                                   <== NOT EXECUTED
  }                                                                   
  /*                                                                  
   * determine location and size of root directory                    
   * for formatting                                                   
   */                                                                 
  if (fmt_params->root_dir_sectors > 0) {                             
 200e3e0:	e0 07 bf 74 	ld  [ %fp + -140 ], %l0                        
 200e3e4:	d0 0f bf 88 	ldub  [ %fp + -120 ], %o0                      
 200e3e8:	80 a4 20 00 	cmp  %l0, 0                                    
 200e3ec:	f4 07 bf 60 	ld  [ %fp + -160 ], %i2                        
    fmt_params->root_dir_start_sec =                                  
      fmt_params->rsvd_sector_cnt                                     
      + (fmt_params-> fat_num*fmt_params->sectors_per_fat);           
 200e3f0:	90 0a 20 ff 	and  %o0, 0xff, %o0                            
  }                                                                   
  /*                                                                  
   * determine location and size of root directory                    
   * for formatting                                                   
   */                                                                 
  if (fmt_params->root_dir_sectors > 0) {                             
 200e3f4:	02 80 00 08 	be  200e414 <msdos_format+0x528>               <== NEVER TAKEN
 200e3f8:	d2 07 bf 68 	ld  [ %fp + -152 ], %o1                        
    fmt_params->root_dir_start_sec =                                  
      fmt_params->rsvd_sector_cnt                                     
      + (fmt_params-> fat_num*fmt_params->sectors_per_fat);           
 200e3fc:	40 00 66 ad 	call  2027eb0 <.umul>                          
 200e400:	01 00 00 00 	nop                                            
    fmt_params->root_dir_fmt_sec_cnt = fmt_params->root_dir_sectors;  
 200e404:	e0 27 bf 7c 	st  %l0, [ %fp + -132 ]                        
   * for formatting                                                   
   */                                                                 
  if (fmt_params->root_dir_sectors > 0) {                             
    fmt_params->root_dir_start_sec =                                  
      fmt_params->rsvd_sector_cnt                                     
      + (fmt_params-> fat_num*fmt_params->sectors_per_fat);           
 200e408:	b4 02 00 1a 	add  %o0, %i2, %i2                             
  /*                                                                  
   * determine location and size of root directory                    
   * for formatting                                                   
   */                                                                 
  if (fmt_params->root_dir_sectors > 0) {                             
    fmt_params->root_dir_start_sec =                                  
 200e40c:	10 80 00 08 	b  200e42c <msdos_format+0x540>                
 200e410:	f4 27 bf 78 	st  %i2, [ %fp + -136 ]                        
    /*                                                                
     * for FAT32: root directory is in cluster 2                      
     */                                                               
    fmt_params->root_dir_start_sec =                                  
      fmt_params->rsvd_sector_cnt                                     
      + (fmt_params-> fat_num*fmt_params->sectors_per_fat);           
 200e414:	40 00 66 a7 	call  2027eb0 <.umul>                          <== NOT EXECUTED
 200e418:	01 00 00 00 	nop                                            <== NOT EXECUTED
    fmt_params->root_dir_fmt_sec_cnt = fmt_params->sectors_per_cluster;
 200e41c:	c2 07 bf 64 	ld  [ %fp + -156 ], %g1                        <== NOT EXECUTED
    /*                                                                
     * for FAT32: root directory is in cluster 2                      
     */                                                               
    fmt_params->root_dir_start_sec =                                  
      fmt_params->rsvd_sector_cnt                                     
      + (fmt_params-> fat_num*fmt_params->sectors_per_fat);           
 200e420:	b4 02 00 1a 	add  %o0, %i2, %i2                             <== NOT EXECUTED
    fmt_params->root_dir_fmt_sec_cnt = fmt_params->sectors_per_cluster;
 200e424:	c2 27 bf 7c 	st  %g1, [ %fp + -132 ]                        <== NOT EXECUTED
  }                                                                   
  else {                                                              
    /*                                                                
     * for FAT32: root directory is in cluster 2                      
     */                                                               
    fmt_params->root_dir_start_sec =                                  
 200e428:	f4 27 bf 78 	st  %i2, [ %fp + -136 ]                        <== NOT EXECUTED
    fmt_params->root_dir_fmt_sec_cnt = fmt_params->sectors_per_cluster;
  }                                                                   
  /*                                                                  
   * determine usable OEMName                                         
   */                                                                 
  if (ret_val == 0) {                                                 
 200e42c:	80 a6 20 00 	cmp  %i0, 0                                    
 200e430:	12 80 00 4b 	bne  200e55c <msdos_format+0x670>              <== NEVER TAKEN
 200e434:	05 00 80 a9 	sethi  %hi(0x202a400), %g2                     
      const char *from;                                               
      char        *to = fmt_params->OEMName;                          
      int          cnt;                                               
      from = "RTEMS"; /* default: make "from" point to OS Name */     
    if ((rqdata != NULL) &&                                           
 200e438:	80 a6 60 00 	cmp  %i1, 0                                    
 200e43c:	02 80 00 06 	be  200e454 <msdos_format+0x568>               <== NEVER TAKEN
 200e440:	82 10 a1 e0 	or  %g2, 0x1e0, %g1                            
	(rqdata->OEMName != NULL)) {                                         
 200e444:	c2 06 40 00 	ld  [ %i1 ], %g1                               
  if (ret_val == 0) {                                                 
      const char *from;                                               
      char        *to = fmt_params->OEMName;                          
      int          cnt;                                               
      from = "RTEMS"; /* default: make "from" point to OS Name */     
    if ((rqdata != NULL) &&                                           
 200e448:	80 a0 60 00 	cmp  %g1, 0                                    
 200e44c:	22 80 00 02 	be,a   200e454 <msdos_format+0x568>            <== NEVER TAKEN
 200e450:	82 10 a1 e0 	or  %g2, 0x1e0, %g1                            <== NOT EXECUTED
      from = rqdata->OEMName;                                         
    }                                                                 
    for (cnt = 0;                                                     
	 cnt < (sizeof(fmt_params->OEMName)-1);                              
	 cnt++) {                                                            
      if (isprint((unsigned char)*from)) {                            
 200e454:	05 00 80 b1 	sethi  %hi(0x202c400), %g2                     
 200e458:	86 10 20 09 	mov  9, %g3                                    
 200e45c:	de 00 a2 6c 	ld  [ %g2 + 0x26c ], %o7                       
	/*                                                                   
	 * non-printable character in given name, so keep stuck              
	 * at that character and replace all following characters            
	 * with a ' '                                                        
	 */                                                                  
	*to++=' ';                                                           
 200e460:	b0 10 20 20 	mov  0x20, %i0                                 
  /*                                                                  
   * determine usable OEMName                                         
   */                                                                 
  if (ret_val == 0) {                                                 
      const char *from;                                               
      char        *to = fmt_params->OEMName;                          
 200e464:	10 80 00 0f 	b  200e4a0 <msdos_format+0x5b4>                
 200e468:	84 07 bf 8b 	add  %fp, -117, %g2                            
      from = rqdata->OEMName;                                         
    }                                                                 
    for (cnt = 0;                                                     
	 cnt < (sizeof(fmt_params->OEMName)-1);                              
	 cnt++) {                                                            
      if (isprint((unsigned char)*from)) {                            
 200e46c:	88 0e a0 ff 	and  %i2, 0xff, %g4                            
 200e470:	88 03 c0 04 	add  %o7, %g4, %g4                             
 200e474:	c8 49 20 01 	ldsb  [ %g4 + 1 ], %g4                         
 200e478:	80 89 20 97 	btst  0x97, %g4                                
 200e47c:	02 80 00 06 	be  200e494 <msdos_format+0x5a8>               
 200e480:	88 00 a0 01 	add  %g2, 1, %g4                               
	*to++ = *from++;                                                     
 200e484:	f4 28 80 00 	stb  %i2, [ %g2 ]                              
 200e488:	82 00 60 01 	inc  %g1                                       
 200e48c:	10 80 00 04 	b  200e49c <msdos_format+0x5b0>                
 200e490:	84 10 00 04 	mov  %g4, %g2                                  
	/*                                                                   
	 * non-printable character in given name, so keep stuck              
	 * at that character and replace all following characters            
	 * with a ' '                                                        
	 */                                                                  
	*to++=' ';                                                           
 200e494:	f0 28 80 00 	stb  %i0, [ %g2 ]                              
 200e498:	84 10 00 04 	mov  %g4, %g2                                  
      }                                                               
      *to = '\0';                                                     
 200e49c:	c0 29 00 00 	clrb  [ %g4 ]                                  
      from = "RTEMS"; /* default: make "from" point to OS Name */     
    if ((rqdata != NULL) &&                                           
	(rqdata->OEMName != NULL)) {                                         
      from = rqdata->OEMName;                                         
    }                                                                 
    for (cnt = 0;                                                     
 200e4a0:	86 80 ff ff 	addcc  %g3, -1, %g3                            
 200e4a4:	32 bf ff f2 	bne,a   200e46c <msdos_format+0x580>           
 200e4a8:	f4 08 40 00 	ldub  [ %g1 ], %i2                             
   */                                                                 
  if (ret_val == 0) {                                                 
      const char *from;                                               
      char        *to = fmt_params->VolLabel;                         
      int          cnt;                                               
      from = ""; /* default: make "from" point to empty string */     
 200e4ac:	05 00 80 aa 	sethi  %hi(0x202a800), %g2                     
    if ((rqdata != NULL) &&                                           
 200e4b0:	80 a6 60 00 	cmp  %i1, 0                                    
 200e4b4:	02 80 00 08 	be  200e4d4 <msdos_format+0x5e8>               <== NEVER TAKEN
 200e4b8:	82 10 a1 d8 	or  %g2, 0x1d8, %g1                            
	(rqdata->VolLabel != NULL)) {                                        
 200e4bc:	c2 06 60 04 	ld  [ %i1 + 4 ], %g1                           
  if (ret_val == 0) {                                                 
      const char *from;                                               
      char        *to = fmt_params->VolLabel;                         
      int          cnt;                                               
      from = ""; /* default: make "from" point to empty string */     
    if ((rqdata != NULL) &&                                           
 200e4c0:	80 a0 60 00 	cmp  %g1, 0                                    
 200e4c4:	22 80 00 04 	be,a   200e4d4 <msdos_format+0x5e8>            <== NEVER TAKEN
 200e4c8:	82 10 a1 d8 	or  %g2, 0x1d8, %g1                            <== NOT EXECUTED
	(rqdata->VolLabel != NULL)) {                                        
      from = rqdata->VolLabel;                                        
      fmt_params->VolLabel_present = true;                            
 200e4cc:	84 10 20 01 	mov  1, %g2                                    
 200e4d0:	c4 2f bf a0 	stb  %g2, [ %fp + -96 ]                        
    }                                                                 
    for (cnt = 0;                                                     
	 cnt < (sizeof(fmt_params->VolLabel)-1);                             
	 cnt++) {                                                            
      if (isprint((unsigned char)*from)) {                            
 200e4d4:	05 00 80 b1 	sethi  %hi(0x202c400), %g2                     
 200e4d8:	86 10 20 0c 	mov  0xc, %g3                                  
 200e4dc:	de 00 a2 6c 	ld  [ %g2 + 0x26c ], %o7                       
	/*                                                                   
	 * non-printable character in given name, so keep stuck              
	 * at that character and replace all following characters            
	 * with a ' '                                                        
	 */                                                                  
	*to++=' ';                                                           
 200e4e0:	b0 10 20 20 	mov  0x20, %i0                                 
  /*                                                                  
   * determine usable Volume Label                                    
   */                                                                 
  if (ret_val == 0) {                                                 
      const char *from;                                               
      char        *to = fmt_params->VolLabel;                         
 200e4e4:	10 80 00 0f 	b  200e520 <msdos_format+0x634>                
 200e4e8:	84 07 bf 94 	add  %fp, -108, %g2                            
      fmt_params->VolLabel_present = true;                            
    }                                                                 
    for (cnt = 0;                                                     
	 cnt < (sizeof(fmt_params->VolLabel)-1);                             
	 cnt++) {                                                            
      if (isprint((unsigned char)*from)) {                            
 200e4ec:	88 0e a0 ff 	and  %i2, 0xff, %g4                            
 200e4f0:	88 03 c0 04 	add  %o7, %g4, %g4                             
 200e4f4:	c8 49 20 01 	ldsb  [ %g4 + 1 ], %g4                         
 200e4f8:	80 89 20 97 	btst  0x97, %g4                                
 200e4fc:	02 80 00 06 	be  200e514 <msdos_format+0x628>               
 200e500:	88 00 a0 01 	add  %g2, 1, %g4                               
	*to++ = *from++;                                                     
 200e504:	f4 28 80 00 	stb  %i2, [ %g2 ]                              
 200e508:	82 00 60 01 	inc  %g1                                       
 200e50c:	10 80 00 04 	b  200e51c <msdos_format+0x630>                
 200e510:	84 10 00 04 	mov  %g4, %g2                                  
	/*                                                                   
	 * non-printable character in given name, so keep stuck              
	 * at that character and replace all following characters            
	 * with a ' '                                                        
	 */                                                                  
	*to++=' ';                                                           
 200e514:	f0 28 80 00 	stb  %i0, [ %g2 ]                              
 200e518:	84 10 00 04 	mov  %g4, %g2                                  
      }                                                               
      *to = '\0';                                                     
 200e51c:	c0 29 00 00 	clrb  [ %g4 ]                                  
    if ((rqdata != NULL) &&                                           
	(rqdata->VolLabel != NULL)) {                                        
      from = rqdata->VolLabel;                                        
      fmt_params->VolLabel_present = true;                            
    }                                                                 
    for (cnt = 0;                                                     
 200e520:	86 80 ff ff 	addcc  %g3, -1, %g3                            
 200e524:	32 bf ff f2 	bne,a   200e4ec <msdos_format+0x600>           
 200e528:	f4 08 40 00 	ldub  [ %g1 ], %i2                             
{                                                                     
  int ret_val = 0;                                                    
  int rc;                                                             
  struct timeval time_value;                                          
                                                                      
  rc = rtems_clock_get_tod_timeval(&time_value);                      
 200e52c:	40 00 1a 48 	call  2014e4c <rtems_clock_get_tod_timeval>    
 200e530:	90 07 bf f0 	add  %fp, -16, %o0                             
  if (rc == RTEMS_SUCCESSFUL) {                                       
 200e534:	80 a2 20 00 	cmp  %o0, 0                                    
 200e538:	12 80 00 05 	bne  200e54c <msdos_format+0x660>              <== ALWAYS TAKEN
 200e53c:	c2 07 bf f0 	ld  [ %fp + -16 ], %g1                         
    *volid_ptr = time_value.tv_sec + time_value.tv_sec;               
 200e540:	83 28 60 01 	sll  %g1, 1, %g1                               <== NOT EXECUTED
 200e544:	10 80 00 09 	b  200e568 <msdos_format+0x67c>                <== NOT EXECUTED
 200e548:	c2 27 bf a4 	st  %g1, [ %fp + -92 ]                         <== NOT EXECUTED
  }                                                                   
  else {                                                              
    *volid_ptr = rand();                                              
 200e54c:	40 00 37 02 	call  201c154 <rand>                           
 200e550:	01 00 00 00 	nop                                            
 200e554:	10 80 00 05 	b  200e568 <msdos_format+0x67c>                
 200e558:	d0 27 bf a4 	st  %o0, [ %fp + -92 ]                         
  }                                                                   
  /*                                                                  
   * Phuuu.... That's it.                                             
   */                                                                 
  if (ret_val != 0) {                                                 
    rtems_set_errno_and_return_minus_one(ret_val);                    
 200e55c:	40 00 33 a9 	call  201b400 <__errno>                        <== NOT EXECUTED
 200e560:	ba 10 3f ff 	mov  -1, %i5                                   <== NOT EXECUTED
 200e564:	f0 22 00 00 	st  %i0, [ %o0 ]                               <== NOT EXECUTED
    ret_val = msdos_format_determine_fmt_params(dd,rqdata,&fmt_params);
  }                                                                   
  /*                                                                  
   * if requested, write whole disk/partition with 0xe5               
   */                                                                 
  if ((ret_val == 0) &&                                               
 200e568:	80 a7 60 00 	cmp  %i5, 0                                    
 200e56c:	12 80 01 5b 	bne  200ead8 <msdos_format+0xbec>              <== NEVER TAKEN
 200e570:	80 a7 3f ff 	cmp  %i4, -1                                   
 200e574:	80 a6 60 00 	cmp  %i1, 0                                    
 200e578:	02 80 00 0e 	be  200e5b0 <msdos_format+0x6c4>               <== NEVER TAKEN
 200e57c:	80 a7 60 00 	cmp  %i5, 0                                    
      (rqdata != NULL) &&                                             
 200e580:	c2 0e 60 16 	ldub  [ %i1 + 0x16 ], %g1                      
 200e584:	80 a0 60 00 	cmp  %g1, 0                                    
 200e588:	12 80 00 0d 	bne  200e5bc <msdos_format+0x6d0>              <== NEVER TAKEN
 200e58c:	90 10 00 19 	mov  %i1, %o0                                  
      !(rqdata->quick_format)) {                                      
    ret_val = msdos_format_fill_sectors                               
 200e590:	d6 07 bf 5c 	ld  [ %fp + -164 ], %o3                        
 200e594:	d8 07 bf 58 	ld  [ %fp + -168 ], %o4                        
 200e598:	92 10 00 1c 	mov  %i4, %o1                                  
 200e59c:	94 10 20 00 	clr  %o2                                       
 200e5a0:	7f ff fe 07 	call  200ddbc <msdos_format_fill_sectors>      
 200e5a4:	9a 10 3f e5 	mov  -27, %o5                                  
 200e5a8:	ba 10 00 08 	mov  %o0, %i5                                  
  }                                                                   
                                                                      
  /*                                                                  
   * create master boot record                                        
   */                                                                 
  if (ret_val == 0) {                                                 
 200e5ac:	80 a7 60 00 	cmp  %i5, 0                                    
 200e5b0:	12 80 01 4a 	bne  200ead8 <msdos_format+0xbec>              <== NEVER TAKEN
 200e5b4:	80 a7 3f ff 	cmp  %i4, -1                                   
    /*                                                                
     * Read the current MBR to obtain the partition table.            
     */                                                               
    msdos_format_printf (rqdata, MSDOS_FMT_INFO_LEVEL_DETAIL,         
 200e5b8:	90 10 00 19 	mov  %i1, %o0                                  
 200e5bc:	92 10 20 02 	mov  2, %o1                                    
 200e5c0:	15 00 80 ab 	sethi  %hi(0x202ac00), %o2                     
 200e5c4:	7f ff fd d1 	call  200dd08 <msdos_format_printf>            
 200e5c8:	94 12 a2 20 	or  %o2, 0x220, %o2	! 202ae20 <_CPU_Trap_slot_template+0xcc>
|    0, if success, -1 and errno if failed                                  |
\*=========================================================================*/
{                                                                     
  int ret_val = 0;                                                    
                                                                      
  if (0 > lseek(fd,((off_t)start_sector)*sector_size,SEEK_SET)) {     
 200e5cc:	90 10 00 1c 	mov  %i4, %o0                                  
    /*                                                                
     * Read the current MBR to obtain the partition table.            
     */                                                               
    msdos_format_printf (rqdata, MSDOS_FMT_INFO_LEVEL_DETAIL,         
                         "read MRB sector\n");                        
    ret_val = msdos_format_read_sec(fd,                               
 200e5d0:	e0 07 bf 58 	ld  [ %fp + -168 ], %l0                        
|    0, if success, -1 and errno if failed                                  |
\*=========================================================================*/
{                                                                     
  int ret_val = 0;                                                    
                                                                      
  if (0 > lseek(fd,((off_t)start_sector)*sector_size,SEEK_SET)) {     
 200e5d4:	92 10 20 00 	clr  %o1                                       
 200e5d8:	94 10 20 00 	clr  %o2                                       
 200e5dc:	7f ff de bb 	call  20060c8 <lseek>                          
 200e5e0:	96 10 20 00 	clr  %o3                                       
 200e5e4:	80 a2 20 00 	cmp  %o0, 0                                    
 200e5e8:	06 80 00 08 	bl  200e608 <msdos_format+0x71c>               <== NEVER TAKEN
 200e5ec:	90 10 00 1c 	mov  %i4, %o0                                  
    ret_val = -1;                                                     
  }                                                                   
  if (ret_val == 0) {                                                 
    if (0 > read(fd,buffer,sector_size)) {                            
 200e5f0:	92 07 bd 58 	add  %fp, -680, %o1                            
 200e5f4:	7f ff e2 74 	call  2006fc4 <read>                           
 200e5f8:	94 10 00 10 	mov  %l0, %o2                                  
 200e5fc:	80 a2 20 00 	cmp  %o0, 0                                    
 200e600:	16 80 01 61 	bge  200eb84 <msdos_format+0xc98>              <== ALWAYS TAKEN
 200e604:	90 10 00 19 	mov  %i1, %o0                                  
      /* FAT entry 1: EOC */                                          
      FAT_SET_VAL32(tmp_sec,4,FAT_FAT32_EOC);                         
      break;                                                          
                                                                      
    default:                                                          
      ret_val = -1;                                                   
 200e608:	10 80 01 33 	b  200ead4 <msdos_format+0xbe8>                <== NOT EXECUTED
 200e60c:	ba 10 3f ff 	mov  -1, %i5                                   <== NOT EXECUTED
/*-------------------------------------------------------------------------*\
| Return Value:                                                             |
|    0, if success, -1 and errno if failed                                  |
\*=========================================================================*/
{                                                                     
  uint32_t  total_sectors_num16 = 0;                                  
 200e610:	ba 10 20 00 	clr  %i5                                       <== NOT EXECUTED
   * finally we are there: let's fill in the values into the MBR      
   * but first clear the MRB leaving the partition table.             
   */                                                                 
#define RTEMS_IDE_PARTITION_TABLE_OFFSET                  0x1be       
#define RTEMS_IDE_PARTITION_TABLE_SIZE                    (4 * 16)    
  memset(mbr,0,RTEMS_IDE_PARTITION_TABLE_OFFSET);                     
 200e614:	92 10 20 00 	clr  %o1                                       
 200e618:	94 10 21 be 	mov  0x1be, %o2                                
 200e61c:	40 00 36 84 	call  201c02c <memset>                         
 200e620:	90 07 bd 58 	add  %fp, -680, %o0                            
   * with 0xEB,....                                                   
   */                                                                 
  /*                                                                  
   * fill OEMName                                                     
   */                                                                 
  memcpy(FAT_GET_ADDR_BR_OEMNAME(mbr),                                
 200e624:	90 07 bd 5b 	add  %fp, -677, %o0                            
   * but first clear the MRB leaving the partition table.             
   */                                                                 
#define RTEMS_IDE_PARTITION_TABLE_OFFSET                  0x1be       
#define RTEMS_IDE_PARTITION_TABLE_SIZE                    (4 * 16)    
  memset(mbr,0,RTEMS_IDE_PARTITION_TABLE_OFFSET);                     
  memset(mbr + RTEMS_IDE_PARTITION_TABLE_OFFSET + RTEMS_IDE_PARTITION_TABLE_SIZE,
 200e628:	c0 37 bf 56 	clrh  [ %fp + -170 ]                           
   * with 0xEB,....                                                   
   */                                                                 
  /*                                                                  
   * fill OEMName                                                     
   */                                                                 
  memcpy(FAT_GET_ADDR_BR_OEMNAME(mbr),                                
 200e62c:	92 07 bf 8b 	add  %fp, -117, %o1                            
 200e630:	40 00 36 43 	call  201bf3c <memcpy>                         
 200e634:	94 10 20 08 	mov  8, %o2                                    
	 fmt_params->OEMName,                                                
	 FAT_BR_OEMNAME_SIZE);                                               
  FAT_SET_BR_BYTES_PER_SECTOR(mbr    , fmt_params->bytes_per_sector); 
 200e638:	83 34 20 08 	srl  %l0, 8, %g1                               
 200e63c:	c2 2f bd 64 	stb  %g1, [ %fp + -668 ]                       
  FAT_SET_BR_SECTORS_PER_CLUSTER(mbr , fmt_params->sectors_per_cluster);
 200e640:	c2 07 bf 64 	ld  [ %fp + -156 ], %g1                        
  FAT_SET_BR_RESERVED_SECTORS_NUM(mbr, fmt_params->rsvd_sector_cnt);  
                                                                      
  /* number of FATs on medium */                                      
  FAT_SET_BR_FAT_NUM(mbr             , 2); /* standard/recommended value */
  FAT_SET_BR_FILES_PER_ROOT_DIR(mbr  , fmt_params->files_per_root_dir);
  FAT_SET_BR_TOTAL_SECTORS_NUM16(mbr , total_sectors_num16);          
 200e644:	fa 2f bd 6b 	stb  %i5, [ %fp + -661 ]                       
   */                                                                 
  memcpy(FAT_GET_ADDR_BR_OEMNAME(mbr),                                
	 fmt_params->OEMName,                                                
	 FAT_BR_OEMNAME_SIZE);                                               
  FAT_SET_BR_BYTES_PER_SECTOR(mbr    , fmt_params->bytes_per_sector); 
  FAT_SET_BR_SECTORS_PER_CLUSTER(mbr , fmt_params->sectors_per_cluster);
 200e648:	c2 2f bd 65 	stb  %g1, [ %fp + -667 ]                       
  FAT_SET_BR_RESERVED_SECTORS_NUM(mbr, fmt_params->rsvd_sector_cnt);  
 200e64c:	c2 07 bf 60 	ld  [ %fp + -160 ], %g1                        
                                                                      
  /* number of FATs on medium */                                      
  FAT_SET_BR_FAT_NUM(mbr             , 2); /* standard/recommended value */
  FAT_SET_BR_FILES_PER_ROOT_DIR(mbr  , fmt_params->files_per_root_dir);
  FAT_SET_BR_TOTAL_SECTORS_NUM16(mbr , total_sectors_num16);          
 200e650:	bb 37 60 08 	srl  %i5, 8, %i5                               
  memcpy(FAT_GET_ADDR_BR_OEMNAME(mbr),                                
	 fmt_params->OEMName,                                                
	 FAT_BR_OEMNAME_SIZE);                                               
  FAT_SET_BR_BYTES_PER_SECTOR(mbr    , fmt_params->bytes_per_sector); 
  FAT_SET_BR_SECTORS_PER_CLUSTER(mbr , fmt_params->sectors_per_cluster);
  FAT_SET_BR_RESERVED_SECTORS_NUM(mbr, fmt_params->rsvd_sector_cnt);  
 200e654:	c2 2f bd 66 	stb  %g1, [ %fp + -666 ]                       
 200e658:	83 30 60 08 	srl  %g1, 8, %g1                               
 200e65c:	c2 2f bd 67 	stb  %g1, [ %fp + -665 ]                       
                                                                      
  /* number of FATs on medium */                                      
  FAT_SET_BR_FAT_NUM(mbr             , 2); /* standard/recommended value */
  FAT_SET_BR_FILES_PER_ROOT_DIR(mbr  , fmt_params->files_per_root_dir);
 200e660:	c2 07 bf 70 	ld  [ %fp + -144 ], %g1                        
  FAT_SET_BR_TOTAL_SECTORS_NUM16(mbr , total_sectors_num16);          
 200e664:	fa 2f bd 6c 	stb  %i5, [ %fp + -660 ]                       
  FAT_SET_BR_SECTORS_PER_CLUSTER(mbr , fmt_params->sectors_per_cluster);
  FAT_SET_BR_RESERVED_SECTORS_NUM(mbr, fmt_params->rsvd_sector_cnt);  
                                                                      
  /* number of FATs on medium */                                      
  FAT_SET_BR_FAT_NUM(mbr             , 2); /* standard/recommended value */
  FAT_SET_BR_FILES_PER_ROOT_DIR(mbr  , fmt_params->files_per_root_dir);
 200e668:	c2 2f bd 69 	stb  %g1, [ %fp + -663 ]                       
 200e66c:	83 30 60 08 	srl  %g1, 8, %g1                               
 200e670:	c2 2f bd 6a 	stb  %g1, [ %fp + -662 ]                       
  FAT_SET_BR_TOTAL_SECTORS_NUM16(mbr , total_sectors_num16);          
  FAT_SET_BR_MEDIA(mbr               , fmt_params->media_code);       
 200e674:	c2 0f bf 89 	ldub  [ %fp + -119 ], %g1                      
                                                                      
  FAT_SET_BR_SECTORS_PER_TRACK(mbr   , 255); /* only needed for INT13... */
  FAT_SET_BR_NUMBER_OF_HEADS(mbr     , 6);   /* only needed for INT13... */
  FAT_SET_BR_HIDDEN_SECTORS(mbr      , 1);   /* only needed for INT13... */
                                                                      
  FAT_SET_BR_TOTAL_SECTORS_NUM32(mbr , total_sectors_num32);          
 200e678:	05 00 00 3f 	sethi  %hi(0xfc00), %g2                        
                                                                      
  /* number of FATs on medium */                                      
  FAT_SET_BR_FAT_NUM(mbr             , 2); /* standard/recommended value */
  FAT_SET_BR_FILES_PER_ROOT_DIR(mbr  , fmt_params->files_per_root_dir);
  FAT_SET_BR_TOTAL_SECTORS_NUM16(mbr , total_sectors_num16);          
  FAT_SET_BR_MEDIA(mbr               , fmt_params->media_code);       
 200e67c:	c2 2f bd 6d 	stb  %g1, [ %fp + -659 ]                       
                                                                      
  FAT_SET_BR_SECTORS_PER_TRACK(mbr   , 255); /* only needed for INT13... */
 200e680:	82 10 3f ff 	mov  -1, %g1                                   
 200e684:	c2 2f bd 70 	stb  %g1, [ %fp + -656 ]                       
  FAT_SET_BR_NUMBER_OF_HEADS(mbr     , 6);   /* only needed for INT13... */
 200e688:	82 10 20 06 	mov  6, %g1                                    
  FAT_SET_BR_HIDDEN_SECTORS(mbr      , 1);   /* only needed for INT13... */
                                                                      
  FAT_SET_BR_TOTAL_SECTORS_NUM32(mbr , total_sectors_num32);          
 200e68c:	84 10 a3 ff 	or  %g2, 0x3ff, %g2                            
  FAT_SET_BR_FILES_PER_ROOT_DIR(mbr  , fmt_params->files_per_root_dir);
  FAT_SET_BR_TOTAL_SECTORS_NUM16(mbr , total_sectors_num16);          
  FAT_SET_BR_MEDIA(mbr               , fmt_params->media_code);       
                                                                      
  FAT_SET_BR_SECTORS_PER_TRACK(mbr   , 255); /* only needed for INT13... */
  FAT_SET_BR_NUMBER_OF_HEADS(mbr     , 6);   /* only needed for INT13... */
 200e690:	c2 2f bd 72 	stb  %g1, [ %fp + -654 ]                       
  FAT_SET_BR_HIDDEN_SECTORS(mbr      , 1);   /* only needed for INT13... */
                                                                      
  FAT_SET_BR_TOTAL_SECTORS_NUM32(mbr , total_sectors_num32);          
  if (fmt_params->fattype != FAT_FAT32) {                             
 200e694:	fa 0f bf 8a 	ldub  [ %fp + -118 ], %i5                      
                                                                      
  FAT_SET_BR_SECTORS_PER_TRACK(mbr   , 255); /* only needed for INT13... */
  FAT_SET_BR_NUMBER_OF_HEADS(mbr     , 6);   /* only needed for INT13... */
  FAT_SET_BR_HIDDEN_SECTORS(mbr      , 1);   /* only needed for INT13... */
                                                                      
  FAT_SET_BR_TOTAL_SECTORS_NUM32(mbr , total_sectors_num32);          
 200e698:	82 0e 80 02 	and  %i2, %g2, %g1                             
 200e69c:	83 30 60 08 	srl  %g1, 8, %g1                               
  FAT_SET_BR_BYTES_PER_SECTOR(mbr    , fmt_params->bytes_per_sector); 
  FAT_SET_BR_SECTORS_PER_CLUSTER(mbr , fmt_params->sectors_per_cluster);
  FAT_SET_BR_RESERVED_SECTORS_NUM(mbr, fmt_params->rsvd_sector_cnt);  
                                                                      
  /* number of FATs on medium */                                      
  FAT_SET_BR_FAT_NUM(mbr             , 2); /* standard/recommended value */
 200e6a0:	88 10 20 02 	mov  2, %g4                                    
  FAT_SET_BR_TOTAL_SECTORS_NUM16(mbr , total_sectors_num16);          
  FAT_SET_BR_MEDIA(mbr               , fmt_params->media_code);       
                                                                      
  FAT_SET_BR_SECTORS_PER_TRACK(mbr   , 255); /* only needed for INT13... */
  FAT_SET_BR_NUMBER_OF_HEADS(mbr     , 6);   /* only needed for INT13... */
  FAT_SET_BR_HIDDEN_SECTORS(mbr      , 1);   /* only needed for INT13... */
 200e6a4:	86 10 20 01 	mov  1, %g3                                    
                                                                      
  FAT_SET_BR_TOTAL_SECTORS_NUM32(mbr , total_sectors_num32);          
 200e6a8:	f4 2f bd 78 	stb  %i2, [ %fp + -648 ]                       
 200e6ac:	c2 2f bd 79 	stb  %g1, [ %fp + -647 ]                       
   * fill OEMName                                                     
   */                                                                 
  memcpy(FAT_GET_ADDR_BR_OEMNAME(mbr),                                
	 fmt_params->OEMName,                                                
	 FAT_BR_OEMNAME_SIZE);                                               
  FAT_SET_BR_BYTES_PER_SECTOR(mbr    , fmt_params->bytes_per_sector); 
 200e6b0:	e0 2f bd 63 	stb  %l0, [ %fp + -669 ]                       
                                                                      
  FAT_SET_BR_SECTORS_PER_TRACK(mbr   , 255); /* only needed for INT13... */
  FAT_SET_BR_NUMBER_OF_HEADS(mbr     , 6);   /* only needed for INT13... */
  FAT_SET_BR_HIDDEN_SECTORS(mbr      , 1);   /* only needed for INT13... */
                                                                      
  FAT_SET_BR_TOTAL_SECTORS_NUM32(mbr , total_sectors_num32);          
 200e6b4:	83 36 a0 10 	srl  %i2, 0x10, %g1                            
  FAT_SET_BR_BYTES_PER_SECTOR(mbr    , fmt_params->bytes_per_sector); 
  FAT_SET_BR_SECTORS_PER_CLUSTER(mbr , fmt_params->sectors_per_cluster);
  FAT_SET_BR_RESERVED_SECTORS_NUM(mbr, fmt_params->rsvd_sector_cnt);  
                                                                      
  /* number of FATs on medium */                                      
  FAT_SET_BR_FAT_NUM(mbr             , 2); /* standard/recommended value */
 200e6b8:	c8 2f bd 68 	stb  %g4, [ %fp + -664 ]                       
                                                                      
  FAT_SET_BR_SECTORS_PER_TRACK(mbr   , 255); /* only needed for INT13... */
  FAT_SET_BR_NUMBER_OF_HEADS(mbr     , 6);   /* only needed for INT13... */
  FAT_SET_BR_HIDDEN_SECTORS(mbr      , 1);   /* only needed for INT13... */
                                                                      
  FAT_SET_BR_TOTAL_SECTORS_NUM32(mbr , total_sectors_num32);          
 200e6bc:	c2 2f bd 7a 	stb  %g1, [ %fp + -646 ]                       
 200e6c0:	b5 36 a0 18 	srl  %i2, 0x18, %i2                            
  FAT_SET_BR_TOTAL_SECTORS_NUM16(mbr , total_sectors_num16);          
  FAT_SET_BR_MEDIA(mbr               , fmt_params->media_code);       
                                                                      
  FAT_SET_BR_SECTORS_PER_TRACK(mbr   , 255); /* only needed for INT13... */
  FAT_SET_BR_NUMBER_OF_HEADS(mbr     , 6);   /* only needed for INT13... */
  FAT_SET_BR_HIDDEN_SECTORS(mbr      , 1);   /* only needed for INT13... */
 200e6c4:	c6 2f bd 74 	stb  %g3, [ %fp + -652 ]                       
                                                                      
  FAT_SET_BR_TOTAL_SECTORS_NUM32(mbr , total_sectors_num32);          
 200e6c8:	f4 2f bd 7b 	stb  %i2, [ %fp + -645 ]                       
  if (fmt_params->fattype != FAT_FAT32) {                             
 200e6cc:	80 a7 60 04 	cmp  %i5, 4                                    
 200e6d0:	02 80 00 1c 	be  200e740 <msdos_format+0x854>               <== NEVER TAKEN
 200e6d4:	c2 07 bf 68 	ld  [ %fp + -152 ], %g1                        
    FAT_SET_BR_SECTORS_PER_FAT(mbr   ,fmt_params->sectors_per_fat);   
 200e6d8:	c2 2f bd 6e 	stb  %g1, [ %fp + -658 ]                       
 200e6dc:	83 30 60 08 	srl  %g1, 8, %g1                               
 200e6e0:	c2 2f bd 6f 	stb  %g1, [ %fp + -657 ]                       
    FAT_SET_BR_DRVNUM(mbr            , 0); /* only needed for INT13... */
    FAT_SET_BR_RSVD1(mbr             , 0); /* fill with zero */       
    FAT_SET_BR_BOOTSIG(mbr           , FAT_BR_BOOTSIG_VAL);           
 200e6e4:	82 10 20 29 	mov  0x29, %g1                                 
 200e6e8:	c2 2f bd 7e 	stb  %g1, [ %fp + -642 ]                       
    FAT_SET_BR_VOLID(mbr             , fmt_params->vol_id); /* volume id */
 200e6ec:	c2 07 bf a4 	ld  [ %fp + -92 ], %g1                         
  memcpy(FAT_GET_ADDR_BR_VOLLAB(mbr),                                 
 200e6f0:	92 07 bf 94 	add  %fp, -108, %o1                            
  if (fmt_params->fattype != FAT_FAT32) {                             
    FAT_SET_BR_SECTORS_PER_FAT(mbr   ,fmt_params->sectors_per_fat);   
    FAT_SET_BR_DRVNUM(mbr            , 0); /* only needed for INT13... */
    FAT_SET_BR_RSVD1(mbr             , 0); /* fill with zero */       
    FAT_SET_BR_BOOTSIG(mbr           , FAT_BR_BOOTSIG_VAL);           
    FAT_SET_BR_VOLID(mbr             , fmt_params->vol_id); /* volume id */
 200e6f4:	84 08 40 02 	and  %g1, %g2, %g2                             
 200e6f8:	85 30 a0 08 	srl  %g2, 8, %g2                               
 200e6fc:	c2 2f bd 7f 	stb  %g1, [ %fp + -641 ]                       
 200e700:	c4 2f bd 80 	stb  %g2, [ %fp + -640 ]                       
 200e704:	85 30 60 10 	srl  %g1, 0x10, %g2                            
 200e708:	83 30 60 18 	srl  %g1, 0x18, %g1                            
 200e70c:	c4 2f bd 81 	stb  %g2, [ %fp + -639 ]                       
 200e710:	c2 2f bd 82 	stb  %g1, [ %fp + -638 ]                       
  memcpy(FAT_GET_ADDR_BR_VOLLAB(mbr),                                 
 200e714:	90 07 bd 83 	add  %fp, -637, %o0                            
 200e718:	40 00 36 09 	call  201bf3c <memcpy>                         
 200e71c:	94 10 20 0b 	mov  0xb, %o2                                  
	 fmt_params->VolLabel,                                               
	 FAT_BR_VOLLAB_SIZE);                                                
    memcpy(FAT_GET_ADDR_BR_FILSYSTYPE(mbr),                           
 200e720:	13 00 80 ab 	sethi  %hi(0x202ac00), %o1                     
 200e724:	80 a7 60 01 	cmp  %i5, 1                                    
 200e728:	12 80 00 04 	bne  200e738 <msdos_format+0x84c>              <== NEVER TAKEN
 200e72c:	92 12 61 a8 	or  %o1, 0x1a8, %o1                            
 200e730:	13 00 80 ab 	sethi  %hi(0x202ac00), %o1                     
 200e734:	92 12 61 98 	or  %o1, 0x198, %o1	! 202ad98 <_CPU_Trap_slot_template+0x44>
 200e738:	10 80 00 1d 	b  200e7ac <msdos_format+0x8c0>                
 200e73c:	90 07 bd 8e 	add  %fp, -626, %o0                            
	   ? "FAT12   "                                                      
	   : "FAT16   ",                                                     
	   FAT_BR_FILSYSTYPE_SIZE);                                          
  }                                                                   
  else {                                                              
    FAT_SET_BR_SECTORS_PER_FAT32(mbr   ,fmt_params->sectors_per_fat); 
 200e740:	84 08 40 02 	and  %g1, %g2, %g2                             <== NOT EXECUTED
 200e744:	85 30 a0 08 	srl  %g2, 8, %g2                               <== NOT EXECUTED
 200e748:	c2 2f bd 7c 	stb  %g1, [ %fp + -644 ]                       <== NOT EXECUTED
 200e74c:	c4 2f bd 7d 	stb  %g2, [ %fp + -643 ]                       <== NOT EXECUTED
 200e750:	85 30 60 10 	srl  %g1, 0x10, %g2                            <== NOT EXECUTED
 200e754:	83 30 60 18 	srl  %g1, 0x18, %g1                            <== NOT EXECUTED
 200e758:	c2 2f bd 7f 	stb  %g1, [ %fp + -641 ]                       <== NOT EXECUTED
    FAT_SET_BR_EXT_FLAGS(mbr           , 0);                          
    FAT_SET_BR_FSVER(mbr               , 0); /* FAT32 Version:0.0 */  
    FAT_SET_BR_FAT32_ROOT_CLUSTER(mbr  , 2); /* put root dir to cluster 2 */
    FAT_SET_BR_FAT32_FS_INFO_SECTOR(mbr, 1); /* Put fsinfo  to rsrvd sec 1*/
    FAT_SET_BR_FAT32_BK_BOOT_SECTOR(mbr, fmt_params->mbr_copy_sec ); /* Put MBR copy to rsrvd sec */
 200e75c:	c2 07 bf 80 	ld  [ %fp + -128 ], %g1                        <== NOT EXECUTED
	   ? "FAT12   "                                                      
	   : "FAT16   ",                                                     
	   FAT_BR_FILSYSTYPE_SIZE);                                          
  }                                                                   
  else {                                                              
    FAT_SET_BR_SECTORS_PER_FAT32(mbr   ,fmt_params->sectors_per_fat); 
 200e760:	c4 2f bd 7e 	stb  %g2, [ %fp + -642 ]                       <== NOT EXECUTED
    FAT_SET_BR_EXT_FLAGS(mbr           , 0);                          
    FAT_SET_BR_FSVER(mbr               , 0); /* FAT32 Version:0.0 */  
    FAT_SET_BR_FAT32_ROOT_CLUSTER(mbr  , 2); /* put root dir to cluster 2 */
    FAT_SET_BR_FAT32_FS_INFO_SECTOR(mbr, 1); /* Put fsinfo  to rsrvd sec 1*/
    FAT_SET_BR_FAT32_BK_BOOT_SECTOR(mbr, fmt_params->mbr_copy_sec ); /* Put MBR copy to rsrvd sec */
 200e764:	c2 2f bd 8a 	stb  %g1, [ %fp + -630 ]                       <== NOT EXECUTED
 200e768:	83 30 60 08 	srl  %g1, 8, %g1                               <== NOT EXECUTED
  }                                                                   
  else {                                                              
    FAT_SET_BR_SECTORS_PER_FAT32(mbr   ,fmt_params->sectors_per_fat); 
    FAT_SET_BR_EXT_FLAGS(mbr           , 0);                          
    FAT_SET_BR_FSVER(mbr               , 0); /* FAT32 Version:0.0 */  
    FAT_SET_BR_FAT32_ROOT_CLUSTER(mbr  , 2); /* put root dir to cluster 2 */
 200e76c:	c8 2f bd 84 	stb  %g4, [ %fp + -636 ]                       <== NOT EXECUTED
    FAT_SET_BR_FAT32_FS_INFO_SECTOR(mbr, 1); /* Put fsinfo  to rsrvd sec 1*/
 200e770:	c6 2f bd 88 	stb  %g3, [ %fp + -632 ]                       <== NOT EXECUTED
    FAT_SET_BR_FAT32_BK_BOOT_SECTOR(mbr, fmt_params->mbr_copy_sec ); /* Put MBR copy to rsrvd sec */
 200e774:	c2 2f bd 8b 	stb  %g1, [ %fp + -629 ]                       <== NOT EXECUTED
    memset(FAT_GET_ADDR_BR_FAT32_RESERVED(mbr),0,FAT_BR_FAT32_RESERVED_SIZE);
 200e778:	92 10 20 00 	clr  %o1                                       <== NOT EXECUTED
 200e77c:	94 10 20 0c 	mov  0xc, %o2                                  <== NOT EXECUTED
 200e780:	40 00 36 2b 	call  201c02c <memset>                         <== NOT EXECUTED
 200e784:	90 07 bd 8c 	add  %fp, -628, %o0                            <== NOT EXECUTED
                                                                      
    FAT_SET_BR_FAT32_DRVNUM(mbr      , 0); /* only needed for INT13... */
    FAT_SET_BR_FAT32_RSVD1(mbr       , 0); /* fill with zero */       
    FAT_SET_BR_FAT32_BOOTSIG(mbr     ,FAT_BR_FAT32_BOOTSIG_VAL);      
 200e788:	82 10 20 29 	mov  0x29, %g1                                 <== NOT EXECUTED
    FAT_SET_BR_FAT32_VOLID(mbr       , 0); /* not set */              
    memset(FAT_GET_ADDR_BR_FAT32_VOLLAB(mbr)   ,0,FAT_BR_VOLLAB_SIZE);
 200e78c:	92 10 20 00 	clr  %o1                                       <== NOT EXECUTED
    FAT_SET_BR_FAT32_BK_BOOT_SECTOR(mbr, fmt_params->mbr_copy_sec ); /* Put MBR copy to rsrvd sec */
    memset(FAT_GET_ADDR_BR_FAT32_RESERVED(mbr),0,FAT_BR_FAT32_RESERVED_SIZE);
                                                                      
    FAT_SET_BR_FAT32_DRVNUM(mbr      , 0); /* only needed for INT13... */
    FAT_SET_BR_FAT32_RSVD1(mbr       , 0); /* fill with zero */       
    FAT_SET_BR_FAT32_BOOTSIG(mbr     ,FAT_BR_FAT32_BOOTSIG_VAL);      
 200e790:	c2 2f bd 9a 	stb  %g1, [ %fp + -614 ]                       <== NOT EXECUTED
    FAT_SET_BR_FAT32_VOLID(mbr       , 0); /* not set */              
    memset(FAT_GET_ADDR_BR_FAT32_VOLLAB(mbr)   ,0,FAT_BR_VOLLAB_SIZE);
 200e794:	90 07 bd 9f 	add  %fp, -609, %o0                            <== NOT EXECUTED
 200e798:	40 00 36 25 	call  201c02c <memset>                         <== NOT EXECUTED
 200e79c:	94 10 20 0b 	mov  0xb, %o2                                  <== NOT EXECUTED
    memcpy(FAT_GET_ADDR_BR_FAT32_FILSYSTYPE(mbr),                     
 200e7a0:	13 00 80 ab 	sethi  %hi(0x202ac00), %o1                     <== NOT EXECUTED
 200e7a4:	90 07 bd aa 	add  %fp, -598, %o0                            <== NOT EXECUTED
 200e7a8:	92 12 62 38 	or  %o1, 0x238, %o1                            <== NOT EXECUTED
 200e7ac:	40 00 35 e4 	call  201bf3c <memcpy>                         
 200e7b0:	94 10 20 08 	mov  8, %o2                                    
	   FAT_BR_FILSYSTYPE_SIZE);                                          
  }                                                                   
  /*                                                                  
   * add boot record signature                                        
   */                                                                 
  FAT_SET_BR_SIGNATURE(mbr,      FAT_BR_SIGNATURE_VAL);               
 200e7b4:	82 10 20 55 	mov  0x55, %g1                                 
 200e7b8:	c2 2f bf 56 	stb  %g1, [ %fp + -170 ]                       
 200e7bc:	82 10 3f aa 	mov  -86, %g1                                  
 200e7c0:	c2 2f bf 57 	stb  %g1, [ %fp + -169 ]                       
                                                                      
  /*                                                                  
   * add jump to boot loader at start of sector                       
   */                                                                 
  FAT_SET_VAL8(mbr,0,0xeb);                                           
 200e7c4:	82 10 3f eb 	mov  -21, %g1                                  
 200e7c8:	c2 2f bd 58 	stb  %g1, [ %fp + -680 ]                       
  FAT_SET_VAL8(mbr,1,0x3c);                                           
 200e7cc:	82 10 20 3c 	mov  0x3c, %g1                                 
 200e7d0:	c2 2f bd 59 	stb  %g1, [ %fp + -679 ]                       
  FAT_SET_VAL8(mbr,2,0x90);                                           
 200e7d4:	82 10 3f 90 	mov  -112, %g1                                 
    /*                                                                
     * write master boot record to disk                               
     * also write copy of MBR to disk                                 
     */                                                               
    if (ret_val == 0) {                                               
      msdos_format_printf (rqdata, MSDOS_FMT_INFO_LEVEL_DETAIL,       
 200e7d8:	90 10 00 19 	mov  %i1, %o0                                  
  /*                                                                  
   * add jump to boot loader at start of sector                       
   */                                                                 
  FAT_SET_VAL8(mbr,0,0xeb);                                           
  FAT_SET_VAL8(mbr,1,0x3c);                                           
  FAT_SET_VAL8(mbr,2,0x90);                                           
 200e7dc:	c2 2f bd 5a 	stb  %g1, [ %fp + -678 ]                       
    /*                                                                
     * write master boot record to disk                               
     * also write copy of MBR to disk                                 
     */                                                               
    if (ret_val == 0) {                                               
      msdos_format_printf (rqdata, MSDOS_FMT_INFO_LEVEL_DETAIL,       
 200e7e0:	92 10 20 02 	mov  2, %o1                                    
 200e7e4:	15 00 80 ab 	sethi  %hi(0x202ac00), %o2                     
 200e7e8:	7f ff fd 48 	call  200dd08 <msdos_format_printf>            
 200e7ec:	94 12 a2 48 	or  %o2, 0x248, %o2	! 202ae48 <_CPU_Trap_slot_template+0xf4>
                           "write MRB sector\n");                     
      ret_val = msdos_format_write_sec(fd,                            
 200e7f0:	90 10 00 1c 	mov  %i4, %o0                                  
 200e7f4:	92 10 20 00 	clr  %o1                                       
 200e7f8:	94 10 00 10 	mov  %l0, %o2                                  
 200e7fc:	7f ff fd 58 	call  200dd5c <msdos_format_write_sec>         
 200e800:	96 07 bd 58 	add  %fp, -680, %o3                            
                                       0,                             
                                       fmt_params.bytes_per_sector,   
                                       tmp_sec);                      
    }                                                                 
    if ((ret_val == 0) &&                                             
 200e804:	ba 92 20 00 	orcc  %o0, 0, %i5                              
 200e808:	12 80 00 b4 	bne  200ead8 <msdos_format+0xbec>              <== NEVER TAKEN
 200e80c:	80 a7 3f ff 	cmp  %i4, -1                                   
        (fmt_params.mbr_copy_sec != 0)) {                             
 200e810:	fa 07 bf 80 	ld  [ %fp + -128 ], %i5                        
      ret_val = msdos_format_write_sec(fd,                            
                                       0,                             
                                       fmt_params.bytes_per_sector,   
                                       tmp_sec);                      
    }                                                                 
    if ((ret_val == 0) &&                                             
 200e814:	80 a7 60 00 	cmp  %i5, 0                                    
 200e818:	22 80 00 10 	be,a   200e858 <msdos_format+0x96c>            <== ALWAYS TAKEN
 200e81c:	fa 07 bf 84 	ld  [ %fp + -124 ], %i5                        
        (fmt_params.mbr_copy_sec != 0)) {                             
      /*                                                              
       * write copy of MBR                                            
       */                                                             
      msdos_format_printf (rqdata, MSDOS_FMT_INFO_LEVEL_DETAIL,       
 200e820:	90 10 00 19 	mov  %i1, %o0                                  <== NOT EXECUTED
 200e824:	92 10 20 02 	mov  2, %o1                                    <== NOT EXECUTED
 200e828:	15 00 80 ab 	sethi  %hi(0x202ac00), %o2                     <== NOT EXECUTED
 200e82c:	7f ff fd 37 	call  200dd08 <msdos_format_printf>            <== NOT EXECUTED
 200e830:	94 12 a2 60 	or  %o2, 0x260, %o2	! 202ae60 <_CPU_Trap_slot_template+0x10c><== NOT EXECUTED
                           "write back up MRB sector\n");             
      ret_val = msdos_format_write_sec(fd,                            
 200e834:	92 10 00 1d 	mov  %i5, %o1                                  <== NOT EXECUTED
 200e838:	90 10 00 1c 	mov  %i4, %o0                                  <== NOT EXECUTED
 200e83c:	94 10 00 10 	mov  %l0, %o2                                  <== NOT EXECUTED
 200e840:	7f ff fd 47 	call  200dd5c <msdos_format_write_sec>         <== NOT EXECUTED
 200e844:	96 07 bd 58 	add  %fp, -680, %o3                            <== NOT EXECUTED
    }                                                                 
  }                                                                   
  /*                                                                  
   * for FAT32: initialize info sector on disk                        
   */                                                                 
  if ((ret_val == 0) &&                                               
 200e848:	ba 92 20 00 	orcc  %o0, 0, %i5                              <== NOT EXECUTED
 200e84c:	12 80 00 a3 	bne  200ead8 <msdos_format+0xbec>              <== NOT EXECUTED
 200e850:	80 a7 3f ff 	cmp  %i4, -1                                   <== NOT EXECUTED
      (fmt_params.fsinfo_sec != 0)) {                                 
 200e854:	fa 07 bf 84 	ld  [ %fp + -124 ], %i5                        <== NOT EXECUTED
    }                                                                 
  }                                                                   
  /*                                                                  
   * for FAT32: initialize info sector on disk                        
   */                                                                 
  if ((ret_val == 0) &&                                               
 200e858:	80 a7 60 00 	cmp  %i5, 0                                    
 200e85c:	02 80 00 28 	be  200e8fc <msdos_format+0xa10>               <== ALWAYS TAKEN
 200e860:	d2 07 bf 68 	ld  [ %fp + -152 ], %o1                        
\*=========================================================================*/
{                                                                     
  /*                                                                  
   * clear fsinfo sector data                                         
   */                                                                 
  memset(fsinfo,0,FAT_TOTAL_FSINFO_SIZE);                             
 200e864:	92 10 20 00 	clr  %o1                                       <== NOT EXECUTED
 200e868:	94 10 22 00 	mov  0x200, %o2                                <== NOT EXECUTED
 200e86c:	40 00 35 f0 	call  201c02c <memset>                         <== NOT EXECUTED
 200e870:	90 07 bd 58 	add  %fp, -680, %o0                            <== NOT EXECUTED
  /*                                                                  
   * write LEADSIG, STRUCTSIG, TRAILSIG                               
   */                                                                 
  FAT_SET_FSINFO_LEAD_SIGNATURE (fsinfo,FAT_FSINFO_LEAD_SIGNATURE_VALUE );
 200e874:	82 10 20 52 	mov  0x52, %g1                                 <== NOT EXECUTED
 200e878:	c2 2f bd 58 	stb  %g1, [ %fp + -680 ]                       <== NOT EXECUTED
 200e87c:	c2 2f bd 59 	stb  %g1, [ %fp + -679 ]                       <== NOT EXECUTED
 200e880:	82 10 20 61 	mov  0x61, %g1                                 <== NOT EXECUTED
 200e884:	c2 2f bd 5a 	stb  %g1, [ %fp + -678 ]                       <== NOT EXECUTED
  FAT_SET_FSINFO_STRUC_SIGNATURE(fsinfo,FAT_FSINFO_STRUC_SIGNATURE_VALUE);
 200e888:	c2 2f bf 3f 	stb  %g1, [ %fp + -193 ]                       <== NOT EXECUTED
  FAT_SET_FSINFO_TRAIL_SIGNATURE(fsinfo,FAT_FSINFO_TRAIL_SIGNATURE_VALUE);
 200e88c:	82 10 20 55 	mov  0x55, %g1                                 <== NOT EXECUTED
 200e890:	c2 2f bf 56 	stb  %g1, [ %fp + -170 ]                       <== NOT EXECUTED
 200e894:	82 10 3f aa 	mov  -86, %g1                                  <== NOT EXECUTED
   */                                                                 
  memset(fsinfo,0,FAT_TOTAL_FSINFO_SIZE);                             
  /*                                                                  
   * write LEADSIG, STRUCTSIG, TRAILSIG                               
   */                                                                 
  FAT_SET_FSINFO_LEAD_SIGNATURE (fsinfo,FAT_FSINFO_LEAD_SIGNATURE_VALUE );
 200e898:	84 10 20 41 	mov  0x41, %g2                                 <== NOT EXECUTED
  FAT_SET_FSINFO_STRUC_SIGNATURE(fsinfo,FAT_FSINFO_STRUC_SIGNATURE_VALUE);
 200e89c:	86 10 20 72 	mov  0x72, %g3                                 <== NOT EXECUTED
  FAT_SET_FSINFO_TRAIL_SIGNATURE(fsinfo,FAT_FSINFO_TRAIL_SIGNATURE_VALUE);
 200e8a0:	c2 2f bf 57 	stb  %g1, [ %fp + -169 ]                       <== NOT EXECUTED
  /*                                                                  
   * write "empty" values for free cluster count and next cluster number
   */                                                                 
  FAT_SET_FSINFO_FREE_CLUSTER_COUNT(fsinfo+FAT_FSI_INFO,              
 200e8a4:	82 10 3f ff 	mov  -1, %g1                                   <== NOT EXECUTED
  /*                                                                  
   * write fsinfo sector                                              
   */                                                                 
  if ((ret_val == 0) &&                                               
      (fmt_params.fsinfo_sec != 0)) {                                 
    ret_val = msdos_format_write_sec(fd,                              
 200e8a8:	92 10 00 1d 	mov  %i5, %o1                                  <== NOT EXECUTED
   */                                                                 
  memset(fsinfo,0,FAT_TOTAL_FSINFO_SIZE);                             
  /*                                                                  
   * write LEADSIG, STRUCTSIG, TRAILSIG                               
   */                                                                 
  FAT_SET_FSINFO_LEAD_SIGNATURE (fsinfo,FAT_FSINFO_LEAD_SIGNATURE_VALUE );
 200e8ac:	c4 2f bd 5b 	stb  %g2, [ %fp + -677 ]                       <== NOT EXECUTED
  FAT_SET_FSINFO_STRUC_SIGNATURE(fsinfo,FAT_FSINFO_STRUC_SIGNATURE_VALUE);
 200e8b0:	c6 2f bf 3c 	stb  %g3, [ %fp + -196 ]                       <== NOT EXECUTED
 200e8b4:	c6 2f bf 3d 	stb  %g3, [ %fp + -195 ]                       <== NOT EXECUTED
 200e8b8:	c4 2f bf 3e 	stb  %g2, [ %fp + -194 ]                       <== NOT EXECUTED
  FAT_SET_FSINFO_TRAIL_SIGNATURE(fsinfo,FAT_FSINFO_TRAIL_SIGNATURE_VALUE);
  /*                                                                  
   * write "empty" values for free cluster count and next cluster number
   */                                                                 
  FAT_SET_FSINFO_FREE_CLUSTER_COUNT(fsinfo+FAT_FSI_INFO,              
 200e8bc:	c2 2f bf 40 	stb  %g1, [ %fp + -192 ]                       <== NOT EXECUTED
 200e8c0:	c2 2f bf 41 	stb  %g1, [ %fp + -191 ]                       <== NOT EXECUTED
 200e8c4:	c2 2f bf 42 	stb  %g1, [ %fp + -190 ]                       <== NOT EXECUTED
 200e8c8:	c2 2f bf 43 	stb  %g1, [ %fp + -189 ]                       <== NOT EXECUTED
				    0xffffffff);                                                  
  FAT_SET_FSINFO_NEXT_FREE_CLUSTER (fsinfo+FAT_FSI_INFO,              
 200e8cc:	c2 2f bf 44 	stb  %g1, [ %fp + -188 ]                       <== NOT EXECUTED
 200e8d0:	c2 2f bf 45 	stb  %g1, [ %fp + -187 ]                       <== NOT EXECUTED
 200e8d4:	c2 2f bf 46 	stb  %g1, [ %fp + -186 ]                       <== NOT EXECUTED
 200e8d8:	c2 2f bf 47 	stb  %g1, [ %fp + -185 ]                       <== NOT EXECUTED
  /*                                                                  
   * write fsinfo sector                                              
   */                                                                 
  if ((ret_val == 0) &&                                               
      (fmt_params.fsinfo_sec != 0)) {                                 
    ret_val = msdos_format_write_sec(fd,                              
 200e8dc:	90 10 00 1c 	mov  %i4, %o0                                  <== NOT EXECUTED
 200e8e0:	94 10 00 10 	mov  %l0, %o2                                  <== NOT EXECUTED
 200e8e4:	7f ff fd 1e 	call  200dd5c <msdos_format_write_sec>         <== NOT EXECUTED
 200e8e8:	96 07 bd 58 	add  %fp, -680, %o3                            <== NOT EXECUTED
  }                                                                   
  /*                                                                  
   * write FAT as all empty                                           
   * -> write all FAT sectors as zero                                 
   */                                                                 
  if (ret_val == 0) {                                                 
 200e8ec:	ba 92 20 00 	orcc  %o0, 0, %i5                              <== NOT EXECUTED
 200e8f0:	12 80 00 7a 	bne  200ead8 <msdos_format+0xbec>              <== NOT EXECUTED
 200e8f4:	80 a7 3f ff 	cmp  %i4, -1                                   <== NOT EXECUTED
    ret_val = msdos_format_fill_sectors                               
      (rqdata,                                                        
 200e8f8:	d2 07 bf 68 	ld  [ %fp + -152 ], %o1                        <== NOT EXECUTED
       fd,                                                            
       fmt_params.rsvd_sector_cnt,                   /* start sector */
       fmt_params.fat_num*fmt_params.sectors_per_fat,/* sector count */
 200e8fc:	f4 0f bf 88 	ldub  [ %fp + -120 ], %i2                      
  /*                                                                  
   * write FAT as all empty                                           
   * -> write all FAT sectors as zero                                 
   */                                                                 
  if (ret_val == 0) {                                                 
    ret_val = msdos_format_fill_sectors                               
 200e900:	fa 07 bf 60 	ld  [ %fp + -160 ], %i5                        
      (rqdata,                                                        
 200e904:	40 00 65 6b 	call  2027eb0 <.umul>                          
 200e908:	90 0e a0 ff 	and  %i2, 0xff, %o0                            
  /*                                                                  
   * write FAT as all empty                                           
   * -> write all FAT sectors as zero                                 
   */                                                                 
  if (ret_val == 0) {                                                 
    ret_val = msdos_format_fill_sectors                               
 200e90c:	94 10 00 1d 	mov  %i5, %o2                                  
      (rqdata,                                                        
 200e910:	96 10 00 08 	mov  %o0, %o3                                  
  /*                                                                  
   * write FAT as all empty                                           
   * -> write all FAT sectors as zero                                 
   */                                                                 
  if (ret_val == 0) {                                                 
    ret_val = msdos_format_fill_sectors                               
 200e914:	92 10 00 1c 	mov  %i4, %o1                                  
 200e918:	90 10 00 19 	mov  %i1, %o0                                  
 200e91c:	98 10 00 10 	mov  %l0, %o4                                  
 200e920:	7f ff fd 27 	call  200ddbc <msdos_format_fill_sectors>      
 200e924:	9a 10 20 00 	clr  %o5                                       
  }                                                                   
  /*                                                                  
   * clear/init root directory                                        
   * -> write all directory sectors as 0x00                           
   */                                                                 
  if (ret_val == 0) {                                                 
 200e928:	ba 92 20 00 	orcc  %o0, 0, %i5                              
 200e92c:	12 80 00 6a 	bne  200ead4 <msdos_format+0xbe8>              <== NEVER TAKEN
 200e930:	f0 07 bf 78 	ld  [ %fp + -136 ], %i0                        
    ret_val = msdos_format_fill_sectors                               
 200e934:	d6 07 bf 7c 	ld  [ %fp + -132 ], %o3                        
 200e938:	90 10 00 19 	mov  %i1, %o0                                  
 200e93c:	92 10 00 1c 	mov  %i4, %o1                                  
 200e940:	94 10 00 18 	mov  %i0, %o2                                  
 200e944:	98 10 00 10 	mov  %l0, %o4                                  
 200e948:	7f ff fd 1d 	call  200ddbc <msdos_format_fill_sectors>      
 200e94c:	9a 10 20 00 	clr  %o5                                       
       0x00);                                                         
  }                                                                   
  /*                                                                  
   * write volume label to first entry of directory                   
   */                                                                 
  if ((ret_val == 0) && fmt_params.VolLabel_present) {                
 200e950:	ba 92 20 00 	orcc  %o0, 0, %i5                              
 200e954:	12 80 00 60 	bne  200ead4 <msdos_format+0xbe8>              <== NEVER TAKEN
 200e958:	c2 0f bf a0 	ldub  [ %fp + -96 ], %g1                       
 200e95c:	80 a0 60 00 	cmp  %g1, 0                                    
 200e960:	02 80 00 5e 	be  200ead8 <msdos_format+0xbec>               <== NEVER TAKEN
 200e964:	80 a7 3f ff 	cmp  %i4, -1                                   
    memset(tmp_sec,0,sizeof(tmp_sec));                                
 200e968:	92 10 20 00 	clr  %o1                                       
 200e96c:	94 10 22 00 	mov  0x200, %o2                                
 200e970:	40 00 35 af 	call  201c02c <memset>                         
 200e974:	90 07 bd 58 	add  %fp, -680, %o0                            
    memcpy(MSDOS_DIR_NAME(tmp_sec),fmt_params.VolLabel,MSDOS_SHORT_NAME_LEN);
 200e978:	92 07 bf 94 	add  %fp, -108, %o1                            
 200e97c:	94 10 20 0b 	mov  0xb, %o2                                  
 200e980:	40 00 35 6f 	call  201bf3c <memcpy>                         
 200e984:	90 07 bd 58 	add  %fp, -680, %o0                            
    *MSDOS_DIR_ATTR(tmp_sec) = MSDOS_ATTR_VOLUME_ID;                  
 200e988:	82 10 20 08 	mov  8, %g1                                    
    ret_val = msdos_format_write_sec                                  
 200e98c:	90 10 00 1c 	mov  %i4, %o0                                  
   * write volume label to first entry of directory                   
   */                                                                 
  if ((ret_val == 0) && fmt_params.VolLabel_present) {                
    memset(tmp_sec,0,sizeof(tmp_sec));                                
    memcpy(MSDOS_DIR_NAME(tmp_sec),fmt_params.VolLabel,MSDOS_SHORT_NAME_LEN);
    *MSDOS_DIR_ATTR(tmp_sec) = MSDOS_ATTR_VOLUME_ID;                  
 200e990:	c2 2f bd 63 	stb  %g1, [ %fp + -669 ]                       
    ret_val = msdos_format_write_sec                                  
 200e994:	92 10 00 18 	mov  %i0, %o1                                  
 200e998:	94 10 00 10 	mov  %l0, %o2                                  
 200e99c:	7f ff fc f0 	call  200dd5c <msdos_format_write_sec>         
 200e9a0:	96 07 bd 58 	add  %fp, -680, %o3                            
  /*                                                                  
   * write FAT entry 0 as (0xffffff00|Media_type)EOC,                 
   * write FAT entry 1 as EOC                                         
   * allocate directory in a FAT32 FS                                 
   */                                                                 
  if ((ret_val == 0) && fmt_params.VolLabel_present){                 
 200e9a4:	ba 92 20 00 	orcc  %o0, 0, %i5                              
 200e9a8:	12 80 00 4b 	bne  200ead4 <msdos_format+0xbe8>              <== NEVER TAKEN
 200e9ac:	90 07 bd 58 	add  %fp, -680, %o0                            
    /*                                                                
     * empty sector: all clusters are free/do not link further on     
     */                                                               
    memset(tmp_sec,0,sizeof(tmp_sec));                                
 200e9b0:	92 10 20 00 	clr  %o1                                       
 200e9b4:	40 00 35 9e 	call  201c02c <memset>                         
 200e9b8:	94 10 22 00 	mov  0x200, %o2                                
                                                                      
    switch(fmt_params.fattype) {                                      
 200e9bc:	f2 0f bf 8a 	ldub  [ %fp + -118 ], %i1                      
 200e9c0:	80 a6 60 02 	cmp  %i1, 2                                    
 200e9c4:	02 80 00 0c 	be  200e9f4 <msdos_format+0xb08>               <== NEVER TAKEN
 200e9c8:	80 a6 60 04 	cmp  %i1, 4                                    
 200e9cc:	02 80 00 12 	be  200ea14 <msdos_format+0xb28>               <== NEVER TAKEN
 200e9d0:	80 a6 60 01 	cmp  %i1, 1                                    
 200e9d4:	12 80 00 1d 	bne  200ea48 <msdos_format+0xb5c>              <== NEVER TAKEN
 200e9d8:	c2 0f bf 89 	ldub  [ %fp + -119 ], %g1                      
    case FAT_FAT12:                                                   
      /* LSBits of FAT entry 0: media_type */                         
      FAT_SET_VAL8(tmp_sec,0,(fmt_params.media_code));                
 200e9dc:	c2 2f bd 58 	stb  %g1, [ %fp + -680 ]                       
      /* MSBits of FAT entry 0:0xf, LSBits of FAT entry 1: LSB of EOC */
      FAT_SET_VAL8(tmp_sec,1,(0x0f | (FAT_FAT12_EOC << 4)));          
 200e9e0:	82 10 3f 8f 	mov  -113, %g1                                 
 200e9e4:	c2 2f bd 59 	stb  %g1, [ %fp + -679 ]                       
      /* MSBits of FAT entry 1: MSBits of EOC */                      
      FAT_SET_VAL8(tmp_sec,2,(FAT_FAT12_EOC >> 4));                   
 200e9e8:	82 10 3f ff 	mov  -1, %g1                                   
      break;                                                          
 200e9ec:	10 80 00 24 	b  200ea7c <msdos_format+0xb90>                
 200e9f0:	c2 2f bd 5a 	stb  %g1, [ %fp + -678 ]                       
                                                                      
    case FAT_FAT16:                                                   
      /* FAT entry 0: 0xff00|media_type */                            
      FAT_SET_VAL8(tmp_sec,0,fmt_params.media_code);                  
 200e9f4:	c2 0f bf 89 	ldub  [ %fp + -119 ], %g1                      <== NOT EXECUTED
      FAT_SET_VAL8(tmp_sec,1,0xff);                                   
      /* FAT entry 1: EOC */                                          
      FAT_SET_VAL16(tmp_sec,2,FAT_FAT16_EOC);                         
 200e9f8:	84 10 3f f8 	mov  -8, %g2                                   <== NOT EXECUTED
      FAT_SET_VAL8(tmp_sec,2,(FAT_FAT12_EOC >> 4));                   
      break;                                                          
                                                                      
    case FAT_FAT16:                                                   
      /* FAT entry 0: 0xff00|media_type */                            
      FAT_SET_VAL8(tmp_sec,0,fmt_params.media_code);                  
 200e9fc:	c2 2f bd 58 	stb  %g1, [ %fp + -680 ]                       <== NOT EXECUTED
      FAT_SET_VAL8(tmp_sec,1,0xff);                                   
      /* FAT entry 1: EOC */                                          
      FAT_SET_VAL16(tmp_sec,2,FAT_FAT16_EOC);                         
 200ea00:	c4 2f bd 5a 	stb  %g2, [ %fp + -678 ]                       <== NOT EXECUTED
      break;                                                          
                                                                      
    case FAT_FAT16:                                                   
      /* FAT entry 0: 0xff00|media_type */                            
      FAT_SET_VAL8(tmp_sec,0,fmt_params.media_code);                  
      FAT_SET_VAL8(tmp_sec,1,0xff);                                   
 200ea04:	82 10 3f ff 	mov  -1, %g1                                   <== NOT EXECUTED
 200ea08:	c2 2f bd 59 	stb  %g1, [ %fp + -679 ]                       <== NOT EXECUTED
      /* FAT entry 1: EOC */                                          
      FAT_SET_VAL16(tmp_sec,2,FAT_FAT16_EOC);                         
      break;                                                          
 200ea0c:	10 80 00 1c 	b  200ea7c <msdos_format+0xb90>                <== NOT EXECUTED
 200ea10:	c2 2f bd 5b 	stb  %g1, [ %fp + -677 ]                       <== NOT EXECUTED
                                                                      
    case FAT_FAT32:                                                   
      /* FAT entry 0: 0xffffff00|media_type */                        
      FAT_SET_VAL32(tmp_sec,0,0xffffff00|fmt_params.media_code);      
 200ea14:	c2 0f bf 89 	ldub  [ %fp + -119 ], %g1                      <== NOT EXECUTED
      /* FAT entry 1: EOC */                                          
      FAT_SET_VAL32(tmp_sec,4,FAT_FAT32_EOC);                         
 200ea18:	84 10 3f f8 	mov  -8, %g2                                   <== NOT EXECUTED
      FAT_SET_VAL16(tmp_sec,2,FAT_FAT16_EOC);                         
      break;                                                          
                                                                      
    case FAT_FAT32:                                                   
      /* FAT entry 0: 0xffffff00|media_type */                        
      FAT_SET_VAL32(tmp_sec,0,0xffffff00|fmt_params.media_code);      
 200ea1c:	c2 2f bd 58 	stb  %g1, [ %fp + -680 ]                       <== NOT EXECUTED
 200ea20:	82 10 3f ff 	mov  -1, %g1                                   <== NOT EXECUTED
      /* FAT entry 1: EOC */                                          
      FAT_SET_VAL32(tmp_sec,4,FAT_FAT32_EOC);                         
 200ea24:	c4 2f bd 5c 	stb  %g2, [ %fp + -676 ]                       <== NOT EXECUTED
      FAT_SET_VAL16(tmp_sec,2,FAT_FAT16_EOC);                         
      break;                                                          
                                                                      
    case FAT_FAT32:                                                   
      /* FAT entry 0: 0xffffff00|media_type */                        
      FAT_SET_VAL32(tmp_sec,0,0xffffff00|fmt_params.media_code);      
 200ea28:	c2 2f bd 59 	stb  %g1, [ %fp + -679 ]                       <== NOT EXECUTED
 200ea2c:	c2 2f bd 5a 	stb  %g1, [ %fp + -678 ]                       <== NOT EXECUTED
 200ea30:	c2 2f bd 5b 	stb  %g1, [ %fp + -677 ]                       <== NOT EXECUTED
      /* FAT entry 1: EOC */                                          
      FAT_SET_VAL32(tmp_sec,4,FAT_FAT32_EOC);                         
 200ea34:	c2 2f bd 5d 	stb  %g1, [ %fp + -675 ]                       <== NOT EXECUTED
 200ea38:	c2 2f bd 5e 	stb  %g1, [ %fp + -674 ]                       <== NOT EXECUTED
 200ea3c:	82 10 20 0f 	mov  0xf, %g1                                  <== NOT EXECUTED
 200ea40:	10 80 00 08 	b  200ea60 <msdos_format+0xb74>                <== NOT EXECUTED
 200ea44:	c2 2f bd 5f 	stb  %g1, [ %fp + -673 ]                       <== NOT EXECUTED
      break;                                                          
                                                                      
    default:                                                          
      ret_val = -1;                                                   
      errno = EINVAL;                                                 
 200ea48:	40 00 32 6e 	call  201b400 <__errno>                        <== NOT EXECUTED
 200ea4c:	ba 10 3f ff 	mov  -1, %i5                                   <== NOT EXECUTED
 200ea50:	82 10 20 16 	mov  0x16, %g1                                 <== NOT EXECUTED
    }                                                                 
    if (fmt_params.fattype == FAT_FAT32) {                            
 200ea54:	80 a6 60 04 	cmp  %i1, 4                                    <== NOT EXECUTED
 200ea58:	12 80 00 09 	bne  200ea7c <msdos_format+0xb90>              <== NOT EXECUTED
 200ea5c:	c2 22 00 00 	st  %g1, [ %o0 ]                               <== NOT EXECUTED
      /*                                                              
       * only first valid cluster (cluster number 2) belongs          
       * to root directory, and is end of chain                       
       * mark this in every copy of the FAT                           
       */                                                             
      FAT_SET_VAL32(tmp_sec,8,FAT_FAT32_EOC);                         
 200ea60:	82 10 3f f8 	mov  -8, %g1                                   <== NOT EXECUTED
 200ea64:	c2 2f bd 60 	stb  %g1, [ %fp + -672 ]                       <== NOT EXECUTED
 200ea68:	82 10 3f ff 	mov  -1, %g1                                   <== NOT EXECUTED
 200ea6c:	c2 2f bd 61 	stb  %g1, [ %fp + -671 ]                       <== NOT EXECUTED
 200ea70:	c2 2f bd 62 	stb  %g1, [ %fp + -670 ]                       <== NOT EXECUTED
 200ea74:	82 10 20 0f 	mov  0xf, %g1                                  <== NOT EXECUTED
 200ea78:	c2 2f bd 63 	stb  %g1, [ %fp + -669 ]                       <== NOT EXECUTED
      /* FAT entry 1: EOC */                                          
      FAT_SET_VAL32(tmp_sec,4,FAT_FAT32_EOC);                         
      break;                                                          
                                                                      
    default:                                                          
      ret_val = -1;                                                   
 200ea7c:	b2 10 20 00 	clr  %i1                                       
       * mark this in every copy of the FAT                           
       */                                                             
      FAT_SET_VAL32(tmp_sec,8,FAT_FAT32_EOC);                         
    }                                                                 
    for (i = 0;                                                       
	 (i < fmt_params.fat_num) && (ret_val == 0);                         
 200ea80:	10 80 00 0c 	b  200eab0 <msdos_format+0xbc4>                
 200ea84:	b4 0e a0 ff 	and  %i2, 0xff, %i2                            
	 i++) {                                                              
      ret_val = msdos_format_write_sec                                
	(fd,                                                                 
	 fmt_params.rsvd_sector_cnt                                          
	 + (i * fmt_params.sectors_per_fat),                                 
 200ea88:	40 00 65 0a 	call  2027eb0 <.umul>                          
 200ea8c:	90 10 00 19 	mov  %i1, %o0                                  
    }                                                                 
    for (i = 0;                                                       
	 (i < fmt_params.fat_num) && (ret_val == 0);                         
	 i++) {                                                              
      ret_val = msdos_format_write_sec                                
	(fd,                                                                 
 200ea90:	d2 07 bf 60 	ld  [ %fp + -160 ], %o1                        
      FAT_SET_VAL32(tmp_sec,8,FAT_FAT32_EOC);                         
    }                                                                 
    for (i = 0;                                                       
	 (i < fmt_params.fat_num) && (ret_val == 0);                         
	 i++) {                                                              
      ret_val = msdos_format_write_sec                                
 200ea94:	d4 07 bf 58 	ld  [ %fp + -168 ], %o2                        
	(fd,                                                                 
 200ea98:	92 02 00 09 	add  %o0, %o1, %o1                             
      FAT_SET_VAL32(tmp_sec,8,FAT_FAT32_EOC);                         
    }                                                                 
    for (i = 0;                                                       
	 (i < fmt_params.fat_num) && (ret_val == 0);                         
	 i++) {                                                              
      ret_val = msdos_format_write_sec                                
 200ea9c:	96 07 bd 58 	add  %fp, -680, %o3                            
 200eaa0:	90 10 00 1c 	mov  %i4, %o0                                  
 200eaa4:	7f ff fc ae 	call  200dd5c <msdos_format_write_sec>         
 200eaa8:	b2 06 60 01 	inc  %i1                                       
 200eaac:	ba 10 00 08 	mov  %o0, %i5                                  
       * to root directory, and is end of chain                       
       * mark this in every copy of the FAT                           
       */                                                             
      FAT_SET_VAL32(tmp_sec,8,FAT_FAT32_EOC);                         
    }                                                                 
    for (i = 0;                                                       
 200eab0:	80 a7 60 00 	cmp  %i5, 0                                    
 200eab4:	12 80 00 08 	bne  200ead4 <msdos_format+0xbe8>              <== NEVER TAKEN
 200eab8:	80 a6 40 1a 	cmp  %i1, %i2                                  
	 (i < fmt_params.fat_num) && (ret_val == 0);                         
 200eabc:	06 80 00 03 	bl  200eac8 <msdos_format+0xbdc>               
 200eac0:	82 10 20 01 	mov  1, %g1                                    
 200eac4:	82 10 20 00 	clr  %g1                                       
       * to root directory, and is end of chain                       
       * mark this in every copy of the FAT                           
       */                                                             
      FAT_SET_VAL32(tmp_sec,8,FAT_FAT32_EOC);                         
    }                                                                 
    for (i = 0;                                                       
 200eac8:	80 88 60 ff 	btst  0xff, %g1                                
 200eacc:	12 bf ff ef 	bne  200ea88 <msdos_format+0xb9c>              
 200ead0:	d2 07 bf 68 	ld  [ %fp + -152 ], %o1                        
  /*                                                                  
   * cleanup:                                                         
   * sync and unlock disk                                             
   * free any data structures (not needed now)                        
   */                                                                 
  if (fd != -1) {                                                     
 200ead4:	80 a7 3f ff 	cmp  %i4, -1                                   
 200ead8:	02 80 00 05 	be  200eaec <msdos_format+0xc00>               <== NEVER TAKEN
 200eadc:	80 a6 e0 00 	cmp  %i3, 0                                    
    close(fd);                                                        
 200eae0:	7f ff db ac 	call  2005990 <close>                          
 200eae4:	90 10 00 1c 	mov  %i4, %o0                                  
  }                                                                   
  if (dd != NULL) {                                                   
 200eae8:	80 a6 e0 00 	cmp  %i3, 0                                    
 200eaec:	02 80 00 04 	be  200eafc <msdos_format+0xc10>               <== NEVER TAKEN
 200eaf0:	01 00 00 00 	nop                                            
    rtems_disk_release(dd);                                           
 200eaf4:	7f ff d8 bb 	call  2004de0 <rtems_disk_release>             
 200eaf8:	90 10 00 1b 	mov  %i3, %o0                                  
  }                                                                   
  return ret_val;                                                     
}                                                                     
 200eafc:	81 c7 e0 08 	ret                                            
 200eb00:	91 e8 00 1d 	restore  %g0, %i5, %o0                         
    ret_val = -1;                                                     
  }                                                                   
                                                                      
  /* check that  device is registered as block device and lock it */  
  if (ret_val == 0) {                                                 
    dd = rtems_disk_obtain(stat_buf.st_rdev);                         
 200eb04:	7f ff d8 98 	call  2004d64 <rtems_disk_obtain>              
 200eb08:	d0 1f bf c0 	ldd  [ %fp + -64 ], %o0                        
    if (dd == NULL) {                                                 
 200eb0c:	b6 92 20 00 	orcc  %o0, 0, %i3                              
 200eb10:	02 bf fd 21 	be  200df94 <msdos_format+0xa8>                <== NEVER TAKEN
 200eb14:	94 10 20 50 	mov  0x50, %o2                                 
  uint32_t fatdata_sect_cnt;                                          
  uint32_t onebit;                                                    
  uint32_t sectors_per_cluster_adj = 0;                               
  uint64_t total_size = 0;                                            
                                                                      
  memset(fmt_params,0,sizeof(*fmt_params));                           
 200eb18:	92 10 20 00 	clr  %o1                                       
 200eb1c:	40 00 35 44 	call  201c02c <memset>                         
 200eb20:	90 07 bf 58 	add  %fp, -168, %o0                            
  /*                                                                  
   * this one is fixed in this implementation.                        
   * At least one thing we don't have to magically guess...           
   */                                                                 
  if (ret_val == 0) {                                                 
    fmt_params->bytes_per_sector = dd->block_size;                    
 200eb24:	f0 06 e0 20 	ld  [ %i3 + 0x20 ], %i0                        
    fmt_params->totl_sector_cnt  = dd->size;                          
 200eb28:	f4 06 e0 1c 	ld  [ %i3 + 0x1c ], %i2                        
    total_size = dd->block_size * dd->size;                           
 200eb2c:	92 10 00 18 	mov  %i0, %o1                                  
  /*                                                                  
   * this one is fixed in this implementation.                        
   * At least one thing we don't have to magically guess...           
   */                                                                 
  if (ret_val == 0) {                                                 
    fmt_params->bytes_per_sector = dd->block_size;                    
 200eb30:	f0 27 bf 58 	st  %i0, [ %fp + -168 ]                        
    fmt_params->totl_sector_cnt  = dd->size;                          
 200eb34:	f4 27 bf 5c 	st  %i2, [ %fp + -164 ]                        
    total_size = dd->block_size * dd->size;                           
 200eb38:	40 00 64 de 	call  2027eb0 <.umul>                          
 200eb3c:	90 10 00 1a 	mov  %i2, %o0                                  
 200eb40:	a0 10 20 00 	clr  %l0                                       
 200eb44:	a2 10 00 08 	mov  %o0, %l1                                  
    msdos_format_printf (rqdata, MSDOS_FMT_INFO_LEVEL_DETAIL,         
 200eb48:	d0 23 a0 5c 	st  %o0, [ %sp + 0x5c ]                        
 200eb4c:	e0 3f bd 50 	std  %l0, [ %fp + -688 ]                       
 200eb50:	9a 10 20 00 	clr  %o5                                       
 200eb54:	90 10 00 19 	mov  %i1, %o0                                  
 200eb58:	92 10 20 02 	mov  2, %o1                                    
 200eb5c:	15 00 80 ab 	sethi  %hi(0x202ac00), %o2                     
 200eb60:	96 10 00 18 	mov  %i0, %o3                                  
 200eb64:	94 12 a2 80 	or  %o2, 0x280, %o2                            
 200eb68:	7f ff fc 68 	call  200dd08 <msdos_format_printf>            
 200eb6c:	98 10 00 1a 	mov  %i2, %o4                                  
  }                                                                   
  /*                                                                  
   * determine number of FATs                                         
   */                                                                 
  if (ret_val == 0) {                                                 
    if ((rqdata == NULL) ||                                           
 200eb70:	80 a6 60 00 	cmp  %i1, 0                                    
 200eb74:	32 bf fd 0e 	bne,a   200dfac <msdos_format+0xc0>            <== ALWAYS TAKEN
 200eb78:	c2 06 60 0c 	ld  [ %i1 + 0xc ], %g1                         
 200eb7c:	10 bf fd 13 	b  200dfc8 <msdos_format+0xdc>                 <== NOT EXECUTED
 200eb80:	82 10 20 02 	mov  2, %g1                                    <== NOT EXECUTED
    ret_val = msdos_format_read_sec(fd,                               
                                    0,                                
                                    fmt_params.bytes_per_sector,      
                                    tmp_sec);                         
    if (ret_val == 0) {                                               
      msdos_format_printf (rqdata, MSDOS_FMT_INFO_LEVEL_DETAIL,       
 200eb84:	92 10 20 02 	mov  2, %o1                                    
 200eb88:	15 00 80 ab 	sethi  %hi(0x202ac00), %o2                     
 200eb8c:	7f ff fc 5f 	call  200dd08 <msdos_format_printf>            
 200eb90:	94 12 a2 b8 	or  %o2, 0x2b8, %o2	! 202aeb8 <_CPU_Trap_slot_template+0x164>
{                                                                     
  uint32_t  total_sectors_num16 = 0;                                  
  uint32_t  total_sectors_num32 = 0;                                  
                                                                      
  /* store total sector count in either 16 or 32 bit field in mbr */  
  if (fmt_params->totl_sector_cnt < 0x10000) {                        
 200eb94:	fa 07 bf 5c 	ld  [ %fp + -164 ], %i5                        
 200eb98:	03 00 00 3f 	sethi  %hi(0xfc00), %g1                        
 200eb9c:	82 10 63 ff 	or  %g1, 0x3ff, %g1	! ffff <PROM_START+0xffff> 
 200eba0:	80 a7 40 01 	cmp  %i5, %g1                                  
 200eba4:	08 bf fe 9c 	bleu  200e614 <msdos_format+0x728>             <== ALWAYS TAKEN
 200eba8:	b4 10 20 00 	clr  %i2                                       
 200ebac:	10 bf fe 99 	b  200e610 <msdos_format+0x724>                <== NOT EXECUTED
 200ebb0:	b4 10 00 1d 	mov  %i5, %i2                                  <== NOT EXECUTED
                                                                      

0200ddbc <msdos_format_fill_sectors>: ) /*-------------------------------------------------------------------------*\ | Return Value: | | 0, if success, -1 and errno if failed | \*=========================================================================*/ {
 200ddbc:	9d e3 bf a0 	save  %sp, -96, %sp                            
                                                                      
  /*                                                                  
   * allocate and fill buffer                                         
   */                                                                 
  if (ret_val == 0) {                                                 
    fill_buffer = malloc(sector_size);                                
 200ddc0:	7f ff e1 66 	call  2006358 <malloc>                         
 200ddc4:	90 10 00 1c 	mov  %i4, %o0                                  
    if (fill_buffer == NULL) {                                        
 200ddc8:	a0 92 20 00 	orcc  %o0, 0, %l0                              
 200ddcc:	12 80 00 07 	bne  200dde8 <msdos_format_fill_sectors+0x2c>  <== ALWAYS TAKEN
 200ddd0:	92 10 00 1d 	mov  %i5, %o1                                  
      errno = ENOMEM;                                                 
 200ddd4:	40 00 35 8b 	call  201b400 <__errno>                        <== NOT EXECUTED
 200ddd8:	ba 10 3f ff 	mov  -1, %i5                                   <== NOT EXECUTED
 200dddc:	82 10 20 0c 	mov  0xc, %g1                                  <== NOT EXECUTED
 200dde0:	10 80 00 05 	b  200ddf4 <msdos_format_fill_sectors+0x38>    <== NOT EXECUTED
 200dde4:	c2 22 00 00 	st  %g1, [ %o0 ]                               <== NOT EXECUTED
      ret_val = -1;                                                   
    }                                                                 
    else {                                                            
      memset(fill_buffer,fill_byte,sector_size);                      
 200dde8:	94 10 00 1c 	mov  %i4, %o2                                  
 200ddec:	40 00 38 90 	call  201c02c <memset>                         
 200ddf0:	ba 10 20 00 	clr  %i5                                       
    }                                                                 
  }                                                                   
                                                                      
  msdos_format_printf (rqdata, MSDOS_FMT_INFO_LEVEL_DETAIL,           
 200ddf4:	90 10 00 18 	mov  %i0, %o0                                  
 200ddf8:	92 10 20 02 	mov  2, %o1                                    
 200ddfc:	15 00 80 ab 	sethi  %hi(0x202ac00), %o2                     
 200de00:	7f ff ff c2 	call  200dd08 <msdos_format_printf>            
 200de04:	94 12 a1 68 	or  %o2, 0x168, %o2	! 202ad68 <_CPU_Trap_slot_template+0x14>
}                                                                     
                                                                      
/*=========================================================================* \
| Function:                                                                 |
\*-------------------------------------------------------------------------*/
static int msdos_format_fill_sectors                                  
 200de08:	83 2e e0 04 	sll  %i3, 4, %g1                               
 200de0c:	ab 2e e0 02 	sll  %i3, 2, %l5                               
  while ((ret_val == 0) &&                                            
	 (sector_cnt > 0)) {                                                 
    int percent = (sector_cnt * 100) / total_sectors;                 
    if (percent != last_percent) {                                    
      if ((percent & 1) == 0)                                         
        msdos_format_printf (rqdata, MSDOS_FMT_INFO_LEVEL_DETAIL, ".");
 200de10:	29 00 80 a8 	sethi  %hi(0x202a000), %l4                     
}                                                                     
                                                                      
/*=========================================================================* \
| Function:                                                                 |
\*-------------------------------------------------------------------------*/
static int msdos_format_fill_sectors                                  
 200de14:	aa 05 40 01 	add  %l5, %g1, %l5                             
  msdos_format_printf (rqdata, MSDOS_FMT_INFO_LEVEL_DETAIL,           
                       "Filling : ");                                 
  /*                                                                  
   * write to consecutive sectors                                     
   */                                                                 
  while ((ret_val == 0) &&                                            
 200de18:	a6 10 00 1b 	mov  %i3, %l3                                  
}                                                                     
                                                                      
/*=========================================================================* \
| Function:                                                                 |
\*-------------------------------------------------------------------------*/
static int msdos_format_fill_sectors                                  
 200de1c:	83 2d 60 02 	sll  %l5, 2, %g1                               
  msdos_format_printf (rqdata, MSDOS_FMT_INFO_LEVEL_DETAIL,           
                       "Filling : ");                                 
  /*                                                                  
   * write to consecutive sectors                                     
   */                                                                 
  while ((ret_val == 0) &&                                            
 200de20:	a4 10 20 00 	clr  %l2                                       
\*=========================================================================*/
{                                                                     
  int ret_val = 0;                                                    
  char *fill_buffer = NULL;                                           
  uint32_t total_sectors = sector_cnt;                                
  int last_percent = -1;                                              
 200de24:	a2 10 3f ff 	mov  -1, %l1                                   
}                                                                     
                                                                      
/*=========================================================================* \
| Function:                                                                 |
\*-------------------------------------------------------------------------*/
static int msdos_format_fill_sectors                                  
 200de28:	aa 05 40 01 	add  %l5, %g1, %l5                             
  msdos_format_printf (rqdata, MSDOS_FMT_INFO_LEVEL_DETAIL,           
                       "Filling : ");                                 
  /*                                                                  
   * write to consecutive sectors                                     
   */                                                                 
  while ((ret_val == 0) &&                                            
 200de2c:	10 80 00 16 	b  200de84 <msdos_format_fill_sectors+0xc8>    
 200de30:	a8 15 21 20 	or  %l4, 0x120, %l4                            
	 (sector_cnt > 0)) {                                                 
    int percent = (sector_cnt * 100) / total_sectors;                 
 200de34:	40 00 68 59 	call  2027f98 <.udiv>                          
 200de38:	92 10 00 1b 	mov  %i3, %o1                                  
    if (percent != last_percent) {                                    
 200de3c:	80 a2 00 11 	cmp  %o0, %l1                                  
 200de40:	02 80 00 08 	be  200de60 <msdos_format_fill_sectors+0xa4>   
 200de44:	80 8a 20 01 	btst  1, %o0                                   
      if ((percent & 1) == 0)                                         
 200de48:	12 80 00 06 	bne  200de60 <msdos_format_fill_sectors+0xa4>  
 200de4c:	a2 10 00 08 	mov  %o0, %l1                                  
        msdos_format_printf (rqdata, MSDOS_FMT_INFO_LEVEL_DETAIL, ".");
 200de50:	90 10 00 18 	mov  %i0, %o0                                  
 200de54:	92 10 20 02 	mov  2, %o1                                    
 200de58:	7f ff ff ac 	call  200dd08 <msdos_format_printf>            
 200de5c:	94 10 00 14 	mov  %l4, %o2                                  
      last_percent = percent;                                         
    }                                                                 
    ret_val = msdos_format_write_sec(fd,start_sector,sector_size,fill_buffer);
 200de60:	92 10 00 1a 	mov  %i2, %o1                                  
 200de64:	90 10 00 19 	mov  %i1, %o0                                  
 200de68:	94 10 00 1c 	mov  %i4, %o2                                  
 200de6c:	96 10 00 10 	mov  %l0, %o3                                  
 200de70:	7f ff ff bb 	call  200dd5c <msdos_format_write_sec>         
 200de74:	b4 06 a0 01 	inc  %i2                                       
    start_sector++;                                                   
    sector_cnt--;                                                     
 200de78:	a6 04 ff ff 	add  %l3, -1, %l3                              
    if (percent != last_percent) {                                    
      if ((percent & 1) == 0)                                         
        msdos_format_printf (rqdata, MSDOS_FMT_INFO_LEVEL_DETAIL, ".");
      last_percent = percent;                                         
    }                                                                 
    ret_val = msdos_format_write_sec(fd,start_sector,sector_size,fill_buffer);
 200de7c:	ba 10 00 08 	mov  %o0, %i5                                  
    start_sector++;                                                   
    sector_cnt--;                                                     
 200de80:	a4 04 bf 9c 	add  %l2, -100, %l2                            
  msdos_format_printf (rqdata, MSDOS_FMT_INFO_LEVEL_DETAIL,           
                       "Filling : ");                                 
  /*                                                                  
   * write to consecutive sectors                                     
   */                                                                 
  while ((ret_val == 0) &&                                            
 200de84:	80 a4 e0 00 	cmp  %l3, 0                                    
 200de88:	02 80 00 04 	be  200de98 <msdos_format_fill_sectors+0xdc>   
 200de8c:	80 a7 60 00 	cmp  %i5, 0                                    
 200de90:	02 bf ff e9 	be  200de34 <msdos_format_fill_sectors+0x78>   <== ALWAYS TAKEN
 200de94:	90 04 80 15 	add  %l2, %l5, %o0                             
    ret_val = msdos_format_write_sec(fd,start_sector,sector_size,fill_buffer);
    start_sector++;                                                   
    sector_cnt--;                                                     
  }                                                                   
                                                                      
  msdos_format_printf (rqdata, MSDOS_FMT_INFO_LEVEL_DETAIL, "\n");    
 200de98:	90 10 00 18 	mov  %i0, %o0                                  
 200de9c:	92 10 20 02 	mov  2, %o1                                    
 200dea0:	15 00 80 aa 	sethi  %hi(0x202a800), %o2                     
 200dea4:	7f ff ff 99 	call  200dd08 <msdos_format_printf>            
 200dea8:	94 12 a1 28 	or  %o2, 0x128, %o2	! 202a928 <rtems_filesystem_table+0x2f8>
                                                                      
  if (ret_val)                                                        
 200deac:	80 a7 60 00 	cmp  %i5, 0                                    
 200deb0:	02 80 00 09 	be  200ded4 <msdos_format_fill_sectors+0x118>  <== ALWAYS TAKEN
 200deb4:	80 a4 20 00 	cmp  %l0, 0                                    
    msdos_format_printf (rqdata, MSDOS_FMT_INFO_LEVEL_INFO,           
 200deb8:	15 00 80 ab 	sethi  %hi(0x202ac00), %o2                     <== NOT EXECUTED
 200debc:	90 10 00 18 	mov  %i0, %o0                                  <== NOT EXECUTED
 200dec0:	92 10 20 01 	mov  1, %o1                                    <== NOT EXECUTED
 200dec4:	94 12 a1 78 	or  %o2, 0x178, %o2                            <== NOT EXECUTED
 200dec8:	7f ff ff 90 	call  200dd08 <msdos_format_printf>            <== NOT EXECUTED
 200decc:	96 10 00 1a 	mov  %i2, %o3                                  <== NOT EXECUTED
                         "filling error on sector: %d\n", start_sector);
                                                                      
  /*                                                                  
   * cleanup                                                          
   */                                                                 
  if (fill_buffer != NULL) {                                          
 200ded0:	80 a4 20 00 	cmp  %l0, 0                                    <== NOT EXECUTED
 200ded4:	02 80 00 04 	be  200dee4 <msdos_format_fill_sectors+0x128>  <== NEVER TAKEN
 200ded8:	01 00 00 00 	nop                                            
    free(fill_buffer);                                                
 200dedc:	7f ff df 64 	call  2005c6c <free>                           
 200dee0:	90 10 00 10 	mov  %l0, %o0                                  
    fill_buffer = NULL;                                               
  }                                                                   
  return ret_val;                                                     
}                                                                     
 200dee4:	81 c7 e0 08 	ret                                            
 200dee8:	91 e8 00 1d 	restore  %g0, %i5, %o0                         
                                                                      

0200dd08 <msdos_format_printf>: */ static void msdos_format_printf (const msdos_format_request_param_t *rqdata, int info_level, const char *format, ...) {
 200dd08:	9d e3 bf 98 	save  %sp, -104, %sp                           
  va_list args;                                                       
  va_start (args, format);                                            
 200dd0c:	94 07 a0 50 	add  %fp, 0x50, %o2                            
 200dd10:	f6 27 a0 50 	st  %i3, [ %fp + 0x50 ]                        
 200dd14:	f8 27 a0 54 	st  %i4, [ %fp + 0x54 ]                        
 200dd18:	fa 27 a0 58 	st  %i5, [ %fp + 0x58 ]                        
 200dd1c:	d4 27 bf fc 	st  %o2, [ %fp + -4 ]                          
  if (rqdata != NULL && rqdata->info_level >= info_level)             
 200dd20:	80 a6 20 00 	cmp  %i0, 0                                    
 200dd24:	02 80 00 0c 	be  200dd54 <msdos_format_printf+0x4c>         <== NEVER TAKEN
 200dd28:	92 10 00 1a 	mov  %i2, %o1                                  
 200dd2c:	c2 06 20 1c 	ld  [ %i0 + 0x1c ], %g1                        
 200dd30:	80 a0 40 19 	cmp  %g1, %i1                                  
 200dd34:	06 80 00 08 	bl  200dd54 <msdos_format_printf+0x4c>         <== ALWAYS TAKEN
 200dd38:	3b 00 80 b1 	sethi  %hi(0x202c400), %i5                     
  {                                                                   
    vfprintf (stdout, format, args);                                  
 200dd3c:	c2 07 62 70 	ld  [ %i5 + 0x270 ], %g1	! 202c670 <_impure_ptr><== NOT EXECUTED
 200dd40:	40 00 55 89 	call  2023364 <vfprintf>                       <== NOT EXECUTED
 200dd44:	d0 00 60 08 	ld  [ %g1 + 8 ], %o0                           <== NOT EXECUTED
    fflush (stdout);                                                  
 200dd48:	c2 07 62 70 	ld  [ %i5 + 0x270 ], %g1                       <== NOT EXECUTED
 200dd4c:	40 00 36 bd 	call  201b840 <fflush>                         <== NOT EXECUTED
 200dd50:	d0 00 60 08 	ld  [ %g1 + 8 ], %o0                           <== NOT EXECUTED
 200dd54:	81 c7 e0 08 	ret                                            
 200dd58:	81 e8 00 00 	restore                                        
                                                                      

0200dd5c <msdos_format_write_sec>: ) /*-------------------------------------------------------------------------*\ | Return Value: | | 0, if success, -1 and errno if failed | \*=========================================================================*/ {
 200dd5c:	9d e3 bf a0 	save  %sp, -96, %sp                            
  int ret_val = 0;                                                    
                                                                      
  if (0 > lseek(fd,((off_t)start_sector)*sector_size,SEEK_SET)) {     
 200dd60:	94 10 20 00 	clr  %o2                                       
 200dd64:	96 10 00 1a 	mov  %i2, %o3                                  
 200dd68:	90 10 20 00 	clr  %o0                                       
 200dd6c:	40 00 69 e3 	call  20284f8 <__muldi3>                       
 200dd70:	92 10 00 19 	mov  %i1, %o1                                  
 200dd74:	84 10 00 08 	mov  %o0, %g2                                  
 200dd78:	86 10 00 09 	mov  %o1, %g3                                  
 200dd7c:	90 10 00 18 	mov  %i0, %o0                                  
 )                                                                    
/*-------------------------------------------------------------------------*\
| Return Value:                                                             |
|    0, if success, -1 and errno if failed                                  |
\*=========================================================================*/
{                                                                     
 200dd80:	ba 10 00 18 	mov  %i0, %i5                                  
  int ret_val = 0;                                                    
                                                                      
  if (0 > lseek(fd,((off_t)start_sector)*sector_size,SEEK_SET)) {     
 200dd84:	92 10 00 02 	mov  %g2, %o1                                  
 200dd88:	94 10 00 03 	mov  %g3, %o2                                  
 200dd8c:	96 10 20 00 	clr  %o3                                       
 200dd90:	7f ff e0 ce 	call  20060c8 <lseek>                          
 200dd94:	b0 10 3f ff 	mov  -1, %i0                                   
 200dd98:	80 a2 20 00 	cmp  %o0, 0                                    
 200dd9c:	06 80 00 06 	bl  200ddb4 <msdos_format_write_sec+0x58>      <== NEVER TAKEN
 200dda0:	90 10 00 1d 	mov  %i5, %o0                                  
    ret_val = -1;                                                     
  }                                                                   
  if (ret_val == 0) {                                                 
    if (0 > write(fd,buffer,sector_size)) {                           
 200dda4:	92 10 00 1b 	mov  %i3, %o1                                  
 200dda8:	7f ff ee 8d 	call  20097dc <write>                          
 200ddac:	94 10 00 1a 	mov  %i2, %o2                                  
 200ddb0:	b1 3a 20 1f 	sra  %o0, 0x1f, %i0                            
      ret_val = -1;                                                   
    }                                                                 
  }                                                                   
                                                                      
  return ret_val;                                                     
}                                                                     
 200ddb4:	81 c7 e0 08 	ret                                            
 200ddb8:	81 e8 00 00 	restore                                        
                                                                      

02017ccc <msdos_free_node_info>: * RC_OK on success, or -1 code if error occured * */ int msdos_free_node_info(rtems_filesystem_location_info_t *pathloc) {
 2017ccc:	9d e3 bf a0 	save  %sp, -96, %sp                            
    int                rc = RC_OK;                                    
    rtems_status_code  sc = RTEMS_SUCCESSFUL;                         
    msdos_fs_info_t   *fs_info = pathloc->mt_entry->fs_info;          
 2017cd0:	c2 06 20 10 	ld  [ %i0 + 0x10 ], %g1                        
                                                                      
    sc = rtems_semaphore_obtain(fs_info->vol_sema, RTEMS_WAIT,        
 2017cd4:	92 10 20 00 	clr  %o1                                       
int                                                                   
msdos_free_node_info(rtems_filesystem_location_info_t *pathloc)       
{                                                                     
    int                rc = RC_OK;                                    
    rtems_status_code  sc = RTEMS_SUCCESSFUL;                         
    msdos_fs_info_t   *fs_info = pathloc->mt_entry->fs_info;          
 2017cd8:	fa 00 60 34 	ld  [ %g1 + 0x34 ], %i5                        
                                                                      
    sc = rtems_semaphore_obtain(fs_info->vol_sema, RTEMS_WAIT,        
 2017cdc:	94 10 20 00 	clr  %o2                                       
 2017ce0:	7f ff c8 b1 	call  2009fa4 <rtems_semaphore_obtain>         
 2017ce4:	d0 07 60 98 	ld  [ %i5 + 0x98 ], %o0                        
                                MSDOS_VOLUME_SEMAPHORE_TIMEOUT);      
    if (sc != RTEMS_SUCCESSFUL)                                       
 2017ce8:	80 a2 20 00 	cmp  %o0, 0                                    
 2017cec:	22 80 00 08 	be,a   2017d0c <msdos_free_node_info+0x40>     <== ALWAYS TAKEN
 2017cf0:	d2 06 00 00 	ld  [ %i0 ], %o1                               
        rtems_set_errno_and_return_minus_one(EIO);                    
 2017cf4:	40 00 0d c3 	call  201b400 <__errno>                        <== NOT EXECUTED
 2017cf8:	b0 10 3f ff 	mov  -1, %i0                                   <== NOT EXECUTED
 2017cfc:	82 10 20 05 	mov  5, %g1                                    <== NOT EXECUTED
 2017d00:	c2 22 00 00 	st  %g1, [ %o0 ]                               <== NOT EXECUTED
 2017d04:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2017d08:	81 e8 00 00 	restore                                        <== NOT EXECUTED
                                                                      
    rc = fat_file_close(pathloc->mt_entry, pathloc->node_access);     
 2017d0c:	7f ff e9 17 	call  2012168 <fat_file_close>                 
 2017d10:	d0 06 20 10 	ld  [ %i0 + 0x10 ], %o0                        
 2017d14:	b0 10 00 08 	mov  %o0, %i0                                  
                                                                      
    rtems_semaphore_release(fs_info->vol_sema);                       
 2017d18:	7f ff c8 ed 	call  200a0cc <rtems_semaphore_release>        
 2017d1c:	d0 07 60 98 	ld  [ %i5 + 0x98 ], %o0                        
    return rc;                                                        
}                                                                     
 2017d20:	81 c7 e0 08 	ret                                            
 2017d24:	81 e8 00 00 	restore                                        
                                                                      

020190b0 <msdos_get_dotdot_dir_info_cluster_num_and_offset>: rtems_filesystem_mount_table_entry_t *mt_entry, uint32_t cln, fat_dir_pos_t *dir_pos, char *dir_entry ) {
 20190b0:	9d e3 bf 50 	save  %sp, -176, %sp                           <== NOT EXECUTED
    int              rc = RC_OK;                                      
    msdos_fs_info_t *fs_info = mt_entry->fs_info;                     
 20190b4:	e2 06 20 34 	ld  [ %i0 + 0x34 ], %l1                        <== NOT EXECUTED
    uint32_t         cl4find = 0;                                     
                                                                      
    /*                                                                
     * open fat-file corresponded to ".."                             
     */                                                               
    rc = fat_file_open(mt_entry, dir_pos, &fat_fd);                   
 20190b8:	90 10 00 18 	mov  %i0, %o0                                  <== NOT EXECUTED
    rtems_filesystem_mount_table_entry_t *mt_entry,                   
    uint32_t                              cln,                        
    fat_dir_pos_t                        *dir_pos,                    
    char                                 *dir_entry                   
    )                                                                 
{                                                                     
 20190bc:	ba 10 00 18 	mov  %i0, %i5                                  <== NOT EXECUTED
    int              rc = RC_OK;                                      
    msdos_fs_info_t *fs_info = mt_entry->fs_info;                     
    fat_file_fd_t   *fat_fd = NULL;                                   
 20190c0:	c0 27 bf fc 	clr  [ %fp + -4 ]                              <== NOT EXECUTED
    uint32_t         cl4find = 0;                                     
                                                                      
    /*                                                                
     * open fat-file corresponded to ".."                             
     */                                                               
    rc = fat_file_open(mt_entry, dir_pos, &fat_fd);                   
 20190c4:	92 10 00 1a 	mov  %i2, %o1                                  <== NOT EXECUTED
 20190c8:	7f ff e3 1d 	call  2011d3c <fat_file_open>                  <== NOT EXECUTED
 20190cc:	94 07 bf fc 	add  %fp, -4, %o2                              <== NOT EXECUTED
    if (rc != RC_OK)                                                  
 20190d0:	b0 92 20 00 	orcc  %o0, 0, %i0                              <== NOT EXECUTED
 20190d4:	12 80 00 9b 	bne  2019340 <msdos_get_dotdot_dir_info_cluster_num_and_offset+0x290><== NOT EXECUTED
 20190d8:	d2 07 bf fc 	ld  [ %fp + -4 ], %o1                          <== NOT EXECUTED
        return rc;                                                    
                                                                      
    fat_fd->cln = cln;                                                
    fat_fd->fat_file_type = FAT_DIRECTORY;                            
    fat_fd->size_limit = MSDOS_MAX_DIR_LENGHT;                        
 20190dc:	03 00 08 00 	sethi  %hi(0x200000), %g1                      <== NOT EXECUTED
     */                                                               
    rc = fat_file_open(mt_entry, dir_pos, &fat_fd);                   
    if (rc != RC_OK)                                                  
        return rc;                                                    
                                                                      
    fat_fd->cln = cln;                                                
 20190e0:	f2 22 60 1c 	st  %i1, [ %o1 + 0x1c ]                        <== NOT EXECUTED
    fat_fd->fat_file_type = FAT_DIRECTORY;                            
 20190e4:	a0 10 20 01 	mov  1, %l0                                    <== NOT EXECUTED
    fat_fd->size_limit = MSDOS_MAX_DIR_LENGHT;                        
 20190e8:	c2 22 60 14 	st  %g1, [ %o1 + 0x14 ]                        <== NOT EXECUTED
    rc = fat_file_open(mt_entry, dir_pos, &fat_fd);                   
    if (rc != RC_OK)                                                  
        return rc;                                                    
                                                                      
    fat_fd->cln = cln;                                                
    fat_fd->fat_file_type = FAT_DIRECTORY;                            
 20190ec:	e0 22 60 10 	st  %l0, [ %o1 + 0x10 ]                        <== NOT EXECUTED
    fat_fd->size_limit = MSDOS_MAX_DIR_LENGHT;                        
                                                                      
    fat_fd->map.file_cln = 0;                                         
 20190f0:	c0 22 60 34 	clr  [ %o1 + 0x34 ]                            <== NOT EXECUTED
    fat_fd->map.disk_cln = fat_fd->cln;                               
 20190f4:	f2 22 60 38 	st  %i1, [ %o1 + 0x38 ]                        <== NOT EXECUTED
                                                                      
    rc = fat_file_size(mt_entry, fat_fd);                             
 20190f8:	7f ff e5 cd 	call  201282c <fat_file_size>                  <== NOT EXECUTED
 20190fc:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
    if (rc != RC_OK)                                                  
 2019100:	b0 92 20 00 	orcc  %o0, 0, %i0                              <== NOT EXECUTED
 2019104:	12 80 00 1a 	bne  201916c <msdos_get_dotdot_dir_info_cluster_num_and_offset+0xbc><== NOT EXECUTED
 2019108:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
        fat_file_close(mt_entry, fat_fd);                             
        return rc;                                                    
    }                                                                 
                                                                      
    /* find "." node in opened directory */                           
    memset(dot_node, 0, MSDOS_DIRECTORY_ENTRY_STRUCT_SIZE);           
 201910c:	b2 07 bf b8 	add  %fp, -72, %i1                             <== NOT EXECUTED
 2019110:	92 10 20 00 	clr  %o1                                       <== NOT EXECUTED
 2019114:	94 10 20 20 	mov  0x20, %o2                                 <== NOT EXECUTED
 2019118:	40 00 0b c5 	call  201c02c <memset>                         <== NOT EXECUTED
 201911c:	90 10 00 19 	mov  %i1, %o0                                  <== NOT EXECUTED
    msdos_long_to_short(".", 1, dot_node, MSDOS_SHORT_NAME_LEN);      
 2019120:	39 00 80 a8 	sethi  %hi(0x202a000), %i4                     <== NOT EXECUTED
 2019124:	92 10 20 01 	mov  1, %o1                                    <== NOT EXECUTED
 2019128:	94 10 00 19 	mov  %i1, %o2                                  <== NOT EXECUTED
 201912c:	96 10 20 0b 	mov  0xb, %o3                                  <== NOT EXECUTED
 2019130:	7f ff fb 48 	call  2017e50 <msdos_long_to_short>            <== NOT EXECUTED
 2019134:	90 17 21 20 	or  %i4, 0x120, %o0                            <== NOT EXECUTED
    rc = msdos_find_name_in_fat_file(mt_entry, fat_fd, false, ".", 1, 
 2019138:	d2 07 bf fc 	ld  [ %fp + -4 ], %o1                          <== NOT EXECUTED
 201913c:	f4 23 a0 5c 	st  %i2, [ %sp + 0x5c ]                        <== NOT EXECUTED
 2019140:	f2 23 a0 60 	st  %i1, [ %sp + 0x60 ]                        <== NOT EXECUTED
 2019144:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
 2019148:	94 10 20 00 	clr  %o2                                       <== NOT EXECUTED
 201914c:	96 17 21 20 	or  %i4, 0x120, %o3                            <== NOT EXECUTED
 2019150:	98 10 20 01 	mov  1, %o4                                    <== NOT EXECUTED
 2019154:	7f ff fd 13 	call  20185a0 <msdos_find_name_in_fat_file>    <== NOT EXECUTED
 2019158:	9a 10 20 01 	mov  1, %o5                                    <== NOT EXECUTED
                                     MSDOS_NAME_SHORT, dir_pos, dot_node);
                                                                      
    if (rc != RC_OK)                                                  
 201915c:	b0 92 20 00 	orcc  %o0, 0, %i0                              <== NOT EXECUTED
 2019160:	02 80 00 05 	be  2019174 <msdos_get_dotdot_dir_info_cluster_num_and_offset+0xc4><== NOT EXECUTED
 2019164:	b8 07 bf d8 	add  %fp, -40, %i4                             <== NOT EXECUTED
    {                                                                 
        fat_file_close(mt_entry, fat_fd);                             
 2019168:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
 201916c:	10 80 00 73 	b  2019338 <msdos_get_dotdot_dir_info_cluster_num_and_offset+0x288><== NOT EXECUTED
 2019170:	d2 07 bf fc 	ld  [ %fp + -4 ], %o1                          <== NOT EXECUTED
        return rc;                                                    
    }                                                                 
                                                                      
    /* find ".." node in opened directory */                          
    memset(dotdot_node, 0, MSDOS_DIRECTORY_ENTRY_STRUCT_SIZE);        
 2019174:	92 10 20 00 	clr  %o1                                       <== NOT EXECUTED
 2019178:	94 10 20 20 	mov  0x20, %o2                                 <== NOT EXECUTED
 201917c:	40 00 0b ac 	call  201c02c <memset>                         <== NOT EXECUTED
 2019180:	90 10 00 1c 	mov  %i4, %o0                                  <== NOT EXECUTED
    msdos_long_to_short("..", 2, dotdot_node, MSDOS_SHORT_NAME_LEN);  
 2019184:	31 00 80 a7 	sethi  %hi(0x2029c00), %i0                     <== NOT EXECUTED
 2019188:	92 10 20 02 	mov  2, %o1                                    <== NOT EXECUTED
 201918c:	90 16 23 a8 	or  %i0, 0x3a8, %o0                            <== NOT EXECUTED
 2019190:	94 10 00 1c 	mov  %i4, %o2                                  <== NOT EXECUTED
 2019194:	7f ff fb 2f 	call  2017e50 <msdos_long_to_short>            <== NOT EXECUTED
 2019198:	96 10 20 0b 	mov  0xb, %o3                                  <== NOT EXECUTED
    rc = msdos_find_name_in_fat_file(mt_entry, fat_fd, false, "..", 2,
 201919c:	d2 07 bf fc 	ld  [ %fp + -4 ], %o1                          <== NOT EXECUTED
 20191a0:	96 16 23 a8 	or  %i0, 0x3a8, %o3                            <== NOT EXECUTED
 20191a4:	f4 23 a0 5c 	st  %i2, [ %sp + 0x5c ]                        <== NOT EXECUTED
 20191a8:	f8 23 a0 60 	st  %i4, [ %sp + 0x60 ]                        <== NOT EXECUTED
 20191ac:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
 20191b0:	94 10 20 00 	clr  %o2                                       <== NOT EXECUTED
 20191b4:	98 10 20 02 	mov  2, %o4                                    <== NOT EXECUTED
 20191b8:	7f ff fc fa 	call  20185a0 <msdos_find_name_in_fat_file>    <== NOT EXECUTED
 20191bc:	9a 10 20 01 	mov  1, %o5                                    <== NOT EXECUTED
                                     MSDOS_NAME_SHORT, dir_pos,       
                                     dotdot_node);                    
                                                                      
    if (rc != RC_OK)                                                  
 20191c0:	b0 92 20 00 	orcc  %o0, 0, %i0                              <== NOT EXECUTED
 20191c4:	12 80 00 44 	bne  20192d4 <msdos_get_dotdot_dir_info_cluster_num_and_offset+0x224><== NOT EXECUTED
 20191c8:	d2 07 bf fc 	ld  [ %fp + -4 ], %o1                          <== NOT EXECUTED
    {                                                                 
        fat_file_close(mt_entry, fat_fd);                             
        return rc;                                                    
    }                                                                 
                                                                      
    cl4find = MSDOS_EXTRACT_CLUSTER_NUM(dot_node);                    
 20191cc:	e4 16 60 1a 	lduh  [ %i1 + 0x1a ], %l2                      <== NOT EXECUTED
                                                                      
    /* close fat-file corresponded to ".." directory */               
    rc = fat_file_close(mt_entry, fat_fd);                            
 20191d0:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
 20191d4:	7f ff e3 e5 	call  2012168 <fat_file_close>                 <== NOT EXECUTED
 20191d8:	f2 16 60 14 	lduh  [ %i1 + 0x14 ], %i1                      <== NOT EXECUTED
    if ( rc != RC_OK )                                                
 20191dc:	b0 92 20 00 	orcc  %o0, 0, %i0                              <== NOT EXECUTED
 20191e0:	12 80 00 58 	bne  2019340 <msdos_get_dotdot_dir_info_cluster_num_and_offset+0x290><== NOT EXECUTED
 20191e4:	03 00 00 3f 	sethi  %hi(0xfc00), %g1                        <== NOT EXECUTED
        return rc;                                                    
                                                                      
    if ( (MSDOS_EXTRACT_CLUSTER_NUM(dotdot_node)) == 0)               
 20191e8:	c6 17 20 14 	lduh  [ %i4 + 0x14 ], %g3                      <== NOT EXECUTED
 20191ec:	c4 17 20 1a 	lduh  [ %i4 + 0x1a ], %g2                      <== NOT EXECUTED
 20191f0:	87 28 e0 10 	sll  %g3, 0x10, %g3                            <== NOT EXECUTED
 20191f4:	89 30 e0 18 	srl  %g3, 0x18, %g4                            <== NOT EXECUTED
 20191f8:	85 28 a0 10 	sll  %g2, 0x10, %g2                            <== NOT EXECUTED
 20191fc:	87 30 e0 08 	srl  %g3, 8, %g3                               <== NOT EXECUTED
 2019200:	82 10 63 ff 	or  %g1, 0x3ff, %g1                            <== NOT EXECUTED
 2019204:	86 08 c0 01 	and  %g3, %g1, %g3                             <== NOT EXECUTED
 2019208:	86 11 00 03 	or  %g4, %g3, %g3                              <== NOT EXECUTED
 201920c:	89 30 a0 18 	srl  %g2, 0x18, %g4                            <== NOT EXECUTED
 2019210:	87 28 e0 10 	sll  %g3, 0x10, %g3                            <== NOT EXECUTED
 2019214:	85 30 a0 08 	srl  %g2, 8, %g2                               <== NOT EXECUTED
 2019218:	82 08 80 01 	and  %g2, %g1, %g1                             <== NOT EXECUTED
 201921c:	82 11 00 01 	or  %g4, %g1, %g1                              <== NOT EXECUTED
 2019220:	80 90 c0 01 	orcc  %g3, %g1, %g0                            <== NOT EXECUTED
 2019224:	12 80 00 07 	bne  2019240 <msdos_get_dotdot_dir_info_cluster_num_and_offset+0x190><== NOT EXECUTED
 2019228:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
    fat_dir_pos_t *dir_pos                                            
    )                                                                 
{                                                                     
  dir_pos->sname.cln = 0;                                             
  dir_pos->sname.ofs = 0;                                             
  dir_pos->lname.cln = FAT_FILE_SHORT_NAME;                           
 201922c:	82 10 3f ff 	mov  -1, %g1                                   <== NOT EXECUTED
fat_dir_pos_init(                                                     
    fat_dir_pos_t *dir_pos                                            
    )                                                                 
{                                                                     
  dir_pos->sname.cln = 0;                                             
  dir_pos->sname.ofs = 0;                                             
 2019230:	c0 26 a0 04 	clr  [ %i2 + 4 ]                               <== NOT EXECUTED
  dir_pos->lname.cln = FAT_FILE_SHORT_NAME;                           
 2019234:	c2 26 a0 08 	st  %g1, [ %i2 + 8 ]                           <== NOT EXECUTED
  dir_pos->lname.ofs = FAT_FILE_SHORT_NAME;                           
 2019238:	c2 26 a0 0c 	st  %g1, [ %i2 + 0xc ]                         <== NOT EXECUTED
        /*                                                            
         * we handle root dir for all FAT types in the same way with the
         * ordinary directories ( through fat_file_* calls )          
         */                                                           
        fat_dir_pos_init(dir_pos);                                    
        dir_pos->sname.cln = FAT_ROOTDIR_CLUSTER_NUM;                 
 201923c:	e0 26 80 00 	st  %l0, [ %i2 ]                               <== NOT EXECUTED
    }                                                                 
                                                                      
    /* open fat-file corresponded to second ".." */                   
    rc = fat_file_open(mt_entry, dir_pos, &fat_fd);                   
 2019240:	92 10 00 1a 	mov  %i2, %o1                                  <== NOT EXECUTED
 2019244:	7f ff e2 be 	call  2011d3c <fat_file_open>                  <== NOT EXECUTED
 2019248:	94 07 bf fc 	add  %fp, -4, %o2                              <== NOT EXECUTED
    if (rc != RC_OK)                                                  
 201924c:	b0 92 20 00 	orcc  %o0, 0, %i0                              <== NOT EXECUTED
 2019250:	12 80 00 3c 	bne  2019340 <msdos_get_dotdot_dir_info_cluster_num_and_offset+0x290><== NOT EXECUTED
 2019254:	c8 17 bf f2 	lduh  [ %fp + -14 ], %g4                       <== NOT EXECUTED
        return rc;                                                    
                                                                      
    if ((MSDOS_EXTRACT_CLUSTER_NUM(dotdot_node)) == 0)                
 2019258:	f8 17 bf ec 	lduh  [ %fp + -20 ], %i4                       <== NOT EXECUTED
 201925c:	89 29 20 10 	sll  %g4, 0x10, %g4                            <== NOT EXECUTED
 2019260:	b9 2f 20 10 	sll  %i4, 0x10, %i4                            <== NOT EXECUTED
 2019264:	83 31 20 18 	srl  %g4, 0x18, %g1                            <== NOT EXECUTED
 2019268:	85 37 20 18 	srl  %i4, 0x18, %g2                            <== NOT EXECUTED
 201926c:	07 00 00 3f 	sethi  %hi(0xfc00), %g3                        <== NOT EXECUTED
 2019270:	b9 37 20 08 	srl  %i4, 8, %i4                               <== NOT EXECUTED
 2019274:	86 10 e3 ff 	or  %g3, 0x3ff, %g3                            <== NOT EXECUTED
 2019278:	89 31 20 08 	srl  %g4, 8, %g4                               <== NOT EXECUTED
 201927c:	b8 0f 00 03 	and  %i4, %g3, %i4                             <== NOT EXECUTED
 2019280:	84 10 80 1c 	or  %g2, %i4, %g2                              <== NOT EXECUTED
 2019284:	86 09 00 03 	and  %g4, %g3, %g3                             <== NOT EXECUTED
 2019288:	85 28 a0 10 	sll  %g2, 0x10, %g2                            <== NOT EXECUTED
 201928c:	82 10 40 03 	or  %g1, %g3, %g1                              <== NOT EXECUTED
 2019290:	82 90 80 01 	orcc  %g2, %g1, %g1                            <== NOT EXECUTED
 2019294:	12 80 00 03 	bne  20192a0 <msdos_get_dotdot_dir_info_cluster_num_and_offset+0x1f0><== NOT EXECUTED
 2019298:	d2 07 bf fc 	ld  [ %fp + -4 ], %o1                          <== NOT EXECUTED
        fat_fd->cln = fs_info->fat.vol.rdir_cl;                       
 201929c:	c2 04 60 38 	ld  [ %l1 + 0x38 ], %g1                        <== NOT EXECUTED
    else                                                              
        fat_fd->cln = MSDOS_EXTRACT_CLUSTER_NUM(dotdot_node);         
 20192a0:	c2 22 60 1c 	st  %g1, [ %o1 + 0x1c ]                        <== NOT EXECUTED
                                                                      
    fat_fd->fat_file_type = FAT_DIRECTORY;                            
 20192a4:	82 10 20 01 	mov  1, %g1                                    <== NOT EXECUTED
 20192a8:	c2 22 60 10 	st  %g1, [ %o1 + 0x10 ]                        <== NOT EXECUTED
    fat_fd->size_limit = MSDOS_MAX_DIR_LENGHT;                        
 20192ac:	03 00 08 00 	sethi  %hi(0x200000), %g1                      <== NOT EXECUTED
 20192b0:	c2 22 60 14 	st  %g1, [ %o1 + 0x14 ]                        <== NOT EXECUTED
                                                                      
    fat_fd->map.file_cln = 0;                                         
    fat_fd->map.disk_cln = fat_fd->cln;                               
 20192b4:	c2 02 60 1c 	ld  [ %o1 + 0x1c ], %g1                        <== NOT EXECUTED
        fat_fd->cln = MSDOS_EXTRACT_CLUSTER_NUM(dotdot_node);         
                                                                      
    fat_fd->fat_file_type = FAT_DIRECTORY;                            
    fat_fd->size_limit = MSDOS_MAX_DIR_LENGHT;                        
                                                                      
    fat_fd->map.file_cln = 0;                                         
 20192b8:	c0 22 60 34 	clr  [ %o1 + 0x34 ]                            <== NOT EXECUTED
    fat_fd->map.disk_cln = fat_fd->cln;                               
 20192bc:	c2 22 60 38 	st  %g1, [ %o1 + 0x38 ]                        <== NOT EXECUTED
                                                                      
    rc = fat_file_size(mt_entry, fat_fd);                             
 20192c0:	7f ff e5 5b 	call  201282c <fat_file_size>                  <== NOT EXECUTED
 20192c4:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
    if (rc != RC_OK)                                                  
 20192c8:	b0 92 20 00 	orcc  %o0, 0, %i0                              <== NOT EXECUTED
 20192cc:	02 80 00 04 	be  20192dc <msdos_get_dotdot_dir_info_cluster_num_and_offset+0x22c><== NOT EXECUTED
 20192d0:	d2 07 bf fc 	ld  [ %fp + -4 ], %o1                          <== NOT EXECUTED
    {                                                                 
        fat_file_close(mt_entry, fat_fd);                             
 20192d4:	10 80 00 19 	b  2019338 <msdos_get_dotdot_dir_info_cluster_num_and_offset+0x288><== NOT EXECUTED
 20192d8:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
    {                                                                 
        fat_file_close(mt_entry, fat_fd);                             
        return rc;                                                    
    }                                                                 
                                                                      
    cl4find = MSDOS_EXTRACT_CLUSTER_NUM(dot_node);                    
 20192dc:	b3 2e 60 10 	sll  %i1, 0x10, %i1                            <== NOT EXECUTED
 20192e0:	a5 2c a0 10 	sll  %l2, 0x10, %l2                            <== NOT EXECUTED
 20192e4:	95 36 60 18 	srl  %i1, 0x18, %o2                            <== NOT EXECUTED
 20192e8:	85 34 a0 18 	srl  %l2, 0x18, %g2                            <== NOT EXECUTED
 20192ec:	b3 36 60 08 	srl  %i1, 8, %i1                               <== NOT EXECUTED
 20192f0:	a5 34 a0 08 	srl  %l2, 8, %l2                               <== NOT EXECUTED
 20192f4:	03 00 00 3f 	sethi  %hi(0xfc00), %g1                        <== NOT EXECUTED
 20192f8:	82 10 63 ff 	or  %g1, 0x3ff, %g1	! ffff <PROM_START+0xffff> <== NOT EXECUTED
 20192fc:	b2 0e 40 01 	and  %i1, %g1, %i1                             <== NOT EXECUTED
 2019300:	82 0c 80 01 	and  %l2, %g1, %g1                             <== NOT EXECUTED
 2019304:	94 12 80 19 	or  %o2, %i1, %o2                              <== NOT EXECUTED
 2019308:	a4 10 80 01 	or  %g2, %g1, %l2                              <== NOT EXECUTED
 201930c:	95 2a a0 10 	sll  %o2, 0x10, %o2                            <== NOT EXECUTED
        fat_file_close(mt_entry, fat_fd);                             
        return rc;                                                    
    }                                                                 
                                                                      
    /* in this directory find slot with specified cluster num */      
    rc = msdos_find_node_by_cluster_num_in_fat_file(mt_entry, fat_fd, cl4find,
 2019310:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
 2019314:	94 12 80 12 	or  %o2, %l2, %o2                              <== NOT EXECUTED
 2019318:	96 10 00 1a 	mov  %i2, %o3                                  <== NOT EXECUTED
 201931c:	7f ff ff 00 	call  2018f1c <msdos_find_node_by_cluster_num_in_fat_file><== NOT EXECUTED
 2019320:	98 10 00 1b 	mov  %i3, %o4                                  <== NOT EXECUTED
 2019324:	d2 07 bf fc 	ld  [ %fp + -4 ], %o1                          <== NOT EXECUTED
 2019328:	b0 10 00 08 	mov  %o0, %i0                                  <== NOT EXECUTED
                                                    dir_pos, dir_entry);
    if (rc != RC_OK)                                                  
 201932c:	80 a6 20 00 	cmp  %i0, 0                                    <== NOT EXECUTED
 2019330:	02 80 00 06 	be  2019348 <msdos_get_dotdot_dir_info_cluster_num_and_offset+0x298><== NOT EXECUTED
 2019334:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
    {                                                                 
        fat_file_close(mt_entry, fat_fd);                             
 2019338:	7f ff e3 8c 	call  2012168 <fat_file_close>                 <== NOT EXECUTED
 201933c:	01 00 00 00 	nop                                            <== NOT EXECUTED
        return rc;                                                    
 2019340:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2019344:	81 e8 00 00 	restore                                        <== NOT EXECUTED
    }                                                                 
    rc = fat_file_close(mt_entry, fat_fd);                            
 2019348:	7f ff e3 88 	call  2012168 <fat_file_close>                 <== NOT EXECUTED
 201934c:	01 00 00 00 	nop                                            <== NOT EXECUTED
 2019350:	b0 10 00 08 	mov  %o0, %i0                                  <== NOT EXECUTED
    return rc;                                                        
}                                                                     
 2019354:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2019358:	81 e8 00 00 	restore                                        <== NOT EXECUTED
                                                                      

0201935c <msdos_get_name_node>: int name_len, msdos_name_type_t name_type, fat_dir_pos_t *dir_pos, char *name_dir_entry ) {
 201935c:	9d e3 bf 98 	save  %sp, -104, %sp                           
    int              rc = RC_OK;                                      
    fat_file_fd_t   *fat_fd = parent_loc->node_access;                
    uint32_t         dotdot_cln = 0;                                  
                                                                      
    /* find name in fat-file which corresponds to the directory */    
    rc = msdos_find_name_in_fat_file(parent_loc->mt_entry, fat_fd,    
 2019360:	d0 06 20 10 	ld  [ %i0 + 0x10 ], %o0                        
 2019364:	d2 06 00 00 	ld  [ %i0 ], %o1                               
    int                               name_len,                       
    msdos_name_type_t                 name_type,                      
    fat_dir_pos_t                    *dir_pos,                        
    char                             *name_dir_entry                  
    )                                                                 
{                                                                     
 2019368:	e0 07 a0 5c 	ld  [ %fp + 0x5c ], %l0                        
    int              rc = RC_OK;                                      
    fat_file_fd_t   *fat_fd = parent_loc->node_access;                
    uint32_t         dotdot_cln = 0;                                  
                                                                      
    /* find name in fat-file which corresponds to the directory */    
    rc = msdos_find_name_in_fat_file(parent_loc->mt_entry, fat_fd,    
 201936c:	9a 10 00 1c 	mov  %i4, %o5                                  
 2019370:	fa 23 a0 5c 	st  %i5, [ %sp + 0x5c ]                        
 2019374:	e0 23 a0 60 	st  %l0, [ %sp + 0x60 ]                        
 2019378:	94 10 00 19 	mov  %i1, %o2                                  
 201937c:	96 10 00 1a 	mov  %i2, %o3                                  
 2019380:	7f ff fc 88 	call  20185a0 <msdos_find_name_in_fat_file>    
 2019384:	98 10 00 1b 	mov  %i3, %o4                                  
                                     create_node, name, name_len, name_type,
                                     dir_pos, name_dir_entry);        
    if ((rc != RC_OK) && (rc != MSDOS_NAME_NOT_FOUND_ERR))            
 2019388:	03 00 00 1f 	sethi  %hi(0x7c00), %g1                        
 201938c:	82 10 61 01 	or  %g1, 0x101, %g1	! 7d01 <PROM_START+0x7d01> 
 2019390:	80 a2 00 01 	cmp  %o0, %g1                                  
 2019394:	02 80 00 05 	be  20193a8 <msdos_get_name_node+0x4c>         
 2019398:	b8 10 00 08 	mov  %o0, %i4                                  
 201939c:	80 a2 20 00 	cmp  %o0, 0                                    
 20193a0:	12 80 00 2d 	bne  2019454 <msdos_get_name_node+0xf8>        <== NEVER TAKEN
 20193a4:	01 00 00 00 	nop                                            
        return rc;                                                    
                                                                      
    if (!create_node)                                                 
 20193a8:	80 a6 60 00 	cmp  %i1, 0                                    
 20193ac:	12 80 00 2a 	bne  2019454 <msdos_get_name_node+0xf8>        
 20193b0:	03 00 00 1f 	sethi  %hi(0x7c00), %g1                        
    {                                                                 
        /* if we search for valid name and name not found -> return */
        if (rc == MSDOS_NAME_NOT_FOUND_ERR)                           
 20193b4:	82 10 61 01 	or  %g1, 0x101, %g1	! 7d01 <PROM_START+0x7d01> 
 20193b8:	80 a7 00 01 	cmp  %i4, %g1                                  
 20193bc:	02 80 00 26 	be  2019454 <msdos_get_name_node+0xf8>         
 20193c0:	80 a7 20 00 	cmp  %i4, 0                                    
         * if we have deal with ".." - it is a special case :(((      
         *                                                            
         * Really, we should return cluster num and offset not of ".." slot, but
         * slot which correspondes to real directory name.            
         */                                                           
        if (rc == RC_OK)                                              
 20193c4:	12 80 00 24 	bne  2019454 <msdos_get_name_node+0xf8>        <== NEVER TAKEN
 20193c8:	90 10 00 1a 	mov  %i2, %o0                                  
        {                                                             
            if (strncmp(name, "..", 2) == 0)                          
 20193cc:	13 00 80 a7 	sethi  %hi(0x2029c00), %o1                     
 20193d0:	94 10 20 02 	mov  2, %o2                                    
 20193d4:	40 00 0e 86 	call  201cdec <strncmp>                        
 20193d8:	92 12 63 a8 	or  %o1, 0x3a8, %o1                            
 20193dc:	80 a2 20 00 	cmp  %o0, 0                                    
 20193e0:	12 80 00 1d 	bne  2019454 <msdos_get_name_node+0xf8>        
 20193e4:	05 00 00 3f 	sethi  %hi(0xfc00), %g2                        
            {                                                         
                dotdot_cln = MSDOS_EXTRACT_CLUSTER_NUM((name_dir_entry));
 20193e8:	c6 14 20 1a 	lduh  [ %l0 + 0x1a ], %g3                      
 20193ec:	c8 14 20 14 	lduh  [ %l0 + 0x14 ], %g4                      
 20193f0:	87 28 e0 10 	sll  %g3, 0x10, %g3                            
 20193f4:	89 29 20 10 	sll  %g4, 0x10, %g4                            
 20193f8:	b3 30 e0 18 	srl  %g3, 0x18, %i1                            
 20193fc:	83 31 20 18 	srl  %g4, 0x18, %g1                            
 2019400:	89 31 20 08 	srl  %g4, 8, %g4                               
 2019404:	84 10 a3 ff 	or  %g2, 0x3ff, %g2                            
 2019408:	87 30 e0 08 	srl  %g3, 8, %g3                               
 201940c:	88 09 00 02 	and  %g4, %g2, %g4                             
 2019410:	84 08 c0 02 	and  %g3, %g2, %g2                             
 2019414:	82 10 40 04 	or  %g1, %g4, %g1                              
 2019418:	b2 16 40 02 	or  %i1, %g2, %i1                              
 201941c:	83 28 60 10 	sll  %g1, 0x10, %g1                            
                                                                      
                /* are we right under root dir ? */                   
                if (dotdot_cln == 0)                                  
 2019420:	b2 90 40 19 	orcc  %g1, %i1, %i1                            
 2019424:	12 80 00 08 	bne  2019444 <msdos_get_name_node+0xe8>        <== NEVER TAKEN
 2019428:	82 10 3f ff 	mov  -1, %g1                                   
fat_dir_pos_init(                                                     
    fat_dir_pos_t *dir_pos                                            
    )                                                                 
{                                                                     
  dir_pos->sname.cln = 0;                                             
  dir_pos->sname.ofs = 0;                                             
 201942c:	c0 27 60 04 	clr  [ %i5 + 4 ]                               
  dir_pos->lname.cln = FAT_FILE_SHORT_NAME;                           
 2019430:	c2 27 60 08 	st  %g1, [ %i5 + 8 ]                           
  dir_pos->lname.ofs = FAT_FILE_SHORT_NAME;                           
 2019434:	c2 27 60 0c 	st  %g1, [ %i5 + 0xc ]                         
                    /*                                                
                     * we can relax about first_char field - it never should be
                     * used for root dir                              
                     */                                               
                    fat_dir_pos_init(dir_pos);                        
                    dir_pos->sname.cln = FAT_ROOTDIR_CLUSTER_NUM;     
 2019438:	82 10 20 01 	mov  1, %g1                                    
 201943c:	10 80 00 06 	b  2019454 <msdos_get_name_node+0xf8>          
 2019440:	c2 27 40 00 	st  %g1, [ %i5 ]                               
                }                                                     
                else                                                  
                {                                                     
                    rc =                                              
 2019444:	f0 06 20 10 	ld  [ %i0 + 0x10 ], %i0                        <== NOT EXECUTED
 2019448:	b4 10 00 1d 	mov  %i5, %i2                                  <== NOT EXECUTED
 201944c:	7f ff ff 19 	call  20190b0 <msdos_get_dotdot_dir_info_cluster_num_and_offset><== NOT EXECUTED
 2019450:	97 e8 00 10 	restore  %g0, %l0, %o3                         <== NOT EXECUTED
                }                                                     
            }                                                         
        }                                                             
    }                                                                 
    return rc;                                                        
}                                                                     
 2019454:	81 c7 e0 08 	ret                                            
 2019458:	91 e8 00 1c 	restore  %g0, %i4, %o0                         
                                                                      

0201804c <msdos_get_token>: msdos_token_types_t msdos_get_token(const char *path, int pathlen, const char **ret_token, int *ret_token_len) {
 201804c:	9d e3 bf a0 	save  %sp, -96, %sp                            
    msdos_token_types_t type = MSDOS_NAME;                            
    int                 i = 0;                                        
                                                                      
    *ret_token = NULL;                                                
 2018050:	c0 26 80 00 	clr  [ %i2 ]                                   
    *ret_token_len = 0;                                               
 2018054:	c0 26 c0 00 	clr  [ %i3 ]                                   
msdos_token_types_t                                                   
msdos_get_token(const char  *path,                                    
                int          pathlen,                                 
                const char **ret_token,                               
                int         *ret_token_len)                           
{                                                                     
 2018058:	ba 10 00 18 	mov  %i0, %i5                                  
    int                 i = 0;                                        
                                                                      
    *ret_token = NULL;                                                
    *ret_token_len = 0;                                               
                                                                      
    if (pathlen == 0)                                                 
 201805c:	b8 10 20 00 	clr  %i4                                       
 2018060:	80 a6 60 00 	cmp  %i1, 0                                    
 2018064:	12 80 00 0b 	bne  2018090 <msdos_get_token+0x44>            
 2018068:	b0 10 20 00 	clr  %i0                                       
 201806c:	30 80 00 34 	b,a   201813c <msdos_get_token+0xf0>           
    /*                                                                
     *  Check for a separator.                                        
     */                                                               
    while (!msdos_is_separator(path[i]) && (i < pathlen))             
    {                                                                 
        if ( !msdos_is_valid_name_char(path[i]) )                     
 2018070:	7f ff ff 5d 	call  2017de4 <msdos_is_valid_name_char>       
 2018074:	d0 4f 40 1c 	ldsb  [ %i5 + %i4 ], %o0                       
 2018078:	80 a2 20 00 	cmp  %o0, 0                                    
 201807c:	02 80 00 2f 	be  2018138 <msdos_get_token+0xec>             <== NEVER TAKEN
 2018080:	b8 07 20 01 	inc  %i4                                       
            return MSDOS_INVALID_TOKEN;                               
        ++i;                                                          
        if ( i == MSDOS_NAME_MAX_LFN_WITH_DOT )                       
 2018084:	80 a7 21 04 	cmp  %i4, 0x104                                
 2018088:	02 80 00 2d 	be  201813c <msdos_get_token+0xf0>             <== NEVER TAKEN
 201808c:	b0 10 20 04 	mov  4, %i0                                    
        return MSDOS_NO_MORE_PATH;                                    
                                                                      
    /*                                                                
     *  Check for a separator.                                        
     */                                                               
    while (!msdos_is_separator(path[i]) && (i < pathlen))             
 2018090:	7f ff bc df 	call  200740c <rtems_filesystem_is_separator>  
 2018094:	d0 4f 40 1c 	ldsb  [ %i5 + %i4 ], %o0                       
 2018098:	80 a2 20 00 	cmp  %o0, 0                                    
 201809c:	12 80 00 04 	bne  20180ac <msdos_get_token+0x60>            
 20180a0:	80 a7 00 19 	cmp  %i4, %i1                                  
 20180a4:	06 bf ff f3 	bl  2018070 <msdos_get_token+0x24>             <== ALWAYS TAKEN
 20180a8:	01 00 00 00 	nop                                            
        ++i;                                                          
        if ( i == MSDOS_NAME_MAX_LFN_WITH_DOT )                       
            return MSDOS_INVALID_TOKEN;                               
    }                                                                 
                                                                      
    *ret_token = path;                                                
 20180ac:	fa 26 80 00 	st  %i5, [ %i2 ]                               
                                                                      
    /*                                                                
     *  If it is just a separator then it is the current dir.         
     */                                                               
    if ( i == 0 )                                                     
 20180b0:	80 a7 20 00 	cmp  %i4, 0                                    
 20180b4:	12 80 00 09 	bne  20180d8 <msdos_get_token+0x8c>            
 20180b8:	b0 10 20 03 	mov  3, %i0                                    
    {                                                                 
      if ( (*path != '\0') && pathlen )                               
 20180bc:	c2 4f 40 00 	ldsb  [ %i5 ], %g1                             
        {                                                             
            i++;                                                      
 20180c0:	b8 10 20 01 	mov  1, %i4                                    
    /*                                                                
     *  If it is just a separator then it is the current dir.         
     */                                                               
    if ( i == 0 )                                                     
    {                                                                 
      if ( (*path != '\0') && pathlen )                               
 20180c4:	80 a0 60 00 	cmp  %g1, 0                                    
 20180c8:	12 80 00 04 	bne  20180d8 <msdos_get_token+0x8c>            
 20180cc:	b0 10 20 01 	mov  1, %i0                                    
 20180d0:	b8 10 20 00 	clr  %i4                                       
        {                                                             
            i++;                                                      
            type = MSDOS_CURRENT_DIR;                                 
        }                                                             
        else                                                          
            type = MSDOS_NO_MORE_PATH;                                
 20180d4:	b0 10 20 00 	clr  %i0                                       
                                                                      
    /*                                                                
     *  If we copied something that was not a seperator see if        
     *  it was a special name.                                        
     */                                                               
    if ( type == MSDOS_NAME )                                         
 20180d8:	80 a6 20 03 	cmp  %i0, 3                                    
 20180dc:	12 80 00 18 	bne  201813c <msdos_get_token+0xf0>            
 20180e0:	f8 26 c0 00 	st  %i4, [ %i3 ]                               
    {                                                                 
        if ((i == 2) && ((*ret_token)[0] == '.') && ((*ret_token)[1] == '.'))
 20180e4:	80 a7 20 02 	cmp  %i4, 2                                    
 20180e8:	12 80 00 0c 	bne  2018118 <msdos_get_token+0xcc>            
 20180ec:	80 a7 20 01 	cmp  %i4, 1                                    
 20180f0:	c2 4f 40 00 	ldsb  [ %i5 ], %g1                             
 20180f4:	80 a0 60 2e 	cmp  %g1, 0x2e                                 
 20180f8:	12 80 00 11 	bne  201813c <msdos_get_token+0xf0>            <== NEVER TAKEN
 20180fc:	01 00 00 00 	nop                                            
 2018100:	c2 4f 60 01 	ldsb  [ %i5 + 1 ], %g1                         
 2018104:	80 a0 60 2e 	cmp  %g1, 0x2e                                 
 2018108:	12 80 00 0d 	bne  201813c <msdos_get_token+0xf0>            <== NEVER TAKEN
 201810c:	01 00 00 00 	nop                                            
        {                                                             
            type = MSDOS_UP_DIR;                                      
            return type;                                              
 2018110:	81 c7 e0 08 	ret                                            
 2018114:	91 e8 20 02 	restore  %g0, 2, %o0                           
        }                                                             
                                                                      
        if ((i == 1) && ((*ret_token)[0] == '.'))                     
 2018118:	12 80 00 09 	bne  201813c <msdos_get_token+0xf0>            
 201811c:	01 00 00 00 	nop                                            
 2018120:	c2 4f 40 00 	ldsb  [ %i5 ], %g1                             
 2018124:	80 a0 60 2e 	cmp  %g1, 0x2e                                 
 2018128:	12 80 00 05 	bne  201813c <msdos_get_token+0xf0>            <== NEVER TAKEN
 201812c:	01 00 00 00 	nop                                            
        {                                                             
            type = MSDOS_CURRENT_DIR;                                 
            return type;                                              
 2018130:	81 c7 e0 08 	ret                                            
 2018134:	91 e8 20 01 	restore  %g0, 1, %o0                           
 2018138:	b0 10 20 04 	mov  4, %i0                                    <== NOT EXECUTED
        }                                                             
    }                                                                 
                                                                      
    return type;                                                      
}                                                                     
 201813c:	81 c7 e0 08 	ret                                            
 2018140:	81 e8 00 00 	restore                                        
                                                                      

0200ebd8 <msdos_initialize_support>: rtems_filesystem_mount_table_entry_t *temp_mt_entry, const rtems_filesystem_operations_table *op_table, const rtems_filesystem_file_handlers_r *file_handlers, const rtems_filesystem_file_handlers_r *directory_handlers ) {
 200ebd8:	9d e3 bf 88 	save  %sp, -120, %sp                           
    msdos_fs_info_t   *fs_info = NULL;                                
    fat_file_fd_t     *fat_fd = NULL;                                 
    fat_dir_pos_t      root_pos;                                      
    uint32_t           cl_buf_size;                                   
                                                                      
    fs_info = (msdos_fs_info_t *)calloc(1, sizeof(msdos_fs_info_t));  
 200ebdc:	90 10 20 01 	mov  1, %o0                                    
    )                                                                 
{                                                                     
    int                rc = RC_OK;                                    
    rtems_status_code  sc = RTEMS_SUCCESSFUL;                         
    msdos_fs_info_t   *fs_info = NULL;                                
    fat_file_fd_t     *fat_fd = NULL;                                 
 200ebe0:	c0 27 bf fc 	clr  [ %fp + -4 ]                              
    fat_dir_pos_t      root_pos;                                      
    uint32_t           cl_buf_size;                                   
                                                                      
    fs_info = (msdos_fs_info_t *)calloc(1, sizeof(msdos_fs_info_t));  
 200ebe4:	92 10 20 a0 	mov  0xa0, %o1                                 
 200ebe8:	7f ff da ee 	call  20057a0 <calloc>                         
 200ebec:	ba 10 00 18 	mov  %i0, %i5                                  
    if (!fs_info)                                                     
 200ebf0:	b8 92 20 00 	orcc  %o0, 0, %i4                              
 200ebf4:	02 80 00 48 	be  200ed14 <msdos_initialize_support+0x13c>   <== NEVER TAKEN
 200ebf8:	01 00 00 00 	nop                                            
        rtems_set_errno_and_return_minus_one(ENOMEM);                 
                                                                      
    temp_mt_entry->fs_info = fs_info;                                 
 200ebfc:	f8 26 20 34 	st  %i4, [ %i0 + 0x34 ]                        
                                                                      
    rc = fat_init_volume_info(temp_mt_entry);                         
 200ec00:	40 00 11 63 	call  201318c <fat_init_volume_info>           
 200ec04:	90 10 00 18 	mov  %i0, %o0                                  
    if (rc != RC_OK)                                                  
 200ec08:	b0 92 20 00 	orcc  %o0, 0, %i0                              
 200ec0c:	12 80 00 13 	bne  200ec58 <msdos_initialize_support+0x80>   <== NEVER TAKEN
 200ec10:	01 00 00 00 	nop                                            
    fat_dir_pos_t *dir_pos                                            
    )                                                                 
{                                                                     
  dir_pos->sname.cln = 0;                                             
  dir_pos->sname.ofs = 0;                                             
  dir_pos->lname.cln = FAT_FILE_SHORT_NAME;                           
 200ec14:	82 10 3f ff 	mov  -1, %g1	! ffffffff <RAM_END+0xfdbfffff>   
    {                                                                 
        free(fs_info);                                                
        return rc;                                                    
    }                                                                 
                                                                      
    fs_info->file_handlers      = file_handlers;                      
 200ec18:	f4 27 20 94 	st  %i2, [ %i4 + 0x94 ]                        
    fs_info->directory_handlers = directory_handlers;                 
 200ec1c:	f6 27 20 90 	st  %i3, [ %i4 + 0x90 ]                        
fat_dir_pos_init(                                                     
    fat_dir_pos_t *dir_pos                                            
    )                                                                 
{                                                                     
  dir_pos->sname.cln = 0;                                             
  dir_pos->sname.ofs = 0;                                             
 200ec20:	c0 27 bf f0 	clr  [ %fp + -16 ]                             
  dir_pos->lname.cln = FAT_FILE_SHORT_NAME;                           
 200ec24:	c2 27 bf f4 	st  %g1, [ %fp + -12 ]                         
  dir_pos->lname.ofs = FAT_FILE_SHORT_NAME;                           
 200ec28:	c2 27 bf f8 	st  %g1, [ %fp + -8 ]                          
    /*                                                                
     * open fat-file which correspondes to  root directory            
     * (so inode number 0x00000010 is always used for root directory) 
     */                                                               
    fat_dir_pos_init(&root_pos);                                      
    root_pos.sname.cln = FAT_ROOTDIR_CLUSTER_NUM;                     
 200ec2c:	b4 10 20 01 	mov  1, %i2                                    
    rc = fat_file_open(temp_mt_entry, &root_pos, &fat_fd);            
 200ec30:	90 10 00 1d 	mov  %i5, %o0                                  
    /*                                                                
     * open fat-file which correspondes to  root directory            
     * (so inode number 0x00000010 is always used for root directory) 
     */                                                               
    fat_dir_pos_init(&root_pos);                                      
    root_pos.sname.cln = FAT_ROOTDIR_CLUSTER_NUM;                     
 200ec34:	f4 27 bf ec 	st  %i2, [ %fp + -20 ]                         
    rc = fat_file_open(temp_mt_entry, &root_pos, &fat_fd);            
 200ec38:	92 07 bf ec 	add  %fp, -20, %o1                             
 200ec3c:	40 00 0c 40 	call  2011d3c <fat_file_open>                  
 200ec40:	94 07 bf fc 	add  %fp, -4, %o2                              
    if (rc != RC_OK)                                                  
 200ec44:	b0 92 20 00 	orcc  %o0, 0, %i0                              
 200ec48:	02 80 00 08 	be  200ec68 <msdos_initialize_support+0x90>    <== ALWAYS TAKEN
 200ec4c:	d2 07 bf fc 	ld  [ %fp + -4 ], %o1                          
    {                                                                 
        fat_shutdown_drive(temp_mt_entry);                            
 200ec50:	40 00 11 0a 	call  2013078 <fat_shutdown_drive>             <== NOT EXECUTED
 200ec54:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
        free(fs_info);                                                
 200ec58:	7f ff dc 05 	call  2005c6c <free>                           <== NOT EXECUTED
 200ec5c:	90 10 00 1c 	mov  %i4, %o0                                  <== NOT EXECUTED
        return rc;                                                    
 200ec60:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 200ec64:	81 e8 00 00 	restore                                        <== NOT EXECUTED
    }                                                                 
                                                                      
    /* again: unfortunately "fat-file" is just almost fat file :( */  
    fat_fd->fat_file_type = FAT_DIRECTORY;                            
    fat_fd->size_limit = MSDOS_MAX_DIR_LENGHT;                        
 200ec68:	03 00 08 00 	sethi  %hi(0x200000), %g1                      
 200ec6c:	c2 22 60 14 	st  %g1, [ %o1 + 0x14 ]                        
    fat_fd->cln = fs_info->fat.vol.rdir_cl;                           
 200ec70:	c2 07 20 38 	ld  [ %i4 + 0x38 ], %g1                        
        free(fs_info);                                                
        return rc;                                                    
    }                                                                 
                                                                      
    /* again: unfortunately "fat-file" is just almost fat file :( */  
    fat_fd->fat_file_type = FAT_DIRECTORY;                            
 200ec74:	f4 22 60 10 	st  %i2, [ %o1 + 0x10 ]                        
    fat_fd->size_limit = MSDOS_MAX_DIR_LENGHT;                        
    fat_fd->cln = fs_info->fat.vol.rdir_cl;                           
 200ec78:	c2 22 60 1c 	st  %g1, [ %o1 + 0x1c ]                        
                                                                      
    fat_fd->map.file_cln = 0;                                         
 200ec7c:	c0 22 60 34 	clr  [ %o1 + 0x34 ]                            
    fat_fd->map.disk_cln = fat_fd->cln;                               
                                                                      
    /* if we have FAT12/16 */                                         
    if ( fat_fd->cln == 0 )                                           
 200ec80:	80 a0 60 00 	cmp  %g1, 0                                    
 200ec84:	12 80 00 09 	bne  200eca8 <msdos_initialize_support+0xd0>   <== NEVER TAKEN
 200ec88:	c2 22 60 38 	st  %g1, [ %o1 + 0x38 ]                        
    {                                                                 
        fat_fd->fat_file_size = fs_info->fat.vol.rdir_size;           
 200ec8c:	c2 07 20 28 	ld  [ %i4 + 0x28 ], %g1                        
        cl_buf_size = (fs_info->fat.vol.bpc > fs_info->fat.vol.rdir_size) ?
                      fs_info->fat.vol.bpc                                :
 200ec90:	d0 17 20 06 	lduh  [ %i4 + 6 ], %o0                         
                                                                      
    /* if we have FAT12/16 */                                         
    if ( fat_fd->cln == 0 )                                           
    {                                                                 
        fat_fd->fat_file_size = fs_info->fat.vol.rdir_size;           
        cl_buf_size = (fs_info->fat.vol.bpc > fs_info->fat.vol.rdir_size) ?
 200ec94:	80 a2 00 01 	cmp  %o0, %g1                                  
 200ec98:	1a 80 00 13 	bcc  200ece4 <msdos_initialize_support+0x10c>  <== NEVER TAKEN
 200ec9c:	c2 22 60 18 	st  %g1, [ %o1 + 0x18 ]                        
 200eca0:	10 80 00 11 	b  200ece4 <msdos_initialize_support+0x10c>    
 200eca4:	90 10 00 01 	mov  %g1, %o0                                  
                      fs_info->fat.vol.bpc                                :
                      fs_info->fat.vol.rdir_size;                     
    }                                                                 
    else                                                              
    {                                                                 
        rc = fat_file_size(temp_mt_entry, fat_fd);                    
 200eca8:	40 00 0e e1 	call  201282c <fat_file_size>                  <== NOT EXECUTED
 200ecac:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
        if ( rc != RC_OK )                                            
 200ecb0:	b4 92 20 00 	orcc  %o0, 0, %i2                              <== NOT EXECUTED
 200ecb4:	22 80 00 0c 	be,a   200ece4 <msdos_initialize_support+0x10c><== NOT EXECUTED
 200ecb8:	d0 17 20 06 	lduh  [ %i4 + 6 ], %o0                         <== NOT EXECUTED
        {                                                             
            fat_file_close(temp_mt_entry, fat_fd);                    
 200ecbc:	d2 07 bf fc 	ld  [ %fp + -4 ], %o1                          <== NOT EXECUTED
 200ecc0:	40 00 0d 2a 	call  2012168 <fat_file_close>                 <== NOT EXECUTED
 200ecc4:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
            fat_shutdown_drive(temp_mt_entry);                        
 200ecc8:	40 00 10 ec 	call  2013078 <fat_shutdown_drive>             <== NOT EXECUTED
 200eccc:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
            free(fs_info);                                            
 200ecd0:	90 10 00 1c 	mov  %i4, %o0                                  <== NOT EXECUTED
 200ecd4:	7f ff db e6 	call  2005c6c <free>                           <== NOT EXECUTED
 200ecd8:	b0 10 00 1a 	mov  %i2, %i0                                  <== NOT EXECUTED
            return rc;                                                
 200ecdc:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 200ece0:	81 e8 00 00 	restore                                        <== NOT EXECUTED
        }                                                             
        cl_buf_size = fs_info->fat.vol.bpc;                           
    }                                                                 
                                                                      
    fs_info->cl_buf = (uint8_t *)calloc(cl_buf_size, sizeof(char));   
 200ece4:	7f ff da af 	call  20057a0 <calloc>                         
 200ece8:	92 10 20 01 	mov  1, %o1                                    
    if (fs_info->cl_buf == NULL)                                      
 200ecec:	80 a2 20 00 	cmp  %o0, 0                                    
 200ecf0:	12 80 00 0d 	bne  200ed24 <msdos_initialize_support+0x14c>  <== ALWAYS TAKEN
 200ecf4:	d0 27 20 9c 	st  %o0, [ %i4 + 0x9c ]                        
    {                                                                 
        fat_file_close(temp_mt_entry, fat_fd);                        
 200ecf8:	d2 07 bf fc 	ld  [ %fp + -4 ], %o1                          <== NOT EXECUTED
 200ecfc:	40 00 0d 1b 	call  2012168 <fat_file_close>                 <== NOT EXECUTED
 200ed00:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
        fat_shutdown_drive(temp_mt_entry);                            
 200ed04:	40 00 10 dd 	call  2013078 <fat_shutdown_drive>             <== NOT EXECUTED
 200ed08:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
        free(fs_info);                                                
 200ed0c:	7f ff db d8 	call  2005c6c <free>                           <== NOT EXECUTED
 200ed10:	90 10 00 1c 	mov  %i4, %o0                                  <== NOT EXECUTED
        rtems_set_errno_and_return_minus_one(ENOMEM);                 
 200ed14:	40 00 31 bb 	call  201b400 <__errno>                        <== NOT EXECUTED
 200ed18:	01 00 00 00 	nop                                            <== NOT EXECUTED
 200ed1c:	10 80 00 16 	b  200ed74 <msdos_initialize_support+0x19c>    <== NOT EXECUTED
 200ed20:	82 10 20 0c 	mov  0xc, %g1	! c <PROM_START+0xc>             <== NOT EXECUTED
    }                                                                 
                                                                      
    sc = rtems_semaphore_create(3,                                    
 200ed24:	92 10 20 01 	mov  1, %o1                                    
 200ed28:	90 10 20 03 	mov  3, %o0                                    
 200ed2c:	94 10 20 10 	mov  0x10, %o2                                 
 200ed30:	96 10 20 00 	clr  %o3                                       
 200ed34:	7f ff ec 02 	call  2009d3c <rtems_semaphore_create>         
 200ed38:	98 07 20 98 	add  %i4, 0x98, %o4                            
                                1,                                    
                                RTEMS_BINARY_SEMAPHORE | RTEMS_FIFO,  
                                0,                                    
                                &fs_info->vol_sema);                  
    if (sc != RTEMS_SUCCESSFUL)                                       
 200ed3c:	80 a2 20 00 	cmp  %o0, 0                                    
 200ed40:	02 80 00 10 	be  200ed80 <msdos_initialize_support+0x1a8>   <== ALWAYS TAKEN
 200ed44:	d2 07 bf fc 	ld  [ %fp + -4 ], %o1                          
    {                                                                 
        fat_file_close(temp_mt_entry, fat_fd);                        
 200ed48:	40 00 0d 08 	call  2012168 <fat_file_close>                 <== NOT EXECUTED
 200ed4c:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
        fat_shutdown_drive(temp_mt_entry);                            
 200ed50:	40 00 10 ca 	call  2013078 <fat_shutdown_drive>             <== NOT EXECUTED
 200ed54:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
        free(fs_info->cl_buf);                                        
 200ed58:	7f ff db c5 	call  2005c6c <free>                           <== NOT EXECUTED
 200ed5c:	d0 07 20 9c 	ld  [ %i4 + 0x9c ], %o0                        <== NOT EXECUTED
        free(fs_info);                                                
 200ed60:	7f ff db c3 	call  2005c6c <free>                           <== NOT EXECUTED
 200ed64:	90 10 00 1c 	mov  %i4, %o0                                  <== NOT EXECUTED
        rtems_set_errno_and_return_minus_one( EIO );                  
 200ed68:	40 00 31 a6 	call  201b400 <__errno>                        <== NOT EXECUTED
 200ed6c:	01 00 00 00 	nop                                            <== NOT EXECUTED
 200ed70:	82 10 20 05 	mov  5, %g1	! 5 <PROM_START+0x5>               <== NOT EXECUTED
 200ed74:	c2 22 00 00 	st  %g1, [ %o0 ]                               <== NOT EXECUTED
 200ed78:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 200ed7c:	91 e8 3f ff 	restore  %g0, -1, %o0                          <== NOT EXECUTED
    }                                                                 
                                                                      
    temp_mt_entry->mt_fs_root.node_access = fat_fd;                   
 200ed80:	d2 27 60 1c 	st  %o1, [ %i5 + 0x1c ]                        
    temp_mt_entry->mt_fs_root.handlers = directory_handlers;          
 200ed84:	f6 27 60 24 	st  %i3, [ %i5 + 0x24 ]                        
    temp_mt_entry->mt_fs_root.ops = op_table;                         
 200ed88:	f2 27 60 28 	st  %i1, [ %i5 + 0x28 ]                        
                                                                      
    return rc;                                                        
}                                                                     
 200ed8c:	81 c7 e0 08 	ret                                            
 200ed90:	81 e8 00 00 	restore                                        
                                                                      

02017de4 <msdos_is_valid_name_char>: * MSDOS_NAME_LONG - Valid in a long name only. * */ static msdos_name_type_t msdos_is_valid_name_char(const char ch) {
 2017de4:	9d e3 bf a0 	save  %sp, -96, %sp                            
    if (strchr(" +,;=[]", ch) != NULL)                                
 2017de8:	11 00 80 ac 	sethi  %hi(0x202b000), %o0                     
 2017dec:	92 10 00 18 	mov  %i0, %o1                                  
 *     MSDOS_NAME_LONG    - Valid in a long name only.                
 *                                                                    
 */                                                                   
static msdos_name_type_t                                              
msdos_is_valid_name_char(const char ch)                               
{                                                                     
 2017df0:	ba 10 00 18 	mov  %i0, %i5                                  
    if (strchr(" +,;=[]", ch) != NULL)                                
 2017df4:	90 12 21 d8 	or  %o0, 0x1d8, %o0                            
 2017df8:	40 00 11 68 	call  201c398 <strchr>                         
 2017dfc:	b0 10 20 02 	mov  2, %i0                                    
 2017e00:	80 a2 20 00 	cmp  %o0, 0                                    
 2017e04:	12 80 00 11 	bne  2017e48 <msdos_is_valid_name_char+0x64>   <== NEVER TAKEN
 2017e08:	80 a7 60 2e 	cmp  %i5, 0x2e                                 
        return MSDOS_NAME_LONG;                                       
                                                                      
    if ((ch == '.') || isalnum((unsigned char)ch) ||                  
 2017e0c:	02 80 00 0f 	be  2017e48 <msdos_is_valid_name_char+0x64>    
 2017e10:	b0 10 20 01 	mov  1, %i0                                    
 2017e14:	05 00 80 b1 	sethi  %hi(0x202c400), %g2                     
 2017e18:	c4 00 a2 6c 	ld  [ %g2 + 0x26c ], %g2	! 202c66c <__ctype_ptr__>
 2017e1c:	82 0f 60 ff 	and  %i5, 0xff, %g1                            
 2017e20:	82 00 80 01 	add  %g2, %g1, %g1                             
 2017e24:	c2 08 60 01 	ldub  [ %g1 + 1 ], %g1                         
 2017e28:	80 88 60 07 	btst  7, %g1                                   
 2017e2c:	12 80 00 07 	bne  2017e48 <msdos_is_valid_name_char+0x64>   
 2017e30:	11 00 80 ac 	sethi  %hi(0x202b000), %o0                     
        (strchr("$%'-_@~`!(){}^#&", ch) != NULL))                     
 2017e34:	92 10 00 1d 	mov  %i5, %o1                                  
 2017e38:	40 00 11 58 	call  201c398 <strchr>                         
 2017e3c:	90 12 21 e0 	or  %o0, 0x1e0, %o0                            
        return MSDOS_NAME_SHORT;                                      
 2017e40:	80 a0 00 08 	cmp  %g0, %o0                                  
 2017e44:	b0 40 20 00 	addx  %g0, 0, %i0                              
                                                                      
    return MSDOS_NAME_INVALID;                                        
}                                                                     
 2017e48:	81 c7 e0 08 	ret                                            
 2017e4c:	81 e8 00 00 	restore                                        
                                                                      

02017e50 <msdos_long_to_short>: * */ #define MSDOS_L2S_PRINT 0 msdos_name_type_t msdos_long_to_short(const char *lfn, int lfn_len, char* sfn, int sfn_len) {
 2017e50:	9d e3 bf a0 	save  %sp, -96, %sp                            
    int               i;                                              
                                                                      
    /*                                                                
     * Fill with spaces. This is how a short directory entry is padded.
     */                                                               
    memset (sfn, ' ', sfn_len);                                       
 2017e54:	92 10 20 20 	mov  0x20, %o1                                 
 2017e58:	90 10 00 1a 	mov  %i2, %o0                                  
 2017e5c:	40 00 10 74 	call  201c02c <memset>                         
 2017e60:	94 10 00 1b 	mov  %i3, %o2                                  
                                                                      
    /*                                                                
     * Handle '.' and '..' specially.                                 
     */                                                               
    if ((lfn[0] == '.') && (lfn_len == 1))                            
 2017e64:	c2 4e 00 00 	ldsb  [ %i0 ], %g1                             
 2017e68:	82 18 60 2e 	xor  %g1, 0x2e, %g1                            
 2017e6c:	80 a0 00 01 	cmp  %g0, %g1                                  
 2017e70:	84 60 3f ff 	subx  %g0, -1, %g2                             
 2017e74:	80 a6 60 01 	cmp  %i1, 1                                    
 2017e78:	12 80 00 09 	bne  2017e9c <msdos_long_to_short+0x4c>        <== ALWAYS TAKEN
 2017e7c:	ba 10 00 18 	mov  %i0, %i5                                  
 2017e80:	80 a0 a0 00 	cmp  %g2, 0                                    <== NOT EXECUTED
 2017e84:	02 80 00 19 	be  2017ee8 <msdos_long_to_short+0x98>         <== NOT EXECUTED
 2017e88:	82 10 20 00 	clr  %g1                                       <== NOT EXECUTED
    {                                                                 
        sfn[0] = '.';                                                 
 2017e8c:	82 10 20 2e 	mov  0x2e, %g1                                 <== NOT EXECUTED
 2017e90:	c2 2e 80 00 	stb  %g1, [ %i2 ]                              <== NOT EXECUTED
#if MSDOS_L2S_PRINT                                                   
        printf ("MSDOS_L2S: SHORT[1]: lfn:'%s' SFN:'%s'\n", lfn, sfn);
#endif                                                                
        return MSDOS_NAME_SHORT;                                      
 2017e94:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2017e98:	91 e8 20 01 	restore  %g0, 1, %o0                           <== NOT EXECUTED
    }                                                                 
                                                                      
    if ((lfn[0] == '.') && (lfn[1] == '.') && (lfn_len == 2))         
 2017e9c:	80 a0 a0 00 	cmp  %g2, 0                                    
 2017ea0:	02 80 00 12 	be  2017ee8 <msdos_long_to_short+0x98>         
 2017ea4:	82 10 20 00 	clr  %g1                                       
 2017ea8:	80 a6 60 02 	cmp  %i1, 2                                    
 2017eac:	12 80 00 10 	bne  2017eec <msdos_long_to_short+0x9c>        <== NEVER TAKEN
 2017eb0:	80 a0 40 19 	cmp  %g1, %i1                                  
 2017eb4:	c2 4f 60 01 	ldsb  [ %i5 + 1 ], %g1                         
 2017eb8:	80 a0 60 2e 	cmp  %g1, 0x2e                                 
 2017ebc:	02 80 00 5c 	be  201802c <msdos_long_to_short+0x1dc>        <== ALWAYS TAKEN
 2017ec0:	82 10 20 00 	clr  %g1                                       
    }                                                                 
                                                                      
    /*                                                                
     * Filenames with only blanks and dots are not allowed!           
     */                                                               
    for (i = 0; i < lfn_len; i++)                                     
 2017ec4:	10 80 00 0a 	b  2017eec <msdos_long_to_short+0x9c>          <== NOT EXECUTED
 2017ec8:	80 a0 40 19 	cmp  %g1, %i1                                  <== NOT EXECUTED
        if ((lfn[i] != ' ') && (lfn[i] != '.'))                       
 2017ecc:	80 a0 a0 2e 	cmp  %g2, 0x2e                                 
 2017ed0:	22 80 00 06 	be,a   2017ee8 <msdos_long_to_short+0x98>      <== NEVER TAKEN
 2017ed4:	82 00 60 01 	inc  %g1                                       <== NOT EXECUTED
 2017ed8:	80 a0 a0 20 	cmp  %g2, 0x20                                 
 2017edc:	12 80 00 07 	bne  2017ef8 <msdos_long_to_short+0xa8>        <== ALWAYS TAKEN
 2017ee0:	80 a0 40 19 	cmp  %g1, %i1                                  
    }                                                                 
                                                                      
    /*                                                                
     * Filenames with only blanks and dots are not allowed!           
     */                                                               
    for (i = 0; i < lfn_len; i++)                                     
 2017ee4:	82 00 60 01 	inc  %g1                                       <== NOT EXECUTED
 2017ee8:	80 a0 40 19 	cmp  %g1, %i1                                  
 2017eec:	26 bf ff f8 	bl,a   2017ecc <msdos_long_to_short+0x7c>      <== ALWAYS TAKEN
 2017ef0:	c4 4f 40 01 	ldsb  [ %i5 + %g1 ], %g2                       
        if ((lfn[i] != ' ') && (lfn[i] != '.'))                       
            break;                                                    
                                                                      
    if (i == lfn_len)                                                 
 2017ef4:	80 a0 40 19 	cmp  %g1, %i1                                  <== NOT EXECUTED
 2017ef8:	02 80 00 4b 	be  2018024 <msdos_long_to_short+0x1d4>        <== NEVER TAKEN
 2017efc:	b0 10 20 00 	clr  %i0                                       
 2017f00:	b6 10 20 00 	clr  %i3                                       
 2017f04:	b0 10 3f ff 	mov  -1, %i0                                   
 2017f08:	a2 10 20 00 	clr  %l1                                       
 2017f0c:	10 80 00 2d 	b  2017fc0 <msdos_long_to_short+0x170>         
 2017f10:	a4 10 20 00 	clr  %l2                                       
    int  count = 0;                                                   
                                                                      
    while (*name && (count < name_len))                               
    {                                                                 
        bool is_dot = *name == '.';                                   
        msdos_name_type_t type = msdos_is_valid_name_char(*name);     
 2017f14:	a7 3c e0 18 	sra  %l3, 0x18, %l3                            
 2017f18:	7f ff ff b3 	call  2017de4 <msdos_is_valid_name_char>       
 2017f1c:	90 10 00 13 	mov  %l3, %o0                                  
                                                                      
#if MSDOS_NAME_TYPE_PRINT                                             
        printf ("MSDOS_NAME_TYPE: c:%02x type:%d\n", *name, type);    
#endif                                                                
                                                                      
        if ((type == MSDOS_NAME_INVALID) || (type == MSDOS_NAME_LONG))
 2017f20:	80 a2 20 02 	cmp  %o0, 2                                    
 2017f24:	02 80 00 38 	be  2018004 <msdos_long_to_short+0x1b4>        <== NEVER TAKEN
 2017f28:	b8 10 00 08 	mov  %o0, %i4                                  
 2017f2c:	80 a2 20 00 	cmp  %o0, 0                                    
 2017f30:	02 80 00 35 	be  2018004 <msdos_long_to_short+0x1b4>        
 2017f34:	a6 1c e0 2e 	xor  %l3, 0x2e, %l3                            
    int  dot_at = -1;                                                 
    int  count = 0;                                                   
                                                                      
    while (*name && (count < name_len))                               
    {                                                                 
        bool is_dot = *name == '.';                                   
 2017f38:	80 a0 00 13 	cmp  %g0, %l3                                  
 2017f3c:	82 60 3f ff 	subx  %g0, -1, %g1                             
#endif                                                                
                                                                      
        if ((type == MSDOS_NAME_INVALID) || (type == MSDOS_NAME_LONG))
            return type;                                              
                                                                      
        if (dot_at >= 0)                                              
 2017f40:	80 a6 3f ff 	cmp  %i0, -1                                   
 2017f44:	02 80 00 09 	be  2017f68 <msdos_long_to_short+0x118>        <== ALWAYS TAKEN
 2017f48:	80 a0 60 00 	cmp  %g1, 0                                    
        {                                                             
            if (is_dot || ((count - dot_at) > 3))                     
 2017f4c:	12 80 00 3e 	bne  2018044 <msdos_long_to_short+0x1f4>       <== NOT EXECUTED
 2017f50:	82 26 c0 18 	sub  %i3, %i0, %g1                             <== NOT EXECUTED
 2017f54:	80 a0 60 03 	cmp  %g1, 3                                    <== NOT EXECUTED
 2017f58:	04 80 00 0e 	ble  2017f90 <msdos_long_to_short+0x140>       <== NOT EXECUTED
 2017f5c:	82 04 3f bf 	add  %l0, -65, %g1                             <== NOT EXECUTED
            {                                                         
#if MSDOS_NAME_TYPE_PRINT                                             
                printf ("MSDOS_NAME_TYPE: LONG[2]: is_dot:%d, at:%d cnt\n",
                        is_dot, dot_at, count);                       
#endif                                                                
                return MSDOS_NAME_LONG;                               
 2017f60:	10 80 00 2c 	b  2018010 <msdos_long_to_short+0x1c0>         <== NOT EXECUTED
 2017f64:	b8 10 20 02 	mov  2, %i4                                    <== NOT EXECUTED
                return MSDOS_NAME_LONG;                               
            }                                                         
        }                                                             
        else                                                          
        {                                                             
            if (count == 8 && !is_dot)                                
 2017f68:	80 a6 e0 08 	cmp  %i3, 8                                    
 2017f6c:	12 80 00 06 	bne  2017f84 <msdos_long_to_short+0x134>       
 2017f70:	80 a0 60 00 	cmp  %g1, 0                                    
 2017f74:	02 80 00 27 	be  2018010 <msdos_long_to_short+0x1c0>        <== ALWAYS TAKEN
 2017f78:	b8 10 20 02 	mov  2, %i4                                    
 2017f7c:	10 80 00 10 	b  2017fbc <msdos_long_to_short+0x16c>         <== NOT EXECUTED
 2017f80:	b0 10 20 08 	mov  8, %i0                                    <== NOT EXECUTED
#endif                                                                
                return MSDOS_NAME_LONG;                               
            }                                                         
        }                                                             
                                                                      
        if (is_dot)                                                   
 2017f84:	32 80 00 0e 	bne,a   2017fbc <msdos_long_to_short+0x16c>    <== NEVER TAKEN
 2017f88:	b0 10 00 1b 	mov  %i3, %i0                                  <== NOT EXECUTED
            dot_at = count;                                           
        else if ((*name >= 'A') && (*name <= 'Z'))                    
 2017f8c:	82 04 3f bf 	add  %l0, -65, %g1                             
 2017f90:	82 08 60 ff 	and  %g1, 0xff, %g1                            
 2017f94:	80 a0 60 19 	cmp  %g1, 0x19                                 
 2017f98:	28 80 00 09 	bleu,a   2017fbc <msdos_long_to_short+0x16c>   <== NEVER TAKEN
 2017f9c:	a2 10 20 01 	mov  1, %l1                                    <== NOT EXECUTED
            uppercase = true;                                         
        else if ((*name >= 'a') && (*name <= 'z'))                    
 2017fa0:	a0 04 3f 9f 	add  %l0, -97, %l0                             
 2017fa4:	a0 0c 20 ff 	and  %l0, 0xff, %l0                            
 2017fa8:	80 a4 20 19 	cmp  %l0, 0x19                                 
 2017fac:	28 80 00 04 	bleu,a   2017fbc <msdos_long_to_short+0x16c>   
 2017fb0:	a4 10 20 01 	mov  1, %l2                                    
            lowercase = true;                                         
                                                                      
        count++;                                                      
 2017fb4:	10 80 00 03 	b  2017fc0 <msdos_long_to_short+0x170>         
 2017fb8:	b6 06 e0 01 	inc  %i3                                       
 2017fbc:	b6 06 e0 01 	inc  %i3                                       
    bool lowercase = false;                                           
    bool uppercase = false;                                           
    int  dot_at = -1;                                                 
    int  count = 0;                                                   
                                                                      
    while (*name && (count < name_len))                               
 2017fc0:	c2 4f 40 1b 	ldsb  [ %i5 + %i3 ], %g1                       
 2017fc4:	80 a0 60 00 	cmp  %g1, 0                                    
 2017fc8:	02 80 00 09 	be  2017fec <msdos_long_to_short+0x19c>        
 2017fcc:	e0 0f 40 1b 	ldub  [ %i5 + %i3 ], %l0                       
 2017fd0:	80 a6 c0 19 	cmp  %i3, %i1                                  
 2017fd4:	06 80 00 03 	bl  2017fe0 <msdos_long_to_short+0x190>        
 2017fd8:	82 10 20 01 	mov  1, %g1                                    
 2017fdc:	82 10 20 00 	clr  %g1                                       
 2017fe0:	80 88 60 ff 	btst  0xff, %g1                                
 2017fe4:	12 bf ff cc 	bne  2017f14 <msdos_long_to_short+0xc4>        
 2017fe8:	a7 2c 20 18 	sll  %l0, 0x18, %l3                            
                                                                      
        count++;                                                      
        name++;                                                       
    }                                                                 
                                                                      
    if (lowercase && uppercase)                                       
 2017fec:	80 8c a0 ff 	btst  0xff, %l2                                
 2017ff0:	02 80 00 08 	be  2018010 <msdos_long_to_short+0x1c0>        <== NEVER TAKEN
 2017ff4:	b8 10 20 01 	mov  1, %i4                                    
    }                                                                 
                                                                      
#if MSDOS_NAME_TYPE_PRINT                                             
    printf ("MSDOS_NAME_TYPE: SHORT[1]\n");                           
#endif                                                                
    return MSDOS_NAME_SHORT;                                          
 2017ff8:	b8 0c 60 01 	and  %l1, 1, %i4                               
 2017ffc:	10 80 00 05 	b  2018010 <msdos_long_to_short+0x1c0>         
 2018000:	b8 07 20 01 	inc  %i4                                       
     * Is this a short name ?                                         
     */                                                               
                                                                      
    type = msdos_name_type (lfn, lfn_len);                            
                                                                      
    if (type == MSDOS_NAME_INVALID)                                   
 2018004:	b0 97 20 00 	orcc  %i4, 0, %i0                              
 2018008:	02 80 00 0d 	be  201803c <msdos_long_to_short+0x1ec>        <== ALWAYS TAKEN
 201800c:	01 00 00 00 	nop                                            
        printf ("MSDOS_L2S: INVALID[2]: lfn:'%s' SFN:'%s'\n", lfn, sfn);
#endif                                                                
        return MSDOS_NAME_INVALID;                                    
    }                                                                 
                                                                      
    msdos_filename_unix2dos (lfn, lfn_len, sfn);                      
 2018010:	90 10 00 1d 	mov  %i5, %o0                                  
 2018014:	92 10 00 19 	mov  %i1, %o1                                  
 2018018:	94 10 00 1a 	mov  %i2, %o2                                  
 201801c:	40 00 0a 4b 	call  201a948 <msdos_filename_unix2dos>        
 2018020:	b0 10 00 1c 	mov  %i4, %i0                                  
 2018024:	81 c7 e0 08 	ret                                            
 2018028:	81 e8 00 00 	restore                                        
        return MSDOS_NAME_SHORT;                                      
    }                                                                 
                                                                      
    if ((lfn[0] == '.') && (lfn[1] == '.') && (lfn_len == 2))         
    {                                                                 
        sfn[0] = sfn[1] = '.';                                        
 201802c:	82 10 20 2e 	mov  0x2e, %g1                                 
#if MSDOS_L2S_PRINT                                                   
        printf ("MSDOS_L2S: SHORT[2]: lfn:'%s' SFN:'%s'\n", lfn, sfn);
#endif                                                                
        return MSDOS_NAME_SHORT;                                      
 2018030:	b0 10 20 01 	mov  1, %i0                                    
        return MSDOS_NAME_SHORT;                                      
    }                                                                 
                                                                      
    if ((lfn[0] == '.') && (lfn[1] == '.') && (lfn_len == 2))         
    {                                                                 
        sfn[0] = sfn[1] = '.';                                        
 2018034:	c2 2e a0 01 	stb  %g1, [ %i2 + 1 ]                          
 2018038:	c2 2e 80 00 	stb  %g1, [ %i2 ]                              
                                                                      
#if MSDOS_L2S_PRINT                                                   
    printf ("MSDOS_L2S: TYPE:%d lfn:'%s' SFN:'%s'\n", type, lfn, sfn);
#endif                                                                
    return type;                                                      
}                                                                     
 201803c:	81 c7 e0 08 	ret                                            
 2018040:	81 e8 00 00 	restore                                        
            {                                                         
#if MSDOS_NAME_TYPE_PRINT                                             
                printf ("MSDOS_NAME_TYPE: LONG[2]: is_dot:%d, at:%d cnt\n",
                        is_dot, dot_at, count);                       
#endif                                                                
                return MSDOS_NAME_LONG;                               
 2018044:	10 bf ff f3 	b  2018010 <msdos_long_to_short+0x1c0>         <== NOT EXECUTED
 2018048:	b8 10 20 02 	mov  2, %i4                                    <== NOT EXECUTED
                                                                      

0200ed94 <msdos_mknod>: const char *name, mode_t mode, dev_t dev, rtems_filesystem_location_info_t *pathloc ) {
 200ed94:	9d e3 bf a0 	save  %sp, -96, %sp                            
    int                  rc = RC_OK;                                  
    rtems_status_code    sc = RTEMS_SUCCESSFUL;                       
    msdos_fs_info_t     *fs_info = pathloc->mt_entry->fs_info;        
 200ed98:	c2 07 20 10 	ld  [ %i4 + 0x10 ], %g1                        
    msdos_token_types_t  type = 0;                                    
                                                                      
    /*                                                                
     *  Figure out what type of msdos node this is.                   
     */                                                               
    if (S_ISDIR(mode))                                                
 200ed9c:	05 00 00 10 	sethi  %hi(0x4000), %g2                        
    rtems_filesystem_location_info_t  *pathloc                        
)                                                                     
{                                                                     
    int                  rc = RC_OK;                                  
    rtems_status_code    sc = RTEMS_SUCCESSFUL;                       
    msdos_fs_info_t     *fs_info = pathloc->mt_entry->fs_info;        
 200eda0:	fa 00 60 34 	ld  [ %g1 + 0x34 ], %i5                        
    msdos_token_types_t  type = 0;                                    
                                                                      
    /*                                                                
     *  Figure out what type of msdos node this is.                   
     */                                                               
    if (S_ISDIR(mode))                                                
 200eda4:	03 00 00 3c 	sethi  %hi(0xf000), %g1                        
 200eda8:	82 0e 40 01 	and  %i1, %g1, %g1                             
 200edac:	80 a0 40 02 	cmp  %g1, %g2                                  
 200edb0:	02 80 00 09 	be  200edd4 <msdos_mknod+0x40>                 
 200edb4:	05 00 00 20 	sethi  %hi(0x8000), %g2                        
    {                                                                 
       type = MSDOS_DIRECTORY;                                        
    }                                                                 
    else if (S_ISREG(mode))                                           
 200edb8:	80 a0 40 02 	cmp  %g1, %g2                                  
 200edbc:	02 80 00 07 	be  200edd8 <msdos_mknod+0x44>                 <== ALWAYS TAKEN
 200edc0:	b6 10 20 05 	mov  5, %i3                                    
    {                                                                 
        type = MSDOS_REGULAR_FILE;                                    
    }                                                                 
    else                                                              
        rtems_set_errno_and_return_minus_one(EINVAL);                 
 200edc4:	40 00 31 8f 	call  201b400 <__errno>                        <== NOT EXECUTED
 200edc8:	01 00 00 00 	nop                                            <== NOT EXECUTED
 200edcc:	10 80 00 0d 	b  200ee00 <msdos_mknod+0x6c>                  <== NOT EXECUTED
 200edd0:	82 10 20 16 	mov  0x16, %g1	! 16 <PROM_START+0x16>          <== NOT EXECUTED
    /*                                                                
     *  Figure out what type of msdos node this is.                   
     */                                                               
    if (S_ISDIR(mode))                                                
    {                                                                 
       type = MSDOS_DIRECTORY;                                        
 200edd4:	b6 10 20 01 	mov  1, %i3                                    
        type = MSDOS_REGULAR_FILE;                                    
    }                                                                 
    else                                                              
        rtems_set_errno_and_return_minus_one(EINVAL);                 
                                                                      
    sc = rtems_semaphore_obtain(fs_info->vol_sema, RTEMS_WAIT,        
 200edd8:	d0 07 60 98 	ld  [ %i5 + 0x98 ], %o0                        
 200eddc:	92 10 20 00 	clr  %o1                                       
 200ede0:	7f ff ec 71 	call  2009fa4 <rtems_semaphore_obtain>         
 200ede4:	94 10 20 00 	clr  %o2                                       
                                MSDOS_VOLUME_SEMAPHORE_TIMEOUT);      
    if (sc != RTEMS_SUCCESSFUL)                                       
 200ede8:	80 a2 20 00 	cmp  %o0, 0                                    
 200edec:	02 80 00 08 	be  200ee0c <msdos_mknod+0x78>                 <== ALWAYS TAKEN
 200edf0:	01 00 00 00 	nop                                            
        rtems_set_errno_and_return_minus_one(EIO);                    
 200edf4:	40 00 31 83 	call  201b400 <__errno>                        <== NOT EXECUTED
 200edf8:	01 00 00 00 	nop                                            <== NOT EXECUTED
 200edfc:	82 10 20 05 	mov  5, %g1	! 5 <PROM_START+0x5>               <== NOT EXECUTED
 200ee00:	c2 22 00 00 	st  %g1, [ %o0 ]                               <== NOT EXECUTED
 200ee04:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 200ee08:	91 e8 3f ff 	restore  %g0, -1, %o0                          <== NOT EXECUTED
                                                                      
    /* Create an MSDOS node */                                        
    rc = msdos_creat_node(pathloc, type, name, strlen(name), mode, NULL);
 200ee0c:	40 00 37 c7 	call  201cd28 <strlen>                         
 200ee10:	90 10 00 18 	mov  %i0, %o0                                  
 200ee14:	94 10 00 18 	mov  %i0, %o2                                  
 200ee18:	96 10 00 08 	mov  %o0, %o3                                  
 200ee1c:	92 10 00 1b 	mov  %i3, %o1                                  
 200ee20:	90 10 00 1c 	mov  %i4, %o0                                  
 200ee24:	98 10 00 19 	mov  %i1, %o4                                  
 200ee28:	40 00 1f cb 	call  2016d54 <msdos_creat_node>               
 200ee2c:	9a 10 20 00 	clr  %o5                                       
 200ee30:	b0 10 00 08 	mov  %o0, %i0                                  
                                                                      
    rtems_semaphore_release(fs_info->vol_sema);                       
 200ee34:	7f ff ec a6 	call  200a0cc <rtems_semaphore_release>        
 200ee38:	d0 07 60 98 	ld  [ %i5 + 0x98 ], %o0                        
    return rc;                                                        
}                                                                     
 200ee3c:	81 c7 e0 08 	ret                                            
 200ee40:	81 e8 00 00 	restore                                        
                                                                      

0200ee50 <msdos_rename>: int msdos_rename(rtems_filesystem_location_info_t *old_parent_loc, rtems_filesystem_location_info_t *old_loc, rtems_filesystem_location_info_t *new_parent_loc, const char *new_name) {
 200ee50:	9d e3 bf 98 	save  %sp, -104, %sp                           <== NOT EXECUTED
    int                rc = RC_OK;                                    
    rtems_status_code  sc = RTEMS_SUCCESSFUL;                         
    msdos_fs_info_t   *fs_info     = new_parent_loc->mt_entry->fs_info;
 200ee54:	c2 06 a0 10 	ld  [ %i2 + 0x10 ], %g1                        <== NOT EXECUTED
    int                len;                                           
                                                                      
    /*                                                                
     * check spelling and format new node name                        
     */                                                               
    if (MSDOS_NAME != msdos_get_token(new_name, strlen(new_name), &token, &len)) {
 200ee58:	90 10 00 1b 	mov  %i3, %o0                                  <== NOT EXECUTED
 200ee5c:	40 00 37 b3 	call  201cd28 <strlen>                         <== NOT EXECUTED
 200ee60:	fa 00 60 34 	ld  [ %g1 + 0x34 ], %i5                        <== NOT EXECUTED
             const char                        *new_name)             
{                                                                     
    int                rc = RC_OK;                                    
    rtems_status_code  sc = RTEMS_SUCCESSFUL;                         
    msdos_fs_info_t   *fs_info     = new_parent_loc->mt_entry->fs_info;
    fat_file_fd_t     *old_fat_fd  = old_loc->node_access;            
 200ee64:	f8 06 40 00 	ld  [ %i1 ], %i4                               <== NOT EXECUTED
    int                len;                                           
                                                                      
    /*                                                                
     * check spelling and format new node name                        
     */                                                               
    if (MSDOS_NAME != msdos_get_token(new_name, strlen(new_name), &token, &len)) {
 200ee68:	92 10 00 08 	mov  %o0, %o1                                  <== NOT EXECUTED
 200ee6c:	94 07 bf f8 	add  %fp, -8, %o2                              <== NOT EXECUTED
 200ee70:	90 10 00 1b 	mov  %i3, %o0                                  <== NOT EXECUTED
 200ee74:	40 00 24 76 	call  201804c <msdos_get_token>                <== NOT EXECUTED
 200ee78:	96 07 bf fc 	add  %fp, -4, %o3                              <== NOT EXECUTED
 200ee7c:	80 a2 20 03 	cmp  %o0, 3                                    <== NOT EXECUTED
 200ee80:	22 80 00 06 	be,a   200ee98 <msdos_rename+0x48>             <== NOT EXECUTED
 200ee84:	d0 07 60 98 	ld  [ %i5 + 0x98 ], %o0                        <== NOT EXECUTED
      rtems_set_errno_and_return_minus_one(ENAMETOOLONG);             
 200ee88:	40 00 31 5e 	call  201b400 <__errno>                        <== NOT EXECUTED
 200ee8c:	01 00 00 00 	nop                                            <== NOT EXECUTED
 200ee90:	10 80 00 0b 	b  200eebc <msdos_rename+0x6c>                 <== NOT EXECUTED
 200ee94:	82 10 20 5b 	mov  0x5b, %g1	! 5b <PROM_START+0x5b>          <== NOT EXECUTED
    }                                                                 
    /*                                                                
     * lock volume                                                    
     */                                                               
    sc = rtems_semaphore_obtain(fs_info->vol_sema, RTEMS_WAIT,        
 200ee98:	92 10 20 00 	clr  %o1                                       <== NOT EXECUTED
 200ee9c:	7f ff ec 42 	call  2009fa4 <rtems_semaphore_obtain>         <== NOT EXECUTED
 200eea0:	94 10 20 00 	clr  %o2                                       <== NOT EXECUTED
                                MSDOS_VOLUME_SEMAPHORE_TIMEOUT);      
    if (sc != RTEMS_SUCCESSFUL)                                       
 200eea4:	80 a2 20 00 	cmp  %o0, 0                                    <== NOT EXECUTED
 200eea8:	02 80 00 08 	be  200eec8 <msdos_rename+0x78>                <== NOT EXECUTED
 200eeac:	d6 07 bf fc 	ld  [ %fp + -4 ], %o3                          <== NOT EXECUTED
      rtems_set_errno_and_return_minus_one(EIO);                      
 200eeb0:	40 00 31 54 	call  201b400 <__errno>                        <== NOT EXECUTED
 200eeb4:	01 00 00 00 	nop                                            <== NOT EXECUTED
 200eeb8:	82 10 20 05 	mov  5, %g1	! 5 <PROM_START+0x5>               <== NOT EXECUTED
 200eebc:	c2 22 00 00 	st  %g1, [ %o0 ]                               <== NOT EXECUTED
 200eec0:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 200eec4:	91 e8 3f ff 	restore  %g0, -1, %o0                          <== NOT EXECUTED
                                                                      
    /*                                                                
     * create new directory entry as "hard link", copying relevant info from
     * existing file                                                  
     */                                                               
    rc = msdos_creat_node(new_parent_loc,                             
 200eec8:	90 10 00 1a 	mov  %i2, %o0                                  <== NOT EXECUTED
 200eecc:	92 10 20 03 	mov  3, %o1                                    <== NOT EXECUTED
 200eed0:	94 10 00 1b 	mov  %i3, %o2                                  <== NOT EXECUTED
 200eed4:	19 00 00 20 	sethi  %hi(0x8000), %o4                        <== NOT EXECUTED
 200eed8:	40 00 1f 9f 	call  2016d54 <msdos_creat_node>               <== NOT EXECUTED
 200eedc:	9a 10 00 1c 	mov  %i4, %o5                                  <== NOT EXECUTED
                          MSDOS_HARD_LINK,new_name,len,S_IFREG,       
                          old_fat_fd);                                
    if (rc != RC_OK)                                                  
 200eee0:	b0 92 20 00 	orcc  %o0, 0, %i0                              <== NOT EXECUTED
 200eee4:	22 80 00 06 	be,a   200eefc <msdos_rename+0xac>             <== NOT EXECUTED
 200eee8:	d0 06 60 10 	ld  [ %i1 + 0x10 ], %o0                        <== NOT EXECUTED
    {                                                                 
        rtems_semaphore_release(fs_info->vol_sema);                   
 200eeec:	7f ff ec 78 	call  200a0cc <rtems_semaphore_release>        <== NOT EXECUTED
 200eef0:	d0 07 60 98 	ld  [ %i5 + 0x98 ], %o0                        <== NOT EXECUTED
        return rc;                                                    
 200eef4:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 200eef8:	81 e8 00 00 	restore                                        <== NOT EXECUTED
    }                                                                 
                                                                      
    /*                                                                
     * mark file removed                                              
     */                                                               
    rc = msdos_set_first_char4file_name(old_loc->mt_entry,            
 200eefc:	92 07 20 20 	add  %i4, 0x20, %o1                            <== NOT EXECUTED
 200ef00:	40 00 25 13 	call  201834c <msdos_set_first_char4file_name> <== NOT EXECUTED
 200ef04:	94 10 20 e5 	mov  0xe5, %o2                                 <== NOT EXECUTED
 200ef08:	b0 10 00 08 	mov  %o0, %i0                                  <== NOT EXECUTED
                                        &old_fat_fd->dir_pos,         
                                        MSDOS_THIS_DIR_ENTRY_EMPTY);  
                                                                      
    rtems_semaphore_release(fs_info->vol_sema);                       
 200ef0c:	7f ff ec 70 	call  200a0cc <rtems_semaphore_release>        <== NOT EXECUTED
 200ef10:	d0 07 60 98 	ld  [ %i5 + 0x98 ], %o0                        <== NOT EXECUTED
    return rc;                                                        
}                                                                     
 200ef14:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 200ef18:	81 e8 00 00 	restore                                        <== NOT EXECUTED
                                                                      

02018144 <msdos_set_dir_wrt_time_and_date>: int msdos_set_dir_wrt_time_and_date( rtems_filesystem_mount_table_entry_t *mt_entry, fat_file_fd_t *fat_fd ) {
 2018144:	9d e3 bf 98 	save  %sp, -104, %sp                           
    uint16_t         time_val;                                        
    uint16_t         date;                                            
    uint32_t         sec = 0;                                         
    uint32_t         byte = 0;                                        
                                                                      
    msdos_date_unix2dos(fat_fd->mtime, &date, &time_val);             
 2018148:	d0 06 60 40 	ld  [ %i1 + 0x40 ], %o0                        
    rtems_filesystem_mount_table_entry_t *mt_entry,                   
    fat_file_fd_t                        *fat_fd                      
    )                                                                 
{                                                                     
    ssize_t          ret1 = 0, ret2 = 0, ret3 = 0;                    
    msdos_fs_info_t *fs_info = mt_entry->fs_info;                     
 201814c:	f6 06 20 34 	ld  [ %i0 + 0x34 ], %i3                        
    uint16_t         time_val;                                        
    uint16_t         date;                                            
    uint32_t         sec = 0;                                         
    uint32_t         byte = 0;                                        
                                                                      
    msdos_date_unix2dos(fat_fd->mtime, &date, &time_val);             
 2018150:	94 07 bf fc 	add  %fp, -4, %o2                              
 2018154:	40 00 09 63 	call  201a6e0 <msdos_date_unix2dos>            
 2018158:	92 07 bf fe 	add  %fp, -2, %o1                              
                                                                      
    /*                                                                
     * calculate input for _fat_block_write: convert (cluster num, offset) to
     * (sector num, new offset)                                       
     */                                                               
    sec = fat_cluster_num_to_sector_num(mt_entry, fat_fd->dir_pos.sname.cln);
 201815c:	d2 06 60 20 	ld  [ %i1 + 0x20 ], %o1                        
 2018160:	7f ff ff 13 	call  2017dac <fat_cluster_num_to_sector_num.isra.0>
 2018164:	d0 06 20 34 	ld  [ %i0 + 0x34 ], %o0                        
    sec += (fat_fd->dir_pos.sname.ofs >> fs_info->fat.vol.sec_log2);  
 2018168:	c2 06 60 24 	ld  [ %i1 + 0x24 ], %g1                        
    /* byte points to start of 32bytes structure */                   
    byte = fat_fd->dir_pos.sname.ofs & (fs_info->fat.vol.bps - 1);    
 201816c:	fa 16 c0 00 	lduh  [ %i3 ], %i5                             
    /*                                                                
     * calculate input for _fat_block_write: convert (cluster num, offset) to
     * (sector num, new offset)                                       
     */                                                               
    sec = fat_cluster_num_to_sector_num(mt_entry, fat_fd->dir_pos.sname.cln);
    sec += (fat_fd->dir_pos.sname.ofs >> fs_info->fat.vol.sec_log2);  
 2018170:	f8 0e e0 02 	ldub  [ %i3 + 2 ], %i4                         
    /* byte points to start of 32bytes structure */                   
    byte = fat_fd->dir_pos.sname.ofs & (fs_info->fat.vol.bps - 1);    
 2018174:	ba 07 7f ff 	add  %i5, -1, %i5                              
    /*                                                                
     * calculate input for _fat_block_write: convert (cluster num, offset) to
     * (sector num, new offset)                                       
     */                                                               
    sec = fat_cluster_num_to_sector_num(mt_entry, fat_fd->dir_pos.sname.cln);
    sec += (fat_fd->dir_pos.sname.ofs >> fs_info->fat.vol.sec_log2);  
 2018178:	b9 30 40 1c 	srl  %g1, %i4, %i4                             
    /* byte points to start of 32bytes structure */                   
    byte = fat_fd->dir_pos.sname.ofs & (fs_info->fat.vol.bps - 1);    
 201817c:	ba 0f 40 01 	and  %i5, %g1, %i5                             
                                                                      
    time_val = CT_LE_W(time_val);                                     
 2018180:	c2 17 bf fc 	lduh  [ %fp + -4 ], %g1                        
    /*                                                                
     * calculate input for _fat_block_write: convert (cluster num, offset) to
     * (sector num, new offset)                                       
     */                                                               
    sec = fat_cluster_num_to_sector_num(mt_entry, fat_fd->dir_pos.sname.cln);
    sec += (fat_fd->dir_pos.sname.ofs >> fs_info->fat.vol.sec_log2);  
 2018184:	b8 02 00 1c 	add  %o0, %i4, %i4                             
    /* byte points to start of 32bytes structure */                   
    byte = fat_fd->dir_pos.sname.ofs & (fs_info->fat.vol.bps - 1);    
                                                                      
    time_val = CT_LE_W(time_val);                                     
 2018188:	83 28 60 10 	sll  %g1, 0x10, %g1                            
 201818c:	85 30 60 08 	srl  %g1, 8, %g2                               
 2018190:	83 30 60 18 	srl  %g1, 0x18, %g1                            
 2018194:	82 10 80 01 	or  %g2, %g1, %g1                              
    ret1 = _fat_block_write(mt_entry, sec, byte + MSDOS_FILE_WTIME_OFFSET,
 2018198:	92 10 00 1c 	mov  %i4, %o1                                  
    sec = fat_cluster_num_to_sector_num(mt_entry, fat_fd->dir_pos.sname.cln);
    sec += (fat_fd->dir_pos.sname.ofs >> fs_info->fat.vol.sec_log2);  
    /* byte points to start of 32bytes structure */                   
    byte = fat_fd->dir_pos.sname.ofs & (fs_info->fat.vol.bps - 1);    
                                                                      
    time_val = CT_LE_W(time_val);                                     
 201819c:	c2 37 bf fc 	sth  %g1, [ %fp + -4 ]                         
    ret1 = _fat_block_write(mt_entry, sec, byte + MSDOS_FILE_WTIME_OFFSET,
 20181a0:	94 07 60 16 	add  %i5, 0x16, %o2                            
 20181a4:	96 10 20 02 	mov  2, %o3                                    
 20181a8:	98 07 bf fc 	add  %fp, -4, %o4                              
 20181ac:	7f ff ea e1 	call  2012d30 <_fat_block_write>               
 20181b0:	90 10 00 18 	mov  %i0, %o0                                  
                            2, (char *)(&time_val));                  
    date = CT_LE_W(date);                                             
 20181b4:	c2 17 bf fe 	lduh  [ %fp + -2 ], %g1                        
    ret2 = _fat_block_write(mt_entry, sec, byte + MSDOS_FILE_WDATE_OFFSET,
 20181b8:	92 10 00 1c 	mov  %i4, %o1                                  
    byte = fat_fd->dir_pos.sname.ofs & (fs_info->fat.vol.bps - 1);    
                                                                      
    time_val = CT_LE_W(time_val);                                     
    ret1 = _fat_block_write(mt_entry, sec, byte + MSDOS_FILE_WTIME_OFFSET,
                            2, (char *)(&time_val));                  
    date = CT_LE_W(date);                                             
 20181bc:	83 28 60 10 	sll  %g1, 0x10, %g1                            
 20181c0:	85 30 60 08 	srl  %g1, 8, %g2                               
 20181c4:	83 30 60 18 	srl  %g1, 0x18, %g1                            
 20181c8:	82 10 80 01 	or  %g2, %g1, %g1                              
    ret2 = _fat_block_write(mt_entry, sec, byte + MSDOS_FILE_WDATE_OFFSET,
 20181cc:	94 07 60 18 	add  %i5, 0x18, %o2                            
    byte = fat_fd->dir_pos.sname.ofs & (fs_info->fat.vol.bps - 1);    
                                                                      
    time_val = CT_LE_W(time_val);                                     
    ret1 = _fat_block_write(mt_entry, sec, byte + MSDOS_FILE_WTIME_OFFSET,
                            2, (char *)(&time_val));                  
    date = CT_LE_W(date);                                             
 20181d0:	c2 37 bf fe 	sth  %g1, [ %fp + -2 ]                         
    ret2 = _fat_block_write(mt_entry, sec, byte + MSDOS_FILE_WDATE_OFFSET,
 20181d4:	96 10 20 02 	mov  2, %o3                                    
 20181d8:	98 07 bf fe 	add  %fp, -2, %o4                              
    sec += (fat_fd->dir_pos.sname.ofs >> fs_info->fat.vol.sec_log2);  
    /* byte points to start of 32bytes structure */                   
    byte = fat_fd->dir_pos.sname.ofs & (fs_info->fat.vol.bps - 1);    
                                                                      
    time_val = CT_LE_W(time_val);                                     
    ret1 = _fat_block_write(mt_entry, sec, byte + MSDOS_FILE_WTIME_OFFSET,
 20181dc:	b6 10 00 08 	mov  %o0, %i3                                  
                            2, (char *)(&time_val));                  
    date = CT_LE_W(date);                                             
    ret2 = _fat_block_write(mt_entry, sec, byte + MSDOS_FILE_WDATE_OFFSET,
 20181e0:	7f ff ea d4 	call  2012d30 <_fat_block_write>               
 20181e4:	90 10 00 18 	mov  %i0, %o0                                  
                            2, (char *)(&date));                      
    ret3 = _fat_block_write(mt_entry, sec, byte + MSDOS_FILE_ADATE_OFFSET,
 20181e8:	92 10 00 1c 	mov  %i4, %o1                                  
                                                                      
    time_val = CT_LE_W(time_val);                                     
    ret1 = _fat_block_write(mt_entry, sec, byte + MSDOS_FILE_WTIME_OFFSET,
                            2, (char *)(&time_val));                  
    date = CT_LE_W(date);                                             
    ret2 = _fat_block_write(mt_entry, sec, byte + MSDOS_FILE_WDATE_OFFSET,
 20181ec:	b4 10 00 08 	mov  %o0, %i2                                  
                            2, (char *)(&date));                      
    ret3 = _fat_block_write(mt_entry, sec, byte + MSDOS_FILE_ADATE_OFFSET,
 20181f0:	94 07 60 12 	add  %i5, 0x12, %o2                            
 20181f4:	90 10 00 18 	mov  %i0, %o0                                  
 20181f8:	96 10 20 02 	mov  2, %o3                                    
 20181fc:	7f ff ea cd 	call  2012d30 <_fat_block_write>               
 2018200:	98 07 bf fe 	add  %fp, -2, %o4                              
                            2, (char *)(&date));                      
                                                                      
    if ( (ret1 < 0) || (ret2 < 0) || (ret3 < 0) )                     
 2018204:	80 a6 a0 00 	cmp  %i2, 0                                    
 2018208:	06 80 00 07 	bl  2018224 <msdos_set_dir_wrt_time_and_date+0xe0><== NEVER TAKEN
 201820c:	80 a6 e0 00 	cmp  %i3, 0                                    
 2018210:	06 80 00 05 	bl  2018224 <msdos_set_dir_wrt_time_and_date+0xe0><== NEVER TAKEN
 2018214:	01 00 00 00 	nop                                            
        return -1;                                                    
 2018218:	b1 3a 20 1f 	sra  %o0, 0x1f, %i0                            
 201821c:	81 c7 e0 08 	ret                                            
 2018220:	81 e8 00 00 	restore                                        
                                                                      
    return RC_OK;                                                     
}                                                                     
 2018224:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2018228:	91 e8 3f ff 	restore  %g0, -1, %o0                          <== NOT EXECUTED
                                                                      

0201834c <msdos_set_first_char4file_name>: msdos_set_first_char4file_name( rtems_filesystem_mount_table_entry_t *mt_entry, fat_dir_pos_t *dir_pos, unsigned char fchar ) {
 201834c:	9d e3 bf 98 	save  %sp, -104, %sp                           <== NOT EXECUTED
    ssize_t          ret;                                             
    msdos_fs_info_t *fs_info = mt_entry->fs_info;                     
    uint32_t         dir_block_size;                                  
    fat_pos_t        start = dir_pos->lname;                          
 2018350:	c2 06 60 08 	ld  [ %i1 + 8 ], %g1                           <== NOT EXECUTED
    fat_dir_pos_t                        *dir_pos,                    
    unsigned char                         fchar                       
    )                                                                 
{                                                                     
    ssize_t          ret;                                             
    msdos_fs_info_t *fs_info = mt_entry->fs_info;                     
 2018354:	f8 06 20 34 	ld  [ %i0 + 0x34 ], %i4                        <== NOT EXECUTED
    uint32_t         dir_block_size;                                  
    fat_pos_t        start = dir_pos->lname;                          
 2018358:	c2 27 bf f8 	st  %g1, [ %fp + -8 ]                          <== NOT EXECUTED
 201835c:	c2 06 60 0c 	ld  [ %i1 + 0xc ], %g1                         <== NOT EXECUTED
    fat_pos_t        end = dir_pos->sname;                            
 2018360:	f6 06 40 00 	ld  [ %i1 ], %i3                               <== NOT EXECUTED
    )                                                                 
{                                                                     
    ssize_t          ret;                                             
    msdos_fs_info_t *fs_info = mt_entry->fs_info;                     
    uint32_t         dir_block_size;                                  
    fat_pos_t        start = dir_pos->lname;                          
 2018364:	c2 27 bf fc 	st  %g1, [ %fp + -4 ]                          <== NOT EXECUTED
    fat_pos_t        end = dir_pos->sname;                            
                                                                      
    if ((end.cln == fs_info->fat.vol.rdir_cl) &&                      
 2018368:	c2 07 20 38 	ld  [ %i4 + 0x38 ], %g1                        <== NOT EXECUTED
msdos_set_first_char4file_name(                                       
    rtems_filesystem_mount_table_entry_t *mt_entry,                   
    fat_dir_pos_t                        *dir_pos,                    
    unsigned char                         fchar                       
    )                                                                 
{                                                                     
 201836c:	f4 2f a0 4c 	stb  %i2, [ %fp + 0x4c ]                       <== NOT EXECUTED
 2018370:	ba 10 00 18 	mov  %i0, %i5                                  <== NOT EXECUTED
    msdos_fs_info_t *fs_info = mt_entry->fs_info;                     
    uint32_t         dir_block_size;                                  
    fat_pos_t        start = dir_pos->lname;                          
    fat_pos_t        end = dir_pos->sname;                            
                                                                      
    if ((end.cln == fs_info->fat.vol.rdir_cl) &&                      
 2018374:	80 a6 c0 01 	cmp  %i3, %g1                                  <== NOT EXECUTED
 2018378:	12 80 00 08 	bne  2018398 <msdos_set_first_char4file_name+0x4c><== NOT EXECUTED
 201837c:	e0 06 60 04 	ld  [ %i1 + 4 ], %l0                           <== NOT EXECUTED
        (fs_info->fat.vol.type & (FAT_FAT12 | FAT_FAT16)))            
 2018380:	c2 0f 20 0a 	ldub  [ %i4 + 0xa ], %g1                       <== NOT EXECUTED
    msdos_fs_info_t *fs_info = mt_entry->fs_info;                     
    uint32_t         dir_block_size;                                  
    fat_pos_t        start = dir_pos->lname;                          
    fat_pos_t        end = dir_pos->sname;                            
                                                                      
    if ((end.cln == fs_info->fat.vol.rdir_cl) &&                      
 2018384:	80 88 60 03 	btst  3, %g1                                   <== NOT EXECUTED
 2018388:	22 80 00 05 	be,a   201839c <msdos_set_first_char4file_name+0x50><== NOT EXECUTED
 201838c:	f4 17 20 06 	lduh  [ %i4 + 6 ], %i2                         <== NOT EXECUTED
        (fs_info->fat.vol.type & (FAT_FAT12 | FAT_FAT16)))            
      dir_block_size = fs_info->fat.vol.rdir_size;                    
 2018390:	10 80 00 03 	b  201839c <msdos_set_first_char4file_name+0x50><== NOT EXECUTED
 2018394:	f4 07 20 28 	ld  [ %i4 + 0x28 ], %i2                        <== NOT EXECUTED
    else                                                              
      dir_block_size = fs_info->fat.vol.bpc;                          
 2018398:	f4 17 20 06 	lduh  [ %i4 + 6 ], %i2                         <== NOT EXECUTED
                                                                      
    if (dir_pos->lname.cln == FAT_FILE_SHORT_NAME)                    
 201839c:	c2 06 60 08 	ld  [ %i1 + 8 ], %g1                           <== NOT EXECUTED
 20183a0:	80 a0 7f ff 	cmp  %g1, -1                                   <== NOT EXECUTED
 20183a4:	12 80 00 07 	bne  20183c0 <msdos_set_first_char4file_name+0x74><== NOT EXECUTED
 20183a8:	d2 07 bf f8 	ld  [ %fp + -8 ], %o1                          <== NOT EXECUTED
      start = dir_pos->sname;                                         
 20183ac:	c2 06 40 00 	ld  [ %i1 ], %g1                               <== NOT EXECUTED
 20183b0:	c2 27 bf f8 	st  %g1, [ %fp + -8 ]                          <== NOT EXECUTED
 20183b4:	c2 06 60 04 	ld  [ %i1 + 4 ], %g1                           <== NOT EXECUTED
 20183b8:	c2 27 bf fc 	st  %g1, [ %fp + -4 ]                          <== NOT EXECUTED
     * name code was written rather than use the fat_file_write       
     * interface.                                                     
     */                                                               
    while (true)                                                      
    {                                                                 
      uint32_t sec = (fat_cluster_num_to_sector_num(mt_entry, start.cln) +
 20183bc:	d2 07 bf f8 	ld  [ %fp + -8 ], %o1                          <== NOT EXECUTED
 20183c0:	7f ff fe 7b 	call  2017dac <fat_cluster_num_to_sector_num.isra.0><== NOT EXECUTED
 20183c4:	d0 07 60 34 	ld  [ %i5 + 0x34 ], %o0                        <== NOT EXECUTED
                      (start.ofs >> fs_info->fat.vol.sec_log2));      
 20183c8:	c2 07 bf fc 	ld  [ %fp + -4 ], %g1                          <== NOT EXECUTED
 20183cc:	d2 0f 20 02 	ldub  [ %i4 + 2 ], %o1                         <== NOT EXECUTED
      uint32_t byte = (start.ofs & (fs_info->fat.vol.bps - 1));;      
 20183d0:	d4 17 00 00 	lduh  [ %i4 ], %o2                             <== NOT EXECUTED
     * interface.                                                     
     */                                                               
    while (true)                                                      
    {                                                                 
      uint32_t sec = (fat_cluster_num_to_sector_num(mt_entry, start.cln) +
                      (start.ofs >> fs_info->fat.vol.sec_log2));      
 20183d4:	93 30 40 09 	srl  %g1, %o1, %o1                             <== NOT EXECUTED
      uint32_t byte = (start.ofs & (fs_info->fat.vol.bps - 1));;      
 20183d8:	94 02 bf ff 	add  %o2, -1, %o2                              <== NOT EXECUTED
     * name code was written rather than use the fat_file_write       
     * interface.                                                     
     */                                                               
    while (true)                                                      
    {                                                                 
      uint32_t sec = (fat_cluster_num_to_sector_num(mt_entry, start.cln) +
 20183dc:	92 02 00 09 	add  %o0, %o1, %o1                             <== NOT EXECUTED
                      (start.ofs >> fs_info->fat.vol.sec_log2));      
      uint32_t byte = (start.ofs & (fs_info->fat.vol.bps - 1));;      
                                                                      
      ret = _fat_block_write(mt_entry, sec, byte + MSDOS_FILE_NAME_OFFSET, 1,
 20183e0:	94 0a 80 01 	and  %o2, %g1, %o2                             <== NOT EXECUTED
 20183e4:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
 20183e8:	96 10 20 01 	mov  1, %o3                                    <== NOT EXECUTED
 20183ec:	7f ff ea 51 	call  2012d30 <_fat_block_write>               <== NOT EXECUTED
 20183f0:	98 07 a0 4c 	add  %fp, 0x4c, %o4                            <== NOT EXECUTED
                             &fchar);                                 
      if (ret < 0)                                                    
 20183f4:	80 a2 20 00 	cmp  %o0, 0                                    <== NOT EXECUTED
 20183f8:	06 80 00 1b 	bl  2018464 <msdos_set_first_char4file_name+0x118><== NOT EXECUTED
 20183fc:	d2 07 bf f8 	ld  [ %fp + -8 ], %o1                          <== NOT EXECUTED
        return -1;                                                    
                                                                      
      if ((start.cln == end.cln) && (start.ofs == end.ofs))           
 2018400:	80 a2 40 1b 	cmp  %o1, %i3                                  <== NOT EXECUTED
 2018404:	12 80 00 05 	bne  2018418 <msdos_set_first_char4file_name+0xcc><== NOT EXECUTED
 2018408:	c2 07 bf fc 	ld  [ %fp + -4 ], %g1                          <== NOT EXECUTED
 201840c:	80 a0 40 10 	cmp  %g1, %l0                                  <== NOT EXECUTED
 2018410:	02 80 00 16 	be  2018468 <msdos_set_first_char4file_name+0x11c><== NOT EXECUTED
 2018414:	90 10 20 00 	clr  %o0                                       <== NOT EXECUTED
        break;                                                        
                                                                      
      start.ofs += MSDOS_DIRECTORY_ENTRY_STRUCT_SIZE;                 
 2018418:	82 00 60 20 	add  %g1, 0x20, %g1                            <== NOT EXECUTED
      if (start.ofs >= dir_block_size)                                
 201841c:	80 a0 40 1a 	cmp  %g1, %i2                                  <== NOT EXECUTED
 2018420:	0a bf ff e7 	bcs  20183bc <msdos_set_first_char4file_name+0x70><== NOT EXECUTED
 2018424:	c2 27 bf fc 	st  %g1, [ %fp + -4 ]                          <== NOT EXECUTED
      {                                                               
        int rc;                                                       
        if ((end.cln == fs_info->fat.vol.rdir_cl) &&                  
 2018428:	c2 07 20 38 	ld  [ %i4 + 0x38 ], %g1                        <== NOT EXECUTED
 201842c:	80 a6 c0 01 	cmp  %i3, %g1                                  <== NOT EXECUTED
 2018430:	12 80 00 06 	bne  2018448 <msdos_set_first_char4file_name+0xfc><== NOT EXECUTED
 2018434:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
            (fs_info->fat.vol.type & (FAT_FAT12 | FAT_FAT16)))        
 2018438:	c2 0f 20 0a 	ldub  [ %i4 + 0xa ], %g1                       <== NOT EXECUTED
                                                                      
      start.ofs += MSDOS_DIRECTORY_ENTRY_STRUCT_SIZE;                 
      if (start.ofs >= dir_block_size)                                
      {                                                               
        int rc;                                                       
        if ((end.cln == fs_info->fat.vol.rdir_cl) &&                  
 201843c:	80 88 60 03 	btst  3, %g1                                   <== NOT EXECUTED
 2018440:	32 80 00 0a 	bne,a   2018468 <msdos_set_first_char4file_name+0x11c><== NOT EXECUTED
 2018444:	90 10 20 00 	clr  %o0                                       <== NOT EXECUTED
            (fs_info->fat.vol.type & (FAT_FAT12 | FAT_FAT16)))        
          break;                                                      
        rc = fat_get_fat_cluster(mt_entry, start.cln, &start.cln);    
 2018448:	40 00 05 5b 	call  20199b4 <fat_get_fat_cluster>            <== NOT EXECUTED
 201844c:	94 07 bf f8 	add  %fp, -8, %o2                              <== NOT EXECUTED
        if ( rc != RC_OK )                                            
 2018450:	80 a2 20 00 	cmp  %o0, 0                                    <== NOT EXECUTED
 2018454:	12 80 00 05 	bne  2018468 <msdos_set_first_char4file_name+0x11c><== NOT EXECUTED
 2018458:	01 00 00 00 	nop                                            <== NOT EXECUTED
          return rc;                                                  
        start.ofs = 0;                                                
 201845c:	10 bf ff d8 	b  20183bc <msdos_set_first_char4file_name+0x70><== NOT EXECUTED
 2018460:	c0 27 bf fc 	clr  [ %fp + -4 ]                              <== NOT EXECUTED
 2018464:	90 10 3f ff 	mov  -1, %o0                                   <== NOT EXECUTED
      }                                                               
    }                                                                 
                                                                      
    return  RC_OK;                                                    
}                                                                     
 2018468:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 201846c:	91 e8 00 08 	restore  %g0, %o0, %o0                         <== NOT EXECUTED
                                                                      

0201822c <msdos_set_first_cluster_num>: int msdos_set_first_cluster_num( rtems_filesystem_mount_table_entry_t *mt_entry, fat_file_fd_t *fat_fd ) {
 201822c:	9d e3 bf 98 	save  %sp, -104, %sp                           
    ssize_t          ret1 = 0, ret2 = 0;                              
    msdos_fs_info_t *fs_info = mt_entry->fs_info;                     
 2018230:	f4 06 20 34 	ld  [ %i0 + 0x34 ], %i2                        
                                                                      
    /*                                                                
     * calculate input for _fat_block_write: convert (cluster num, offset) to
     * (sector num, new offset)                                       
     */                                                               
    sec = fat_cluster_num_to_sector_num(mt_entry, fat_fd->dir_pos.sname.cln);
 2018234:	d2 06 60 20 	ld  [ %i1 + 0x20 ], %o1                        
 2018238:	90 10 00 1a 	mov  %i2, %o0                                  
    )                                                                 
{                                                                     
    ssize_t          ret1 = 0, ret2 = 0;                              
    msdos_fs_info_t *fs_info = mt_entry->fs_info;                     
    uint32_t         new_cln = fat_fd->cln;                           
    uint16_t         le_cl_low = 0;                                   
 201823c:	c0 37 bf fc 	clrh  [ %fp + -4 ]                             
                                                                      
    /*                                                                
     * calculate input for _fat_block_write: convert (cluster num, offset) to
     * (sector num, new offset)                                       
     */                                                               
    sec = fat_cluster_num_to_sector_num(mt_entry, fat_fd->dir_pos.sname.cln);
 2018240:	7f ff fe db 	call  2017dac <fat_cluster_num_to_sector_num.isra.0>
 2018244:	c0 37 bf fe 	clrh  [ %fp + -2 ]                             
    sec += (fat_fd->dir_pos.sname.ofs >> fs_info->fat.vol.sec_log2);  
 2018248:	c2 06 60 24 	ld  [ %i1 + 0x24 ], %g1                        
    /* byte from points to start of 32bytes structure */              
    byte = fat_fd->dir_pos.sname.ofs & (fs_info->fat.vol.bps - 1);    
 201824c:	fa 16 80 00 	lduh  [ %i2 ], %i5                             
    fat_file_fd_t                        *fat_fd                      
    )                                                                 
{                                                                     
    ssize_t          ret1 = 0, ret2 = 0;                              
    msdos_fs_info_t *fs_info = mt_entry->fs_info;                     
    uint32_t         new_cln = fat_fd->cln;                           
 2018250:	f6 06 60 1c 	ld  [ %i1 + 0x1c ], %i3                        
    /*                                                                
     * calculate input for _fat_block_write: convert (cluster num, offset) to
     * (sector num, new offset)                                       
     */                                                               
    sec = fat_cluster_num_to_sector_num(mt_entry, fat_fd->dir_pos.sname.cln);
    sec += (fat_fd->dir_pos.sname.ofs >> fs_info->fat.vol.sec_log2);  
 2018254:	f8 0e a0 02 	ldub  [ %i2 + 2 ], %i4                         
    /* byte from points to start of 32bytes structure */              
    byte = fat_fd->dir_pos.sname.ofs & (fs_info->fat.vol.bps - 1);    
 2018258:	ba 07 7f ff 	add  %i5, -1, %i5                              
    /*                                                                
     * calculate input for _fat_block_write: convert (cluster num, offset) to
     * (sector num, new offset)                                       
     */                                                               
    sec = fat_cluster_num_to_sector_num(mt_entry, fat_fd->dir_pos.sname.cln);
    sec += (fat_fd->dir_pos.sname.ofs >> fs_info->fat.vol.sec_log2);  
 201825c:	b9 30 40 1c 	srl  %g1, %i4, %i4                             
    /* byte from points to start of 32bytes structure */              
    byte = fat_fd->dir_pos.sname.ofs & (fs_info->fat.vol.bps - 1);    
 2018260:	ba 0f 40 01 	and  %i5, %g1, %i5                             
                                                                      
    le_cl_low = CT_LE_W((uint16_t  )(new_cln & 0x0000FFFF));          
 2018264:	83 2e e0 10 	sll  %i3, 0x10, %g1                            
 2018268:	85 30 60 08 	srl  %g1, 8, %g2                               
 201826c:	83 30 60 18 	srl  %g1, 0x18, %g1                            
 2018270:	82 10 80 01 	or  %g2, %g1, %g1                              
    /*                                                                
     * calculate input for _fat_block_write: convert (cluster num, offset) to
     * (sector num, new offset)                                       
     */                                                               
    sec = fat_cluster_num_to_sector_num(mt_entry, fat_fd->dir_pos.sname.cln);
    sec += (fat_fd->dir_pos.sname.ofs >> fs_info->fat.vol.sec_log2);  
 2018274:	b8 02 00 1c 	add  %o0, %i4, %i4                             
    /* byte from points to start of 32bytes structure */              
    byte = fat_fd->dir_pos.sname.ofs & (fs_info->fat.vol.bps - 1);    
                                                                      
    le_cl_low = CT_LE_W((uint16_t  )(new_cln & 0x0000FFFF));          
 2018278:	c2 37 bf fc 	sth  %g1, [ %fp + -4 ]                         
    ret1 = _fat_block_write(mt_entry, sec,                            
 201827c:	92 10 00 1c 	mov  %i4, %o1                                  
 2018280:	94 07 60 1a 	add  %i5, 0x1a, %o2                            
 2018284:	96 10 20 02 	mov  2, %o3                                    
 2018288:	98 07 bf fc 	add  %fp, -4, %o4                              
 201828c:	7f ff ea a9 	call  2012d30 <_fat_block_write>               
 2018290:	90 10 00 18 	mov  %i0, %o0                                  
                            byte + MSDOS_FIRST_CLUSTER_LOW_OFFSET, 2, 
                            (char *)(&le_cl_low));                    
    le_cl_hi = CT_LE_W((uint16_t  )((new_cln & 0xFFFF0000) >> 16));   
 2018294:	b7 36 e0 10 	srl  %i3, 0x10, %i3                            
 2018298:	b7 2e e0 10 	sll  %i3, 0x10, %i3                            
 201829c:	83 36 e0 08 	srl  %i3, 8, %g1                               
    sec += (fat_fd->dir_pos.sname.ofs >> fs_info->fat.vol.sec_log2);  
    /* byte from points to start of 32bytes structure */              
    byte = fat_fd->dir_pos.sname.ofs & (fs_info->fat.vol.bps - 1);    
                                                                      
    le_cl_low = CT_LE_W((uint16_t  )(new_cln & 0x0000FFFF));          
    ret1 = _fat_block_write(mt_entry, sec,                            
 20182a0:	b4 10 00 08 	mov  %o0, %i2                                  
                            byte + MSDOS_FIRST_CLUSTER_LOW_OFFSET, 2, 
                            (char *)(&le_cl_low));                    
    le_cl_hi = CT_LE_W((uint16_t  )((new_cln & 0xFFFF0000) >> 16));   
 20182a4:	b7 36 e0 18 	srl  %i3, 0x18, %i3                            
    ret2 = _fat_block_write(mt_entry, sec,                            
 20182a8:	90 10 00 18 	mov  %i0, %o0                                  
                                                                      
    le_cl_low = CT_LE_W((uint16_t  )(new_cln & 0x0000FFFF));          
    ret1 = _fat_block_write(mt_entry, sec,                            
                            byte + MSDOS_FIRST_CLUSTER_LOW_OFFSET, 2, 
                            (char *)(&le_cl_low));                    
    le_cl_hi = CT_LE_W((uint16_t  )((new_cln & 0xFFFF0000) >> 16));   
 20182ac:	b6 10 40 1b 	or  %g1, %i3, %i3                              
    ret2 = _fat_block_write(mt_entry, sec,                            
 20182b0:	92 10 00 1c 	mov  %i4, %o1                                  
                                                                      
    le_cl_low = CT_LE_W((uint16_t  )(new_cln & 0x0000FFFF));          
    ret1 = _fat_block_write(mt_entry, sec,                            
                            byte + MSDOS_FIRST_CLUSTER_LOW_OFFSET, 2, 
                            (char *)(&le_cl_low));                    
    le_cl_hi = CT_LE_W((uint16_t  )((new_cln & 0xFFFF0000) >> 16));   
 20182b4:	f6 37 bf fe 	sth  %i3, [ %fp + -2 ]                         
    ret2 = _fat_block_write(mt_entry, sec,                            
 20182b8:	94 07 60 14 	add  %i5, 0x14, %o2                            
 20182bc:	96 10 20 02 	mov  2, %o3                                    
 20182c0:	7f ff ea 9c 	call  2012d30 <_fat_block_write>               
 20182c4:	98 07 bf fe 	add  %fp, -2, %o4                              
                            byte + MSDOS_FIRST_CLUSTER_HI_OFFSET, 2,  
                            (char *)(&le_cl_hi));                     
    if ( (ret1 < 0) || (ret2 < 0) )                                   
 20182c8:	80 a2 20 00 	cmp  %o0, 0                                    
 20182cc:	06 80 00 04 	bl  20182dc <msdos_set_first_cluster_num+0xb0> <== NEVER TAKEN
 20182d0:	80 a6 a0 00 	cmp  %i2, 0                                    
 20182d4:	16 80 00 03 	bge  20182e0 <msdos_set_first_cluster_num+0xb4><== ALWAYS TAKEN
 20182d8:	b0 10 20 00 	clr  %i0                                       
        return -1;                                                    
 20182dc:	b0 10 3f ff 	mov  -1, %i0                                   <== NOT EXECUTED
                                                                      
    return RC_OK;                                                     
}                                                                     
 20182e0:	81 c7 e0 08 	ret                                            
 20182e4:	81 e8 00 00 	restore                                        
                                                                      

02017d28 <msdos_shut_down>: * RC_OK on success, or -1 if error occured (errno set apropriately). * */ int msdos_shut_down(rtems_filesystem_mount_table_entry_t *temp_mt_entry) {
 2017d28:	9d e3 bf a0 	save  %sp, -96, %sp                            <== NOT EXECUTED
    int              rc = RC_OK;                                      
    msdos_fs_info_t *fs_info = temp_mt_entry->fs_info;                
    fat_file_fd_t   *fat_fd = temp_mt_entry->mt_fs_root.node_access;  
                                                                      
    /* close fat-file which correspondes to root directory */         
    if (fat_file_close(temp_mt_entry, fat_fd) != RC_OK)               
 2017d2c:	d2 06 20 1c 	ld  [ %i0 + 0x1c ], %o1                        <== NOT EXECUTED
 */                                                                   
int                                                                   
msdos_shut_down(rtems_filesystem_mount_table_entry_t *temp_mt_entry)  
{                                                                     
    int              rc = RC_OK;                                      
    msdos_fs_info_t *fs_info = temp_mt_entry->fs_info;                
 2017d30:	f8 06 20 34 	ld  [ %i0 + 0x34 ], %i4                        <== NOT EXECUTED
    fat_file_fd_t   *fat_fd = temp_mt_entry->mt_fs_root.node_access;  
                                                                      
    /* close fat-file which correspondes to root directory */         
    if (fat_file_close(temp_mt_entry, fat_fd) != RC_OK)               
 2017d34:	7f ff e9 0d 	call  2012168 <fat_file_close>                 <== NOT EXECUTED
 2017d38:	90 10 00 18 	mov  %i0, %o0                                  <== NOT EXECUTED
 *                                                                    
 */                                                                   
int                                                                   
msdos_shut_down(rtems_filesystem_mount_table_entry_t *temp_mt_entry)  
{                                                                     
    int              rc = RC_OK;                                      
 2017d3c:	80 a0 00 08 	cmp  %g0, %o0                                  <== NOT EXECUTED
 *     RC_OK on success, or -1 if error occured (errno set apropriately).
 *                                                                    
 */                                                                   
int                                                                   
msdos_shut_down(rtems_filesystem_mount_table_entry_t *temp_mt_entry)  
{                                                                     
 2017d40:	ba 10 00 18 	mov  %i0, %i5                                  <== NOT EXECUTED
    int              rc = RC_OK;                                      
 2017d44:	b0 60 20 00 	subx  %g0, 0, %i0                              <== NOT EXECUTED
    {                                                                 
        /* no return - try to free as much as possible */             
        rc = -1;                                                      
    }                                                                 
                                                                      
    if (fat_shutdown_drive(temp_mt_entry) != RC_OK)                   
 2017d48:	7f ff ec cc 	call  2013078 <fat_shutdown_drive>             <== NOT EXECUTED
 2017d4c:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
 2017d50:	80 a2 20 00 	cmp  %o0, 0                                    <== NOT EXECUTED
 2017d54:	32 80 00 02 	bne,a   2017d5c <msdos_shut_down+0x34>         <== NOT EXECUTED
 2017d58:	b0 10 3f ff 	mov  -1, %i0                                   <== NOT EXECUTED
    {                                                                 
        /* no return - try to free as much as possible */             
        rc = -1;                                                      
    }                                                                 
                                                                      
    rtems_semaphore_delete(fs_info->vol_sema);                        
 2017d5c:	7f ff c8 63 	call  2009ee8 <rtems_semaphore_delete>         <== NOT EXECUTED
 2017d60:	d0 07 20 98 	ld  [ %i4 + 0x98 ], %o0                        <== NOT EXECUTED
    free(fs_info->cl_buf);                                            
 2017d64:	7f ff b7 c2 	call  2005c6c <free>                           <== NOT EXECUTED
 2017d68:	d0 07 20 9c 	ld  [ %i4 + 0x9c ], %o0                        <== NOT EXECUTED
    free(temp_mt_entry->fs_info);                                     
 2017d6c:	7f ff b7 c0 	call  2005c6c <free>                           <== NOT EXECUTED
 2017d70:	d0 07 60 34 	ld  [ %i5 + 0x34 ], %o0                        <== NOT EXECUTED
                                                                      
    return rc;                                                        
}                                                                     
 2017d74:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2017d78:	81 e8 00 00 	restore                                        <== NOT EXECUTED
                                                                      

02003910 <newlib_delete_hook>: void newlib_delete_hook( rtems_tcb *current_task, rtems_tcb *deleted_task ) {
 2003910:	9d e3 bf a0 	save  %sp, -96, %sp                            
  /*                                                                  
   * The reentrancy structure was allocated by newlib using malloc()  
   */                                                                 
                                                                      
  if (current_task == deleted_task) {                                 
    ptr = _REENT;                                                     
 2003914:	03 00 80 6a 	sethi  %hi(0x201a800), %g1                     
                                                                      
  /*                                                                  
   * The reentrancy structure was allocated by newlib using malloc()  
   */                                                                 
                                                                      
  if (current_task == deleted_task) {                                 
 2003918:	80 a6 00 19 	cmp  %i0, %i1                                  
 200391c:	02 80 00 03 	be  2003928 <newlib_delete_hook+0x18>          
 2003920:	fa 00 63 c0 	ld  [ %g1 + 0x3c0 ], %i5                       
    ptr = _REENT;                                                     
  } else {                                                            
    ptr = deleted_task->libc_reent;                                   
 2003924:	fa 06 61 54 	ld  [ %i1 + 0x154 ], %i5                       
  }                                                                   
                                                                      
  if (ptr && ptr != _global_impure_ptr) {                             
 2003928:	80 a7 60 00 	cmp  %i5, 0                                    
 200392c:	02 80 00 0b 	be  2003958 <newlib_delete_hook+0x48>          <== NEVER TAKEN
 2003930:	03 00 80 67 	sethi  %hi(0x2019c00), %g1                     
 2003934:	c2 00 61 a8 	ld  [ %g1 + 0x1a8 ], %g1	! 2019da8 <_global_impure_ptr>
 2003938:	80 a7 40 01 	cmp  %i5, %g1                                  
 200393c:	02 80 00 07 	be  2003958 <newlib_delete_hook+0x48>          
 2003940:	13 00 80 0d 	sethi  %hi(0x2003400), %o1                     
    _reclaim_reent(ptr);                                              
*/                                                                    
    /*                                                                
     *  Just in case there are some buffers lying around.             
     */                                                               
    _fwalk(ptr, newlib_free_buffers);                                 
 2003944:	90 10 00 1d 	mov  %i5, %o0                                  
 2003948:	40 00 2b 02 	call  200e550 <_fwalk>                         
 200394c:	92 12 63 04 	or  %o1, 0x304, %o1                            
#if REENT_MALLOCED                                                    
    free(ptr);                                                        
#else                                                                 
    _Workspace_Free(ptr);                                             
 2003950:	40 00 18 fe 	call  2009d48 <_Workspace_Free>                
 2003954:	90 10 00 1d 	mov  %i5, %o0                                  
                                                                      
  /*                                                                  
   * Require the switch back to another task to install its own       
   */                                                                 
                                                                      
  if ( current_task == deleted_task ) {                               
 2003958:	80 a6 00 19 	cmp  %i0, %i1                                  
 200395c:	12 80 00 04 	bne  200396c <newlib_delete_hook+0x5c>         
 2003960:	c0 26 61 54 	clr  [ %i1 + 0x154 ]                           
    _REENT = 0;                                                       
 2003964:	03 00 80 6a 	sethi  %hi(0x201a800), %g1                     
 2003968:	c0 20 63 c0 	clr  [ %g1 + 0x3c0 ]	! 201abc0 <_impure_ptr>   
 200396c:	81 c7 e0 08 	ret                                            
 2003970:	81 e8 00 00 	restore                                        
                                                                      

02003704 <newlib_free_buffers>: */ int newlib_free_buffers( FILE *fp ) {
 2003704:	9d e3 bf a0 	save  %sp, -96, %sp                            
  switch ( fileno(fp) ) {                                             
 2003708:	40 00 2a 9a 	call  200e170 <fileno>                         
 200370c:	90 10 00 18 	mov  %i0, %o0                                  
 2003710:	80 a2 20 02 	cmp  %o0, 2                                    
 2003714:	18 80 00 0e 	bgu  200374c <newlib_free_buffers+0x48>        <== NEVER TAKEN
 2003718:	01 00 00 00 	nop                                            
    case 0:                                                           
    case 1:                                                           
    case 2:                                                           
      if (fp->_flags & __SMBF) {                                      
 200371c:	c2 16 20 0c 	lduh  [ %i0 + 0xc ], %g1                       
 2003720:	80 88 60 80 	btst  0x80, %g1                                
 2003724:	02 80 00 0c 	be  2003754 <newlib_free_buffers+0x50>         <== ALWAYS TAKEN
 2003728:	01 00 00 00 	nop                                            
        free( fp->_bf._base );                                        
 200372c:	7f ff fd aa 	call  2002dd4 <free>                           <== NOT EXECUTED
 2003730:	d0 06 20 10 	ld  [ %i0 + 0x10 ], %o0                        <== NOT EXECUTED
        fp->_flags &= ~__SMBF;                                        
 2003734:	c2 16 20 0c 	lduh  [ %i0 + 0xc ], %g1                       <== NOT EXECUTED
        fp->_bf._base = fp->_p = (unsigned char *) NULL;              
 2003738:	c0 26 00 00 	clr  [ %i0 ]                                   <== NOT EXECUTED
    case 0:                                                           
    case 1:                                                           
    case 2:                                                           
      if (fp->_flags & __SMBF) {                                      
        free( fp->_bf._base );                                        
        fp->_flags &= ~__SMBF;                                        
 200373c:	82 08 7f 7f 	and  %g1, -129, %g1                            <== NOT EXECUTED
        fp->_bf._base = fp->_p = (unsigned char *) NULL;              
 2003740:	c0 26 20 10 	clr  [ %i0 + 0x10 ]                            <== NOT EXECUTED
    case 0:                                                           
    case 1:                                                           
    case 2:                                                           
      if (fp->_flags & __SMBF) {                                      
        free( fp->_bf._base );                                        
        fp->_flags &= ~__SMBF;                                        
 2003744:	10 80 00 04 	b  2003754 <newlib_free_buffers+0x50>          <== NOT EXECUTED
 2003748:	c2 36 20 0c 	sth  %g1, [ %i0 + 0xc ]                        <== NOT EXECUTED
        fp->_bf._base = fp->_p = (unsigned char *) NULL;              
      }                                                               
      break;                                                          
    default:                                                          
     fclose(fp);                                                      
 200374c:	40 00 29 bc 	call  200de3c <fclose>                         <== NOT EXECUTED
 2003750:	90 10 00 18 	mov  %i0, %o0                                  <== NOT EXECUTED
  }                                                                   
  return 0;                                                           
}                                                                     
 2003754:	81 c7 e0 08 	ret                                            
 2003758:	91 e8 20 00 	restore  %g0, 0, %o0                           
                                                                      

02001c68 <notify>: } void notify (s) char *s; {
 2001c68:	9d e3 bf a0 	save  %sp, -96, %sp                            <== NOT EXECUTED
    printf ("%s test appears to be inconsistent...\n", s);            
 2001c6c:	11 00 80 82 	sethi  %hi(0x2020800), %o0                     <== NOT EXECUTED
 2001c70:	92 10 00 18 	mov  %i0, %o1                                  <== NOT EXECUTED
 2001c74:	40 00 52 04 	call  2016484 <printf>                         <== NOT EXECUTED
 2001c78:	90 12 20 50 	or  %o0, 0x50, %o0                             <== NOT EXECUTED
    printf ("   PLEASE NOTIFY KARPINKSI!\n");                         
 2001c7c:	31 00 80 82 	sethi  %hi(0x2020800), %i0                     <== NOT EXECUTED
 2001c80:	40 00 52 42 	call  2016588 <puts>                           <== NOT EXECUTED
 2001c84:	91 ee 20 78 	restore  %i0, 0x78, %o0                        <== NOT EXECUTED
                                                                      

020039e8 <open>: int open( const char *pathname, int flags, ... ) {
 20039e8:	9d e3 bf 88 	save  %sp, -120, %sp                           
  if ( ( status & _FREAD ) == _FREAD )                                
    eval_flags |= RTEMS_LIBIO_PERMS_READ;                             
  if ( ( status & _FWRITE ) == _FWRITE )                              
    eval_flags |= RTEMS_LIBIO_PERMS_WRITE;                            
                                                                      
  va_start(ap, flags);                                                
 20039ec:	f8 27 a0 54 	st  %i4, [ %fp + 0x54 ]                        
 20039f0:	f4 27 a0 4c 	st  %i2, [ %fp + 0x4c ]                        
 20039f4:	f6 27 a0 50 	st  %i3, [ %fp + 0x50 ]                        
 20039f8:	fa 27 a0 58 	st  %i5, [ %fp + 0x58 ]                        
                                                                      
  /*                                                                  
   * Set the Evaluation flags                                         
   */                                                                 
  eval_flags = 0;                                                     
  status = flags + 1;                                                 
 20039fc:	82 06 60 01 	add  %i1, 1, %g1                               
  if ( ( status & _FREAD ) == _FREAD )                                
    eval_flags |= RTEMS_LIBIO_PERMS_READ;                             
 2003a00:	b8 08 60 01 	and  %g1, 1, %i4                               
  if ( ( status & _FWRITE ) == _FWRITE )                              
 2003a04:	80 88 60 02 	btst  2, %g1                                   
 2003a08:	02 80 00 03 	be  2003a14 <open+0x2c>                        
 2003a0c:	b9 2f 20 02 	sll  %i4, 2, %i4                               
    eval_flags |= RTEMS_LIBIO_PERMS_WRITE;                            
 2003a10:	b8 17 20 02 	or  %i4, 2, %i4                                
                                                                      
  va_start(ap, flags);                                                
                                                                      
  mode = va_arg( ap, int );                                           
 2003a14:	82 07 a0 50 	add  %fp, 0x50, %g1                            
 2003a18:	f6 07 a0 4c 	ld  [ %fp + 0x4c ], %i3                        
   *             code does not require changes here since network file
   *             descriptors are obtained using socket(), not open(). 
   */                                                                 
                                                                      
  /* allocate a file control block */                                 
  iop = rtems_libio_allocate();                                       
 2003a1c:	40 00 1e 64 	call  200b3ac <rtems_libio_allocate>           
 2003a20:	c2 27 bf fc 	st  %g1, [ %fp + -4 ]                          
  if ( iop == 0 ) {                                                   
 2003a24:	ba 92 20 00 	orcc  %o0, 0, %i5                              
 2003a28:	02 80 00 7b 	be  2003c14 <open+0x22c>                       
 2003a2c:	b4 10 20 17 	mov  0x17, %i2                                 
  }                                                                   
                                                                      
  /*                                                                  
   *  See if the file exists.                                         
   */                                                                 
  status = rtems_filesystem_evaluate_path(                            
 2003a30:	40 00 2e 49 	call  200f354 <strlen>                         
 2003a34:	90 10 00 18 	mov  %i0, %o0                                  
 2003a38:	94 10 00 1c 	mov  %i4, %o2                                  
 2003a3c:	92 10 00 08 	mov  %o0, %o1                                  
 2003a40:	96 07 bf e8 	add  %fp, -24, %o3                             
 2003a44:	90 10 00 18 	mov  %i0, %o0                                  
 2003a48:	7f ff fc ac 	call  2002cf8 <rtems_filesystem_evaluate_path> 
 2003a4c:	98 10 20 01 	mov  1, %o4                                    
    pathname, strlen( pathname ), eval_flags, &loc, true );           
                                                                      
  if ( status == -1 ) {                                               
 2003a50:	80 a2 3f ff 	cmp  %o0, -1                                   
 2003a54:	12 80 00 2a 	bne  2003afc <open+0x114>                      
 2003a58:	82 0e 6a 00 	and  %i1, 0xa00, %g1                           
    if ( errno != ENOENT ) {                                          
 2003a5c:	40 00 28 a6 	call  200dcf4 <__errno>                        
 2003a60:	01 00 00 00 	nop                                            
 2003a64:	c2 02 00 00 	ld  [ %o0 ], %g1                               
 2003a68:	80 a0 60 02 	cmp  %g1, 2                                    
 2003a6c:	02 80 00 06 	be  2003a84 <open+0x9c>                        
 2003a70:	b8 10 20 00 	clr  %i4                                       
      rc = errno;                                                     
 2003a74:	40 00 28 a0 	call  200dcf4 <__errno>                        
 2003a78:	01 00 00 00 	nop                                            
      goto done;                                                      
 2003a7c:	10 80 00 59 	b  2003be0 <open+0x1f8>                        
 2003a80:	f4 02 00 00 	ld  [ %o0 ], %i2                               
    }                                                                 
                                                                      
    /* If the file does not exist and we are not trying to create it--> error */
    if ( !(flags & O_CREAT) ) {                                       
 2003a84:	80 8e 62 00 	btst  0x200, %i1                               
 2003a88:	02 80 00 59 	be  2003bec <open+0x204>                       
 2003a8c:	b4 10 20 02 	mov  2, %i2                                    
      rc = ENOENT;                                                    
      goto done;                                                      
    }                                                                 
                                                                      
    /* Create the node for the new regular file */                    
    rc = mknod( pathname, S_IFREG | mode, 0LL );                      
 2003a90:	90 10 00 18 	mov  %i0, %o0                                  
 2003a94:	13 00 00 20 	sethi  %hi(0x8000), %o1                        
 2003a98:	94 10 20 00 	clr  %o2                                       
 2003a9c:	92 16 c0 09 	or  %i3, %o1, %o1                              
 2003aa0:	7f ff fd ef 	call  200325c <mknod>                          
 2003aa4:	96 10 20 00 	clr  %o3                                       
    if ( rc ) {                                                       
 2003aa8:	80 a2 20 00 	cmp  %o0, 0                                    
 2003aac:	02 80 00 06 	be  2003ac4 <open+0xdc>                        <== ALWAYS TAKEN
 2003ab0:	01 00 00 00 	nop                                            
      rc = errno;                                                     
 2003ab4:	40 00 28 90 	call  200dcf4 <__errno>                        <== NOT EXECUTED
 2003ab8:	01 00 00 00 	nop                                            <== NOT EXECUTED
      goto done;                                                      
 2003abc:	10 80 00 49 	b  2003be0 <open+0x1f8>                        <== NOT EXECUTED
 2003ac0:	f4 02 00 00 	ld  [ %o0 ], %i2                               <== NOT EXECUTED
    /*                                                                
     * After we do the mknod(), we have to evaluate the path to get the
     * "loc" structure needed to actually have the file itself open.  
     * So we created it, and then we need to have "look it up."       
     */                                                               
    status = rtems_filesystem_evaluate_path(                          
 2003ac4:	40 00 2e 24 	call  200f354 <strlen>                         
 2003ac8:	90 10 00 18 	mov  %i0, %o0                                  
 2003acc:	94 10 20 00 	clr  %o2                                       
 2003ad0:	92 10 00 08 	mov  %o0, %o1                                  
 2003ad4:	96 07 bf e8 	add  %fp, -24, %o3                             
 2003ad8:	90 10 00 18 	mov  %i0, %o0                                  
 2003adc:	98 10 20 01 	mov  1, %o4                                    
 2003ae0:	7f ff fc 86 	call  2002cf8 <rtems_filesystem_evaluate_path> 
 2003ae4:	b4 10 20 0d 	mov  0xd, %i2                                  
      pathname, strlen( pathname ), 0x0, &loc, true );                
    if ( status != 0 ) {   /* The file did not exist */               
 2003ae8:	80 a2 20 00 	cmp  %o0, 0                                    
 2003aec:	12 80 00 41 	bne  2003bf0 <open+0x208>                      <== NEVER TAKEN
 2003af0:	80 a7 60 00 	cmp  %i5, 0                                    
                                                                      
  /*                                                                  
   *  Fill in the file control block based on the loc structure       
   *  returned by successful path evaluation.                         
   */                                                                 
  iop->flags     |= rtems_libio_fcntl_flags( flags );                 
 2003af4:	10 80 00 06 	b  2003b0c <open+0x124>                        
 2003af8:	f8 07 60 18 	ld  [ %i5 + 0x18 ], %i4                        
    if ( status != 0 ) {   /* The file did not exist */               
      rc = EACCES;                                                    
      goto done;                                                      
    }                                                                 
                                                                      
  } else if ((flags & (O_EXCL|O_CREAT)) == (O_EXCL|O_CREAT)) {        
 2003afc:	80 a0 6a 00 	cmp  %g1, 0xa00                                
 2003b00:	02 80 00 36 	be  2003bd8 <open+0x1f0>                       
 2003b04:	b8 07 bf e8 	add  %fp, -24, %i4                             
                                                                      
  /*                                                                  
   *  Fill in the file control block based on the loc structure       
   *  returned by successful path evaluation.                         
   */                                                                 
  iop->flags     |= rtems_libio_fcntl_flags( flags );                 
 2003b08:	f8 07 60 18 	ld  [ %i5 + 0x18 ], %i4                        
 2003b0c:	40 00 1e 05 	call  200b320 <rtems_libio_fcntl_flags>        
 2003b10:	90 10 00 19 	mov  %i1, %o0                                  
  iop->pathinfo   = loc;                                              
 2003b14:	92 07 bf e8 	add  %fp, -24, %o1                             
                                                                      
  /*                                                                  
   *  Fill in the file control block based on the loc structure       
   *  returned by successful path evaluation.                         
   */                                                                 
  iop->flags     |= rtems_libio_fcntl_flags( flags );                 
 2003b18:	b8 12 00 1c 	or  %o0, %i4, %i4                              
  iop->pathinfo   = loc;                                              
 2003b1c:	94 10 20 14 	mov  0x14, %o2                                 
                                                                      
  /*                                                                  
   *  Fill in the file control block based on the loc structure       
   *  returned by successful path evaluation.                         
   */                                                                 
  iop->flags     |= rtems_libio_fcntl_flags( flags );                 
 2003b20:	f8 27 60 18 	st  %i4, [ %i5 + 0x18 ]                        
  iop->pathinfo   = loc;                                              
 2003b24:	40 00 2a d0 	call  200e664 <memcpy>                         
 2003b28:	90 07 60 1c 	add  %i5, 0x1c, %o0                            
                                                                      
  rc = (*iop->pathinfo.handlers->open_h)( iop, pathname, flags, mode );
 2003b2c:	c2 07 60 24 	ld  [ %i5 + 0x24 ], %g1                        
 2003b30:	90 10 00 1d 	mov  %i5, %o0                                  
 2003b34:	c2 00 40 00 	ld  [ %g1 ], %g1                               
 2003b38:	92 10 00 18 	mov  %i0, %o1                                  
 2003b3c:	94 10 00 19 	mov  %i1, %o2                                  
 2003b40:	9f c0 40 00 	call  %g1                                      
 2003b44:	96 10 00 1b 	mov  %i3, %o3                                  
  if ( rc ) {                                                         
 2003b48:	80 a2 20 00 	cmp  %o0, 0                                    
 2003b4c:	02 80 00 06 	be  2003b64 <open+0x17c>                       
 2003b50:	80 8e 64 00 	btst  0x400, %i1                               
    rc = errno;                                                       
 2003b54:	40 00 28 68 	call  200dcf4 <__errno>                        
 2003b58:	b8 07 bf e8 	add  %fp, -24, %i4                             
    goto done;                                                        
 2003b5c:	10 80 00 21 	b  2003be0 <open+0x1f8>                        
 2003b60:	f4 02 00 00 	ld  [ %o0 ], %i2                               
  }                                                                   
                                                                      
  /*                                                                  
   *  Optionally truncate the file.                                   
   */                                                                 
  if ( (flags & O_TRUNC) == O_TRUNC ) {                               
 2003b64:	02 80 00 31 	be  2003c28 <open+0x240>                       
 2003b68:	03 00 80 6c 	sethi  %hi(0x201b000), %g1                     
    rc = ftruncate( iop - rtems_libio_iops, 0 );                      
 2003b6c:	d0 00 63 58 	ld  [ %g1 + 0x358 ], %o0	! 201b358 <rtems_libio_iops>
 2003b70:	92 10 20 00 	clr  %o1                                       
 2003b74:	90 27 40 08 	sub  %i5, %o0, %o0                             
 2003b78:	94 10 20 00 	clr  %o2                                       
 2003b7c:	40 00 1d ae 	call  200b234 <ftruncate>                      
 2003b80:	91 3a 20 06 	sra  %o0, 6, %o0                               
    if ( rc ) {                                                       
 2003b84:	b4 92 20 00 	orcc  %o0, 0, %i2                              
 2003b88:	02 80 00 28 	be  2003c28 <open+0x240>                       
 2003b8c:	03 00 80 6c 	sethi  %hi(0x201b000), %g1                     
      if(errno) rc = errno;                                           
 2003b90:	40 00 28 59 	call  200dcf4 <__errno>                        
 2003b94:	01 00 00 00 	nop                                            
 2003b98:	c2 02 00 00 	ld  [ %o0 ], %g1                               
 2003b9c:	80 a0 60 00 	cmp  %g1, 0                                    
 2003ba0:	02 80 00 06 	be  2003bb8 <open+0x1d0>                       <== NEVER TAKEN
 2003ba4:	03 00 80 6c 	sethi  %hi(0x201b000), %g1                     
 2003ba8:	40 00 28 53 	call  200dcf4 <__errno>                        
 2003bac:	01 00 00 00 	nop                                            
 2003bb0:	f4 02 00 00 	ld  [ %o0 ], %i2                               
      close( iop - rtems_libio_iops );                                
 2003bb4:	03 00 80 6c 	sethi  %hi(0x201b000), %g1                     
 2003bb8:	c2 00 63 58 	ld  [ %g1 + 0x358 ], %g1	! 201b358 <rtems_libio_iops>
      /* those are released by close(): */                            
      iop = 0;                                                        
      loc_to_free = NULL;                                             
 2003bbc:	b8 10 20 00 	clr  %i4                                       
   */                                                                 
  if ( (flags & O_TRUNC) == O_TRUNC ) {                               
    rc = ftruncate( iop - rtems_libio_iops, 0 );                      
    if ( rc ) {                                                       
      if(errno) rc = errno;                                           
      close( iop - rtems_libio_iops );                                
 2003bc0:	ba 27 40 01 	sub  %i5, %g1, %i5                             
 2003bc4:	91 3f 60 06 	sra  %i5, 6, %o0                               
 2003bc8:	40 00 1d 79 	call  200b1ac <close>                          
 2003bcc:	ba 10 20 00 	clr  %i5                                       
   *  Single exit and clean up path.                                  
   */                                                                 
done:                                                                 
  va_end(ap);                                                         
                                                                      
  if ( rc ) {                                                         
 2003bd0:	10 80 00 05 	b  2003be4 <open+0x1fc>                        
 2003bd4:	80 a6 a0 00 	cmp  %i2, 0                                    
      goto done;                                                      
    }                                                                 
                                                                      
  } else if ((flags & (O_EXCL|O_CREAT)) == (O_EXCL|O_CREAT)) {        
    /* We were trying to create a file that already exists */         
    rc = EEXIST;                                                      
 2003bd8:	10 80 00 05 	b  2003bec <open+0x204>                        
 2003bdc:	b4 10 20 11 	mov  0x11, %i2                                 
   *  Single exit and clean up path.                                  
   */                                                                 
done:                                                                 
  va_end(ap);                                                         
                                                                      
  if ( rc ) {                                                         
 2003be0:	80 a6 a0 00 	cmp  %i2, 0                                    
 2003be4:	02 80 00 11 	be  2003c28 <open+0x240>                       <== NEVER TAKEN
 2003be8:	03 00 80 6c 	sethi  %hi(0x201b000), %g1                     
    if ( iop )                                                        
 2003bec:	80 a7 60 00 	cmp  %i5, 0                                    
 2003bf0:	02 80 00 05 	be  2003c04 <open+0x21c>                       
 2003bf4:	80 a7 20 00 	cmp  %i4, 0                                    
      rtems_libio_free( iop );                                        
 2003bf8:	40 00 1e 11 	call  200b43c <rtems_libio_free>               
 2003bfc:	90 10 00 1d 	mov  %i5, %o0                                  
    if ( loc_to_free )                                                
 2003c00:	80 a7 20 00 	cmp  %i4, 0                                    
 2003c04:	02 80 00 04 	be  2003c14 <open+0x22c>                       
 2003c08:	01 00 00 00 	nop                                            
      rtems_filesystem_freenode( loc_to_free );                       
 2003c0c:	7f ff fc 6b 	call  2002db8 <rtems_filesystem_freenode>      
 2003c10:	90 10 00 1c 	mov  %i4, %o0                                  
    rtems_set_errno_and_return_minus_one( rc );                       
 2003c14:	40 00 28 38 	call  200dcf4 <__errno>                        
 2003c18:	b0 10 3f ff 	mov  -1, %i0                                   
 2003c1c:	f4 22 00 00 	st  %i2, [ %o0 ]                               
 2003c20:	81 c7 e0 08 	ret                                            
 2003c24:	81 e8 00 00 	restore                                        
  }                                                                   
                                                                      
  return iop - rtems_libio_iops;                                      
 2003c28:	f0 00 63 58 	ld  [ %g1 + 0x358 ], %i0                       
 2003c2c:	ba 27 40 18 	sub  %i5, %i0, %i5                             
 2003c30:	b1 3f 60 06 	sra  %i5, 6, %i0                               
}                                                                     
 2003c34:	81 c7 e0 08 	ret                                            
 2003c38:	81 e8 00 00 	restore                                        
                                                                      

02004928 <oproc>: /* * Handle output processing */ static void oproc (unsigned char c, struct rtems_termios_tty *tty) {
 2004928:	9d e3 bf a0 	save  %sp, -96, %sp                            
  int  i;                                                             
                                                                      
  if (tty->termios.c_oflag & OPOST) {                                 
 200492c:	c2 06 60 34 	ld  [ %i1 + 0x34 ], %g1                        
 2004930:	80 88 60 01 	btst  1, %g1                                   
 2004934:	02 80 00 59 	be  2004a98 <oproc+0x170>                      <== NEVER TAKEN
 2004938:	f0 2f a0 44 	stb  %i0, [ %fp + 0x44 ]                       
    switch (c) {                                                      
 200493c:	84 0e 20 ff 	and  %i0, 0xff, %g2                            
 2004940:	80 a0 a0 09 	cmp  %g2, 9                                    
 2004944:	22 80 00 2a 	be,a   20049ec <oproc+0xc4>                    
 2004948:	c4 06 60 28 	ld  [ %i1 + 0x28 ], %g2                        
 200494c:	18 80 00 07 	bgu  2004968 <oproc+0x40>                      <== ALWAYS TAKEN
 2004950:	80 a0 a0 0a 	cmp  %g2, 0xa                                  
 2004954:	80 a0 a0 08 	cmp  %g2, 8                                    <== NOT EXECUTED
 2004958:	12 80 00 39 	bne  2004a3c <oproc+0x114>                     <== NOT EXECUTED
 200495c:	80 88 60 02 	btst  2, %g1                                   <== NOT EXECUTED
      }                                                               
      tty->column += i;                                               
      break;                                                          
                                                                      
    case '\b':                                                        
      if (tty->column > 0)                                            
 2004960:	10 80 00 32 	b  2004a28 <oproc+0x100>                       <== NOT EXECUTED
 2004964:	c2 06 60 28 	ld  [ %i1 + 0x28 ], %g1                        <== NOT EXECUTED
oproc (unsigned char c, struct rtems_termios_tty *tty)                
{                                                                     
  int  i;                                                             
                                                                      
  if (tty->termios.c_oflag & OPOST) {                                 
    switch (c) {                                                      
 2004968:	02 80 00 06 	be  2004980 <oproc+0x58>                       
 200496c:	80 a0 a0 0d 	cmp  %g2, 0xd                                  
 2004970:	32 80 00 33 	bne,a   2004a3c <oproc+0x114>                  <== ALWAYS TAKEN
 2004974:	80 88 60 02 	btst  2, %g1                                   
        tty->column = 0;                                              
      }                                                               
      break;                                                          
                                                                      
    case '\r':                                                        
      if ((tty->termios.c_oflag & ONOCR) && (tty->column == 0))       
 2004978:	10 80 00 0f 	b  20049b4 <oproc+0x8c>                        <== NOT EXECUTED
 200497c:	80 88 60 10 	btst  0x10, %g1                                <== NOT EXECUTED
  int  i;                                                             
                                                                      
  if (tty->termios.c_oflag & OPOST) {                                 
    switch (c) {                                                      
    case '\n':                                                        
      if (tty->termios.c_oflag & ONLRET)                              
 2004980:	80 88 60 20 	btst  0x20, %g1                                
 2004984:	32 80 00 02 	bne,a   200498c <oproc+0x64>                   <== NEVER TAKEN
 2004988:	c0 26 60 28 	clr  [ %i1 + 0x28 ]                            <== NOT EXECUTED
        tty->column = 0;                                              
      if (tty->termios.c_oflag & ONLCR) {                             
 200498c:	80 88 60 04 	btst  4, %g1                                   
 2004990:	02 80 00 43 	be  2004a9c <oproc+0x174>                      <== NEVER TAKEN
 2004994:	90 07 a0 44 	add  %fp, 0x44, %o0                            
        rtems_termios_puts ("\r", 1, tty);                            
 2004998:	11 00 80 65 	sethi  %hi(0x2019400), %o0                     
 200499c:	92 10 20 01 	mov  1, %o1                                    
 20049a0:	90 12 22 08 	or  %o0, 0x208, %o0                            
 20049a4:	7f ff ff 98 	call  2004804 <rtems_termios_puts>             
 20049a8:	94 10 00 19 	mov  %i1, %o2                                  
        c = '\n';                                                     
        if (tty->termios.c_oflag & ONLRET)                            
          tty->column = 0;                                            
        break;                                                        
      }                                                               
      tty->column = 0;                                                
 20049ac:	10 80 00 3b 	b  2004a98 <oproc+0x170>                       
 20049b0:	c0 26 60 28 	clr  [ %i1 + 0x28 ]                            
        tty->column = 0;                                              
      }                                                               
      break;                                                          
                                                                      
    case '\r':                                                        
      if ((tty->termios.c_oflag & ONOCR) && (tty->column == 0))       
 20049b4:	02 80 00 06 	be  20049cc <oproc+0xa4>                       <== NOT EXECUTED
 20049b8:	80 88 60 08 	btst  8, %g1                                   <== NOT EXECUTED
 20049bc:	c4 06 60 28 	ld  [ %i1 + 0x28 ], %g2                        <== NOT EXECUTED
 20049c0:	80 a0 a0 00 	cmp  %g2, 0                                    <== NOT EXECUTED
 20049c4:	02 80 00 17 	be  2004a20 <oproc+0xf8>                       <== NOT EXECUTED
 20049c8:	80 88 60 08 	btst  8, %g1                                   <== NOT EXECUTED
        return;                                                       
      if (tty->termios.c_oflag & OCRNL) {                             
 20049cc:	22 80 00 33 	be,a   2004a98 <oproc+0x170>                   <== NOT EXECUTED
 20049d0:	c0 26 60 28 	clr  [ %i1 + 0x28 ]                            <== NOT EXECUTED
        c = '\n';                                                     
 20049d4:	84 10 20 0a 	mov  0xa, %g2                                  <== NOT EXECUTED
        if (tty->termios.c_oflag & ONLRET)                            
 20049d8:	80 88 60 20 	btst  0x20, %g1                                <== NOT EXECUTED
 20049dc:	02 80 00 2f 	be  2004a98 <oproc+0x170>                      <== NOT EXECUTED
 20049e0:	c4 2f a0 44 	stb  %g2, [ %fp + 0x44 ]                       <== NOT EXECUTED
          tty->column = 0;                                            
        break;                                                        
      }                                                               
      tty->column = 0;                                                
      break;                                                          
 20049e4:	10 80 00 2d 	b  2004a98 <oproc+0x170>                       <== NOT EXECUTED
 20049e8:	c0 26 60 28 	clr  [ %i1 + 0x28 ]                            <== NOT EXECUTED
                                                                      
    case '\t':                                                        
      i = 8 - (tty->column & 7);                                      
 20049ec:	92 10 20 08 	mov  8, %o1                                    
 20049f0:	86 08 a0 07 	and  %g2, 7, %g3                               
 20049f4:	92 22 40 03 	sub  %o1, %g3, %o1                             
      if ((tty->termios.c_oflag & TABDLY) == XTABS) {                 
 20049f8:	07 00 00 06 	sethi  %hi(0x1800), %g3                        
 20049fc:	82 08 40 03 	and  %g1, %g3, %g1                             
 2004a00:	80 a0 40 03 	cmp  %g1, %g3                                  
 2004a04:	82 00 80 09 	add  %g2, %o1, %g1                             
 2004a08:	12 80 00 24 	bne  2004a98 <oproc+0x170>                     <== NEVER TAKEN
 2004a0c:	c2 26 60 28 	st  %g1, [ %i1 + 0x28 ]                        
        tty->column += i;                                             
        rtems_termios_puts ( "        ",  i, tty);                    
 2004a10:	11 00 80 65 	sethi  %hi(0x2019400), %o0                     
 2004a14:	94 10 00 19 	mov  %i1, %o2                                  
 2004a18:	7f ff ff 7b 	call  2004804 <rtems_termios_puts>             
 2004a1c:	90 12 22 10 	or  %o0, 0x210, %o0                            
        return;                                                       
 2004a20:	81 c7 e0 08 	ret                                            
 2004a24:	81 e8 00 00 	restore                                        
      }                                                               
      tty->column += i;                                               
      break;                                                          
                                                                      
    case '\b':                                                        
      if (tty->column > 0)                                            
 2004a28:	80 a0 60 00 	cmp  %g1, 0                                    <== NOT EXECUTED
 2004a2c:	04 80 00 1b 	ble  2004a98 <oproc+0x170>                     <== NOT EXECUTED
 2004a30:	82 00 7f ff 	add  %g1, -1, %g1                              <== NOT EXECUTED
                                                                      
    default:                                                          
      if (tty->termios.c_oflag & OLCUC)                               
        c = toupper(c);                                               
      if (!iscntrl(c))                                                
        tty->column++;                                                
 2004a34:	10 80 00 19 	b  2004a98 <oproc+0x170>                       <== NOT EXECUTED
 2004a38:	c2 26 60 28 	st  %g1, [ %i1 + 0x28 ]                        <== NOT EXECUTED
      if (tty->column > 0)                                            
        tty->column--;                                                
      break;                                                          
                                                                      
    default:                                                          
      if (tty->termios.c_oflag & OLCUC)                               
 2004a3c:	02 80 00 0d 	be  2004a70 <oproc+0x148>                      <== ALWAYS TAKEN
 2004a40:	c2 0f a0 44 	ldub  [ %fp + 0x44 ], %g1                      
        c = toupper(c);                                               
 2004a44:	03 00 80 6a 	sethi  %hi(0x201a800), %g1                     <== NOT EXECUTED
 2004a48:	c2 00 63 bc 	ld  [ %g1 + 0x3bc ], %g1	! 201abbc <__ctype_ptr__><== NOT EXECUTED
 2004a4c:	b0 0e 20 ff 	and  %i0, 0xff, %i0                            <== NOT EXECUTED
 2004a50:	82 00 40 18 	add  %g1, %i0, %g1                             <== NOT EXECUTED
 2004a54:	c2 08 60 01 	ldub  [ %g1 + 1 ], %g1                         <== NOT EXECUTED
 2004a58:	82 08 60 03 	and  %g1, 3, %g1                               <== NOT EXECUTED
 2004a5c:	80 a0 60 02 	cmp  %g1, 2                                    <== NOT EXECUTED
 2004a60:	22 80 00 02 	be,a   2004a68 <oproc+0x140>                   <== NOT EXECUTED
 2004a64:	b0 06 3f e0 	add  %i0, -32, %i0                             <== NOT EXECUTED
 2004a68:	f0 2f a0 44 	stb  %i0, [ %fp + 0x44 ]                       <== NOT EXECUTED
      if (!iscntrl(c))                                                
 2004a6c:	c2 0f a0 44 	ldub  [ %fp + 0x44 ], %g1                      <== NOT EXECUTED
 2004a70:	05 00 80 6a 	sethi  %hi(0x201a800), %g2                     
 2004a74:	c4 00 a3 bc 	ld  [ %g2 + 0x3bc ], %g2	! 201abbc <__ctype_ptr__>
 2004a78:	82 00 80 01 	add  %g2, %g1, %g1                             
 2004a7c:	c2 08 60 01 	ldub  [ %g1 + 1 ], %g1                         
 2004a80:	80 88 60 20 	btst  0x20, %g1                                
 2004a84:	12 80 00 06 	bne  2004a9c <oproc+0x174>                     <== NEVER TAKEN
 2004a88:	90 07 a0 44 	add  %fp, 0x44, %o0                            
        tty->column++;                                                
 2004a8c:	c2 06 60 28 	ld  [ %i1 + 0x28 ], %g1                        
 2004a90:	82 00 60 01 	inc  %g1                                       
 2004a94:	c2 26 60 28 	st  %g1, [ %i1 + 0x28 ]                        
      break;                                                          
    }                                                                 
  }                                                                   
  rtems_termios_puts (&c, 1, tty);                                    
 2004a98:	90 07 a0 44 	add  %fp, 0x44, %o0                            
 2004a9c:	92 10 20 01 	mov  1, %o1                                    
 2004aa0:	7f ff ff 59 	call  2004804 <rtems_termios_puts>             
 2004aa4:	94 10 00 19 	mov  %i1, %o2                                  
 2004aa8:	81 c7 e0 08 	ret                                            
 2004aac:	81 e8 00 00 	restore                                        
                                                                      

0200be80 <pipe_create>: * Called by pipe() to create an anonymous pipe. */ int pipe_create( int filsdes[2] ) {
 200be80:	9d e3 bf 90 	save  %sp, -112, %sp                           
  rtems_libio_t *iop;                                                 
  int err = 0;                                                        
                                                                      
  if (rtems_mkdir("/tmp", S_IRWXU | S_IRWXG | S_IRWXO) != 0)          
 200be84:	11 00 80 6c 	sethi  %hi(0x201b000), %o0                     
 200be88:	92 10 21 ff 	mov  0x1ff, %o1                                
 200be8c:	90 12 22 68 	or  %o0, 0x268, %o0                            
 200be90:	40 00 05 5f 	call  200d40c <rtems_mkdir>                    
 200be94:	ba 10 3f ff 	mov  -1, %i5                                   
 200be98:	80 a2 20 00 	cmp  %o0, 0                                    
 200be9c:	12 80 00 45 	bne  200bfb0 <pipe_create+0x130>               <== NEVER TAKEN
 200bea0:	03 00 00 19 	sethi  %hi(0x6400), %g1                        
    return -1;                                                        
                                                                      
  /* /tmp/.fifoXXXX */                                                
  char fifopath[15];                                                  
  memcpy(fifopath, "/tmp/.fifo", 10);                                 
 200bea4:	82 10 62 6f 	or  %g1, 0x26f, %g1	! 666f <PROM_START+0x666f> 
 200bea8:	c2 37 bf f8 	sth  %g1, [ %fp + -8 ]                         
  sprintf(fifopath + 10, "%04x", rtems_pipe_no ++);                   
 200beac:	03 00 80 71 	sethi  %hi(0x201c400), %g1                     
 200beb0:	d4 10 60 00 	lduh  [ %g1 ], %o2                             
  if (rtems_mkdir("/tmp", S_IRWXU | S_IRWXG | S_IRWXO) != 0)          
    return -1;                                                        
                                                                      
  /* /tmp/.fifoXXXX */                                                
  char fifopath[15];                                                  
  memcpy(fifopath, "/tmp/.fifo", 10);                                 
 200beb4:	05 0b dd 1b 	sethi  %hi(0x2f746c00), %g2                    
 200beb8:	84 10 a1 70 	or  %g2, 0x170, %g2	! 2f746d70 <RAM_END+0x2d346d70>
 200bebc:	07 0b cb 99 	sethi  %hi(0x2f2e6400), %g3                    
 200bec0:	86 10 e2 69 	or  %g3, 0x269, %g3	! 2f2e6669 <RAM_END+0x2cee6669>
 200bec4:	c4 3f bf f0 	std  %g2, [ %fp + -16 ]                        
  sprintf(fifopath + 10, "%04x", rtems_pipe_no ++);                   
 200bec8:	84 02 a0 01 	add  %o2, 1, %g2                               
 200becc:	90 07 bf fa 	add  %fp, -6, %o0                              
 200bed0:	c4 30 60 00 	sth  %g2, [ %g1 ]                              
 200bed4:	95 2a a0 10 	sll  %o2, 0x10, %o2                            
 200bed8:	13 00 80 6c 	sethi  %hi(0x201b000), %o1                     
 200bedc:	95 32 a0 10 	srl  %o2, 0x10, %o2                            
 200bee0:	40 00 0e 75 	call  200f8b4 <sprintf>                        
 200bee4:	92 12 62 70 	or  %o1, 0x270, %o1                            
                                                                      
  /* Try creating FIFO file until find an available file name */      
  while (mkfifo(fifopath, S_IRUSR|S_IWUSR) != 0) {                    
 200bee8:	90 07 bf f0 	add  %fp, -16, %o0                             
 200beec:	40 00 04 9d 	call  200d160 <mkfifo>                         
 200bef0:	92 10 21 80 	mov  0x180, %o1                                
 200bef4:	80 a2 20 00 	cmp  %o0, 0                                    
 200bef8:	02 80 00 05 	be  200bf0c <pipe_create+0x8c>                 
 200befc:	90 07 bf f0 	add  %fp, -16, %o0                             
    if (errno != EEXIST){                                             
 200bf00:	40 00 0b 92 	call  200ed48 <__errno>                        
 200bf04:	b0 10 00 1d 	mov  %i5, %i0                                  
 200bf08:	30 80 00 2b 	b,a   200bfb4 <pipe_create+0x134>              
    return -1;                                                        
    /* sprintf(fifopath + 10, "%04x", rtems_pipe_no ++); */           
  }                                                                   
                                                                      
  /* Non-blocking open to avoid waiting for writers */                
  filsdes[0] = open(fifopath, O_RDONLY | O_NONBLOCK);                 
 200bf0c:	7f ff e2 e9 	call  2004ab0 <open>                           
 200bf10:	13 00 00 10 	sethi  %hi(0x4000), %o1                        
  if (filsdes[0] < 0) {                                               
 200bf14:	80 a2 20 00 	cmp  %o0, 0                                    
 200bf18:	16 80 00 06 	bge  200bf30 <pipe_create+0xb0>                
 200bf1c:	d0 26 00 00 	st  %o0, [ %i0 ]                               
    err = errno;                                                      
 200bf20:	40 00 0b 8a 	call  200ed48 <__errno>                        
 200bf24:	01 00 00 00 	nop                                            
 200bf28:	10 80 00 1a 	b  200bf90 <pipe_create+0x110>                 
 200bf2c:	f8 02 00 00 	ld  [ %o0 ], %i4                               
     the file node will be deleted after it is closed by all. */      
    unlink(fifopath);                                                 
  }                                                                   
  else {                                                              
  /* Reset open file to blocking mode */                              
    iop = rtems_libio_iop(filsdes[0]);                                
 200bf30:	03 00 80 6e 	sethi  %hi(0x201b800), %g1                     
 200bf34:	c4 00 63 98 	ld  [ %g1 + 0x398 ], %g2	! 201bb98 <rtems_libio_number_iops>
 200bf38:	80 a2 00 02 	cmp  %o0, %g2                                  
 200bf3c:	1a 80 00 06 	bcc  200bf54 <pipe_create+0xd4>                <== NEVER TAKEN
 200bf40:	82 10 20 00 	clr  %g1                                       
 200bf44:	03 00 80 71 	sethi  %hi(0x201c400), %g1                     
 200bf48:	c2 00 61 7c 	ld  [ %g1 + 0x17c ], %g1	! 201c57c <rtems_libio_iops>
 200bf4c:	91 2a 20 06 	sll  %o0, 6, %o0                               
 200bf50:	82 00 40 08 	add  %g1, %o0, %g1                             
    iop->flags &= ~LIBIO_FLAGS_NO_DELAY;                              
 200bf54:	c4 00 60 18 	ld  [ %g1 + 0x18 ], %g2                        
                                                                      
    filsdes[1] = open(fifopath, O_WRONLY);                            
 200bf58:	90 07 bf f0 	add  %fp, -16, %o0                             
    unlink(fifopath);                                                 
  }                                                                   
  else {                                                              
  /* Reset open file to blocking mode */                              
    iop = rtems_libio_iop(filsdes[0]);                                
    iop->flags &= ~LIBIO_FLAGS_NO_DELAY;                              
 200bf5c:	84 08 bf fe 	and  %g2, -2, %g2                              
                                                                      
    filsdes[1] = open(fifopath, O_WRONLY);                            
 200bf60:	92 10 20 01 	mov  1, %o1                                    
 200bf64:	7f ff e2 d3 	call  2004ab0 <open>                           
 200bf68:	c4 20 60 18 	st  %g2, [ %g1 + 0x18 ]                        
 200bf6c:	d0 26 20 04 	st  %o0, [ %i0 + 4 ]                           
                                                                      
    if (filsdes[1] < 0) {                                             
 200bf70:	80 a2 20 00 	cmp  %o0, 0                                    
 200bf74:	16 80 00 07 	bge  200bf90 <pipe_create+0x110>               
 200bf78:	b8 10 20 00 	clr  %i4                                       
    err = errno;                                                      
 200bf7c:	40 00 0b 73 	call  200ed48 <__errno>                        
 200bf80:	01 00 00 00 	nop                                            
 200bf84:	f8 02 00 00 	ld  [ %o0 ], %i4                               
    close(filsdes[0]);                                                
 200bf88:	7f ff de d1 	call  2003acc <close>                          
 200bf8c:	d0 06 00 00 	ld  [ %i0 ], %o0                               
    }                                                                 
  unlink(fifopath);                                                   
 200bf90:	7f ff ea fc 	call  2006b80 <unlink>                         
 200bf94:	90 07 bf f0 	add  %fp, -16, %o0                             
  }                                                                   
  if(err != 0)                                                        
 200bf98:	80 a7 20 00 	cmp  %i4, 0                                    
 200bf9c:	02 80 00 05 	be  200bfb0 <pipe_create+0x130>                
 200bfa0:	ba 10 20 00 	clr  %i5                                       
    rtems_set_errno_and_return_minus_one(err);                        
 200bfa4:	40 00 0b 69 	call  200ed48 <__errno>                        
 200bfa8:	ba 10 3f ff 	mov  -1, %i5                                   
 200bfac:	f8 22 00 00 	st  %i4, [ %o0 ]                               
  return 0;                                                           
}                                                                     
 200bfb0:	b0 10 00 1d 	mov  %i5, %i0                                  
 200bfb4:	81 c7 e0 08 	ret                                            
 200bfb8:	81 e8 00 00 	restore                                        
                                                                      

0200d290 <pipe_ioctl>: pipe_control_t *pipe, uint32_t cmd, void *buffer, rtems_libio_t *iop ) {
 200d290:	9d e3 bf a0 	save  %sp, -96, %sp                            
  if (cmd == FIONREAD) {                                              
 200d294:	03 10 01 19 	sethi  %hi(0x40046400), %g1                    
  pipe_control_t *pipe,                                               
  uint32_t        cmd,                                                
  void           *buffer,                                             
  rtems_libio_t  *iop                                                 
)                                                                     
{                                                                     
 200d298:	ba 10 00 18 	mov  %i0, %i5                                  
  if (cmd == FIONREAD) {                                              
 200d29c:	82 10 62 7f 	or  %g1, 0x27f, %g1                            
 200d2a0:	80 a6 40 01 	cmp  %i1, %g1                                  
 200d2a4:	12 80 00 12 	bne  200d2ec <pipe_ioctl+0x5c>                 
 200d2a8:	b0 10 3f ea 	mov  -22, %i0                                  
    if (buffer == NULL)                                               
 200d2ac:	80 a6 a0 00 	cmp  %i2, 0                                    
 200d2b0:	02 80 00 0f 	be  200d2ec <pipe_ioctl+0x5c>                  
 200d2b4:	b0 10 3f f2 	mov  -14, %i0                                  
      return -EFAULT;                                                 
                                                                      
    if (! PIPE_LOCK(pipe))                                            
 200d2b8:	d0 07 60 28 	ld  [ %i5 + 0x28 ], %o0                        
 200d2bc:	92 10 20 00 	clr  %o1                                       
 200d2c0:	94 10 20 00 	clr  %o2                                       
 200d2c4:	7f ff eb 66 	call  200805c <rtems_semaphore_obtain>         
 200d2c8:	b0 10 3f fc 	mov  -4, %i0                                   
 200d2cc:	80 a2 20 00 	cmp  %o0, 0                                    
 200d2d0:	12 80 00 07 	bne  200d2ec <pipe_ioctl+0x5c>                 <== NEVER TAKEN
 200d2d4:	01 00 00 00 	nop                                            
      return -EINTR;                                                  
                                                                      
    /* Return length of pipe */                                       
    *(unsigned int *)buffer = pipe->Length;                           
 200d2d8:	c2 07 60 0c 	ld  [ %i5 + 0xc ], %g1                         
    PIPE_UNLOCK(pipe);                                                
 200d2dc:	d0 07 60 28 	ld  [ %i5 + 0x28 ], %o0                        
                                                                      
    if (! PIPE_LOCK(pipe))                                            
      return -EINTR;                                                  
                                                                      
    /* Return length of pipe */                                       
    *(unsigned int *)buffer = pipe->Length;                           
 200d2e0:	c2 26 80 00 	st  %g1, [ %i2 ]                               
    PIPE_UNLOCK(pipe);                                                
 200d2e4:	7f ff eb a8 	call  2008184 <rtems_semaphore_release>        
 200d2e8:	b0 10 20 00 	clr  %i0                                       
    return 0;                                                         
  }                                                                   
                                                                      
  return -EINVAL;                                                     
}                                                                     
 200d2ec:	81 c7 e0 08 	ret                                            
 200d2f0:	81 e8 00 00 	restore                                        
                                                                      

0200cf4c <pipe_read>: pipe_control_t *pipe, void *buffer, size_t count, rtems_libio_t *iop ) {
 200cf4c:	9d e3 bf 98 	save  %sp, -104, %sp                           
  int chunk, chunk1, read = 0, ret = 0;                               
                                                                      
  if (! PIPE_LOCK(pipe))                                              
 200cf50:	d0 06 20 28 	ld  [ %i0 + 0x28 ], %o0                        
  pipe_control_t *pipe,                                               
  void           *buffer,                                             
  size_t          count,                                              
  rtems_libio_t  *iop                                                 
)                                                                     
{                                                                     
 200cf54:	ba 10 00 18 	mov  %i0, %i5                                  
  int chunk, chunk1, read = 0, ret = 0;                               
                                                                      
  if (! PIPE_LOCK(pipe))                                              
 200cf58:	92 10 20 00 	clr  %o1                                       
 200cf5c:	94 10 20 00 	clr  %o2                                       
 200cf60:	7f ff ec 3f 	call  200805c <rtems_semaphore_obtain>         
 200cf64:	b0 10 3f fc 	mov  -4, %i0                                   
 200cf68:	80 a2 20 00 	cmp  %o0, 0                                    
 200cf6c:	12 80 00 59 	bne  200d0d0 <pipe_read+0x184>                 <== NEVER TAKEN
 200cf70:	01 00 00 00 	nop                                            
 200cf74:	10 80 00 4b 	b  200d0a0 <pipe_read+0x154>                   
 200cf78:	b0 10 20 00 	clr  %i0	! 0 <PROM_START>                      
    return -EINTR;                                                    
                                                                      
  while (read < count) {                                              
    while (PIPE_EMPTY(pipe)) {                                        
      /* Not an error */                                              
      if (pipe->Writers == 0)                                         
 200cf7c:	80 a0 60 00 	cmp  %g1, 0                                    
 200cf80:	02 80 00 4c 	be  200d0b0 <pipe_read+0x164>                  
 200cf84:	b8 10 20 00 	clr  %i4                                       
        goto out_locked;                                              
                                                                      
      if (LIBIO_NODELAY(iop)) {                                       
 200cf88:	c2 06 e0 18 	ld  [ %i3 + 0x18 ], %g1                        
 200cf8c:	80 88 60 01 	btst  1, %g1                                   
 200cf90:	32 80 00 48 	bne,a   200d0b0 <pipe_read+0x164>              
 200cf94:	b8 10 3f f5 	mov  -11, %i4                                  
        ret = -EAGAIN;                                                
        goto out_locked;                                              
      }                                                               
                                                                      
      /* Wait until pipe is no more empty or no writer exists */      
      pipe->waitingReaders ++;                                        
 200cf98:	c2 07 60 18 	ld  [ %i5 + 0x18 ], %g1                        
      PIPE_UNLOCK(pipe);                                              
 200cf9c:	d0 07 60 28 	ld  [ %i5 + 0x28 ], %o0                        
        ret = -EAGAIN;                                                
        goto out_locked;                                              
      }                                                               
                                                                      
      /* Wait until pipe is no more empty or no writer exists */      
      pipe->waitingReaders ++;                                        
 200cfa0:	82 00 60 01 	inc  %g1                                       
      PIPE_UNLOCK(pipe);                                              
 200cfa4:	7f ff ec 78 	call  2008184 <rtems_semaphore_release>        
 200cfa8:	c2 27 60 18 	st  %g1, [ %i5 + 0x18 ]                        
      if (! PIPE_READWAIT(pipe))                                      
 200cfac:	d0 07 60 2c 	ld  [ %i5 + 0x2c ], %o0                        
 200cfb0:	40 00 03 a8 	call  200de50 <rtems_barrier_wait>             
 200cfb4:	92 10 20 00 	clr  %o1                                       
 200cfb8:	80 a0 00 08 	cmp  %g0, %o0                                  
        ret = -EINTR;                                                 
      if (! PIPE_LOCK(pipe)) {                                        
 200cfbc:	d0 07 60 28 	ld  [ %i5 + 0x28 ], %o0                        
      }                                                               
                                                                      
      /* Wait until pipe is no more empty or no writer exists */      
      pipe->waitingReaders ++;                                        
      PIPE_UNLOCK(pipe);                                              
      if (! PIPE_READWAIT(pipe))                                      
 200cfc0:	b8 60 20 00 	subx  %g0, 0, %i4                              
        ret = -EINTR;                                                 
      if (! PIPE_LOCK(pipe)) {                                        
 200cfc4:	92 10 20 00 	clr  %o1                                       
 200cfc8:	94 10 20 00 	clr  %o2                                       
 200cfcc:	7f ff ec 24 	call  200805c <rtems_semaphore_obtain>         
 200cfd0:	b8 0f 3f fc 	and  %i4, -4, %i4                              
 200cfd4:	80 a2 20 00 	cmp  %o0, 0                                    
 200cfd8:	12 80 00 3a 	bne  200d0c0 <pipe_read+0x174>                 <== NEVER TAKEN
 200cfdc:	80 a7 20 00 	cmp  %i4, 0                                    
        /* WARN waitingReaders not restored! */                       
        ret = -EINTR;                                                 
        goto out_nolock;                                              
      }                                                               
      pipe->waitingReaders --;                                        
 200cfe0:	c2 07 60 18 	ld  [ %i5 + 0x18 ], %g1                        
 200cfe4:	82 00 7f ff 	add  %g1, -1, %g1                              
      if (ret != 0)                                                   
 200cfe8:	12 80 00 32 	bne  200d0b0 <pipe_read+0x164>                 <== NEVER TAKEN
 200cfec:	c2 27 60 18 	st  %g1, [ %i5 + 0x18 ]                        
                                                                      
  if (! PIPE_LOCK(pipe))                                              
    return -EINTR;                                                    
                                                                      
  while (read < count) {                                              
    while (PIPE_EMPTY(pipe)) {                                        
 200cff0:	f8 07 60 0c 	ld  [ %i5 + 0xc ], %i4                         
 200cff4:	80 a7 20 00 	cmp  %i4, 0                                    
 200cff8:	22 bf ff e1 	be,a   200cf7c <pipe_read+0x30>                
 200cffc:	c2 07 60 14 	ld  [ %i5 + 0x14 ], %g1                        
      if (ret != 0)                                                   
        goto out_locked;                                              
    }                                                                 
                                                                      
    /* Read chunk bytes */                                            
    chunk = MIN(count - read,  pipe->Length);                         
 200d000:	82 26 80 18 	sub  %i2, %i0, %g1                             
 200d004:	80 a7 00 01 	cmp  %i4, %g1                                  
 200d008:	38 80 00 02 	bgu,a   200d010 <pipe_read+0xc4>               
 200d00c:	b8 10 00 01 	mov  %g1, %i4                                  
    chunk1 = pipe->Size - pipe->Start;                                
 200d010:	c2 07 60 08 	ld  [ %i5 + 8 ], %g1                           
 200d014:	e0 07 60 04 	ld  [ %i5 + 4 ], %l0                           
 200d018:	d2 07 40 00 	ld  [ %i5 ], %o1                               
 200d01c:	a0 24 00 01 	sub  %l0, %g1, %l0                             
    if (chunk > chunk1) {                                             
      memcpy(buffer + read, pipe->Buffer + pipe->Start, chunk1);      
      memcpy(buffer + read + chunk1, pipe->Buffer, chunk - chunk1);   
    }                                                                 
    else                                                              
      memcpy(buffer + read, pipe->Buffer + pipe->Start, chunk);       
 200d020:	94 10 00 1c 	mov  %i4, %o2                                  
    }                                                                 
                                                                      
    /* Read chunk bytes */                                            
    chunk = MIN(count - read,  pipe->Length);                         
    chunk1 = pipe->Size - pipe->Start;                                
    if (chunk > chunk1) {                                             
 200d024:	80 a7 00 10 	cmp  %i4, %l0                                  
 200d028:	90 06 40 18 	add  %i1, %i0, %o0                             
 200d02c:	04 80 00 08 	ble  200d04c <pipe_read+0x100>                 
 200d030:	92 02 40 01 	add  %o1, %g1, %o1                             
      memcpy(buffer + read, pipe->Buffer + pipe->Start, chunk1);      
 200d034:	40 00 0c dc 	call  20103a4 <memcpy>                         
 200d038:	94 10 00 10 	mov  %l0, %o2                                  
      memcpy(buffer + read + chunk1, pipe->Buffer, chunk - chunk1);   
 200d03c:	d2 07 40 00 	ld  [ %i5 ], %o1                               
 200d040:	90 06 00 10 	add  %i0, %l0, %o0                             
 200d044:	94 27 00 10 	sub  %i4, %l0, %o2                             
 200d048:	90 06 40 08 	add  %i1, %o0, %o0                             
    }                                                                 
    else                                                              
      memcpy(buffer + read, pipe->Buffer + pipe->Start, chunk);       
 200d04c:	40 00 0c d6 	call  20103a4 <memcpy>                         
 200d050:	01 00 00 00 	nop                                            
                                                                      
    pipe->Start += chunk;                                             
 200d054:	d0 07 60 08 	ld  [ %i5 + 8 ], %o0                           
    pipe->Start %= pipe->Size;                                        
 200d058:	d2 07 60 04 	ld  [ %i5 + 4 ], %o1                           
 200d05c:	40 00 3a 72 	call  201ba24 <.urem>                          
 200d060:	90 07 00 08 	add  %i4, %o0, %o0                             
    pipe->Length -= chunk;                                            
 200d064:	c2 07 60 0c 	ld  [ %i5 + 0xc ], %g1                         
    }                                                                 
    else                                                              
      memcpy(buffer + read, pipe->Buffer + pipe->Start, chunk);       
                                                                      
    pipe->Start += chunk;                                             
    pipe->Start %= pipe->Size;                                        
 200d068:	d0 27 60 08 	st  %o0, [ %i5 + 8 ]                           
    pipe->Length -= chunk;                                            
 200d06c:	82 20 40 1c 	sub  %g1, %i4, %g1                             
    /* For buffering optimization */                                  
    if (PIPE_EMPTY(pipe))                                             
 200d070:	80 a0 60 00 	cmp  %g1, 0                                    
 200d074:	12 80 00 03 	bne  200d080 <pipe_read+0x134>                 
 200d078:	c2 27 60 0c 	st  %g1, [ %i5 + 0xc ]                         
      pipe->Start = 0;                                                
 200d07c:	c0 27 60 08 	clr  [ %i5 + 8 ]                               
                                                                      
    if (pipe->waitingWriters > 0)                                     
 200d080:	c2 07 60 1c 	ld  [ %i5 + 0x1c ], %g1                        
 200d084:	80 a0 60 00 	cmp  %g1, 0                                    
 200d088:	22 80 00 06 	be,a   200d0a0 <pipe_read+0x154>               
 200d08c:	b0 06 00 1c 	add  %i0, %i4, %i0                             
      PIPE_WAKEUPWRITERS(pipe);                                       
 200d090:	d0 07 60 30 	ld  [ %i5 + 0x30 ], %o0                        
 200d094:	40 00 03 58 	call  200ddf4 <rtems_barrier_release>          
 200d098:	92 07 bf fc 	add  %fp, -4, %o1                              
    read += chunk;                                                    
 200d09c:	b0 06 00 1c 	add  %i0, %i4, %i0                             
  int chunk, chunk1, read = 0, ret = 0;                               
                                                                      
  if (! PIPE_LOCK(pipe))                                              
    return -EINTR;                                                    
                                                                      
  while (read < count) {                                              
 200d0a0:	80 a6 00 1a 	cmp  %i0, %i2                                  
 200d0a4:	2a bf ff d4 	bcs,a   200cff4 <pipe_read+0xa8>               
 200d0a8:	f8 07 60 0c 	ld  [ %i5 + 0xc ], %i4                         
 200d0ac:	b8 10 20 00 	clr  %i4                                       
      PIPE_WAKEUPWRITERS(pipe);                                       
    read += chunk;                                                    
  }                                                                   
                                                                      
out_locked:                                                           
  PIPE_UNLOCK(pipe);                                                  
 200d0b0:	7f ff ec 35 	call  2008184 <rtems_semaphore_release>        
 200d0b4:	d0 07 60 28 	ld  [ %i5 + 0x28 ], %o0                        
                                                                      
out_nolock:                                                           
  if (read > 0)                                                       
 200d0b8:	10 80 00 04 	b  200d0c8 <pipe_read+0x17c>                   
 200d0bc:	80 a6 20 00 	cmp  %i0, 0                                    
      PIPE_UNLOCK(pipe);                                              
      if (! PIPE_READWAIT(pipe))                                      
        ret = -EINTR;                                                 
      if (! PIPE_LOCK(pipe)) {                                        
        /* WARN waitingReaders not restored! */                       
        ret = -EINTR;                                                 
 200d0c0:	b8 10 3f fc 	mov  -4, %i4                                   <== NOT EXECUTED
                                                                      
out_locked:                                                           
  PIPE_UNLOCK(pipe);                                                  
                                                                      
out_nolock:                                                           
  if (read > 0)                                                       
 200d0c4:	80 a6 20 00 	cmp  %i0, 0                                    <== NOT EXECUTED
 200d0c8:	24 80 00 02 	ble,a   200d0d0 <pipe_read+0x184>              
 200d0cc:	b0 10 00 1c 	mov  %i4, %i0                                  
    return read;                                                      
  return ret;                                                         
}                                                                     
 200d0d0:	81 c7 e0 08 	ret                                            
 200d0d4:	81 e8 00 00 	restore                                        
                                                                      

0200ca84 <pipe_release>: */ void pipe_release( pipe_control_t **pipep, rtems_libio_t *iop ) {
 200ca84:	9d e3 bf 98 	save  %sp, -104, %sp                           
    /* WARN pipe not released! */                                     
    if (!PIPE_LOCK(pipe))                                             
      rtems_fatal_error_occurred(0xdeadbeef);                         
  #endif                                                              
                                                                      
  mode = LIBIO_ACCMODE(iop);                                          
 200ca88:	c2 06 60 18 	ld  [ %i1 + 0x18 ], %g1                        
void pipe_release(                                                    
  pipe_control_t **pipep,                                             
  rtems_libio_t *iop                                                  
)                                                                     
{                                                                     
  pipe_control_t *pipe = *pipep;                                      
 200ca8c:	fa 06 00 00 	ld  [ %i0 ], %i5                               
    if (!PIPE_LOCK(pipe))                                             
      rtems_fatal_error_occurred(0xdeadbeef);                         
  #endif                                                              
                                                                      
  mode = LIBIO_ACCMODE(iop);                                          
  if (mode & LIBIO_FLAGS_READ)                                        
 200ca90:	80 88 60 02 	btst  2, %g1                                   
 200ca94:	02 80 00 05 	be  200caa8 <pipe_release+0x24>                
 200ca98:	b8 08 60 06 	and  %g1, 6, %i4                               
     pipe->Readers --;                                                
 200ca9c:	c2 07 60 10 	ld  [ %i5 + 0x10 ], %g1                        
 200caa0:	82 00 7f ff 	add  %g1, -1, %g1                              
 200caa4:	c2 27 60 10 	st  %g1, [ %i5 + 0x10 ]                        
  if (mode & LIBIO_FLAGS_WRITE)                                       
 200caa8:	80 8f 20 04 	btst  4, %i4                                   
 200caac:	02 80 00 05 	be  200cac0 <pipe_release+0x3c>                
 200cab0:	01 00 00 00 	nop                                            
     pipe->Writers --;                                                
 200cab4:	c2 07 60 14 	ld  [ %i5 + 0x14 ], %g1                        
 200cab8:	82 00 7f ff 	add  %g1, -1, %g1                              
 200cabc:	c2 27 60 14 	st  %g1, [ %i5 + 0x14 ]                        
                                                                      
  PIPE_UNLOCK(pipe);                                                  
 200cac0:	7f ff ed b1 	call  2008184 <rtems_semaphore_release>        
 200cac4:	d0 07 60 28 	ld  [ %i5 + 0x28 ], %o0                        
                                                                      
  if (pipe->Readers == 0 && pipe->Writers == 0) {                     
 200cac8:	c2 07 60 10 	ld  [ %i5 + 0x10 ], %g1                        
 200cacc:	80 a0 60 00 	cmp  %g1, 0                                    
 200cad0:	12 80 00 0a 	bne  200caf8 <pipe_release+0x74>               
 200cad4:	80 a7 20 04 	cmp  %i4, 4                                    
 200cad8:	c4 07 60 14 	ld  [ %i5 + 0x14 ], %g2                        
 200cadc:	80 a0 a0 00 	cmp  %g2, 0                                    
 200cae0:	12 80 00 06 	bne  200caf8 <pipe_release+0x74>               
 200cae4:	80 a7 20 04 	cmp  %i4, 4                                    
#if 0                                                                 
    /* To delete an anonymous pipe file when all users closed it */   
    if (pipe->Anonymous)                                              
      delfile = TRUE;                                                 
#endif                                                                
    pipe_free(pipe);                                                  
 200cae8:	7f ff ff dc 	call  200ca58 <pipe_free>                      
 200caec:	90 10 00 1d 	mov  %i5, %o0                                  
    *pipep = NULL;                                                    
 200caf0:	10 80 00 12 	b  200cb38 <pipe_release+0xb4>                 
 200caf4:	c0 26 00 00 	clr  [ %i0 ]                                   
  }                                                                   
  else if (pipe->Readers == 0 && mode != LIBIO_FLAGS_WRITE)           
 200caf8:	02 80 00 07 	be  200cb14 <pipe_release+0x90>                
 200cafc:	80 a7 20 02 	cmp  %i4, 2                                    
 200cb00:	80 a0 60 00 	cmp  %g1, 0                                    
 200cb04:	12 80 00 04 	bne  200cb14 <pipe_release+0x90>               <== NEVER TAKEN
 200cb08:	80 a7 20 02 	cmp  %i4, 2                                    
    /* Notify waiting Writers that all their partners left */         
    PIPE_WAKEUPWRITERS(pipe);                                         
 200cb0c:	10 80 00 09 	b  200cb30 <pipe_release+0xac>                 
 200cb10:	d0 07 60 30 	ld  [ %i5 + 0x30 ], %o0                        
  else if (pipe->Writers == 0 && mode != LIBIO_FLAGS_READ)            
 200cb14:	02 80 00 0a 	be  200cb3c <pipe_release+0xb8>                <== NEVER TAKEN
 200cb18:	03 00 80 7e 	sethi  %hi(0x201f800), %g1                     
 200cb1c:	c2 07 60 14 	ld  [ %i5 + 0x14 ], %g1                        
 200cb20:	80 a0 60 00 	cmp  %g1, 0                                    
 200cb24:	12 80 00 06 	bne  200cb3c <pipe_release+0xb8>               <== NEVER TAKEN
 200cb28:	03 00 80 7e 	sethi  %hi(0x201f800), %g1                     
    PIPE_WAKEUPREADERS(pipe);                                         
 200cb2c:	d0 07 60 2c 	ld  [ %i5 + 0x2c ], %o0                        
 200cb30:	40 00 04 b1 	call  200ddf4 <rtems_barrier_release>          
 200cb34:	92 07 bf fc 	add  %fp, -4, %o1                              
                                                                      
static void pipe_unlock(void)                                         
{                                                                     
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
                                                                      
  sc = rtems_semaphore_release(pipe_semaphore);                       
 200cb38:	03 00 80 7e 	sethi  %hi(0x201f800), %g1                     
 200cb3c:	7f ff ed 92 	call  2008184 <rtems_semaphore_release>        
 200cb40:	d0 00 61 f0 	ld  [ %g1 + 0x1f0 ], %o0	! 201f9f0 <pipe_semaphore>
  iop->flags &= ~LIBIO_FLAGS_OPEN;                                    
  if(iop->pathinfo.ops->unlink_h(&iop->pathinfo))                     
    return;                                                           
#endif                                                                
                                                                      
}                                                                     
 200cb44:	81 c7 e0 08 	ret                                            
 200cb48:	81 e8 00 00 	restore                                        
                                                                      

0200d0d8 <pipe_write>: pipe_control_t *pipe, const void *buffer, size_t count, rtems_libio_t *iop ) {
 200d0d8:	9d e3 bf 98 	save  %sp, -104, %sp                           
 200d0dc:	ba 10 00 18 	mov  %i0, %i5                                  
  int chunk, chunk1, written = 0, ret = 0;                            
                                                                      
  /* Write nothing */                                                 
  if (count == 0)                                                     
 200d0e0:	80 a6 a0 00 	cmp  %i2, 0                                    
 200d0e4:	02 80 00 69 	be  200d288 <pipe_write+0x1b0>                 <== NEVER TAKEN
 200d0e8:	b0 10 20 00 	clr  %i0                                       
    return 0;                                                         
                                                                      
  if (! PIPE_LOCK(pipe))                                              
 200d0ec:	d0 07 60 28 	ld  [ %i5 + 0x28 ], %o0                        
 200d0f0:	92 10 20 00 	clr  %o1                                       
 200d0f4:	94 10 20 00 	clr  %o2                                       
 200d0f8:	7f ff eb d9 	call  200805c <rtems_semaphore_obtain>         
 200d0fc:	b0 10 3f fc 	mov  -4, %i0                                   
 200d100:	80 a2 20 00 	cmp  %o0, 0                                    
 200d104:	12 80 00 61 	bne  200d288 <pipe_write+0x1b0>                <== NEVER TAKEN
 200d108:	01 00 00 00 	nop                                            
    return -EINTR;                                                    
                                                                      
  if (pipe->Readers == 0) {                                           
 200d10c:	c2 07 60 10 	ld  [ %i5 + 0x10 ], %g1                        
 200d110:	80 a0 60 00 	cmp  %g1, 0                                    
 200d114:	02 80 00 54 	be  200d264 <pipe_write+0x18c>                 
 200d118:	b8 10 3f e0 	mov  -32, %i4                                  
    ret = -EPIPE;                                                     
    goto out_locked;                                                  
  }                                                                   
                                                                      
  /* Write of PIPE_BUF bytes or less shall not be interleaved */      
  chunk = count <= pipe->Size ? count : 1;                            
 200d11c:	c2 07 60 04 	ld  [ %i5 + 4 ], %g1                           
 200d120:	80 a6 80 01 	cmp  %i2, %g1                                  
 200d124:	18 80 00 03 	bgu  200d130 <pipe_write+0x58>                 <== NEVER TAKEN
 200d128:	a2 10 20 01 	mov  1, %l1                                    
 200d12c:	a2 10 00 1a 	mov  %i2, %l1                                  
                                                                      
      /* Wait until there is chunk bytes space or no reader exists */ 
      pipe->waitingWriters ++;                                        
      PIPE_UNLOCK(pipe);                                              
      if (! PIPE_WRITEWAIT(pipe))                                     
        ret = -EINTR;                                                 
 200d130:	10 80 00 48 	b  200d250 <pipe_write+0x178>                  
 200d134:	b0 10 20 00 	clr  %i0                                       
  /* Write of PIPE_BUF bytes or less shall not be interleaved */      
  chunk = count <= pipe->Size ? count : 1;                            
                                                                      
  while (written < count) {                                           
    while (PIPE_SPACE(pipe) < chunk) {                                
      if (LIBIO_NODELAY(iop)) {                                       
 200d138:	80 88 60 01 	btst  1, %g1                                   
 200d13c:	32 80 00 4b 	bne,a   200d268 <pipe_write+0x190>             
 200d140:	b8 10 3f f5 	mov  -11, %i4                                  
        ret = -EAGAIN;                                                
        goto out_locked;                                              
      }                                                               
                                                                      
      /* Wait until there is chunk bytes space or no reader exists */ 
      pipe->waitingWriters ++;                                        
 200d144:	c2 07 60 1c 	ld  [ %i5 + 0x1c ], %g1                        
      PIPE_UNLOCK(pipe);                                              
 200d148:	d0 07 60 28 	ld  [ %i5 + 0x28 ], %o0                        
        ret = -EAGAIN;                                                
        goto out_locked;                                              
      }                                                               
                                                                      
      /* Wait until there is chunk bytes space or no reader exists */ 
      pipe->waitingWriters ++;                                        
 200d14c:	82 00 60 01 	inc  %g1                                       
      PIPE_UNLOCK(pipe);                                              
 200d150:	7f ff ec 0d 	call  2008184 <rtems_semaphore_release>        
 200d154:	c2 27 60 1c 	st  %g1, [ %i5 + 0x1c ]                        
      if (! PIPE_WRITEWAIT(pipe))                                     
 200d158:	d0 07 60 30 	ld  [ %i5 + 0x30 ], %o0                        
 200d15c:	40 00 03 3d 	call  200de50 <rtems_barrier_wait>             
 200d160:	92 10 20 00 	clr  %o1                                       
 200d164:	80 a0 00 08 	cmp  %g0, %o0                                  
        ret = -EINTR;                                                 
      if (! PIPE_LOCK(pipe)) {                                        
 200d168:	d0 07 60 28 	ld  [ %i5 + 0x28 ], %o0                        
      }                                                               
                                                                      
      /* Wait until there is chunk bytes space or no reader exists */ 
      pipe->waitingWriters ++;                                        
      PIPE_UNLOCK(pipe);                                              
      if (! PIPE_WRITEWAIT(pipe))                                     
 200d16c:	b8 60 20 00 	subx  %g0, 0, %i4                              
        ret = -EINTR;                                                 
      if (! PIPE_LOCK(pipe)) {                                        
 200d170:	92 10 20 00 	clr  %o1                                       
 200d174:	94 10 20 00 	clr  %o2                                       
 200d178:	7f ff eb b9 	call  200805c <rtems_semaphore_obtain>         
 200d17c:	b8 0f 3f fc 	and  %i4, -4, %i4                              
 200d180:	80 a2 20 00 	cmp  %o0, 0                                    
 200d184:	12 80 00 3d 	bne  200d278 <pipe_write+0x1a0>                <== NEVER TAKEN
 200d188:	80 a7 20 00 	cmp  %i4, 0                                    
        /* WARN waitingWriters not restored! */                       
        ret = -EINTR;                                                 
        goto out_nolock;                                              
      }                                                               
      pipe->waitingWriters --;                                        
 200d18c:	c2 07 60 1c 	ld  [ %i5 + 0x1c ], %g1                        
 200d190:	82 00 7f ff 	add  %g1, -1, %g1                              
      if (ret != 0)                                                   
 200d194:	12 80 00 35 	bne  200d268 <pipe_write+0x190>                <== NEVER TAKEN
 200d198:	c2 27 60 1c 	st  %g1, [ %i5 + 0x1c ]                        
        goto out_locked;                                              
                                                                      
      if (pipe->Readers == 0) {                                       
 200d19c:	c2 07 60 10 	ld  [ %i5 + 0x10 ], %g1                        
 200d1a0:	80 a0 60 00 	cmp  %g1, 0                                    
 200d1a4:	02 80 00 31 	be  200d268 <pipe_write+0x190>                 <== NEVER TAKEN
 200d1a8:	b8 10 3f e0 	mov  -32, %i4                                  
                                                                      
  /* Write of PIPE_BUF bytes or less shall not be interleaved */      
  chunk = count <= pipe->Size ? count : 1;                            
                                                                      
  while (written < count) {                                           
    while (PIPE_SPACE(pipe) < chunk) {                                
 200d1ac:	e0 07 60 04 	ld  [ %i5 + 4 ], %l0                           
 200d1b0:	c2 07 60 0c 	ld  [ %i5 + 0xc ], %g1                         
 200d1b4:	b8 24 00 01 	sub  %l0, %g1, %i4                             
 200d1b8:	80 a7 00 11 	cmp  %i4, %l1                                  
 200d1bc:	2a bf ff df 	bcs,a   200d138 <pipe_write+0x60>              
 200d1c0:	c2 06 e0 18 	ld  [ %i3 + 0x18 ], %g1                        
        ret = -EPIPE;                                                 
        goto out_locked;                                              
      }                                                               
    }                                                                 
                                                                      
    chunk = MIN(count - written, PIPE_SPACE(pipe));                   
 200d1c4:	84 26 80 18 	sub  %i2, %i0, %g2                             
 200d1c8:	80 a7 00 02 	cmp  %i4, %g2                                  
 200d1cc:	38 80 00 02 	bgu,a   200d1d4 <pipe_write+0xfc>              
 200d1d0:	b8 10 00 02 	mov  %g2, %i4                                  
    chunk1 = pipe->Size - PIPE_WSTART(pipe);                          
 200d1d4:	d0 07 60 08 	ld  [ %i5 + 8 ], %o0                           
 200d1d8:	92 10 00 10 	mov  %l0, %o1                                  
 200d1dc:	40 00 3a 12 	call  201ba24 <.urem>                          
 200d1e0:	90 00 40 08 	add  %g1, %o0, %o0                             
 200d1e4:	c2 07 40 00 	ld  [ %i5 ], %g1                               
 200d1e8:	a0 24 00 08 	sub  %l0, %o0, %l0                             
    if (chunk > chunk1) {                                             
      memcpy(pipe->Buffer + PIPE_WSTART(pipe), buffer + written, chunk1);
      memcpy(pipe->Buffer, buffer + written + chunk1, chunk - chunk1);
    }                                                                 
    else                                                              
      memcpy(pipe->Buffer + PIPE_WSTART(pipe), buffer + written, chunk);
 200d1ec:	94 10 00 1c 	mov  %i4, %o2                                  
      }                                                               
    }                                                                 
                                                                      
    chunk = MIN(count - written, PIPE_SPACE(pipe));                   
    chunk1 = pipe->Size - PIPE_WSTART(pipe);                          
    if (chunk > chunk1) {                                             
 200d1f0:	80 a7 00 10 	cmp  %i4, %l0                                  
 200d1f4:	92 06 40 18 	add  %i1, %i0, %o1                             
 200d1f8:	04 80 00 08 	ble  200d218 <pipe_write+0x140>                
 200d1fc:	90 00 40 08 	add  %g1, %o0, %o0                             
      memcpy(pipe->Buffer + PIPE_WSTART(pipe), buffer + written, chunk1);
 200d200:	40 00 0c 69 	call  20103a4 <memcpy>                         
 200d204:	94 10 00 10 	mov  %l0, %o2                                  
      memcpy(pipe->Buffer, buffer + written + chunk1, chunk - chunk1);
 200d208:	d0 07 40 00 	ld  [ %i5 ], %o0                               
 200d20c:	92 04 00 18 	add  %l0, %i0, %o1                             
 200d210:	94 27 00 10 	sub  %i4, %l0, %o2                             
 200d214:	92 06 40 09 	add  %i1, %o1, %o1                             
    }                                                                 
    else                                                              
      memcpy(pipe->Buffer + PIPE_WSTART(pipe), buffer + written, chunk);
 200d218:	40 00 0c 63 	call  20103a4 <memcpy>                         
 200d21c:	01 00 00 00 	nop                                            
                                                                      
    pipe->Length += chunk;                                            
 200d220:	c2 07 60 0c 	ld  [ %i5 + 0xc ], %g1                         
 200d224:	82 00 40 1c 	add  %g1, %i4, %g1                             
 200d228:	c2 27 60 0c 	st  %g1, [ %i5 + 0xc ]                         
    if (pipe->waitingReaders > 0)                                     
 200d22c:	c2 07 60 18 	ld  [ %i5 + 0x18 ], %g1                        
 200d230:	80 a0 60 00 	cmp  %g1, 0                                    
 200d234:	22 80 00 06 	be,a   200d24c <pipe_write+0x174>              
 200d238:	b0 06 00 1c 	add  %i0, %i4, %i0                             
      PIPE_WAKEUPREADERS(pipe);                                       
 200d23c:	d0 07 60 2c 	ld  [ %i5 + 0x2c ], %o0                        
 200d240:	40 00 02 ed 	call  200ddf4 <rtems_barrier_release>          
 200d244:	92 07 bf fc 	add  %fp, -4, %o1                              
    written += chunk;                                                 
 200d248:	b0 06 00 1c 	add  %i0, %i4, %i0                             
    /* Write of more than PIPE_BUF bytes can be interleaved */        
    chunk = 1;                                                        
 200d24c:	a2 10 20 01 	mov  1, %l1                                    
  }                                                                   
                                                                      
  /* Write of PIPE_BUF bytes or less shall not be interleaved */      
  chunk = count <= pipe->Size ? count : 1;                            
                                                                      
  while (written < count) {                                           
 200d250:	80 a6 00 1a 	cmp  %i0, %i2                                  
 200d254:	2a bf ff d7 	bcs,a   200d1b0 <pipe_write+0xd8>              
 200d258:	e0 07 60 04 	ld  [ %i5 + 4 ], %l0                           
 200d25c:	10 80 00 03 	b  200d268 <pipe_write+0x190>                  
 200d260:	b8 10 20 00 	clr  %i4                                       
 200d264:	b0 10 20 00 	clr  %i0                                       
    /* Write of more than PIPE_BUF bytes can be interleaved */        
    chunk = 1;                                                        
  }                                                                   
                                                                      
out_locked:                                                           
  PIPE_UNLOCK(pipe);                                                  
 200d268:	7f ff eb c7 	call  2008184 <rtems_semaphore_release>        
 200d26c:	d0 07 60 28 	ld  [ %i5 + 0x28 ], %o0                        
  /* Signal SIGPIPE */                                                
  if (ret == -EPIPE)                                                  
    kill(getpid(), SIGPIPE);                                          
#endif                                                                
                                                                      
  if (written > 0)                                                    
 200d270:	10 80 00 04 	b  200d280 <pipe_write+0x1a8>                  
 200d274:	80 a6 20 00 	cmp  %i0, 0                                    
      PIPE_UNLOCK(pipe);                                              
      if (! PIPE_WRITEWAIT(pipe))                                     
        ret = -EINTR;                                                 
      if (! PIPE_LOCK(pipe)) {                                        
        /* WARN waitingWriters not restored! */                       
        ret = -EINTR;                                                 
 200d278:	b8 10 3f fc 	mov  -4, %i4                                   <== NOT EXECUTED
  /* Signal SIGPIPE */                                                
  if (ret == -EPIPE)                                                  
    kill(getpid(), SIGPIPE);                                          
#endif                                                                
                                                                      
  if (written > 0)                                                    
 200d27c:	80 a6 20 00 	cmp  %i0, 0                                    <== NOT EXECUTED
 200d280:	24 80 00 02 	ble,a   200d288 <pipe_write+0x1b0>             
 200d284:	b0 10 00 1c 	mov  %i4, %i0                                  
    return written;                                                   
  return ret;                                                         
}                                                                     
 200d288:	81 c7 e0 08 	ret                                            
 200d28c:	81 e8 00 00 	restore                                        
                                                                      

020071d0 <posix_memalign>: ) { /* * Update call statistics */ MSBUMP(memalign_calls, 1);
 20071d0:	05 00 80 87 	sethi  %hi(0x2021c00), %g2                     
 20071d4:	84 10 a0 b0 	or  %g2, 0xb0, %g2	! 2021cb0 <rtems_malloc_statistics>
 20071d8:	c6 00 a0 08 	ld  [ %g2 + 8 ], %g3                           
 20071dc:	86 00 e0 01 	inc  %g3                                       
 20071e0:	c6 20 a0 08 	st  %g3, [ %g2 + 8 ]                           
                                                                      
  if (((alignment - 1) & alignment) != 0 || (alignment < sizeof(void *)))
 20071e4:	84 02 7f ff 	add  %o1, -1, %g2                              
 20071e8:	80 88 80 09 	btst  %g2, %o1                                 
 20071ec:	12 80 00 07 	bne  2007208 <posix_memalign+0x38>             <== NEVER TAKEN
 20071f0:	80 a2 60 03 	cmp  %o1, 3                                    
 20071f4:	08 80 00 05 	bleu  2007208 <posix_memalign+0x38>            
 20071f8:	01 00 00 00 	nop                                            
                                                                      
  /*                                                                  
   *  rtems_memalign does all of the error checking work EXCEPT       
   *  for adding restrictionso on the alignment.                      
   */                                                                 
  return rtems_memalign( pointer, alignment, size );                  
 20071fc:	82 13 c0 00 	mov  %o7, %g1                                  
 2007200:	40 00 00 83 	call  200740c <rtems_memalign>                 
 2007204:	9e 10 40 00 	mov  %g1, %o7                                  
}                                                                     
 2007208:	81 c3 e0 08 	retl                                           
 200720c:	90 10 20 16 	mov  0x16, %o0                                 
                                                                      

0200ad58 <ramdisk_allocate>: void *area_begin, uint32_t block_size, rtems_blkdev_bnum block_count, bool trace ) {
 200ad58:	9d e3 bf a0 	save  %sp, -96, %sp                            
  struct ramdisk *rd = malloc(sizeof(struct ramdisk));                
 200ad5c:	90 10 20 10 	mov  0x10, %o0                                 
 200ad60:	7f ff e3 d8 	call  2003cc0 <malloc>                         
 200ad64:	ba 10 00 18 	mov  %i0, %i5                                  
                                                                      
  if (rd == NULL) {                                                   
 200ad68:	b0 92 20 00 	orcc  %o0, 0, %i0                              
 200ad6c:	02 80 00 0d 	be  200ada0 <ramdisk_allocate+0x48>            <== NEVER TAKEN
 200ad70:	80 a7 60 00 	cmp  %i5, 0                                    
    return NULL;                                                      
  }                                                                   
                                                                      
  if (area_begin == NULL) {                                           
 200ad74:	32 80 00 0e 	bne,a   200adac <ramdisk_allocate+0x54>        <== NEVER TAKEN
 200ad78:	c0 2e 20 0d 	clrb  [ %i0 + 0xd ]                            <== NOT EXECUTED
    area_begin = calloc(block_count, block_size);                     
 200ad7c:	90 10 00 1a 	mov  %i2, %o0                                  
 200ad80:	7f ff e2 89 	call  20037a4 <calloc>                         
 200ad84:	92 10 00 19 	mov  %i1, %o1                                  
    if (area_begin == NULL) {                                         
 200ad88:	ba 92 20 00 	orcc  %o0, 0, %i5                              
 200ad8c:	12 80 00 07 	bne  200ada8 <ramdisk_allocate+0x50>           <== ALWAYS TAKEN
 200ad90:	82 10 20 01 	mov  1, %g1                                    
      free(rd);                                                       
 200ad94:	90 10 00 18 	mov  %i0, %o0                                  <== NOT EXECUTED
 200ad98:	7f ff e2 ed 	call  200394c <free>                           <== NOT EXECUTED
 200ad9c:	b0 10 20 00 	clr  %i0                                       <== NOT EXECUTED
                                                                      
      return NULL;                                                    
 200ada0:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 200ada4:	81 e8 00 00 	restore                                        <== NOT EXECUTED
 200ada8:	c2 2e 20 0d 	stb  %g1, [ %i0 + 0xd ]                        
  }                                                                   
  rd->block_size = block_size;                                        
  rd->block_num = block_count;                                        
  rd->area = area_begin;                                              
  rd->trace = trace;                                                  
  rd->initialized = true;                                             
 200adac:	82 10 20 01 	mov  1, %g1                                    
    }                                                                 
    rd->malloced = true;                                              
  } else {                                                            
    rd->malloced = false;                                             
  }                                                                   
  rd->block_size = block_size;                                        
 200adb0:	f2 26 00 00 	st  %i1, [ %i0 ]                               
  rd->block_num = block_count;                                        
 200adb4:	f4 26 20 04 	st  %i2, [ %i0 + 4 ]                           
  rd->area = area_begin;                                              
 200adb8:	fa 26 20 08 	st  %i5, [ %i0 + 8 ]                           
  rd->trace = trace;                                                  
 200adbc:	f6 2e 20 0e 	stb  %i3, [ %i0 + 0xe ]                        
  rd->initialized = true;                                             
 200adc0:	c2 2e 20 0c 	stb  %g1, [ %i0 + 0xc ]                        
                                                                      
  return rd;                                                          
}                                                                     
 200adc4:	81 c7 e0 08 	ret                                            
 200adc8:	81 e8 00 00 	restore                                        
                                                                      

0200adcc <ramdisk_free>: void ramdisk_free(ramdisk *rd) {
 200adcc:	9d e3 bf a0 	save  %sp, -96, %sp                            
  if (rd != NULL) {                                                   
 200add0:	80 a6 20 00 	cmp  %i0, 0                                    
 200add4:	02 80 00 0a 	be  200adfc <ramdisk_free+0x30>                <== NEVER TAKEN
 200add8:	01 00 00 00 	nop                                            
    if (rd->malloced) {                                               
 200addc:	c2 0e 20 0d 	ldub  [ %i0 + 0xd ], %g1                       
 200ade0:	80 a0 60 00 	cmp  %g1, 0                                    
 200ade4:	02 80 00 04 	be  200adf4 <ramdisk_free+0x28>                <== NEVER TAKEN
 200ade8:	01 00 00 00 	nop                                            
      free(rd->area);                                                 
 200adec:	7f ff e2 d8 	call  200394c <free>                           
 200adf0:	d0 06 20 08 	ld  [ %i0 + 8 ], %o0                           
    }                                                                 
    free(rd);                                                         
 200adf4:	7f ff e2 d6 	call  200394c <free>                           
 200adf8:	81 e8 00 00 	restore                                        
 200adfc:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 200ae00:	81 e8 00 00 	restore                                        <== NOT EXECUTED
                                                                      

0200ac58 <ramdisk_ioctl>: return 0; } int ramdisk_ioctl(rtems_disk_device *dd, uint32_t req, void *argp) {
 200ac58:	9d e3 bf a0 	save  %sp, -96, %sp                            
    switch (req)                                                      
 200ac5c:	05 30 06 10 	sethi  %hi(0xc0184000), %g2                    
 200ac60:	84 10 a2 01 	or  %g2, 0x201, %g2	! c0184201 <RAM_END+0xbdd84201>
 200ac64:	80 a6 40 02 	cmp  %i1, %g2                                  
 200ac68:	12 80 00 3a 	bne  200ad50 <ramdisk_ioctl+0xf8>              
 200ac6c:	ba 10 00 1a 	mov  %i2, %i5                                  
        case RTEMS_BLKIO_REQUEST:                                     
        {                                                             
            rtems_blkdev_request *r = argp;                           
            struct ramdisk *rd = rtems_disk_get_driver_data(dd);      
                                                                      
            switch (r->req)                                           
 200ac70:	c2 06 80 00 	ld  [ %i2 ], %g1                               
 200ac74:	80 a0 60 00 	cmp  %g1, 0                                    
 200ac78:	02 80 00 07 	be  200ac94 <ramdisk_ioctl+0x3c>               
 200ac7c:	f6 06 20 2c 	ld  [ %i0 + 0x2c ], %i3                        
 200ac80:	80 a0 60 01 	cmp  %g1, 1                                    
 200ac84:	12 80 00 2d 	bne  200ad38 <ramdisk_ioctl+0xe0>              <== NEVER TAKEN
 200ac88:	b8 06 a0 18 	add  %i2, 0x18, %i4                            
}                                                                     
                                                                      
static int                                                            
ramdisk_write(struct ramdisk *rd, rtems_blkdev_request *req)          
{                                                                     
    uint8_t *to = rd->area;                                           
 200ac8c:	10 80 00 15 	b  200ace0 <ramdisk_ioctl+0x88>                
 200ac90:	f2 06 e0 08 	ld  [ %i3 + 8 ], %i1                           
#if RTEMS_RAMDISK_TRACE                                               
    rtems_ramdisk_printf (rd, "ramdisk read: start=%d, blocks=%d",    
                          req->bufs[0].block, req->bufnum);           
#endif                                                                
                                                                      
    for (i = 0, sg = req->bufs; i < req->bufnum; i++, sg++)           
 200ac94:	b8 06 a0 18 	add  %i2, 0x18, %i4                            
#endif                                                                
                                                                      
static int                                                            
ramdisk_read(struct ramdisk *rd, rtems_blkdev_request *req)           
{                                                                     
    uint8_t *from = rd->area;                                         
 200ac98:	f2 06 e0 08 	ld  [ %i3 + 8 ], %i1                           
#if RTEMS_RAMDISK_TRACE                                               
    rtems_ramdisk_printf (rd, "ramdisk read: start=%d, blocks=%d",    
                          req->bufs[0].block, req->bufnum);           
#endif                                                                
                                                                      
    for (i = 0, sg = req->bufs; i < req->bufnum; i++, sg++)           
 200ac9c:	10 80 00 0b 	b  200acc8 <ramdisk_ioctl+0x70>                
 200aca0:	b4 10 20 00 	clr  %i2                                       
#if RTEMS_RAMDISK_TRACE                                               
        rtems_ramdisk_printf (rd, "ramdisk read: buf=%d block=%d length=%d off=%d addr=%p",
                              i, sg->block, sg->length, sg->block * rd->block_size,
                              from + (sg->block * rd->block_size));   
#endif                                                                
        memcpy(sg->buffer, from + (sg->block * rd->block_size), sg->length);
 200aca4:	d2 06 c0 00 	ld  [ %i3 ], %o1                               
 200aca8:	40 00 28 39 	call  2014d8c <.umul>                          
 200acac:	f0 07 20 08 	ld  [ %i4 + 8 ], %i0                           
 200acb0:	d4 07 20 04 	ld  [ %i4 + 4 ], %o2                           
 200acb4:	92 06 40 08 	add  %i1, %o0, %o1                             
#if RTEMS_RAMDISK_TRACE                                               
    rtems_ramdisk_printf (rd, "ramdisk read: start=%d, blocks=%d",    
                          req->bufs[0].block, req->bufnum);           
#endif                                                                
                                                                      
    for (i = 0, sg = req->bufs; i < req->bufnum; i++, sg++)           
 200acb8:	b4 06 a0 01 	inc  %i2                                       
#if RTEMS_RAMDISK_TRACE                                               
        rtems_ramdisk_printf (rd, "ramdisk read: buf=%d block=%d length=%d off=%d addr=%p",
                              i, sg->block, sg->length, sg->block * rd->block_size,
                              from + (sg->block * rd->block_size));   
#endif                                                                
        memcpy(sg->buffer, from + (sg->block * rd->block_size), sg->length);
 200acbc:	90 10 00 18 	mov  %i0, %o0                                  
 200acc0:	40 00 1d 32 	call  2012188 <memcpy>                         
 200acc4:	b8 07 20 10 	add  %i4, 0x10, %i4                            
#if RTEMS_RAMDISK_TRACE                                               
    rtems_ramdisk_printf (rd, "ramdisk read: start=%d, blocks=%d",    
                          req->bufs[0].block, req->bufnum);           
#endif                                                                
                                                                      
    for (i = 0, sg = req->bufs; i < req->bufnum; i++, sg++)           
 200acc8:	c2 07 60 10 	ld  [ %i5 + 0x10 ], %g1                        
 200accc:	80 a6 80 01 	cmp  %i2, %g1                                  
 200acd0:	2a bf ff f5 	bcs,a   200aca4 <ramdisk_ioctl+0x4c>           
 200acd4:	d0 07 00 00 	ld  [ %i4 ], %o0                               
                              to + (sg->block * rd->block_size));     
#endif                                                                
        memcpy(to + (sg->block * rd->block_size), sg->buffer, sg->length);
    }                                                                 
    req->status = RTEMS_SUCCESSFUL;                                   
    req->req_done(req->done_arg, RTEMS_SUCCESSFUL);                   
 200acd8:	10 80 00 11 	b  200ad1c <ramdisk_ioctl+0xc4>                
 200acdc:	c2 07 60 04 	ld  [ %i5 + 4 ], %g1                           
                                                                      
#if RTEMS_RAMDISK_TRACE                                               
    rtems_ramdisk_printf (rd, "ramdisk write: start=%d, blocks=%d",   
                          req->bufs[0].block, req->bufnum);           
#endif                                                                
    for (i = 0, sg = req->bufs; i < req->bufnum; i++, sg++)           
 200ace0:	10 80 00 0a 	b  200ad08 <ramdisk_ioctl+0xb0>                
 200ace4:	b4 10 20 00 	clr  %i2                                       
#if RTEMS_RAMDISK_TRACE                                               
        rtems_ramdisk_printf (rd, "ramdisk write: buf=%d block=%d length=%d off=%d addr=%p",
                              i, sg->block, sg->length, sg->block * rd->block_size,
                              to + (sg->block * rd->block_size));     
#endif                                                                
        memcpy(to + (sg->block * rd->block_size), sg->buffer, sg->length);
 200ace8:	d2 06 c0 00 	ld  [ %i3 ], %o1                               
 200acec:	40 00 28 28 	call  2014d8c <.umul>                          
 200acf0:	b4 06 a0 01 	inc  %i2                                       
 200acf4:	d2 07 20 08 	ld  [ %i4 + 8 ], %o1                           
 200acf8:	d4 07 20 04 	ld  [ %i4 + 4 ], %o2                           
 200acfc:	90 06 40 08 	add  %i1, %o0, %o0                             
 200ad00:	40 00 1d 22 	call  2012188 <memcpy>                         
 200ad04:	b8 07 20 10 	add  %i4, 0x10, %i4                            
                                                                      
#if RTEMS_RAMDISK_TRACE                                               
    rtems_ramdisk_printf (rd, "ramdisk write: start=%d, blocks=%d",   
                          req->bufs[0].block, req->bufnum);           
#endif                                                                
    for (i = 0, sg = req->bufs; i < req->bufnum; i++, sg++)           
 200ad08:	c2 07 60 10 	ld  [ %i5 + 0x10 ], %g1                        
 200ad0c:	80 a6 80 01 	cmp  %i2, %g1                                  
 200ad10:	2a bf ff f6 	bcs,a   200ace8 <ramdisk_ioctl+0x90>           
 200ad14:	d0 07 00 00 	ld  [ %i4 ], %o0                               
                              to + (sg->block * rd->block_size));     
#endif                                                                
        memcpy(to + (sg->block * rd->block_size), sg->buffer, sg->length);
    }                                                                 
    req->status = RTEMS_SUCCESSFUL;                                   
    req->req_done(req->done_arg, RTEMS_SUCCESSFUL);                   
 200ad18:	c2 07 60 04 	ld  [ %i5 + 4 ], %g1                           
 200ad1c:	d0 07 60 08 	ld  [ %i5 + 8 ], %o0                           
                              i, sg->block, sg->length, sg->block * rd->block_size,
                              to + (sg->block * rd->block_size));     
#endif                                                                
        memcpy(to + (sg->block * rd->block_size), sg->buffer, sg->length);
    }                                                                 
    req->status = RTEMS_SUCCESSFUL;                                   
 200ad20:	c0 27 60 0c 	clr  [ %i5 + 0xc ]                             
    req->req_done(req->done_arg, RTEMS_SUCCESSFUL);                   
 200ad24:	92 10 20 00 	clr  %o1                                       
 200ad28:	9f c0 40 00 	call  %g1                                      
 200ad2c:	b0 10 20 00 	clr  %i0                                       
            {                                                         
                case RTEMS_BLKDEV_REQ_READ:                           
                    return ramdisk_read(rd, r);                       
                                                                      
                case RTEMS_BLKDEV_REQ_WRITE:                          
                    return ramdisk_write(rd, r);                      
 200ad30:	81 c7 e0 08 	ret                                            
 200ad34:	81 e8 00 00 	restore                                        
                                                                      
                default:                                              
                    errno = EINVAL;                                   
 200ad38:	40 00 1a d2 	call  2011880 <__errno>                        <== NOT EXECUTED
 200ad3c:	b0 10 3f ff 	mov  -1, %i0                                   <== NOT EXECUTED
 200ad40:	82 10 20 16 	mov  0x16, %g1                                 <== NOT EXECUTED
 200ad44:	c2 22 00 00 	st  %g1, [ %o0 ]                               <== NOT EXECUTED
                    return -1;                                        
 200ad48:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 200ad4c:	81 e8 00 00 	restore                                        <== NOT EXECUTED
            }                                                         
            break;                                                    
        }                                                             
                                                                      
        default:                                                      
            return rtems_blkdev_ioctl (dd, req, argp);                
 200ad50:	40 00 0a a0 	call  200d7d0 <rtems_blkdev_ioctl>             
 200ad54:	81 e8 00 00 	restore                                        
                                                                      

0200ae04 <ramdisk_register>: rtems_blkdev_bnum block_count, bool trace, const char *disk, dev_t *dev_ptr ) {
 200ae04:	9d e3 bf 90 	save  %sp, -112, %sp                           
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
  rtems_device_major_number major = 0;                                
  ramdisk *rd = NULL;                                                 
  dev_t dev = 0;                                                      
                                                                      
  sc = rtems_io_register_driver(0, &ramdisk_ops, &major);             
 200ae08:	90 10 20 00 	clr  %o0                                       
  rtems_blkdev_bnum block_count,                                      
  bool trace,                                                         
  const char *disk,                                                   
  dev_t *dev_ptr                                                      
)                                                                     
{                                                                     
 200ae0c:	ba 10 00 18 	mov  %i0, %i5                                  
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
  rtems_device_major_number major = 0;                                
 200ae10:	c0 27 bf fc 	clr  [ %fp + -4 ]                              
  ramdisk *rd = NULL;                                                 
  dev_t dev = 0;                                                      
                                                                      
  sc = rtems_io_register_driver(0, &ramdisk_ops, &major);             
 200ae14:	13 00 80 5d 	sethi  %hi(0x2017400), %o1                     
 200ae18:	94 07 bf fc 	add  %fp, -4, %o2                              
 200ae1c:	92 12 62 8c 	or  %o1, 0x28c, %o1                            
 200ae20:	7f ff f2 b8 	call  2007900 <rtems_io_register_driver>       
 200ae24:	b0 10 20 0d 	mov  0xd, %i0                                  
  if (sc != RTEMS_SUCCESSFUL) {                                       
 200ae28:	80 a2 20 00 	cmp  %o0, 0                                    
 200ae2c:	12 80 00 1b 	bne  200ae98 <ramdisk_register+0x94>           <== NEVER TAKEN
 200ae30:	96 10 00 1a 	mov  %i2, %o3                                  
    return RTEMS_UNSATISFIED;                                         
  }                                                                   
                                                                      
  rd = ramdisk_allocate(NULL, block_size, block_count, trace);        
 200ae34:	92 10 00 1d 	mov  %i5, %o1                                  
 200ae38:	7f ff ff c8 	call  200ad58 <ramdisk_allocate>               
 200ae3c:	94 10 00 19 	mov  %i1, %o2                                  
  if (rd == NULL) {                                                   
 200ae40:	a0 92 20 00 	orcc  %o0, 0, %l0                              
 200ae44:	12 80 00 04 	bne  200ae54 <ramdisk_register+0x50>           <== ALWAYS TAKEN
 200ae48:	f4 07 bf fc 	ld  [ %fp + -4 ], %i2                          
    rtems_io_unregister_driver(major);                                
 200ae4c:	10 80 00 11 	b  200ae90 <ramdisk_register+0x8c>             <== NOT EXECUTED
 200ae50:	90 10 00 1a 	mov  %i2, %o0                                  <== NOT EXECUTED
    return RTEMS_UNSATISFIED;                                         
  }                                                                   
                                                                      
  dev = rtems_filesystem_make_dev_t(major, 0);                        
                                                                      
  sc = rtems_disk_create_phys(                                        
 200ae54:	f6 23 a0 5c 	st  %i3, [ %sp + 0x5c ]                        
 200ae58:	90 10 00 1a 	mov  %i2, %o0                                  
 200ae5c:	92 10 20 00 	clr  %o1                                       
 200ae60:	94 10 00 1d 	mov  %i5, %o2                                  
 200ae64:	96 10 00 19 	mov  %i1, %o3                                  
 200ae68:	19 00 80 2b 	sethi  %hi(0x200ac00), %o4                     
 200ae6c:	9a 10 00 10 	mov  %l0, %o5                                  
 200ae70:	7f ff de f4 	call  2002a40 <rtems_disk_create_phys>         
 200ae74:	98 13 20 58 	or  %o4, 0x58, %o4                             
    block_count,                                                      
    ramdisk_ioctl,                                                    
    rd,                                                               
    disk                                                              
  );                                                                  
  if (sc != RTEMS_SUCCESSFUL) {                                       
 200ae78:	80 a2 20 00 	cmp  %o0, 0                                    
 200ae7c:	22 80 00 09 	be,a   200aea0 <ramdisk_register+0x9c>         <== ALWAYS TAKEN
 200ae80:	f4 27 00 00 	st  %i2, [ %i4 ]                               
    ramdisk_free(rd);                                                 
 200ae84:	7f ff ff d2 	call  200adcc <ramdisk_free>                   <== NOT EXECUTED
 200ae88:	90 10 00 10 	mov  %l0, %o0                                  <== NOT EXECUTED
    rtems_io_unregister_driver(major);                                
 200ae8c:	d0 07 bf fc 	ld  [ %fp + -4 ], %o0                          <== NOT EXECUTED
 200ae90:	7f ff f2 fd 	call  2007a84 <rtems_io_unregister_driver>     <== NOT EXECUTED
 200ae94:	01 00 00 00 	nop                                            <== NOT EXECUTED
                                                                      
    return RTEMS_UNSATISFIED;                                         
 200ae98:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 200ae9c:	81 e8 00 00 	restore                                        <== NOT EXECUTED
  }                                                                   
                                                                      
  *dev_ptr = dev;                                                     
 200aea0:	c0 27 20 04 	clr  [ %i4 + 4 ]                               
                                                                      
  return RTEMS_SUCCESSFUL;                                            
 200aea4:	b0 10 20 00 	clr  %i0                                       
}                                                                     
 200aea8:	81 c7 e0 08 	ret                                            
 200aeac:	81 e8 00 00 	restore                                        
                                                                      

020183e4 <read>: ssize_t read( int fd, void *buffer, size_t count ) {
 20183e4:	9d e3 bf a0 	save  %sp, -96, %sp                            
  ssize_t      rc;                                                    
  rtems_libio_t *iop;                                                 
                                                                      
  rtems_libio_check_fd( fd );                                         
 20183e8:	03 00 80 6a 	sethi  %hi(0x201a800), %g1                     
 20183ec:	c2 00 61 58 	ld  [ %g1 + 0x158 ], %g1	! 201a958 <rtems_libio_number_iops>
ssize_t read(                                                         
  int         fd,                                                     
  void       *buffer,                                                 
  size_t      count                                                   
)                                                                     
{                                                                     
 20183f0:	92 10 00 19 	mov  %i1, %o1                                  
  ssize_t      rc;                                                    
  rtems_libio_t *iop;                                                 
                                                                      
  rtems_libio_check_fd( fd );                                         
 20183f4:	80 a6 00 01 	cmp  %i0, %g1                                  
 20183f8:	1a 80 00 16 	bcc  2018450 <read+0x6c>                       
 20183fc:	94 10 00 1a 	mov  %i2, %o2                                  
  iop = rtems_libio_iop( fd );                                        
 2018400:	03 00 80 6c 	sethi  %hi(0x201b000), %g1                     
 2018404:	fa 00 63 58 	ld  [ %g1 + 0x358 ], %i5	! 201b358 <rtems_libio_iops>
 2018408:	b1 2e 20 06 	sll  %i0, 6, %i0                               
 201840c:	ba 07 40 18 	add  %i5, %i0, %i5                             
  rtems_libio_check_is_open( iop );                                   
 2018410:	c2 07 60 18 	ld  [ %i5 + 0x18 ], %g1                        
 2018414:	80 88 61 00 	btst  0x100, %g1                               
 2018418:	02 80 00 0e 	be  2018450 <read+0x6c>                        
 201841c:	01 00 00 00 	nop                                            
  rtems_libio_check_buffer( buffer );                                 
 2018420:	80 a6 60 00 	cmp  %i1, 0                                    
 2018424:	12 80 00 06 	bne  201843c <read+0x58>                       <== ALWAYS TAKEN
 2018428:	80 a6 a0 00 	cmp  %i2, 0                                    
 201842c:	7f ff d6 32 	call  200dcf4 <__errno>                        <== NOT EXECUTED
 2018430:	01 00 00 00 	nop                                            <== NOT EXECUTED
 2018434:	10 80 00 0a 	b  201845c <read+0x78>                         <== NOT EXECUTED
 2018438:	82 10 20 16 	mov  0x16, %g1	! 16 <PROM_START+0x16>          <== NOT EXECUTED
  rtems_libio_check_count( count );                                   
 201843c:	02 80 00 15 	be  2018490 <read+0xac>                        
 2018440:	b0 10 20 00 	clr  %i0                                       
  rtems_libio_check_permissions_with_error( iop, LIBIO_FLAGS_READ, EBADF );
 2018444:	80 88 60 02 	btst  2, %g1                                   
 2018448:	32 80 00 08 	bne,a   2018468 <read+0x84>                    
 201844c:	c2 07 60 24 	ld  [ %i5 + 0x24 ], %g1                        
 2018450:	7f ff d6 29 	call  200dcf4 <__errno>                        
 2018454:	01 00 00 00 	nop                                            
 2018458:	82 10 20 09 	mov  9, %g1	! 9 <PROM_START+0x9>               
 201845c:	c2 22 00 00 	st  %g1, [ %o0 ]                               
 2018460:	81 c7 e0 08 	ret                                            
 2018464:	91 e8 3f ff 	restore  %g0, -1, %o0                          
                                                                      
  /*                                                                  
   *  Now process the read().                                         
   */                                                                 
  rc = (*iop->pathinfo.handlers->read_h)( iop, buffer, count );       
 2018468:	c2 00 60 08 	ld  [ %g1 + 8 ], %g1                           
 201846c:	9f c0 40 00 	call  %g1                                      
 2018470:	90 10 00 1d 	mov  %i5, %o0                                  
                                                                      
  if ( rc > 0 )                                                       
 2018474:	b0 92 20 00 	orcc  %o0, 0, %i0                              
 2018478:	04 80 00 06 	ble  2018490 <read+0xac>                       
 201847c:	85 3e 20 1f 	sra  %i0, 0x1f, %g2                            
    iop->offset += rc;                                                
 2018480:	d8 1f 60 10 	ldd  [ %i5 + 0x10 ], %o4                       
 2018484:	86 83 40 18 	addcc  %o5, %i0, %g3                           
 2018488:	84 43 00 02 	addx  %o4, %g2, %g2                            
 201848c:	c4 3f 60 10 	std  %g2, [ %i5 + 0x10 ]                       
                                                                      
  return rc;                                                          
}                                                                     
 2018490:	81 c7 e0 08 	ret                                            
 2018494:	81 e8 00 00 	restore                                        
                                                                      

02004ec4 <readlink>: ssize_t readlink( const char *pathname, char *buf, size_t bufsize ) {
 2004ec4:	9d e3 bf 88 	save  %sp, -120, %sp                           
  rtems_filesystem_location_info_t  loc;                              
  int                               result;                           
                                                                      
  if (!buf)                                                           
 2004ec8:	80 a6 60 00 	cmp  %i1, 0                                    
 2004ecc:	12 80 00 08 	bne  2004eec <readlink+0x28>                   
 2004ed0:	01 00 00 00 	nop                                            
    rtems_set_errno_and_return_minus_one( EFAULT );                   
 2004ed4:	40 00 28 74 	call  200f0a4 <__errno>                        
 2004ed8:	b0 10 3f ff 	mov  -1, %i0	! ffffffff <RAM_END+0xfdbfffff>   
 2004edc:	82 10 20 0e 	mov  0xe, %g1                                  
 2004ee0:	c2 22 00 00 	st  %g1, [ %o0 ]                               
 2004ee4:	81 c7 e0 08 	ret                                            
 2004ee8:	81 e8 00 00 	restore                                        
                                                                      
  result = rtems_filesystem_evaluate_path( pathname, strlen( pathname ),
 2004eec:	40 00 2d 8b 	call  2010518 <strlen>                         
 2004ef0:	90 10 00 18 	mov  %i0, %o0                                  
 2004ef4:	94 10 20 00 	clr  %o2                                       
 2004ef8:	92 10 00 08 	mov  %o0, %o1                                  
 2004efc:	96 07 bf ec 	add  %fp, -20, %o3                             
 2004f00:	90 10 00 18 	mov  %i0, %o0                                  
 2004f04:	98 10 20 00 	clr  %o4                                       
 2004f08:	7f ff fa bb 	call  20039f4 <rtems_filesystem_evaluate_path> 
 2004f0c:	b0 10 3f ff 	mov  -1, %i0                                   
                                           0, &loc, false );          
  if ( result != 0 )                                                  
 2004f10:	80 a2 20 00 	cmp  %o0, 0                                    
 2004f14:	12 bf ff f4 	bne  2004ee4 <readlink+0x20>                   <== NEVER TAKEN
 2004f18:	c2 07 bf f8 	ld  [ %fp + -8 ], %g1                          
     return -1;                                                       
                                                                      
  if (  (*loc.ops->node_type_h)( &loc ) != RTEMS_FILESYSTEM_SYM_LINK ){
 2004f1c:	c2 00 60 10 	ld  [ %g1 + 0x10 ], %g1                        
 2004f20:	9f c0 40 00 	call  %g1                                      
 2004f24:	90 07 bf ec 	add  %fp, -20, %o0                             
 2004f28:	80 a2 20 04 	cmp  %o0, 4                                    
 2004f2c:	02 80 00 0a 	be  2004f54 <readlink+0x90>                    
 2004f30:	c2 07 bf f8 	ld  [ %fp + -8 ], %g1                          
    rtems_filesystem_freenode( &loc );                                
 2004f34:	7f ff fb 22 	call  2003bbc <rtems_filesystem_freenode>      
 2004f38:	90 07 bf ec 	add  %fp, -20, %o0                             
    rtems_set_errno_and_return_minus_one( EINVAL );                   
 2004f3c:	40 00 28 5a 	call  200f0a4 <__errno>                        
 2004f40:	01 00 00 00 	nop                                            
 2004f44:	82 10 20 16 	mov  0x16, %g1	! 16 <PROM_START+0x16>          
 2004f48:	c2 22 00 00 	st  %g1, [ %o0 ]                               
 2004f4c:	81 c7 e0 08 	ret                                            
 2004f50:	81 e8 00 00 	restore                                        
  }                                                                   
                                                                      
  result =  (*loc.ops->readlink_h)( &loc, buf, bufsize );             
 2004f54:	90 07 bf ec 	add  %fp, -20, %o0                             
 2004f58:	c2 00 60 3c 	ld  [ %g1 + 0x3c ], %g1                        
 2004f5c:	92 10 00 19 	mov  %i1, %o1                                  
 2004f60:	9f c0 40 00 	call  %g1                                      
 2004f64:	94 10 00 1a 	mov  %i2, %o2                                  
 2004f68:	b0 10 00 08 	mov  %o0, %i0                                  
                                                                      
  rtems_filesystem_freenode( &loc );                                  
 2004f6c:	7f ff fb 14 	call  2003bbc <rtems_filesystem_freenode>      
 2004f70:	90 07 bf ec 	add  %fp, -20, %o0                             
                                                                      
  return result;                                                      
}                                                                     
 2004f74:	81 c7 e0 08 	ret                                            
 2004f78:	81 e8 00 00 	restore                                        
                                                                      

020047c8 <readv>: ssize_t readv( int fd, const struct iovec *iov, int iovcnt ) {
 20047c8:	9d e3 bf a0 	save  %sp, -96, %sp                            
  int            v;                                                   
  int            bytes;                                               
  rtems_libio_t *iop;                                                 
  bool           all_zeros;                                           
                                                                      
  rtems_libio_check_fd( fd );                                         
 20047cc:	03 00 80 56 	sethi  %hi(0x2015800), %g1                     
 20047d0:	c2 00 63 68 	ld  [ %g1 + 0x368 ], %g1	! 2015b68 <rtems_libio_number_iops>
 20047d4:	80 a6 00 01 	cmp  %i0, %g1                                  
 20047d8:	1a 80 00 0d 	bcc  200480c <readv+0x44>                      
 20047dc:	01 00 00 00 	nop                                            
  iop = rtems_libio_iop( fd );                                        
 20047e0:	03 00 80 59 	sethi  %hi(0x2016400), %g1                     
 20047e4:	f8 00 61 34 	ld  [ %g1 + 0x134 ], %i4	! 2016534 <rtems_libio_iops>
 20047e8:	b1 2e 20 06 	sll  %i0, 6, %i0                               
 20047ec:	b8 07 00 18 	add  %i4, %i0, %i4                             
  rtems_libio_check_is_open( iop );                                   
 20047f0:	c2 07 20 18 	ld  [ %i4 + 0x18 ], %g1                        
 20047f4:	80 88 61 00 	btst  0x100, %g1                               
 20047f8:	02 80 00 05 	be  200480c <readv+0x44>                       
 20047fc:	01 00 00 00 	nop                                            
  rtems_libio_check_permissions_with_error( iop, LIBIO_FLAGS_READ, EBADF );
 2004800:	80 88 60 02 	btst  2, %g1                                   
 2004804:	12 80 00 06 	bne  200481c <readv+0x54>                      <== ALWAYS TAKEN
 2004808:	80 a6 60 00 	cmp  %i1, 0                                    
 200480c:	40 00 27 96 	call  200e664 <__errno>                        
 2004810:	01 00 00 00 	nop                                            
 2004814:	10 80 00 1c 	b  2004884 <readv+0xbc>                        
 2004818:	82 10 20 09 	mov  9, %g1	! 9 <PROM_START+0x9>               
                                                                      
  /*                                                                  
   *  Argument validation on IO vector                                
   */                                                                 
  if ( !iov )                                                         
 200481c:	02 80 00 17 	be  2004878 <readv+0xb0>                       
 2004820:	01 00 00 00 	nop                                            
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  if ( iovcnt <= 0 )                                                  
 2004824:	80 a6 a0 00 	cmp  %i2, 0                                    
 2004828:	04 80 00 14 	ble  2004878 <readv+0xb0>                      
 200482c:	01 00 00 00 	nop                                            
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  if ( iovcnt > IOV_MAX )                                             
 2004830:	80 a6 a4 00 	cmp  %i2, 0x400                                
 2004834:	14 80 00 11 	bg  2004878 <readv+0xb0>                       <== NEVER TAKEN
 2004838:	01 00 00 00 	nop                                            
    rtems_set_errno_and_return_minus_one( EINVAL );                   
 200483c:	84 10 00 19 	mov  %i1, %g2                                  
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  if ( iovcnt <= 0 )                                                  
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  if ( iovcnt > IOV_MAX )                                             
 2004840:	86 10 20 01 	mov  1, %g3                                    
 2004844:	82 10 20 00 	clr  %g1                                       
 2004848:	10 80 00 03 	b  2004854 <readv+0x8c>                        
 200484c:	88 10 20 00 	clr  %g4                                       
    if ( iov[v].iov_base == 0 )                                       
      rtems_set_errno_and_return_minus_one( EINVAL );                 
                                                                      
    /* check for wrap */                                              
    old    = total;                                                   
    total += iov[v].iov_len;                                          
 2004850:	88 10 00 1b 	mov  %i3, %g4                                  
                                                                      
    /*                                                                
     *  iov[v].iov_len cannot be less than 0 because size_t is unsigned.
     *  So we only check for zero.                                    
     */                                                               
    if ( iov[v].iov_base == 0 )                                       
 2004854:	fa 00 80 00 	ld  [ %g2 ], %i5                               
 2004858:	80 a7 60 00 	cmp  %i5, 0                                    
 200485c:	02 80 00 07 	be  2004878 <readv+0xb0>                       
 2004860:	01 00 00 00 	nop                                            
      rtems_set_errno_and_return_minus_one( EINVAL );                 
                                                                      
    /* check for wrap */                                              
    old    = total;                                                   
    total += iov[v].iov_len;                                          
 2004864:	fa 00 a0 04 	ld  [ %g2 + 4 ], %i5                           
 2004868:	b6 07 40 04 	add  %i5, %g4, %i3                             
    if ( total < old )                                                
 200486c:	80 a6 c0 04 	cmp  %i3, %g4                                  
 2004870:	16 80 00 08 	bge  2004890 <readv+0xc8>                      
 2004874:	80 a0 00 1d 	cmp  %g0, %i5                                  
      rtems_set_errno_and_return_minus_one( EINVAL );                 
 2004878:	40 00 27 7b 	call  200e664 <__errno>                        
 200487c:	01 00 00 00 	nop                                            
 2004880:	82 10 20 16 	mov  0x16, %g1	! 16 <PROM_START+0x16>          
 2004884:	c2 22 00 00 	st  %g1, [ %o0 ]                               
 2004888:	81 c7 e0 08 	ret                                            
 200488c:	91 e8 3f ff 	restore  %g0, -1, %o0                          
   *  are obvious errors in the iovec.  So this extra loop ensures    
   *  that we do not do anything if there is an argument error.       
   */                                                                 
                                                                      
  all_zeros = true;                                                   
  for ( total=0, v=0 ; v < iovcnt ; v++ ) {                           
 2004890:	82 00 60 01 	inc  %g1                                       
    total += iov[v].iov_len;                                          
    if ( total < old )                                                
      rtems_set_errno_and_return_minus_one( EINVAL );                 
                                                                      
    if ( iov[v].iov_len )                                             
      all_zeros = false;                                              
 2004894:	88 40 3f ff 	addx  %g0, -1, %g4                             
   *  are obvious errors in the iovec.  So this extra loop ensures    
   *  that we do not do anything if there is an argument error.       
   */                                                                 
                                                                      
  all_zeros = true;                                                   
  for ( total=0, v=0 ; v < iovcnt ; v++ ) {                           
 2004898:	84 00 a0 08 	add  %g2, 8, %g2                               
 200489c:	80 a0 40 1a 	cmp  %g1, %i2                                  
 20048a0:	12 bf ff ec 	bne  2004850 <readv+0x88>                      
 20048a4:	86 08 c0 04 	and  %g3, %g4, %g3                             
  /*                                                                  
   *  A readv with all zeros logically has no effect.  Even though    
   *  OpenGroup didn't address this case as they did with writev(),   
   *  we will handle it the same way for symmetry.                    
   */                                                                 
  if ( all_zeros == true ) {                                          
 20048a8:	80 88 e0 ff 	btst  0xff, %g3                                
 20048ac:	12 80 00 1c 	bne  200491c <readv+0x154>                     
 20048b0:	b0 10 20 00 	clr  %i0                                       
#include <sys/uio.h>                                                  
                                                                      
#include <rtems/libio_.h>                                             
#include <rtems/seterr.h>                                             
                                                                      
ssize_t readv(                                                        
 20048b4:	b5 28 60 03 	sll  %g1, 3, %i2                               
 20048b8:	ba 10 20 00 	clr  %i5                                       
                                                                      
  /*                                                                  
   *  Now process the readv().                                        
   */                                                                 
  for ( total=0, v=0 ; v < iovcnt ; v++ ) {                           
    bytes = (*iop->pathinfo.handlers->read_h)(                        
 20048bc:	c2 07 20 24 	ld  [ %i4 + 0x24 ], %g1                        
#include <sys/uio.h>                                                  
                                                                      
#include <rtems/libio_.h>                                             
#include <rtems/seterr.h>                                             
                                                                      
ssize_t readv(                                                        
 20048c0:	b6 06 40 1d 	add  %i1, %i5, %i3                             
                                                                      
  /*                                                                  
   *  Now process the readv().                                        
   */                                                                 
  for ( total=0, v=0 ; v < iovcnt ; v++ ) {                           
    bytes = (*iop->pathinfo.handlers->read_h)(                        
 20048c4:	c2 00 60 08 	ld  [ %g1 + 8 ], %g1                           
 20048c8:	d2 06 40 1d 	ld  [ %i1 + %i5 ], %o1                         
 20048cc:	d4 06 e0 04 	ld  [ %i3 + 4 ], %o2                           
 20048d0:	9f c0 40 00 	call  %g1                                      
 20048d4:	90 10 00 1c 	mov  %i4, %o0                                  
      iop,                                                            
      iov[v].iov_base,                                                
      iov[v].iov_len                                                  
    );                                                                
                                                                      
    if ( bytes < 0 )                                                  
 20048d8:	80 a2 20 00 	cmp  %o0, 0                                    
 20048dc:	26 80 00 10 	bl,a   200491c <readv+0x154>                   <== NEVER TAKEN
 20048e0:	b0 10 3f ff 	mov  -1, %i0                                   <== NOT EXECUTED
      return -1;                                                      
                                                                      
    if ( bytes > 0 ) {                                                
 20048e4:	02 80 00 07 	be  2004900 <readv+0x138>                      <== NEVER TAKEN
 20048e8:	a1 3a 20 1f 	sra  %o0, 0x1f, %l0                            
      iop->offset += bytes;                                           
 20048ec:	c4 1f 20 10 	ldd  [ %i4 + 0x10 ], %g2                       
 20048f0:	86 80 c0 08 	addcc  %g3, %o0, %g3                           
      total       += bytes;                                           
 20048f4:	b0 06 00 08 	add  %i0, %o0, %i0                             
                                                                      
    if ( bytes < 0 )                                                  
      return -1;                                                      
                                                                      
    if ( bytes > 0 ) {                                                
      iop->offset += bytes;                                           
 20048f8:	84 40 80 10 	addx  %g2, %l0, %g2                            
 20048fc:	c4 3f 20 10 	std  %g2, [ %i4 + 0x10 ]                       
      total       += bytes;                                           
    }                                                                 
                                                                      
    if (bytes != iov[ v ].iov_len)                                    
 2004900:	c2 06 e0 04 	ld  [ %i3 + 4 ], %g1                           
 2004904:	80 a2 00 01 	cmp  %o0, %g1                                  
 2004908:	12 80 00 05 	bne  200491c <readv+0x154>                     <== NEVER TAKEN
 200490c:	ba 07 60 08 	add  %i5, 8, %i5                               
  }                                                                   
                                                                      
  /*                                                                  
   *  Now process the readv().                                        
   */                                                                 
  for ( total=0, v=0 ; v < iovcnt ; v++ ) {                           
 2004910:	80 a7 40 1a 	cmp  %i5, %i2                                  
 2004914:	32 bf ff eb 	bne,a   20048c0 <readv+0xf8>                   
 2004918:	c2 07 20 24 	ld  [ %i4 + 0x24 ], %g1                        
 200491c:	81 c7 e0 08 	ret                                            
 2004920:	81 e8 00 00 	restore                                        
                                                                      

020184dc <realloc>: void *realloc( void *ptr, size_t size ) {
 20184dc:	9d e3 bf 98 	save  %sp, -104, %sp                           
  uintptr_t old_size;                                                 
  char    *new_area;                                                  
                                                                      
  MSBUMP(realloc_calls, 1);                                           
 20184e0:	03 00 80 6c 	sethi  %hi(0x201b000), %g1                     
 20184e4:	82 10 63 70 	or  %g1, 0x370, %g1	! 201b370 <rtems_malloc_statistics>
 20184e8:	c4 00 60 10 	ld  [ %g1 + 0x10 ], %g2                        
 20184ec:	84 00 a0 01 	inc  %g2                                       
 20184f0:	c4 20 60 10 	st  %g2, [ %g1 + 0x10 ]                        
                                                                      
  /*                                                                  
   *  Do not attempt to allocate memory if in a critical section or ISR.
   */                                                                 
                                                                      
  if (_System_state_Is_up(_System_state_Get())) {                     
 20184f4:	03 00 80 6d 	sethi  %hi(0x201b400), %g1                     
 20184f8:	c2 00 62 74 	ld  [ %g1 + 0x274 ], %g1	! 201b674 <_System_state_Current>
 20184fc:	80 a0 60 03 	cmp  %g1, 3                                    
 2018500:	12 80 00 0d 	bne  2018534 <realloc+0x58>                    <== NEVER TAKEN
 2018504:	80 a6 20 00 	cmp  %i0, 0                                    
   * This routine returns true if thread dispatch indicates           
   * that we are in a critical section.                               
   */                                                                 
  RTEMS_INLINE_ROUTINE bool _Thread_Dispatch_in_critical_section(void)
  {                                                                   
     if (  _Thread_Dispatch_disable_level == 0 )                      
 2018508:	03 00 80 6d 	sethi  %hi(0x201b400), %g1                     
 201850c:	c2 00 61 20 	ld  [ %g1 + 0x120 ], %g1	! 201b520 <_Thread_Dispatch_disable_level>
 2018510:	80 a0 60 00 	cmp  %g1, 0                                    
 2018514:	32 80 00 3a 	bne,a   20185fc <realloc+0x120>                <== NEVER TAKEN
 2018518:	b0 10 20 00 	clr  %i0                                       <== NOT EXECUTED
    if (_Thread_Dispatch_in_critical_section())                       
      return (void *) 0;                                              
                                                                      
    if (_ISR_Nest_level > 0)                                          
 201851c:	03 00 80 6d 	sethi  %hi(0x201b400), %g1                     
 2018520:	c2 00 63 58 	ld  [ %g1 + 0x358 ], %g1	! 201b758 <_Per_CPU_Information+0x8>
 2018524:	80 a0 60 00 	cmp  %g1, 0                                    
 2018528:	32 80 00 35 	bne,a   20185fc <realloc+0x120>                <== NEVER TAKEN
 201852c:	b0 10 20 00 	clr  %i0                                       <== NOT EXECUTED
  }                                                                   
                                                                      
  /*                                                                  
   * Continue with realloc().                                         
   */                                                                 
  if ( !ptr )                                                         
 2018530:	80 a6 20 00 	cmp  %i0, 0                                    
 2018534:	12 80 00 04 	bne  2018544 <realloc+0x68>                    
 2018538:	80 a6 60 00 	cmp  %i1, 0                                    
    return malloc( size );                                            
 201853c:	7f ff ab 03 	call  2003148 <malloc>                         
 2018540:	91 e8 00 19 	restore  %g0, %i1, %o0                         
                                                                      
  if ( !size ) {                                                      
 2018544:	32 80 00 06 	bne,a   201855c <realloc+0x80>                 <== ALWAYS TAKEN
 2018548:	3b 00 80 6a 	sethi  %hi(0x201a800), %i5                     
    free( ptr );                                                      
 201854c:	7f ff aa 22 	call  2002dd4 <free>                           <== NOT EXECUTED
 2018550:	90 10 00 18 	mov  %i0, %o0                                  <== NOT EXECUTED
  if (_System_state_Is_up(_System_state_Get())) {                     
    if (_Thread_Dispatch_in_critical_section())                       
      return (void *) 0;                                              
                                                                      
    if (_ISR_Nest_level > 0)                                          
      return (void *) 0;                                              
 2018554:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2018558:	91 e8 20 00 	restore  %g0, 0, %o0                           <== NOT EXECUTED
  if ( !size ) {                                                      
    free( ptr );                                                      
    return (void *) 0;                                                
  }                                                                   
                                                                      
  if ( !_Protected_heap_Get_block_size(RTEMS_Malloc_Heap, ptr, &old_size) ) {
 201855c:	d0 07 61 10 	ld  [ %i5 + 0x110 ], %o0                       
 2018560:	92 10 00 18 	mov  %i0, %o1                                  
 2018564:	40 00 00 58 	call  20186c4 <_Protected_heap_Get_block_size> 
 2018568:	94 07 bf fc 	add  %fp, -4, %o2                              
 201856c:	80 8a 20 ff 	btst  0xff, %o0                                
 2018570:	32 80 00 08 	bne,a   2018590 <realloc+0xb4>                 
 2018574:	d0 07 61 10 	ld  [ %i5 + 0x110 ], %o0                       
    errno = EINVAL;                                                   
 2018578:	7f ff d5 df 	call  200dcf4 <__errno>                        
 201857c:	b0 10 20 00 	clr  %i0                                       
 2018580:	82 10 20 16 	mov  0x16, %g1                                 
 2018584:	c2 22 00 00 	st  %g1, [ %o0 ]                               
 2018588:	81 c7 e0 08 	ret                                            
 201858c:	81 e8 00 00 	restore                                        
  }                                                                   
                                                                      
  /*                                                                  
   *  Now resize it.                                                  
   */                                                                 
  if ( _Protected_heap_Resize_block( RTEMS_Malloc_Heap, ptr, size ) ) {
 2018590:	92 10 00 18 	mov  %i0, %o1                                  
 2018594:	40 00 00 5a 	call  20186fc <_Protected_heap_Resize_block>   
 2018598:	94 10 00 19 	mov  %i1, %o2                                  
 201859c:	80 8a 20 ff 	btst  0xff, %o0                                
 20185a0:	12 80 00 1a 	bne  2018608 <realloc+0x12c>                   
 20185a4:	01 00 00 00 	nop                                            
   *  There used to be a free on this error case but it is wrong to   
   *  free the memory per OpenGroup Single UNIX Specification V2      
   *  and the C Standard.                                             
   */                                                                 
                                                                      
  new_area = malloc( size );                                          
 20185a8:	7f ff aa e8 	call  2003148 <malloc>                         
 20185ac:	90 10 00 19 	mov  %i1, %o0                                  
                                                                      
  MSBUMP(malloc_calls, (uint32_t) -1);   /* subtract off the malloc */
 20185b0:	03 00 80 6c 	sethi  %hi(0x201b000), %g1                     
 20185b4:	82 10 63 70 	or  %g1, 0x370, %g1	! 201b370 <rtems_malloc_statistics>
 20185b8:	c4 00 60 04 	ld  [ %g1 + 4 ], %g2                           
   *  There used to be a free on this error case but it is wrong to   
   *  free the memory per OpenGroup Single UNIX Specification V2      
   *  and the C Standard.                                             
   */                                                                 
                                                                      
  new_area = malloc( size );                                          
 20185bc:	ba 10 00 08 	mov  %o0, %i5                                  
                                                                      
  MSBUMP(malloc_calls, (uint32_t) -1);   /* subtract off the malloc */
 20185c0:	84 00 bf ff 	add  %g2, -1, %g2                              
                                                                      
  if ( !new_area ) {                                                  
 20185c4:	80 a2 20 00 	cmp  %o0, 0                                    
 20185c8:	02 80 00 0f 	be  2018604 <realloc+0x128>                    
 20185cc:	c4 20 60 04 	st  %g2, [ %g1 + 4 ]                           
    return (void *) 0;                                                
  }                                                                   
                                                                      
  memcpy( new_area, ptr, (size < old_size) ? size : old_size );       
 20185d0:	c2 07 bf fc 	ld  [ %fp + -4 ], %g1                          
 20185d4:	80 a6 40 01 	cmp  %i1, %g1                                  
 20185d8:	08 80 00 03 	bleu  20185e4 <realloc+0x108>                  <== NEVER TAKEN
 20185dc:	94 10 00 19 	mov  %i1, %o2                                  
 20185e0:	94 10 00 01 	mov  %g1, %o2                                  
 20185e4:	92 10 00 18 	mov  %i0, %o1                                  
 20185e8:	7f ff d8 1f 	call  200e664 <memcpy>                         
 20185ec:	90 10 00 1d 	mov  %i5, %o0                                  
  free( ptr );                                                        
 20185f0:	90 10 00 18 	mov  %i0, %o0                                  
 20185f4:	7f ff a9 f8 	call  2002dd4 <free>                           
 20185f8:	b0 10 00 1d 	mov  %i5, %i0                                  
                                                                      
  return new_area;                                                    
 20185fc:	81 c7 e0 08 	ret                                            
 2018600:	81 e8 00 00 	restore                                        
  new_area = malloc( size );                                          
                                                                      
  MSBUMP(malloc_calls, (uint32_t) -1);   /* subtract off the malloc */
                                                                      
  if ( !new_area ) {                                                  
    return (void *) 0;                                                
 2018604:	b0 10 20 00 	clr  %i0                                       
  memcpy( new_area, ptr, (size < old_size) ? size : old_size );       
  free( ptr );                                                        
                                                                      
  return new_area;                                                    
                                                                      
}                                                                     
 2018608:	81 c7 e0 08 	ret                                            
 201860c:	81 e8 00 00 	restore                                        
                                                                      

02003bbc <rmdir>: #include <rtems/seterr.h> int rmdir( const char *pathname ) {
 2003bbc:	9d e3 bf 70 	save  %sp, -144, %sp                           
                                                                      
  /*                                                                  
   *  Get the parent node of the node we wish to remove. Find the parent path.
   */                                                                 
                                                                      
  parentpathlen = rtems_filesystem_dirname ( pathname );              
 2003bc0:	7f ff fc 4f 	call  2002cfc <rtems_filesystem_dirname>       
 2003bc4:	90 10 00 18 	mov  %i0, %o0                                  
#include <rtems/seterr.h>                                             
                                                                      
int rmdir(                                                            
  const char *pathname                                                
)                                                                     
{                                                                     
 2003bc8:	b8 10 00 18 	mov  %i0, %i4                                  
                                                                      
  /*                                                                  
   *  Get the parent node of the node we wish to remove. Find the parent path.
   */                                                                 
                                                                      
  parentpathlen = rtems_filesystem_dirname ( pathname );              
 2003bcc:	b6 10 00 08 	mov  %o0, %i3                                  
                                                                      
  if ( parentpathlen == 0 )                                           
 2003bd0:	80 a6 e0 00 	cmp  %i3, 0                                    
 2003bd4:	12 80 00 08 	bne  2003bf4 <rmdir+0x38>                      
 2003bd8:	90 10 00 18 	mov  %i0, %o0                                  
    rtems_filesystem_get_start_loc( pathname, &i, &parentloc );       
 2003bdc:	92 07 bf fc 	add  %fp, -4, %o1                              
 2003be0:	94 07 bf d4 	add  %fp, -44, %o2                             
 2003be4:	40 00 00 4b 	call  2003d10 <rtems_filesystem_get_start_loc> 
 2003be8:	ba 10 20 00 	clr  %i5                                       
                                                                      
  /*                                                                  
   * Start from the parent to find the node that should be under it.  
   */                                                                 
                                                                      
  loc = parentloc;                                                    
 2003bec:	10 80 00 0c 	b  2003c1c <rmdir+0x60>                        
 2003bf0:	94 10 20 14 	mov  0x14, %o2                                 
  parentpathlen = rtems_filesystem_dirname ( pathname );              
                                                                      
  if ( parentpathlen == 0 )                                           
    rtems_filesystem_get_start_loc( pathname, &i, &parentloc );       
  else {                                                              
    result = rtems_filesystem_evaluate_path(pathname, parentpathlen,  
 2003bf4:	92 10 00 1b 	mov  %i3, %o1                                  
 2003bf8:	94 10 20 02 	mov  2, %o2                                    
 2003bfc:	96 07 bf d4 	add  %fp, -44, %o3                             
 2003c00:	98 10 20 00 	clr  %o4                                       
 2003c04:	7f ff fc 2f 	call  2002cc0 <rtems_filesystem_evaluate_path> 
 2003c08:	b0 10 3f ff 	mov  -1, %i0                                   
                                            RTEMS_LIBIO_PERMS_WRITE,  
                                            &parentloc,               
                                            false );                  
    if ( result != 0 )                                                
 2003c0c:	80 a2 20 00 	cmp  %o0, 0                                    
 2003c10:	12 80 00 1c 	bne  2003c80 <rmdir+0xc4>                      <== NEVER TAKEN
 2003c14:	ba 10 20 01 	mov  1, %i5                                    
                                                                      
  /*                                                                  
   * Start from the parent to find the node that should be under it.  
   */                                                                 
                                                                      
  loc = parentloc;                                                    
 2003c18:	94 10 20 14 	mov  0x14, %o2                                 
 2003c1c:	92 07 bf d4 	add  %fp, -44, %o1                             
 2003c20:	40 00 2b 0d 	call  200e854 <memcpy>                         
 2003c24:	90 07 bf e8 	add  %fp, -24, %o0                             
  name = pathname + parentpathlen;                                    
 2003c28:	b8 07 00 1b 	add  %i4, %i3, %i4                             
  name += rtems_filesystem_prefix_separators( name, strlen( name ) ); 
 2003c2c:	40 00 2c 38 	call  200ed0c <strlen>                         
 2003c30:	90 10 00 1c 	mov  %i4, %o0                                  
 2003c34:	92 10 00 08 	mov  %o0, %o1                                  
 2003c38:	7f ff fc 40 	call  2002d38 <rtems_filesystem_prefix_separators>
 2003c3c:	90 10 00 1c 	mov  %i4, %o0                                  
 2003c40:	b8 07 00 08 	add  %i4, %o0, %i4                             
                                                                      
  result = rtems_filesystem_evaluate_relative_path( name , strlen( name ),
 2003c44:	40 00 2c 32 	call  200ed0c <strlen>                         
 2003c48:	90 10 00 1c 	mov  %i4, %o0                                  
 2003c4c:	94 10 20 00 	clr  %o2                                       
 2003c50:	92 10 00 08 	mov  %o0, %o1                                  
 2003c54:	96 07 bf e8 	add  %fp, -24, %o3                             
 2003c58:	90 10 00 1c 	mov  %i4, %o0                                  
 2003c5c:	7f ff fb fd 	call  2002c50 <rtems_filesystem_evaluate_relative_path>
 2003c60:	98 10 20 00 	clr  %o4                                       
                                                    0, &loc, false ); 
  if ( result != 0 ) {                                                
 2003c64:	80 a2 20 00 	cmp  %o0, 0                                    
 2003c68:	02 80 00 08 	be  2003c88 <rmdir+0xcc>                       
 2003c6c:	80 8f 60 ff 	btst  0xff, %i5                                
    if ( free_parentloc )                                             
 2003c70:	02 80 00 04 	be  2003c80 <rmdir+0xc4>                       
 2003c74:	b0 10 3f ff 	mov  -1, %i0                                   
      rtems_filesystem_freenode( &parentloc );                        
 2003c78:	7f ff fc 42 	call  2002d80 <rtems_filesystem_freenode>      
 2003c7c:	90 07 bf d4 	add  %fp, -44, %o0                             
 2003c80:	81 c7 e0 08 	ret                                            
 2003c84:	81 e8 00 00 	restore                                        
  }                                                                   
                                                                      
  /*                                                                  
   * Verify you can remove this node as a directory.                  
   */                                                                 
  if ( (*loc.ops->node_type_h)( &loc ) != RTEMS_FILESYSTEM_DIRECTORY ) {
 2003c88:	c2 07 bf f4 	ld  [ %fp + -12 ], %g1                         
 2003c8c:	c2 00 60 10 	ld  [ %g1 + 0x10 ], %g1                        
 2003c90:	9f c0 40 00 	call  %g1                                      
 2003c94:	90 07 bf e8 	add  %fp, -24, %o0                             
 2003c98:	80 a2 20 01 	cmp  %o0, 1                                    
 2003c9c:	02 80 00 0f 	be  2003cd8 <rmdir+0x11c>                      
 2003ca0:	c2 07 bf f0 	ld  [ %fp + -16 ], %g1                         
    rtems_filesystem_freenode( &loc );                                
 2003ca4:	7f ff fc 37 	call  2002d80 <rtems_filesystem_freenode>      
 2003ca8:	90 07 bf e8 	add  %fp, -24, %o0                             
    if ( free_parentloc )                                             
 2003cac:	80 8f 60 ff 	btst  0xff, %i5                                
 2003cb0:	02 80 00 04 	be  2003cc0 <rmdir+0x104>                      <== NEVER TAKEN
 2003cb4:	01 00 00 00 	nop                                            
      rtems_filesystem_freenode( &parentloc );                        
 2003cb8:	7f ff fc 32 	call  2002d80 <rtems_filesystem_freenode>      
 2003cbc:	90 07 bf d4 	add  %fp, -44, %o0                             
    rtems_set_errno_and_return_minus_one( ENOTDIR );                  
 2003cc0:	40 00 28 a3 	call  200df4c <__errno>                        
 2003cc4:	b0 10 3f ff 	mov  -1, %i0                                   
 2003cc8:	82 10 20 14 	mov  0x14, %g1                                 
 2003ccc:	c2 22 00 00 	st  %g1, [ %o0 ]                               
 2003cd0:	81 c7 e0 08 	ret                                            
 2003cd4:	81 e8 00 00 	restore                                        
                                                                      
  /*                                                                  
   * Use the filesystems rmnod to remove the node.                    
   */                                                                 
                                                                      
  result =  (*loc.handlers->rmnod_h)( &parentloc, &loc );             
 2003cd8:	92 07 bf e8 	add  %fp, -24, %o1                             
 2003cdc:	c2 00 60 34 	ld  [ %g1 + 0x34 ], %g1                        
 2003ce0:	9f c0 40 00 	call  %g1                                      
 2003ce4:	90 07 bf d4 	add  %fp, -44, %o0                             
 2003ce8:	b0 10 00 08 	mov  %o0, %i0                                  
                                                                      
  rtems_filesystem_freenode( &loc );                                  
 2003cec:	7f ff fc 25 	call  2002d80 <rtems_filesystem_freenode>      
 2003cf0:	90 07 bf e8 	add  %fp, -24, %o0                             
  if ( free_parentloc )                                               
 2003cf4:	80 8f 60 ff 	btst  0xff, %i5                                
 2003cf8:	02 80 00 04 	be  2003d08 <rmdir+0x14c>                      
 2003cfc:	01 00 00 00 	nop                                            
    rtems_filesystem_freenode( &parentloc );                          
 2003d00:	7f ff fc 20 	call  2002d80 <rtems_filesystem_freenode>      
 2003d04:	90 07 bf d4 	add  %fp, -44, %o0                             
                                                                      
  return result;                                                      
}                                                                     
 2003d08:	81 c7 e0 08 	ret                                            
 2003d0c:	81 e8 00 00 	restore                                        
                                                                      

0200b4e8 <rtems_bdbuf_add_to_modified_list_after_access>: } } static void rtems_bdbuf_add_to_modified_list_after_access (rtems_bdbuf_buffer *bd) {
 200b4e8:	9d e3 bf a0 	save  %sp, -96, %sp                            
  if (bdbuf_cache.sync_active && bdbuf_cache.sync_device == bd->dev)  
 200b4ec:	03 00 80 61 	sethi  %hi(0x2018400), %g1                     
 200b4f0:	82 10 63 d0 	or  %g1, 0x3d0, %g1	! 20187d0 <bdbuf_cache>    
 200b4f4:	c4 08 60 30 	ldub  [ %g1 + 0x30 ], %g2                      
 200b4f8:	80 a0 a0 00 	cmp  %g2, 0                                    
 200b4fc:	02 80 00 13 	be  200b548 <rtems_bdbuf_add_to_modified_list_after_access+0x60><== ALWAYS TAKEN
 200b500:	01 00 00 00 	nop                                            
 200b504:	c4 18 60 38 	ldd  [ %g1 + 0x38 ], %g2                       <== NOT EXECUTED
 200b508:	c2 06 20 18 	ld  [ %i0 + 0x18 ], %g1                        <== NOT EXECUTED
 200b50c:	80 a0 40 02 	cmp  %g1, %g2                                  <== NOT EXECUTED
 200b510:	12 80 00 0e 	bne  200b548 <rtems_bdbuf_add_to_modified_list_after_access+0x60><== NOT EXECUTED
 200b514:	01 00 00 00 	nop                                            <== NOT EXECUTED
 200b518:	c2 06 20 1c 	ld  [ %i0 + 0x1c ], %g1                        <== NOT EXECUTED
 200b51c:	80 a0 40 03 	cmp  %g1, %g3                                  <== NOT EXECUTED
 200b520:	12 80 00 0a 	bne  200b548 <rtems_bdbuf_add_to_modified_list_after_access+0x60><== NOT EXECUTED
 200b524:	01 00 00 00 	nop                                            <== NOT EXECUTED
  {                                                                   
    rtems_bdbuf_unlock_cache ();                                      
 200b528:	7f ff ff 18 	call  200b188 <rtems_bdbuf_unlock_cache>       <== NOT EXECUTED
 200b52c:	01 00 00 00 	nop                                            <== NOT EXECUTED
                                                                      
    /*                                                                
     * Wait for the sync lock.                                        
     */                                                               
    rtems_bdbuf_lock_sync ();                                         
 200b530:	7f ff fe 99 	call  200af94 <rtems_bdbuf_lock_sync>          <== NOT EXECUTED
 200b534:	01 00 00 00 	nop                                            <== NOT EXECUTED
                                                                      
    rtems_bdbuf_unlock_sync ();                                       
 200b538:	7f ff ff 1f 	call  200b1b4 <rtems_bdbuf_unlock_sync>        <== NOT EXECUTED
 200b53c:	01 00 00 00 	nop                                            <== NOT EXECUTED
    rtems_bdbuf_lock_cache ();                                        
 200b540:	7f ff fe 88 	call  200af60 <rtems_bdbuf_lock_cache>         <== NOT EXECUTED
 200b544:	01 00 00 00 	nop                                            <== NOT EXECUTED
   * difficult question. Is a snapshot of a block that is changing better than
   * nothing being written? We have tended to think we should hold changes for
   * only a specific period of time even if still changing and get onto disk
   * and letting the file system try and recover this position if it can.
   */                                                                 
  if (bd->state == RTEMS_BDBUF_STATE_ACCESS_CACHED                    
 200b548:	c2 06 20 28 	ld  [ %i0 + 0x28 ], %g1                        
 200b54c:	80 a0 60 03 	cmp  %g1, 3                                    
 200b550:	02 80 00 07 	be  200b56c <rtems_bdbuf_add_to_modified_list_after_access+0x84>
 200b554:	03 00 80 5b 	sethi  %hi(0x2016c00), %g1                     
        || bd->state == RTEMS_BDBUF_STATE_ACCESS_EMPTY)               
 200b558:	c2 06 20 28 	ld  [ %i0 + 0x28 ], %g1                        
 200b55c:	80 a0 60 05 	cmp  %g1, 5                                    
 200b560:	12 80 00 06 	bne  200b578 <rtems_bdbuf_add_to_modified_list_after_access+0x90>
 200b564:	82 10 20 07 	mov  7, %g1                                    
    bd->hold_timer = bdbuf_config.swap_block_hold;                    
 200b568:	03 00 80 5b 	sethi  %hi(0x2016c00), %g1                     
 200b56c:	c2 00 63 c8 	ld  [ %g1 + 0x3c8 ], %g1	! 2016fc8 <rtems_bdbuf_configuration+0x10>
 200b570:	c2 26 20 34 	st  %g1, [ %i0 + 0x34 ]                        
}                                                                     
                                                                      
static void                                                           
rtems_bdbuf_set_state (rtems_bdbuf_buffer *bd, rtems_bdbuf_buf_state state)
{                                                                     
  bd->state = state;                                                  
 200b574:	82 10 20 07 	mov  7, %g1                                    
RTEMS_INLINE_ROUTINE void rtems_chain_append(                         
  rtems_chain_control *the_chain,                                     
  rtems_chain_node    *the_node                                       
)                                                                     
{                                                                     
  _Chain_Append( the_chain, the_node );                               
 200b578:	11 00 80 62 	sethi  %hi(0x2018800), %o0                     
 200b57c:	c2 26 20 28 	st  %g1, [ %i0 + 0x28 ]                        
 200b580:	90 12 20 20 	or  %o0, 0x20, %o0                             
 200b584:	7f ff f1 dc 	call  2007cf4 <_Chain_Append>                  
 200b588:	92 10 00 18 	mov  %i0, %o1                                  
    bd->hold_timer = bdbuf_config.swap_block_hold;                    
                                                                      
  rtems_bdbuf_set_state (bd, RTEMS_BDBUF_STATE_MODIFIED);             
  rtems_chain_append (&bdbuf_cache.modified, &bd->link);              
                                                                      
  if (bd->waiters)                                                    
 200b58c:	c2 06 20 2c 	ld  [ %i0 + 0x2c ], %g1                        
 200b590:	80 a0 60 00 	cmp  %g1, 0                                    
 200b594:	02 80 00 05 	be  200b5a8 <rtems_bdbuf_add_to_modified_list_after_access+0xc0>
 200b598:	03 00 80 62 	sethi  %hi(0x2018800), %g1                     
    rtems_bdbuf_wake (&bdbuf_cache.access_waiters);                   
 200b59c:	31 00 80 62 	sethi  %hi(0x2018800), %i0                     
 200b5a0:	7f ff ff c4 	call  200b4b0 <rtems_bdbuf_wake>               
 200b5a4:	91 ee 20 38 	restore  %i0, 0x38, %o0                        
}                                                                     
                                                                      
static bool                                                           
rtems_bdbuf_has_buffer_waiters (void)                                 
{                                                                     
  return bdbuf_cache.buffer_waiters.count;                            
 200b5a8:	c2 00 60 48 	ld  [ %g1 + 0x48 ], %g1                        
  rtems_bdbuf_set_state (bd, RTEMS_BDBUF_STATE_MODIFIED);             
  rtems_chain_append (&bdbuf_cache.modified, &bd->link);              
                                                                      
  if (bd->waiters)                                                    
    rtems_bdbuf_wake (&bdbuf_cache.access_waiters);                   
  else if (rtems_bdbuf_has_buffer_waiters ())                         
 200b5ac:	80 a0 60 00 	cmp  %g1, 0                                    
 200b5b0:	02 80 00 04 	be  200b5c0 <rtems_bdbuf_add_to_modified_list_after_access+0xd8>
 200b5b4:	01 00 00 00 	nop                                            
    rtems_bdbuf_wake_swapper ();                                      
 200b5b8:	7f ff ff 14 	call  200b208 <rtems_bdbuf_wake_swapper>       
 200b5bc:	81 e8 00 00 	restore                                        
 200b5c0:	81 c7 e0 08 	ret                                            
 200b5c4:	81 e8 00 00 	restore                                        
                                                                      

0200b308 <rtems_bdbuf_anonymous_wait>: * The function assumes the cache is locked on entry and it will be locked on * exit. */ static void rtems_bdbuf_anonymous_wait (rtems_bdbuf_waiters *waiters) {
 200b308:	9d e3 bf a0 	save  %sp, -96, %sp                            
  rtems_mode        prev_mode;                                        
                                                                      
  /*                                                                  
   * Indicate we are waiting.                                         
   */                                                                 
  ++waiters->count;                                                   
 200b30c:	c2 06 00 00 	ld  [ %i0 ], %g1                               
 200b310:	82 00 60 01 	inc  %g1                                       
 200b314:	c2 26 00 00 	st  %g1, [ %i0 ]                               
   * blocking or just hits that window, and before this task has blocked on the
   * semaphore. If the preempting task flushes the queue this task will not see
   * the flush and may block for ever or until another transaction flushes this
   * semaphore.                                                       
   */                                                                 
  prev_mode = rtems_bdbuf_disable_preemption ();                      
 200b318:	7f ff ff e0 	call  200b298 <rtems_bdbuf_disable_preemption> 
 200b31c:	01 00 00 00 	nop                                            
                                                                      
  /*                                                                  
   * Unlock the cache, wait, and lock the cache when we return.       
   */                                                                 
  rtems_bdbuf_unlock_cache ();                                        
 200b320:	7f ff ff 9a 	call  200b188 <rtems_bdbuf_unlock_cache>       
 200b324:	ba 10 00 08 	mov  %o0, %i5                                  
                                                                      
  sc = rtems_semaphore_obtain (waiters->sema, RTEMS_WAIT, RTEMS_BDBUF_WAIT_TIMEOUT);
 200b328:	d0 06 20 04 	ld  [ %i0 + 4 ], %o0                           
 200b32c:	92 10 20 00 	clr  %o1                                       
 200b330:	7f ff ef 9d 	call  20071a4 <rtems_semaphore_obtain>         
 200b334:	94 10 20 00 	clr  %o2                                       
                                                                      
  if (sc == RTEMS_TIMEOUT)                                            
 200b338:	80 a2 20 06 	cmp  %o0, 6                                    
 200b33c:	12 80 00 05 	bne  200b350 <rtems_bdbuf_anonymous_wait+0x48> <== ALWAYS TAKEN
 200b340:	80 a2 20 0d 	cmp  %o0, 0xd                                  
    rtems_fatal_error_occurred (RTEMS_BLKDEV_FATAL_BDBUF_CACHE_WAIT_TO);
 200b344:	11 10 80 00 	sethi  %hi(0x42000000), %o0                    <== NOT EXECUTED
 200b348:	10 80 00 05 	b  200b35c <rtems_bdbuf_anonymous_wait+0x54>   <== NOT EXECUTED
 200b34c:	90 12 20 12 	or  %o0, 0x12, %o0	! 42000012 <RAM_END+0x3fc00012><== NOT EXECUTED
                                                                      
  if (sc != RTEMS_UNSATISFIED)                                        
 200b350:	02 80 00 05 	be  200b364 <rtems_bdbuf_anonymous_wait+0x5c>  <== ALWAYS TAKEN
 200b354:	11 10 80 00 	sethi  %hi(0x42000000), %o0                    
    rtems_fatal_error_occurred (RTEMS_BLKDEV_FATAL_BDBUF_CACHE_WAIT_2);
 200b358:	90 12 20 10 	or  %o0, 0x10, %o0	! 42000010 <RAM_END+0x3fc00010><== NOT EXECUTED
 200b35c:	7f ff f1 2a 	call  2007804 <rtems_fatal_error_occurred>     <== NOT EXECUTED
 200b360:	01 00 00 00 	nop                                            <== NOT EXECUTED
                                                                      
  rtems_bdbuf_lock_cache ();                                          
 200b364:	7f ff fe ff 	call  200af60 <rtems_bdbuf_lock_cache>         
 200b368:	01 00 00 00 	nop                                            
                                                                      
  rtems_bdbuf_restore_preemption (prev_mode);                         
 200b36c:	7f ff ff d9 	call  200b2d0 <rtems_bdbuf_restore_preemption> 
 200b370:	90 10 00 1d 	mov  %i5, %o0                                  
                                                                      
  --waiters->count;                                                   
 200b374:	c2 06 00 00 	ld  [ %i0 ], %g1                               
 200b378:	82 00 7f ff 	add  %g1, -1, %g1                              
 200b37c:	c2 26 00 00 	st  %g1, [ %i0 ]                               
}                                                                     
 200b380:	81 c7 e0 08 	ret                                            
 200b384:	81 e8 00 00 	restore                                        
                                                                      

0200b42c <rtems_bdbuf_avl_search.isra.1>: dev_t dev, rtems_blkdev_bnum block) { rtems_bdbuf_buffer* p = *root; while ((p != NULL) && ((p->dev != dev) || (p->block != block)))
 200b42c:	10 80 00 12 	b  200b474 <rtems_bdbuf_avl_search.isra.1+0x48>
 200b430:	80 a2 20 00 	cmp  %o0, 0                                    
  {                                                                   
    if ((p->dev < dev) || ((p->dev == dev) && (p->block < block)))    
 200b434:	80 a2 40 01 	cmp  %o1, %g1                                  
 200b438:	38 80 00 0e 	bgu,a   200b470 <rtems_bdbuf_avl_search.isra.1+0x44>
 200b43c:	d0 02 20 0c 	ld  [ %o0 + 0xc ], %o0                         
 200b440:	80 a2 40 01 	cmp  %o1, %g1                                  
 200b444:	12 80 00 0a 	bne  200b46c <rtems_bdbuf_avl_search.isra.1+0x40><== ALWAYS TAKEN
 200b448:	80 a2 80 02 	cmp  %o2, %g2                                  
 200b44c:	38 80 00 09 	bgu,a   200b470 <rtems_bdbuf_avl_search.isra.1+0x44><== NOT EXECUTED
 200b450:	d0 02 20 0c 	ld  [ %o0 + 0xc ], %o0                         <== NOT EXECUTED
    {                                                                 
      p = p->avl.right;                                               
    }                                                                 
    else                                                              
    {                                                                 
      p = p->avl.left;                                                
 200b454:	10 80 00 07 	b  200b470 <rtems_bdbuf_avl_search.isra.1+0x44><== NOT EXECUTED
 200b458:	d0 02 20 08 	ld  [ %o0 + 8 ], %o0                           <== NOT EXECUTED
{                                                                     
  rtems_bdbuf_buffer* p = *root;                                      
                                                                      
  while ((p != NULL) && ((p->dev != dev) || (p->block != block)))     
  {                                                                   
    if ((p->dev < dev) || ((p->dev == dev) && (p->block < block)))    
 200b45c:	3a 80 00 05 	bcc,a   200b470 <rtems_bdbuf_avl_search.isra.1+0x44>
 200b460:	d0 02 20 08 	ld  [ %o0 + 8 ], %o0                           
    {                                                                 
      p = p->avl.right;                                               
 200b464:	10 80 00 03 	b  200b470 <rtems_bdbuf_avl_search.isra.1+0x44>
 200b468:	d0 02 20 0c 	ld  [ %o0 + 0xc ], %o0                         
    }                                                                 
    else                                                              
    {                                                                 
      p = p->avl.left;                                                
 200b46c:	d0 02 20 08 	ld  [ %o0 + 8 ], %o0                           
                        dev_t                dev,                     
                        rtems_blkdev_bnum    block)                   
{                                                                     
  rtems_bdbuf_buffer* p = *root;                                      
                                                                      
  while ((p != NULL) && ((p->dev != dev) || (p->block != block)))     
 200b470:	80 a2 20 00 	cmp  %o0, 0                                    
 200b474:	02 80 00 0d 	be  200b4a8 <rtems_bdbuf_avl_search.isra.1+0x7c>
 200b478:	01 00 00 00 	nop                                            
 200b47c:	c2 02 20 18 	ld  [ %o0 + 0x18 ], %g1                        
 200b480:	80 a0 40 09 	cmp  %g1, %o1                                  
 200b484:	12 bf ff ec 	bne  200b434 <rtems_bdbuf_avl_search.isra.1+0x8>
 200b488:	c4 02 20 1c 	ld  [ %o0 + 0x1c ], %g2                        
 200b48c:	80 a0 80 0a 	cmp  %g2, %o2                                  
 200b490:	12 bf ff ea 	bne  200b438 <rtems_bdbuf_avl_search.isra.1+0xc><== NEVER TAKEN
 200b494:	80 a2 40 01 	cmp  %o1, %g1                                  
 200b498:	c2 02 20 20 	ld  [ %o0 + 0x20 ], %g1                        
 200b49c:	80 a0 40 0b 	cmp  %g1, %o3                                  
 200b4a0:	12 bf ff ef 	bne  200b45c <rtems_bdbuf_avl_search.isra.1+0x30>
 200b4a4:	01 00 00 00 	nop                                            
      p = p->avl.left;                                                
    }                                                                 
  }                                                                   
                                                                      
  return p;                                                           
}                                                                     
 200b4a8:	81 c3 e0 08 	retl                                           
                                                                      

0200b298 <rtems_bdbuf_disable_preemption>: --bd->group->users; } static rtems_mode rtems_bdbuf_disable_preemption (void) {
 200b298:	9d e3 bf 98 	save  %sp, -104, %sp                           
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
  rtems_mode prev_mode = 0;                                           
                                                                      
  sc = rtems_task_mode (RTEMS_NO_PREEMPT, RTEMS_PREEMPT_MASK, &prev_mode);
 200b29c:	90 10 21 00 	mov  0x100, %o0                                
                                                                      
static rtems_mode                                                     
rtems_bdbuf_disable_preemption (void)                                 
{                                                                     
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
  rtems_mode prev_mode = 0;                                           
 200b2a0:	c0 27 bf fc 	clr  [ %fp + -4 ]                              
                                                                      
  sc = rtems_task_mode (RTEMS_NO_PREEMPT, RTEMS_PREEMPT_MASK, &prev_mode);
 200b2a4:	92 10 21 00 	mov  0x100, %o1                                
 200b2a8:	40 00 0f d0 	call  200f1e8 <rtems_task_mode>                
 200b2ac:	94 07 bf fc 	add  %fp, -4, %o2                              
  if (sc != RTEMS_SUCCESSFUL)                                         
 200b2b0:	80 a2 20 00 	cmp  %o0, 0                                    
 200b2b4:	22 80 00 05 	be,a   200b2c8 <rtems_bdbuf_disable_preemption+0x30><== ALWAYS TAKEN
 200b2b8:	f0 07 bf fc 	ld  [ %fp + -4 ], %i0                          
    rtems_fatal_error_occurred (RTEMS_BLKDEV_FATAL_BDBUF_PREEMPT_DIS);
 200b2bc:	11 10 80 00 	sethi  %hi(0x42000000), %o0                    <== NOT EXECUTED
 200b2c0:	7f ff f1 51 	call  2007804 <rtems_fatal_error_occurred>     <== NOT EXECUTED
 200b2c4:	90 12 20 0f 	or  %o0, 0xf, %o0	! 4200000f <RAM_END+0x3fc0000f><== NOT EXECUTED
                                                                      
  return prev_mode;                                                   
}                                                                     
 200b2c8:	81 c7 e0 08 	ret                                            
 200b2cc:	81 e8 00 00 	restore                                        
                                                                      

0200afc8 <rtems_bdbuf_fatal>: #define RTEMS_BDBUF_AVL_MAX_HEIGHT (32) #endif static void rtems_bdbuf_fatal (rtems_bdbuf_buf_state state, uint32_t error) {
 200afc8:	9d e3 bf a0 	save  %sp, -96, %sp                            <== NOT EXECUTED
  rtems_fatal_error_occurred ((((uint32_t) state) << 16) | error);    
 200afcc:	91 2e 20 10 	sll  %i0, 0x10, %o0                            <== NOT EXECUTED
 200afd0:	7f ff f2 0d 	call  2007804 <rtems_fatal_error_occurred>     <== NOT EXECUTED
 200afd4:	90 16 40 08 	or  %i1, %o0, %o0                              <== NOT EXECUTED
                                                                      

0200cd8c <rtems_bdbuf_get>: rtems_status_code rtems_bdbuf_get (dev_t dev, rtems_blkdev_bnum block, rtems_bdbuf_buffer **bd_ptr) {
 200cd8c:	9d e3 bf 90 	save  %sp, -112, %sp                           
                         rtems_blkdev_bnum  *media_block_ptr,         
                         size_t             *bds_per_group_ptr)       
{                                                                     
  rtems_disk_device *dd = NULL;                                       
                                                                      
  if (!bdbuf_cache.initialised)                                       
 200cd90:	03 00 80 62 	sethi  %hi(0x2018800), %g1                     
 200cd94:	c2 08 60 58 	ldub  [ %g1 + 0x58 ], %g1	! 2018858 <bdbuf_cache+0x88>
rtems_bdbuf_get (dev_t                dev,                            
                 rtems_blkdev_bnum    block,                          
                 rtems_bdbuf_buffer **bd_ptr)                         
{                                                                     
  rtems_status_code   sc = RTEMS_SUCCESSFUL;                          
  rtems_disk_device  *dd = NULL;                                      
 200cd98:	c0 27 bf f4 	clr  [ %fp + -12 ]                             
  rtems_bdbuf_buffer *bd = NULL;                                      
  rtems_blkdev_bnum   media_block = 0;                                
 200cd9c:	c0 27 bf f8 	clr  [ %fp + -8 ]                              
  size_t              bds_per_group = 0;                              
 200cda0:	c0 27 bf fc 	clr  [ %fp + -4 ]                              
                                                                      
rtems_status_code                                                     
rtems_bdbuf_get (dev_t                dev,                            
                 rtems_blkdev_bnum    block,                          
                 rtems_bdbuf_buffer **bd_ptr)                         
{                                                                     
 200cda4:	b8 10 00 18 	mov  %i0, %i4                                  
 200cda8:	94 10 00 1a 	mov  %i2, %o2                                  
                         rtems_blkdev_bnum  *media_block_ptr,         
                         size_t             *bds_per_group_ptr)       
{                                                                     
  rtems_disk_device *dd = NULL;                                       
                                                                      
  if (!bdbuf_cache.initialised)                                       
 200cdac:	80 a0 60 00 	cmp  %g1, 0                                    
 200cdb0:	02 80 00 2a 	be  200ce58 <rtems_bdbuf_get+0xcc>             <== NEVER TAKEN
 200cdb4:	b0 10 20 16 	mov  0x16, %i0                                 
 200cdb8:	90 10 00 1c 	mov  %i4, %o0                                  
 200cdbc:	92 10 00 19 	mov  %i1, %o1                                  
 200cdc0:	96 07 bf f4 	add  %fp, -12, %o3                             
 200cdc4:	98 07 bf f8 	add  %fp, -8, %o4                              
 200cdc8:	7f ff fa 00 	call  200b5c8 <rtems_bdbuf_obtain_disk.part.7> 
 200cdcc:	9a 07 bf fc 	add  %fp, -4, %o5                              
  rtems_bdbuf_buffer *bd = NULL;                                      
  rtems_blkdev_bnum   media_block = 0;                                
  size_t              bds_per_group = 0;                              
                                                                      
  sc = rtems_bdbuf_obtain_disk (dev, block, &dd, &media_block, &bds_per_group);
  if (sc != RTEMS_SUCCESSFUL)                                         
 200cdd0:	b0 92 20 00 	orcc  %o0, 0, %i0                              
 200cdd4:	12 80 00 21 	bne  200ce58 <rtems_bdbuf_get+0xcc>            <== NEVER TAKEN
 200cdd8:	01 00 00 00 	nop                                            
    return sc;                                                        
                                                                      
  rtems_bdbuf_lock_cache ();                                          
 200cddc:	7f ff f8 61 	call  200af60 <rtems_bdbuf_lock_cache>         
 200cde0:	01 00 00 00 	nop                                            
   */                                                                 
  if (rtems_bdbuf_tracer)                                             
    printf ("bdbuf:get: %" PRIu32 " (%" PRIu32 ") (dev = %08x)\n",    
            media_block, block, (unsigned) dev);                      
                                                                      
  bd = rtems_bdbuf_get_buffer_for_access (dev, media_block, bds_per_group);
 200cde4:	d4 1f bf f8 	ldd  [ %fp + -8 ], %o2                         
 200cde8:	90 10 00 1c 	mov  %i4, %o0                                  
 200cdec:	7f ff fe 66 	call  200c784 <rtems_bdbuf_get_buffer_for_access>
 200cdf0:	92 10 00 19 	mov  %i1, %o1                                  
                                                                      
  switch (bd->state)                                                  
 200cdf4:	c2 02 20 28 	ld  [ %o0 + 0x28 ], %g1                        
 200cdf8:	80 a0 60 02 	cmp  %g1, 2                                    
 200cdfc:	02 80 00 08 	be  200ce1c <rtems_bdbuf_get+0x90>             
 200ce00:	b8 10 00 08 	mov  %o0, %i4                                  
 200ce04:	80 a0 60 07 	cmp  %g1, 7                                    
 200ce08:	02 80 00 0e 	be  200ce40 <rtems_bdbuf_get+0xb4>             
 200ce0c:	80 a0 60 01 	cmp  %g1, 1                                    
 200ce10:	12 80 00 0e 	bne  200ce48 <rtems_bdbuf_get+0xbc>            <== NEVER TAKEN
 200ce14:	82 10 20 05 	mov  5, %g1                                    
 200ce18:	30 80 00 02 	b,a   200ce20 <rtems_bdbuf_get+0x94>           
 200ce1c:	82 10 20 03 	mov  3, %g1                                    
}                                                                     
                                                                      
static void                                                           
rtems_bdbuf_set_state (rtems_bdbuf_buffer *bd, rtems_bdbuf_buf_state state)
{                                                                     
  bd->state = state;                                                  
 200ce20:	c2 27 20 28 	st  %g1, [ %i4 + 0x28 ]                        
  {                                                                   
    rtems_bdbuf_show_users ("get", bd);                               
    rtems_bdbuf_show_usage ();                                        
  }                                                                   
                                                                      
  rtems_bdbuf_unlock_cache ();                                        
 200ce24:	7f ff f8 d9 	call  200b188 <rtems_bdbuf_unlock_cache>       
 200ce28:	01 00 00 00 	nop                                            
                                                                      
  rtems_bdbuf_release_disk (dd);                                      
 200ce2c:	7f ff f8 ed 	call  200b1e0 <rtems_bdbuf_release_disk>       
 200ce30:	d0 07 bf f4 	ld  [ %fp + -12 ], %o0                         
 200ce34:	f8 26 c0 00 	st  %i4, [ %i3 ]                               
 200ce38:	81 c7 e0 08 	ret                                            
 200ce3c:	81 e8 00 00 	restore                                        
}                                                                     
                                                                      
static void                                                           
rtems_bdbuf_set_state (rtems_bdbuf_buffer *bd, rtems_bdbuf_buf_state state)
{                                                                     
  bd->state = state;                                                  
 200ce40:	10 bf ff f8 	b  200ce20 <rtems_bdbuf_get+0x94>              
 200ce44:	82 10 20 04 	mov  4, %g1                                    
       * so just gets the block to fill.                              
       */                                                             
      rtems_bdbuf_set_state (bd, RTEMS_BDBUF_STATE_ACCESS_MODIFIED);  
      break;                                                          
    default:                                                          
      rtems_bdbuf_fatal (bd->state, RTEMS_BLKDEV_FATAL_BDBUF_STATE_2);
 200ce48:	d0 02 20 28 	ld  [ %o0 + 0x28 ], %o0                        <== NOT EXECUTED
 200ce4c:	13 10 80 00 	sethi  %hi(0x42000000), %o1                    <== NOT EXECUTED
 200ce50:	7f ff f8 5e 	call  200afc8 <rtems_bdbuf_fatal>              <== NOT EXECUTED
 200ce54:	92 12 60 1e 	or  %o1, 0x1e, %o1	! 4200001e <RAM_END+0x3fc0001e><== NOT EXECUTED
  rtems_bdbuf_release_disk (dd);                                      
                                                                      
  *bd_ptr = bd;                                                       
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
 200ce58:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 200ce5c:	81 e8 00 00 	restore                                        <== NOT EXECUTED
                                                                      

0200c784 <rtems_bdbuf_get_buffer_for_access>: static rtems_bdbuf_buffer * rtems_bdbuf_get_buffer_for_access (dev_t dev, rtems_blkdev_bnum block, size_t bds_per_group) {
 200c784:	9d e3 bf a0 	save  %sp, -96, %sp                            
static bool                                                           
rtems_bdbuf_wait_for_recycle (rtems_bdbuf_buffer *bd)                 
{                                                                     
  while (true)                                                        
  {                                                                   
    switch (bd->state)                                                
 200c788:	29 00 80 2b 	sethi  %hi(0x200ac00), %l4                     
                                                                      
static rtems_bdbuf_buffer *                                           
rtems_bdbuf_get_buffer_for_access (dev_t             dev,             
                                   rtems_blkdev_bnum block,           
                                   size_t            bds_per_group)   
{                                                                     
 200c78c:	ba 10 00 19 	mov  %i1, %i5                                  
 200c790:	b8 10 00 18 	mov  %i0, %i4                                  
  rtems_bdbuf_buffer *bd = NULL;                                      
                                                                      
  do                                                                  
  {                                                                   
    bd = rtems_bdbuf_avl_search (&bdbuf_cache.tree, dev, block);      
 200c794:	33 00 80 61 	sethi  %hi(0x2018400), %i1                     
 200c798:	b2 16 63 d0 	or  %i1, 0x3d0, %i1	! 20187d0 <bdbuf_cache>    
        rtems_bdbuf_wait (bd, &bdbuf_cache.access_waiters);           
        break;                                                        
      case RTEMS_BDBUF_STATE_SYNC:                                    
      case RTEMS_BDBUF_STATE_TRANSFER:                                
      case RTEMS_BDBUF_STATE_TRANSFER_PURGED:                         
        rtems_bdbuf_wait (bd, &bdbuf_cache.transfer_waiters);         
 200c79c:	a6 06 60 70 	add  %i1, 0x70, %l3                            
        }                                                             
      case RTEMS_BDBUF_STATE_ACCESS_CACHED:                           
      case RTEMS_BDBUF_STATE_ACCESS_EMPTY:                            
      case RTEMS_BDBUF_STATE_ACCESS_MODIFIED:                         
      case RTEMS_BDBUF_STATE_ACCESS_PURGED:                           
        rtems_bdbuf_wait (bd, &bdbuf_cache.access_waiters);           
 200c7a0:	a4 06 60 68 	add  %i1, 0x68, %l2                            
 200c7a4:	a2 06 60 5c 	add  %i1, 0x5c, %l1                            
}                                                                     
                                                                      
static void                                                           
rtems_bdbuf_wait_for_buffer (void)                                    
{                                                                     
  if (!rtems_chain_is_empty (&bdbuf_cache.modified))                  
 200c7a8:	a0 06 60 54 	add  %i1, 0x54, %l0                            
{                                                                     
  rtems_bdbuf_buffer *bd = NULL;                                      
                                                                      
  do                                                                  
  {                                                                   
    bd = rtems_bdbuf_avl_search (&bdbuf_cache.tree, dev, block);      
 200c7ac:	d0 06 60 40 	ld  [ %i1 + 0x40 ], %o0                        
 200c7b0:	92 10 00 1c 	mov  %i4, %o1                                  
 200c7b4:	94 10 00 1d 	mov  %i5, %o2                                  
 200c7b8:	7f ff fb 1d 	call  200b42c <rtems_bdbuf_avl_search.isra.1>  
 200c7bc:	96 10 00 1a 	mov  %i2, %o3                                  
                                                                      
    if (bd != NULL)                                                   
 200c7c0:	b0 92 20 00 	orcc  %o0, 0, %i0                              
 200c7c4:	22 80 00 37 	be,a   200c8a0 <rtems_bdbuf_get_buffer_for_access+0x11c>
 200c7c8:	90 10 00 1c 	mov  %i4, %o0                                  
    {                                                                 
      if (bd->group->bds_per_group != bds_per_group)                  
 200c7cc:	c2 06 20 30 	ld  [ %i0 + 0x30 ], %g1                        
 200c7d0:	c2 00 60 08 	ld  [ %g1 + 8 ], %g1                           
 200c7d4:	80 a0 40 1b 	cmp  %g1, %i3                                  
 200c7d8:	02 80 00 44 	be  200c8e8 <rtems_bdbuf_get_buffer_for_access+0x164>
 200c7dc:	aa 10 20 08 	mov  8, %l5                                    
static bool                                                           
rtems_bdbuf_wait_for_recycle (rtems_bdbuf_buffer *bd)                 
{                                                                     
  while (true)                                                        
  {                                                                   
    switch (bd->state)                                                
 200c7e0:	c2 06 20 28 	ld  [ %i0 + 0x28 ], %g1                        
 200c7e4:	80 a0 60 0a 	cmp  %g1, 0xa                                  
 200c7e8:	18 80 00 1f 	bgu  200c864 <rtems_bdbuf_get_buffer_for_access+0xe0><== NEVER TAKEN
 200c7ec:	13 10 80 00 	sethi  %hi(0x42000000), %o1                    
 200c7f0:	84 15 23 04 	or  %l4, 0x304, %g2                            
 200c7f4:	83 28 60 02 	sll  %g1, 2, %g1                               
 200c7f8:	c2 00 80 01 	ld  [ %g2 + %g1 ], %g1                         
 200c7fc:	81 c0 40 00 	jmp  %g1                                       
 200c800:	01 00 00 00 	nop                                            
 */                                                                   
RTEMS_INLINE_ROUTINE void rtems_chain_extract(                        
  rtems_chain_node *the_node                                          
)                                                                     
{                                                                     
  _Chain_Extract( the_node );                                         
 200c804:	90 10 00 18 	mov  %i0, %o0                                  <== NOT EXECUTED
}                                                                     
                                                                      
static void                                                           
rtems_bdbuf_set_state (rtems_bdbuf_buffer *bd, rtems_bdbuf_buf_state state)
{                                                                     
  bd->state = state;                                                  
 200c808:	ea 26 20 28 	st  %l5, [ %i0 + 0x28 ]                        <== NOT EXECUTED
 200c80c:	7f ff ed 45 	call  2007d20 <_Chain_Extract>                 <== NOT EXECUTED
 200c810:	01 00 00 00 	nop                                            <== NOT EXECUTED
RTEMS_INLINE_ROUTINE void rtems_chain_append(                         
  rtems_chain_control *the_chain,                                     
  rtems_chain_node    *the_node                                       
)                                                                     
{                                                                     
  _Chain_Append( the_chain, the_node );                               
 200c814:	90 10 00 11 	mov  %l1, %o0                                  <== NOT EXECUTED
 200c818:	7f ff ed 37 	call  2007cf4 <_Chain_Append>                  <== NOT EXECUTED
 200c81c:	92 10 00 18 	mov  %i0, %o1                                  <== NOT EXECUTED
rtems_bdbuf_request_sync_for_modified_buffer (rtems_bdbuf_buffer *bd) 
{                                                                     
  rtems_bdbuf_set_state (bd, RTEMS_BDBUF_STATE_SYNC);                 
  rtems_chain_extract (&bd->link);                                    
  rtems_chain_append (&bdbuf_cache.sync, &bd->link);                  
  rtems_bdbuf_wake_swapper ();                                        
 200c820:	7f ff fa 7a 	call  200b208 <rtems_bdbuf_wake_swapper>       <== NOT EXECUTED
 200c824:	01 00 00 00 	nop                                            <== NOT EXECUTED
 200c828:	30 bf ff ee 	b,a   200c7e0 <rtems_bdbuf_get_buffer_for_access+0x5c><== NOT EXECUTED
      case RTEMS_BDBUF_STATE_MODIFIED:                                
        rtems_bdbuf_request_sync_for_modified_buffer (bd);            
        break;                                                        
      case RTEMS_BDBUF_STATE_CACHED:                                  
      case RTEMS_BDBUF_STATE_EMPTY:                                   
        if (bd->waiters == 0)                                         
 200c82c:	c2 06 20 2c 	ld  [ %i0 + 0x2c ], %g1                        
 200c830:	80 a0 60 00 	cmp  %g1, 0                                    
 200c834:	02 80 00 0f 	be  200c870 <rtems_bdbuf_get_buffer_for_access+0xec><== NEVER TAKEN
 200c838:	01 00 00 00 	nop                                            
rtems_bdbuf_wait_for_buffer (void)                                    
{                                                                     
  if (!rtems_chain_is_empty (&bdbuf_cache.modified))                  
    rtems_bdbuf_wake_swapper ();                                      
                                                                      
  rtems_bdbuf_anonymous_wait (&bdbuf_cache.buffer_waiters);           
 200c83c:	10 80 00 27 	b  200c8d8 <rtems_bdbuf_get_buffer_for_access+0x154>
 200c840:	11 00 80 62 	sethi  %hi(0x2018800), %o0                     
        }                                                             
      case RTEMS_BDBUF_STATE_ACCESS_CACHED:                           
      case RTEMS_BDBUF_STATE_ACCESS_EMPTY:                            
      case RTEMS_BDBUF_STATE_ACCESS_MODIFIED:                         
      case RTEMS_BDBUF_STATE_ACCESS_PURGED:                           
        rtems_bdbuf_wait (bd, &bdbuf_cache.access_waiters);           
 200c844:	90 10 00 18 	mov  %i0, %o0                                  
 200c848:	10 80 00 04 	b  200c858 <rtems_bdbuf_get_buffer_for_access+0xd4>
 200c84c:	92 10 00 12 	mov  %l2, %o1                                  
        break;                                                        
      case RTEMS_BDBUF_STATE_SYNC:                                    
      case RTEMS_BDBUF_STATE_TRANSFER:                                
      case RTEMS_BDBUF_STATE_TRANSFER_PURGED:                         
        rtems_bdbuf_wait (bd, &bdbuf_cache.transfer_waiters);         
 200c850:	90 10 00 18 	mov  %i0, %o0                                  <== NOT EXECUTED
 200c854:	92 10 00 13 	mov  %l3, %o1                                  <== NOT EXECUTED
 200c858:	7f ff fa cc 	call  200b388 <rtems_bdbuf_wait>               
 200c85c:	01 00 00 00 	nop                                            
 200c860:	30 bf ff e0 	b,a   200c7e0 <rtems_bdbuf_get_buffer_for_access+0x5c>
        break;                                                        
      default:                                                        
        rtems_bdbuf_fatal (bd->state, RTEMS_BLKDEV_FATAL_BDBUF_STATE_8);
 200c864:	d0 06 20 28 	ld  [ %i0 + 0x28 ], %o0                        <== NOT EXECUTED
 200c868:	10 80 00 40 	b  200c968 <rtems_bdbuf_get_buffer_for_access+0x1e4><== NOT EXECUTED
 200c86c:	92 12 60 06 	or  %o1, 6, %o1                                <== NOT EXECUTED
    {                                                                 
      if (bd->group->bds_per_group != bds_per_group)                  
      {                                                               
        if (rtems_bdbuf_wait_for_recycle (bd))                        
        {                                                             
          rtems_bdbuf_remove_from_tree_and_lru_list (bd);             
 200c870:	7f ff fc 75 	call  200ba44 <rtems_bdbuf_remove_from_tree_and_lru_list><== NOT EXECUTED
 200c874:	90 10 00 18 	mov  %i0, %o0                                  <== NOT EXECUTED
 200c878:	92 10 00 18 	mov  %i0, %o1                                  <== NOT EXECUTED
}                                                                     
                                                                      
static void                                                           
rtems_bdbuf_set_state (rtems_bdbuf_buffer *bd, rtems_bdbuf_buf_state state)
{                                                                     
  bd->state = state;                                                  
 200c87c:	c0 26 20 28 	clr  [ %i0 + 0x28 ]                            <== NOT EXECUTED
 200c880:	11 00 80 62 	sethi  %hi(0x2018800), %o0                     <== NOT EXECUTED
 200c884:	40 00 0b 81 	call  200f688 <_Chain_Insert>                  <== NOT EXECUTED
 200c888:	90 12 20 14 	or  %o0, 0x14, %o0	! 2018814 <bdbuf_cache+0x44><== NOT EXECUTED
      {                                                               
        if (rtems_bdbuf_wait_for_recycle (bd))                        
        {                                                             
          rtems_bdbuf_remove_from_tree_and_lru_list (bd);             
          rtems_bdbuf_make_free_and_add_to_lru_list (bd);             
          rtems_bdbuf_wake (&bdbuf_cache.buffer_waiters);             
 200c88c:	11 00 80 62 	sethi  %hi(0x2018800), %o0                     <== NOT EXECUTED
 200c890:	7f ff fb 08 	call  200b4b0 <rtems_bdbuf_wake>               <== NOT EXECUTED
 200c894:	90 12 20 48 	or  %o0, 0x48, %o0	! 2018848 <bdbuf_cache+0x78><== NOT EXECUTED
{                                                                     
  rtems_bdbuf_buffer *bd = NULL;                                      
                                                                      
  do                                                                  
  {                                                                   
    bd = rtems_bdbuf_avl_search (&bdbuf_cache.tree, dev, block);      
 200c898:	10 bf ff c6 	b  200c7b0 <rtems_bdbuf_get_buffer_for_access+0x2c><== NOT EXECUTED
 200c89c:	d0 06 60 40 	ld  [ %i1 + 0x40 ], %o0                        <== NOT EXECUTED
        bd = NULL;                                                    
      }                                                               
    }                                                                 
    else                                                              
    {                                                                 
      bd = rtems_bdbuf_get_buffer_from_lru_list (dev, block, bds_per_group);
 200c8a0:	92 10 00 1d 	mov  %i5, %o1                                  
 200c8a4:	94 10 00 1a 	mov  %i2, %o2                                  
 200c8a8:	7f ff fe c9 	call  200c3cc <rtems_bdbuf_get_buffer_from_lru_list>
 200c8ac:	96 10 00 1b 	mov  %i3, %o3                                  
                                                                      
      if (bd == NULL)                                                 
 200c8b0:	b0 92 20 00 	orcc  %o0, 0, %i0                              
 200c8b4:	32 80 00 0e 	bne,a   200c8ec <rtems_bdbuf_get_buffer_for_access+0x168>
 200c8b8:	39 00 80 62 	sethi  %hi(0x2018800), %i4                     
}                                                                     
                                                                      
static void                                                           
rtems_bdbuf_wait_for_buffer (void)                                    
{                                                                     
  if (!rtems_chain_is_empty (&bdbuf_cache.modified))                  
 200c8bc:	c2 06 60 50 	ld  [ %i1 + 0x50 ], %g1                        
 200c8c0:	80 a0 40 10 	cmp  %g1, %l0                                  
 200c8c4:	22 80 00 05 	be,a   200c8d8 <rtems_bdbuf_get_buffer_for_access+0x154>
 200c8c8:	11 00 80 62 	sethi  %hi(0x2018800), %o0                     
    rtems_bdbuf_wake_swapper ();                                      
 200c8cc:	7f ff fa 4f 	call  200b208 <rtems_bdbuf_wake_swapper>       
 200c8d0:	01 00 00 00 	nop                                            
                                                                      
  rtems_bdbuf_anonymous_wait (&bdbuf_cache.buffer_waiters);           
 200c8d4:	11 00 80 62 	sethi  %hi(0x2018800), %o0                     
 200c8d8:	7f ff fa 8c 	call  200b308 <rtems_bdbuf_anonymous_wait>     
 200c8dc:	90 12 20 48 	or  %o0, 0x48, %o0	! 2018848 <bdbuf_cache+0x78>
{                                                                     
  rtems_bdbuf_buffer *bd = NULL;                                      
                                                                      
  do                                                                  
  {                                                                   
    bd = rtems_bdbuf_avl_search (&bdbuf_cache.tree, dev, block);      
 200c8e0:	10 bf ff b4 	b  200c7b0 <rtems_bdbuf_get_buffer_for_access+0x2c>
 200c8e4:	d0 06 60 40 	ld  [ %i1 + 0x40 ], %o0                        
        rtems_bdbuf_wait (bd, &bdbuf_cache.access_waiters);           
        break;                                                        
      case RTEMS_BDBUF_STATE_SYNC:                                    
      case RTEMS_BDBUF_STATE_TRANSFER:                                
      case RTEMS_BDBUF_STATE_TRANSFER_PURGED:                         
        rtems_bdbuf_wait (bd, &bdbuf_cache.transfer_waiters);         
 200c8e8:	39 00 80 62 	sethi  %hi(0x2018800), %i4                     
static void                                                           
rtems_bdbuf_wait_for_access (rtems_bdbuf_buffer *bd)                  
{                                                                     
  while (true)                                                        
  {                                                                   
    switch (bd->state)                                                
 200c8ec:	35 00 80 2b 	sethi  %hi(0x200ac00), %i2                     
        rtems_bdbuf_wait (bd, &bdbuf_cache.access_waiters);           
        break;                                                        
      case RTEMS_BDBUF_STATE_SYNC:                                    
      case RTEMS_BDBUF_STATE_TRANSFER:                                
      case RTEMS_BDBUF_STATE_TRANSFER_PURGED:                         
        rtems_bdbuf_wait (bd, &bdbuf_cache.transfer_waiters);         
 200c8f0:	b8 17 20 40 	or  %i4, 0x40, %i4                             
        return;                                                       
      case RTEMS_BDBUF_STATE_ACCESS_CACHED:                           
      case RTEMS_BDBUF_STATE_ACCESS_EMPTY:                            
      case RTEMS_BDBUF_STATE_ACCESS_MODIFIED:                         
      case RTEMS_BDBUF_STATE_ACCESS_PURGED:                           
        rtems_bdbuf_wait (bd, &bdbuf_cache.access_waiters);           
 200c8f4:	b6 07 3f f8 	add  %i4, -8, %i3                              
static void                                                           
rtems_bdbuf_wait_for_access (rtems_bdbuf_buffer *bd)                  
{                                                                     
  while (true)                                                        
  {                                                                   
    switch (bd->state)                                                
 200c8f8:	c2 06 20 28 	ld  [ %i0 + 0x28 ], %g1                        
 200c8fc:	82 00 7f ff 	add  %g1, -1, %g1                              
 200c900:	80 a0 60 09 	cmp  %g1, 9                                    
 200c904:	18 80 00 16 	bgu  200c95c <rtems_bdbuf_get_buffer_for_access+0x1d8><== NEVER TAKEN
 200c908:	84 16 a2 dc 	or  %i2, 0x2dc, %g2                            
 200c90c:	83 28 60 02 	sll  %g1, 2, %g1                               
 200c910:	c2 00 80 01 	ld  [ %g2 + %g1 ], %g1                         
 200c914:	81 c0 40 00 	jmp  %g1                                       
 200c918:	01 00 00 00 	nop                                            
}                                                                     
                                                                      
static void                                                           
rtems_bdbuf_group_release (rtems_bdbuf_buffer *bd)                    
{                                                                     
  --bd->group->users;                                                 
 200c91c:	c2 06 20 30 	ld  [ %i0 + 0x30 ], %g1                        
 200c920:	c4 00 60 0c 	ld  [ %g1 + 0xc ], %g2                         
 200c924:	84 00 bf ff 	add  %g2, -1, %g2                              
 200c928:	c4 20 60 0c 	st  %g2, [ %g1 + 0xc ]                         
 */                                                                   
RTEMS_INLINE_ROUTINE void rtems_chain_extract(                        
  rtems_chain_node *the_node                                          
)                                                                     
{                                                                     
  _Chain_Extract( the_node );                                         
 200c92c:	7f ff ec fd 	call  2007d20 <_Chain_Extract>                 
 200c930:	90 10 00 18 	mov  %i0, %o0                                  
}                                                                     
                                                                      
static void                                                           
rtems_bdbuf_group_obtain (rtems_bdbuf_buffer *bd)                     
{                                                                     
  ++bd->group->users;                                                 
 200c934:	10 80 00 10 	b  200c974 <rtems_bdbuf_get_buffer_for_access+0x1f0>
 200c938:	c2 06 20 30 	ld  [ %i0 + 0x30 ], %g1                        
        return;                                                       
      case RTEMS_BDBUF_STATE_ACCESS_CACHED:                           
      case RTEMS_BDBUF_STATE_ACCESS_EMPTY:                            
      case RTEMS_BDBUF_STATE_ACCESS_MODIFIED:                         
      case RTEMS_BDBUF_STATE_ACCESS_PURGED:                           
        rtems_bdbuf_wait (bd, &bdbuf_cache.access_waiters);           
 200c93c:	90 10 00 18 	mov  %i0, %o0                                  
 200c940:	10 80 00 04 	b  200c950 <rtems_bdbuf_get_buffer_for_access+0x1cc>
 200c944:	92 10 00 1b 	mov  %i3, %o1                                  
        break;                                                        
      case RTEMS_BDBUF_STATE_SYNC:                                    
      case RTEMS_BDBUF_STATE_TRANSFER:                                
      case RTEMS_BDBUF_STATE_TRANSFER_PURGED:                         
        rtems_bdbuf_wait (bd, &bdbuf_cache.transfer_waiters);         
 200c948:	90 10 00 18 	mov  %i0, %o0                                  
 200c94c:	92 10 00 1c 	mov  %i4, %o1                                  
 200c950:	7f ff fa 8e 	call  200b388 <rtems_bdbuf_wait>               
 200c954:	01 00 00 00 	nop                                            
 200c958:	30 bf ff e8 	b,a   200c8f8 <rtems_bdbuf_get_buffer_for_access+0x174>
        break;                                                        
      default:                                                        
        rtems_bdbuf_fatal (bd->state, RTEMS_BLKDEV_FATAL_BDBUF_STATE_7);
 200c95c:	d0 06 20 28 	ld  [ %i0 + 0x28 ], %o0                        <== NOT EXECUTED
 200c960:	13 10 80 00 	sethi  %hi(0x42000000), %o1                    <== NOT EXECUTED
 200c964:	92 12 60 05 	or  %o1, 5, %o1	! 42000005 <RAM_END+0x3fc00005><== NOT EXECUTED
 200c968:	7f ff f9 98 	call  200afc8 <rtems_bdbuf_fatal>              <== NOT EXECUTED
 200c96c:	01 00 00 00 	nop                                            <== NOT EXECUTED
}                                                                     
                                                                      
static void                                                           
rtems_bdbuf_group_obtain (rtems_bdbuf_buffer *bd)                     
{                                                                     
  ++bd->group->users;                                                 
 200c970:	c2 06 20 30 	ld  [ %i0 + 0x30 ], %g1                        
 200c974:	c4 00 60 0c 	ld  [ %g1 + 0xc ], %g2                         
 200c978:	84 00 a0 01 	inc  %g2                                       
 200c97c:	c4 20 60 0c 	st  %g2, [ %g1 + 0xc ]                         
                                                                      
  rtems_bdbuf_wait_for_access (bd);                                   
  rtems_bdbuf_group_obtain (bd);                                      
                                                                      
  return bd;                                                          
}                                                                     
 200c980:	81 c7 e0 08 	ret                                            
 200c984:	81 e8 00 00 	restore                                        
                                                                      

0200c3cc <rtems_bdbuf_get_buffer_from_lru_list>: static rtems_bdbuf_buffer * rtems_bdbuf_get_buffer_from_lru_list (dev_t dev, rtems_blkdev_bnum block, size_t bds_per_group) {
 200c3cc:	9d e3 bf 20 	save  %sp, -224, %sp                           
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_First(                        
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  return _Chain_Head( the_chain )->next;                              
 200c3d0:	2d 00 80 61 	sethi  %hi(0x2018400), %l6                     
 200c3d4:	ba 10 00 18 	mov  %i0, %i5                                  
 200c3d8:	a8 15 a3 d0 	or  %l6, 0x3d0, %l4                            
 200c3dc:	e0 05 20 44 	ld  [ %l4 + 0x44 ], %l0                        
  rtems_chain_node *node = rtems_chain_first (&bdbuf_cache.lru);      
                                                                      
  while (!rtems_chain_is_tail (&bdbuf_cache.lru, node))               
 200c3e0:	a4 05 20 48 	add  %l4, 0x48, %l2                            
RTEMS_INLINE_ROUTINE void _Chain_Prepend(                             
  Chain_Control *the_chain,                                           
  Chain_Node    *the_node                                             
)                                                                     
{                                                                     
  _Chain_Insert(_Chain_Head(the_chain), the_node);                    
 200c3e4:	aa 05 20 44 	add  %l4, 0x44, %l5                            
 200c3e8:	10 80 00 df 	b  200c764 <rtems_bdbuf_get_buffer_from_lru_list+0x398>
 200c3ec:	a8 05 20 78 	add  %l4, 0x78, %l4                            
              bd->group->bds_per_group, bds_per_group);               
                                                                      
    /*                                                                
     * If nobody waits for this BD, we may recycle it.                
     */                                                               
    if (bd->waiters == 0)                                             
 200c3f0:	c2 04 20 2c 	ld  [ %l0 + 0x2c ], %g1                        
 200c3f4:	80 a0 60 00 	cmp  %g1, 0                                    
 200c3f8:	32 80 00 db 	bne,a   200c764 <rtems_bdbuf_get_buffer_from_lru_list+0x398>
 200c3fc:	e0 04 00 00 	ld  [ %l0 ], %l0                               
    {                                                                 
      if (bd->group->bds_per_group == bds_per_group)                  
 200c400:	f8 04 20 30 	ld  [ %l0 + 0x30 ], %i4                        
 200c404:	d2 07 20 08 	ld  [ %i4 + 8 ], %o1                           
 200c408:	80 a2 40 1b 	cmp  %o1, %i3                                  
 200c40c:	32 80 00 07 	bne,a   200c428 <rtems_bdbuf_get_buffer_from_lru_list+0x5c>
 200c410:	c2 07 20 0c 	ld  [ %i4 + 0xc ], %g1                         
      {                                                               
        rtems_bdbuf_remove_from_tree_and_lru_list (bd);               
 200c414:	90 10 00 10 	mov  %l0, %o0                                  
 200c418:	7f ff fd 8b 	call  200ba44 <rtems_bdbuf_remove_from_tree_and_lru_list>
 200c41c:	b0 10 00 10 	mov  %l0, %i0                                  
      }                                                               
      else if (bd->group->users == 0)                                 
        empty_bd = rtems_bdbuf_group_realloc (bd->group, bds_per_group);
    }                                                                 
                                                                      
    if (empty_bd != NULL)                                             
 200c420:	10 80 00 2c 	b  200c4d0 <rtems_bdbuf_get_buffer_from_lru_list+0x104>
 200c424:	80 a6 20 00 	cmp  %i0, 0                                    
      {                                                               
        rtems_bdbuf_remove_from_tree_and_lru_list (bd);               
                                                                      
        empty_bd = bd;                                                
      }                                                               
      else if (bd->group->users == 0)                                 
 200c428:	80 a0 60 00 	cmp  %g1, 0                                    
 200c42c:	32 80 00 ce 	bne,a   200c764 <rtems_bdbuf_get_buffer_from_lru_list+0x398>
 200c430:	e0 04 00 00 	ld  [ %l0 ], %l0                               
  if (rtems_bdbuf_tracer)                                             
    printf ("bdbuf:realloc: %tu: %zd -> %zd\n",                       
            group - bdbuf_cache.groups, group->bds_per_group,         
            new_bds_per_group);                                       
                                                                      
  bufs_per_bd = bdbuf_cache.max_bds_per_group / group->bds_per_group; 
 200c434:	d0 04 bf d8 	ld  [ %l2 + -40 ], %o0                         
 200c438:	40 00 22 8f 	call  2014e74 <.udiv>                          
 200c43c:	f0 07 20 10 	ld  [ %i4 + 0x10 ], %i0                        
                                                                      
  for (b = 0, bd = group->bdbuf;                                      
 200c440:	a2 10 20 00 	clr  %l1                                       
       b < group->bds_per_group;                                      
       b++, bd += bufs_per_bd)                                        
 200c444:	10 80 00 05 	b  200c458 <rtems_bdbuf_get_buffer_from_lru_list+0x8c>
 200c448:	a7 2a 20 06 	sll  %o0, 6, %l3                               
    rtems_bdbuf_remove_from_tree_and_lru_list (bd);                   
 200c44c:	7f ff fd 7e 	call  200ba44 <rtems_bdbuf_remove_from_tree_and_lru_list>
 200c450:	a2 04 60 01 	inc  %l1                                       
                                                                      
  bufs_per_bd = bdbuf_cache.max_bds_per_group / group->bds_per_group; 
                                                                      
  for (b = 0, bd = group->bdbuf;                                      
       b < group->bds_per_group;                                      
       b++, bd += bufs_per_bd)                                        
 200c454:	b0 06 00 13 	add  %i0, %l3, %i0                             
            group - bdbuf_cache.groups, group->bds_per_group,         
            new_bds_per_group);                                       
                                                                      
  bufs_per_bd = bdbuf_cache.max_bds_per_group / group->bds_per_group; 
                                                                      
  for (b = 0, bd = group->bdbuf;                                      
 200c458:	c2 07 20 08 	ld  [ %i4 + 8 ], %g1                           
 200c45c:	80 a4 40 01 	cmp  %l1, %g1                                  
 200c460:	0a bf ff fb 	bcs  200c44c <rtems_bdbuf_get_buffer_from_lru_list+0x80>
 200c464:	90 10 00 18 	mov  %i0, %o0                                  
       b < group->bds_per_group;                                      
       b++, bd += bufs_per_bd)                                        
    rtems_bdbuf_remove_from_tree_and_lru_list (bd);                   
                                                                      
  group->bds_per_group = new_bds_per_group;                           
  bufs_per_bd = bdbuf_cache.max_bds_per_group / new_bds_per_group;    
 200c468:	82 15 a3 d0 	or  %l6, 0x3d0, %g1                            
 200c46c:	d0 00 60 20 	ld  [ %g1 + 0x20 ], %o0                        
  for (b = 0, bd = group->bdbuf;                                      
       b < group->bds_per_group;                                      
       b++, bd += bufs_per_bd)                                        
    rtems_bdbuf_remove_from_tree_and_lru_list (bd);                   
                                                                      
  group->bds_per_group = new_bds_per_group;                           
 200c470:	f6 27 20 08 	st  %i3, [ %i4 + 8 ]                           
  bufs_per_bd = bdbuf_cache.max_bds_per_group / new_bds_per_group;    
 200c474:	40 00 22 80 	call  2014e74 <.udiv>                          
 200c478:	92 10 00 1b 	mov  %i3, %o1                                  
                                                                      
  for (b = 1, bd = group->bdbuf + bufs_per_bd;                        
 200c47c:	e2 07 20 10 	ld  [ %i4 + 0x10 ], %l1                        
 200c480:	a7 2a 20 06 	sll  %o0, 6, %l3                               
 200c484:	b0 10 20 01 	mov  1, %i0                                    
 200c488:	10 80 00 08 	b  200c4a8 <rtems_bdbuf_get_buffer_from_lru_list+0xdc>
 200c48c:	a2 04 40 13 	add  %l1, %l3, %l1                             
}                                                                     
                                                                      
static void                                                           
rtems_bdbuf_set_state (rtems_bdbuf_buffer *bd, rtems_bdbuf_buf_state state)
{                                                                     
  bd->state = state;                                                  
 200c490:	c0 24 60 28 	clr  [ %l1 + 0x28 ]                            
 200c494:	92 10 00 11 	mov  %l1, %o1                                  
 200c498:	90 10 00 15 	mov  %l5, %o0                                  
 200c49c:	40 00 0c 7b 	call  200f688 <_Chain_Insert>                  
 200c4a0:	b0 06 20 01 	inc  %i0                                       
  group->bds_per_group = new_bds_per_group;                           
  bufs_per_bd = bdbuf_cache.max_bds_per_group / new_bds_per_group;    
                                                                      
  for (b = 1, bd = group->bdbuf + bufs_per_bd;                        
       b < group->bds_per_group;                                      
       b++, bd += bufs_per_bd)                                        
 200c4a4:	a2 04 40 13 	add  %l1, %l3, %l1                             
    rtems_bdbuf_remove_from_tree_and_lru_list (bd);                   
                                                                      
  group->bds_per_group = new_bds_per_group;                           
  bufs_per_bd = bdbuf_cache.max_bds_per_group / new_bds_per_group;    
                                                                      
  for (b = 1, bd = group->bdbuf + bufs_per_bd;                        
 200c4a8:	c2 07 20 08 	ld  [ %i4 + 8 ], %g1                           
 200c4ac:	80 a6 00 01 	cmp  %i0, %g1                                  
 200c4b0:	0a bf ff f8 	bcs  200c490 <rtems_bdbuf_get_buffer_from_lru_list+0xc4>
 200c4b4:	80 a6 20 01 	cmp  %i0, 1                                    
       b < group->bds_per_group;                                      
       b++, bd += bufs_per_bd)                                        
    rtems_bdbuf_make_free_and_add_to_lru_list (bd);                   
                                                                      
  if (b > 1)                                                          
 200c4b8:	28 80 00 05 	bleu,a   200c4cc <rtems_bdbuf_get_buffer_from_lru_list+0x100>
 200c4bc:	f0 07 20 10 	ld  [ %i4 + 0x10 ], %i0                        
    rtems_bdbuf_wake (&bdbuf_cache.buffer_waiters);                   
 200c4c0:	7f ff fb fc 	call  200b4b0 <rtems_bdbuf_wake>               
 200c4c4:	90 10 00 14 	mov  %l4, %o0                                  
                                                                      
  return group->bdbuf;                                                
 200c4c8:	f0 07 20 10 	ld  [ %i4 + 0x10 ], %i0                        
      }                                                               
      else if (bd->group->users == 0)                                 
        empty_bd = rtems_bdbuf_group_realloc (bd->group, bds_per_group);
    }                                                                 
                                                                      
    if (empty_bd != NULL)                                             
 200c4cc:	80 a6 20 00 	cmp  %i0, 0                                    
 200c4d0:	22 80 00 a5 	be,a   200c764 <rtems_bdbuf_get_buffer_from_lru_list+0x398><== NEVER TAKEN
 200c4d4:	e0 04 00 00 	ld  [ %l0 ], %l0                               <== NOT EXECUTED
                                dev_t               dev,              
                                rtems_blkdev_bnum   block)            
{                                                                     
  bd->dev       = dev;                                                
  bd->block     = block;                                              
  bd->avl.left  = NULL;                                               
 200c4d8:	c0 26 20 08 	clr  [ %i0 + 8 ]                               
  bd->avl.right = NULL;                                               
 200c4dc:	c0 26 20 0c 	clr  [ %i0 + 0xc ]                             
                       rtems_bdbuf_buffer*  node)                     
{                                                                     
  dev_t             dev = node->dev;                                  
  rtems_blkdev_bnum block = node->block;                              
                                                                      
  rtems_bdbuf_buffer*  p = *root;                                     
 200c4e0:	05 00 80 61 	sethi  %hi(0x2018400), %g2                     
 200c4e4:	84 10 a3 d0 	or  %g2, 0x3d0, %g2	! 20187d0 <bdbuf_cache>    
 200c4e8:	c2 00 a0 40 	ld  [ %g2 + 0x40 ], %g1                        
static void                                                           
rtems_bdbuf_setup_empty_buffer (rtems_bdbuf_buffer *bd,               
                                dev_t               dev,              
                                rtems_blkdev_bnum   block)            
{                                                                     
  bd->dev       = dev;                                                
 200c4ec:	fa 26 20 18 	st  %i5, [ %i0 + 0x18 ]                        
 200c4f0:	f2 26 20 1c 	st  %i1, [ %i0 + 0x1c ]                        
  bd->block     = block;                                              
 200c4f4:	f4 26 20 20 	st  %i2, [ %i0 + 0x20 ]                        
  bd->avl.left  = NULL;                                               
  bd->avl.right = NULL;                                               
  bd->waiters   = 0;                                                  
 200c4f8:	c0 26 20 2c 	clr  [ %i0 + 0x2c ]                            
  rtems_bdbuf_buffer*  p = *root;                                     
  rtems_bdbuf_buffer*  q;                                             
  rtems_bdbuf_buffer*  p1;                                            
  rtems_bdbuf_buffer*  p2;                                            
  rtems_bdbuf_buffer*  buf_stack[RTEMS_BDBUF_AVL_MAX_HEIGHT];         
  rtems_bdbuf_buffer** buf_prev = buf_stack;                          
 200c4fc:	88 07 bf 80 	add  %fp, -128, %g4                            
  {                                                                   
    *buf_prev++ = p;                                                  
                                                                      
    if ((p->dev < dev) || ((p->dev == dev) && (p->block < block)))    
    {                                                                 
      p->avl.cache = 1;                                               
 200c500:	b6 10 20 01 	mov  1, %i3                                    
  rtems_bdbuf_buffer*  buf_stack[RTEMS_BDBUF_AVL_MAX_HEIGHT];         
  rtems_bdbuf_buffer** buf_prev = buf_stack;                          
                                                                      
  bool modified = false;                                              
                                                                      
  if (p == NULL)                                                      
 200c504:	80 a0 60 00 	cmp  %g1, 0                                    
 200c508:	12 80 00 20 	bne  200c588 <rtems_bdbuf_get_buffer_from_lru_list+0x1bc>
 200c50c:	b8 10 3f ff 	mov  -1, %i4                                   
  {                                                                   
    *root = node;                                                     
 200c510:	f0 20 a0 40 	st  %i0, [ %g2 + 0x40 ]                        
    node->avl.left = NULL;                                            
 200c514:	c0 26 20 08 	clr  [ %i0 + 8 ]                               
    node->avl.right = NULL;                                           
 200c518:	c0 26 20 0c 	clr  [ %i0 + 0xc ]                             
    node->avl.bal = 0;                                                
 200c51c:	10 80 00 8e 	b  200c754 <rtems_bdbuf_get_buffer_from_lru_list+0x388>
 200c520:	c0 2e 20 11 	clrb  [ %i0 + 0x11 ]                           
                                                                      
  while (p != NULL)                                                   
  {                                                                   
    *buf_prev++ = p;                                                  
                                                                      
    if ((p->dev < dev) || ((p->dev == dev) && (p->block < block)))    
 200c524:	32 80 00 12 	bne,a   200c56c <rtems_bdbuf_get_buffer_from_lru_list+0x1a0><== NEVER TAKEN
 200c528:	c4 00 60 08 	ld  [ %g1 + 8 ], %g2                           <== NOT EXECUTED
 200c52c:	80 a0 c0 19 	cmp  %g3, %i1                                  
 200c530:	32 80 00 0f 	bne,a   200c56c <rtems_bdbuf_get_buffer_from_lru_list+0x1a0><== NEVER TAKEN
 200c534:	c4 00 60 08 	ld  [ %g1 + 8 ], %g2                           <== NOT EXECUTED
 200c538:	c4 00 60 20 	ld  [ %g1 + 0x20 ], %g2                        
 200c53c:	80 a0 80 1a 	cmp  %g2, %i2                                  
 200c540:	1a 80 00 08 	bcc  200c560 <rtems_bdbuf_get_buffer_from_lru_list+0x194>
 200c544:	01 00 00 00 	nop                                            
    {                                                                 
      p->avl.cache = 1;                                               
      q = p->avl.right;                                               
 200c548:	c4 00 60 0c 	ld  [ %g1 + 0xc ], %g2                         
      if (q == NULL)                                                  
 200c54c:	80 a0 a0 00 	cmp  %g2, 0                                    
 200c550:	12 80 00 0c 	bne  200c580 <rtems_bdbuf_get_buffer_from_lru_list+0x1b4>
 200c554:	f6 28 60 10 	stb  %i3, [ %g1 + 0x10 ]                       
      {                                                               
        q = node;                                                     
        p->avl.right = q = node;                                      
 200c558:	10 80 00 19 	b  200c5bc <rtems_bdbuf_get_buffer_from_lru_list+0x1f0>
 200c55c:	f0 20 60 0c 	st  %i0, [ %g1 + 0xc ]                         
        break;                                                        
      }                                                               
    }                                                                 
    else if ((p->dev != dev) || (p->block != block))                  
 200c560:	02 80 00 86 	be  200c778 <rtems_bdbuf_get_buffer_from_lru_list+0x3ac><== NEVER TAKEN
 200c564:	11 10 80 00 	sethi  %hi(0x42000000), %o0                    
    {                                                                 
      p->avl.cache = -1;                                              
      q = p->avl.left;                                                
 200c568:	c4 00 60 08 	ld  [ %g1 + 8 ], %g2                           
      if (q == NULL)                                                  
 200c56c:	80 a0 a0 00 	cmp  %g2, 0                                    
 200c570:	12 80 00 04 	bne  200c580 <rtems_bdbuf_get_buffer_from_lru_list+0x1b4>
 200c574:	f8 28 60 10 	stb  %i4, [ %g1 + 0x10 ]                       
      {                                                               
        q = node;                                                     
        p->avl.left = q;                                              
 200c578:	10 80 00 11 	b  200c5bc <rtems_bdbuf_get_buffer_from_lru_list+0x1f0>
 200c57c:	f0 20 60 08 	st  %i0, [ %g1 + 8 ]                           
  rtems_bdbuf_buffer*  buf_stack[RTEMS_BDBUF_AVL_MAX_HEIGHT];         
  rtems_bdbuf_buffer** buf_prev = buf_stack;                          
                                                                      
  bool modified = false;                                              
                                                                      
  if (p == NULL)                                                      
 200c580:	88 10 00 0f 	mov  %o7, %g4                                  
 200c584:	82 10 00 02 	mov  %g2, %g1                                  
                                                                      
  while (p != NULL)                                                   
  {                                                                   
    *buf_prev++ = p;                                                  
                                                                      
    if ((p->dev < dev) || ((p->dev == dev) && (p->block < block)))    
 200c588:	c4 18 60 18 	ldd  [ %g1 + 0x18 ], %g2                       
    return 0;                                                         
  }                                                                   
                                                                      
  while (p != NULL)                                                   
  {                                                                   
    *buf_prev++ = p;                                                  
 200c58c:	c2 21 00 00 	st  %g1, [ %g4 ]                               
                                                                      
    if ((p->dev < dev) || ((p->dev == dev) && (p->block < block)))    
 200c590:	80 a7 40 02 	cmp  %i5, %g2                                  
 200c594:	18 bf ff ed 	bgu  200c548 <rtems_bdbuf_get_buffer_from_lru_list+0x17c><== NEVER TAKEN
 200c598:	9e 01 20 04 	add  %g4, 4, %o7                               
 200c59c:	80 a7 40 02 	cmp  %i5, %g2                                  
 200c5a0:	12 bf ff e1 	bne  200c524 <rtems_bdbuf_get_buffer_from_lru_list+0x158><== NEVER TAKEN
 200c5a4:	80 a0 80 1d 	cmp  %g2, %i5                                  
 200c5a8:	80 a6 40 03 	cmp  %i1, %g3                                  
 200c5ac:	38 bf ff e8 	bgu,a   200c54c <rtems_bdbuf_get_buffer_from_lru_list+0x180><== NEVER TAKEN
 200c5b0:	c4 00 60 0c 	ld  [ %g1 + 0xc ], %g2                         <== NOT EXECUTED
 200c5b4:	10 bf ff dc 	b  200c524 <rtems_bdbuf_get_buffer_from_lru_list+0x158>
 200c5b8:	80 a0 80 1d 	cmp  %g2, %i5                                  
    }                                                                 
                                                                      
    p = q;                                                            
  }                                                                   
                                                                      
  q->avl.left = q->avl.right = NULL;                                  
 200c5bc:	c0 26 20 0c 	clr  [ %i0 + 0xc ]                             
 200c5c0:	c0 26 20 08 	clr  [ %i0 + 8 ]                               
  q->avl.bal = 0;                                                     
 200c5c4:	c0 2e 20 11 	clrb  [ %i0 + 0x11 ]                           
          p->avl.bal = 0;                                             
          modified = false;                                           
          break;                                                      
                                                                      
        case 0:                                                       
          p->avl.bal = 1;                                             
 200c5c8:	b8 10 20 01 	mov  1, %i4                                    
        default:                                                      
          break;                                                      
      }                                                               
    }                                                                 
    q = p;                                                            
    if (buf_prev > buf_stack)                                         
 200c5cc:	10 80 00 03 	b  200c5d8 <rtems_bdbuf_get_buffer_from_lru_list+0x20c>
 200c5d0:	b6 07 bf 80 	add  %fp, -128, %i3                            
  q->avl.left = q->avl.right = NULL;                                  
  q->avl.bal = 0;                                                     
  modified = true;                                                    
  buf_prev--;                                                         
                                                                      
  while (modified)                                                    
 200c5d4:	82 10 00 03 	mov  %g3, %g1                                  
  {                                                                   
    if (p->avl.cache == -1)                                           
 200c5d8:	c4 48 60 10 	ldsb  [ %g1 + 0x10 ], %g2                      
 200c5dc:	fa 08 60 11 	ldub  [ %g1 + 0x11 ], %i5                      
 200c5e0:	80 a0 bf ff 	cmp  %g2, -1                                   
    {                                                                 
      switch (p->avl.bal)                                             
 200c5e4:	bb 2f 60 18 	sll  %i5, 0x18, %i5                            
  modified = true;                                                    
  buf_prev--;                                                         
                                                                      
  while (modified)                                                    
  {                                                                   
    if (p->avl.cache == -1)                                           
 200c5e8:	12 80 00 23 	bne  200c674 <rtems_bdbuf_get_buffer_from_lru_list+0x2a8>
 200c5ec:	bb 3f 60 18 	sra  %i5, 0x18, %i5                            
    {                                                                 
      switch (p->avl.bal)                                             
 200c5f0:	80 a7 60 00 	cmp  %i5, 0                                    
 200c5f4:	22 80 00 48 	be,a   200c714 <rtems_bdbuf_get_buffer_from_lru_list+0x348>
 200c5f8:	c4 28 60 11 	stb  %g2, [ %g1 + 0x11 ]                       
 200c5fc:	80 a7 60 01 	cmp  %i5, 1                                    
 200c600:	02 80 00 25 	be  200c694 <rtems_bdbuf_get_buffer_from_lru_list+0x2c8>
 200c604:	80 a7 7f ff 	cmp  %i5, -1                                   
 200c608:	32 80 00 44 	bne,a   200c718 <rtems_bdbuf_get_buffer_from_lru_list+0x34c><== NEVER TAKEN
 200c60c:	84 10 20 01 	mov  1, %g2                                    <== NOT EXECUTED
 200c610:	c6 00 60 08 	ld  [ %g1 + 8 ], %g3                           
          p->avl.bal = -1;                                            
          break;                                                      
                                                                      
        case -1:                                                      
          p1 = p->avl.left;                                           
          if (p1->avl.bal == -1) /* simple LL-turn */                 
 200c614:	c4 48 e0 11 	ldsb  [ %g3 + 0x11 ], %g2                      
 200c618:	80 a0 bf ff 	cmp  %g2, -1                                   
 200c61c:	12 80 00 05 	bne  200c630 <rtems_bdbuf_get_buffer_from_lru_list+0x264><== ALWAYS TAKEN
 200c620:	c4 00 e0 0c 	ld  [ %g3 + 0xc ], %g2                         
          {                                                           
            p->avl.left = p1->avl.right;                              
 200c624:	c4 20 60 08 	st  %g2, [ %g1 + 8 ]                           <== NOT EXECUTED
            p1->avl.right = p;                                        
 200c628:	10 80 00 24 	b  200c6b8 <rtems_bdbuf_get_buffer_from_lru_list+0x2ec><== NOT EXECUTED
 200c62c:	c2 20 e0 0c 	st  %g1, [ %g3 + 0xc ]                         <== NOT EXECUTED
            p = p1;                                                   
          }                                                           
          else /* double LR-turn */                                   
          {                                                           
            p2 = p1->avl.right;                                       
            p1->avl.right = p2->avl.left;                             
 200c630:	f4 00 a0 08 	ld  [ %g2 + 8 ], %i2                           
            p2->avl.left = p1;                                        
 200c634:	c6 20 a0 08 	st  %g3, [ %g2 + 8 ]                           
            p = p1;                                                   
          }                                                           
          else /* double LR-turn */                                   
          {                                                           
            p2 = p1->avl.right;                                       
            p1->avl.right = p2->avl.left;                             
 200c638:	f4 20 e0 0c 	st  %i2, [ %g3 + 0xc ]                         
            p2->avl.left = p1;                                        
            p->avl.left = p2->avl.right;                              
 200c63c:	f4 00 a0 0c 	ld  [ %g2 + 0xc ], %i2                         
            p2->avl.right = p;                                        
 200c640:	c2 20 a0 0c 	st  %g1, [ %g2 + 0xc ]                         
          else /* double LR-turn */                                   
          {                                                           
            p2 = p1->avl.right;                                       
            p1->avl.right = p2->avl.left;                             
            p2->avl.left = p1;                                        
            p->avl.left = p2->avl.right;                              
 200c644:	f4 20 60 08 	st  %i2, [ %g1 + 8 ]                           
            p2->avl.right = p;                                        
            if (p2->avl.bal == -1) p->avl.bal = +1; else p->avl.bal = 0;
 200c648:	f4 48 a0 11 	ldsb  [ %g2 + 0x11 ], %i2                      
 200c64c:	b4 38 00 1a 	xnor  %g0, %i2, %i2                            
 200c650:	80 a0 00 1a 	cmp  %g0, %i2                                  
 200c654:	b4 60 3f ff 	subx  %g0, -1, %i2                             
 200c658:	f4 28 60 11 	stb  %i2, [ %g1 + 0x11 ]                       
            if (p2->avl.bal == +1) p1->avl.bal = -1; else p1->avl.bal = 0;
 200c65c:	c2 48 a0 11 	ldsb  [ %g2 + 0x11 ], %g1                      
 200c660:	80 a0 60 01 	cmp  %g1, 1                                    
 200c664:	32 80 00 28 	bne,a   200c704 <rtems_bdbuf_get_buffer_from_lru_list+0x338><== ALWAYS TAKEN
 200c668:	c0 28 e0 11 	clrb  [ %g3 + 0x11 ]                           
 200c66c:	10 80 00 26 	b  200c704 <rtems_bdbuf_get_buffer_from_lru_list+0x338><== NOT EXECUTED
 200c670:	fa 28 e0 11 	stb  %i5, [ %g3 + 0x11 ]                       <== NOT EXECUTED
          break;                                                      
      }                                                               
    }                                                                 
    else                                                              
    {                                                                 
      switch (p->avl.bal)                                             
 200c674:	80 a7 60 00 	cmp  %i5, 0                                    
 200c678:	22 80 00 27 	be,a   200c714 <rtems_bdbuf_get_buffer_from_lru_list+0x348>
 200c67c:	f8 28 60 11 	stb  %i4, [ %g1 + 0x11 ]                       
 200c680:	80 a7 60 01 	cmp  %i5, 1                                    
 200c684:	02 80 00 06 	be  200c69c <rtems_bdbuf_get_buffer_from_lru_list+0x2d0>
 200c688:	80 a7 7f ff 	cmp  %i5, -1                                   
 200c68c:	32 80 00 23 	bne,a   200c718 <rtems_bdbuf_get_buffer_from_lru_list+0x34c><== NEVER TAKEN
 200c690:	84 10 20 01 	mov  1, %g2                                    <== NOT EXECUTED
      {                                                               
        case -1:                                                      
          p->avl.bal = 0;                                             
 200c694:	10 80 00 1e 	b  200c70c <rtems_bdbuf_get_buffer_from_lru_list+0x340>
 200c698:	c0 28 60 11 	clrb  [ %g1 + 0x11 ]                           
        case 0:                                                       
          p->avl.bal = 1;                                             
          break;                                                      
                                                                      
        case 1:                                                       
          p1 = p->avl.right;                                          
 200c69c:	c6 00 60 0c 	ld  [ %g1 + 0xc ], %g3                         
          if (p1->avl.bal == 1) /* simple RR-turn */                  
 200c6a0:	c4 48 e0 11 	ldsb  [ %g3 + 0x11 ], %g2                      
 200c6a4:	80 a0 a0 01 	cmp  %g2, 1                                    
 200c6a8:	12 80 00 07 	bne  200c6c4 <rtems_bdbuf_get_buffer_from_lru_list+0x2f8><== NEVER TAKEN
 200c6ac:	c4 00 e0 08 	ld  [ %g3 + 8 ], %g2                           
          {                                                           
            p->avl.right = p1->avl.left;                              
 200c6b0:	c4 20 60 0c 	st  %g2, [ %g1 + 0xc ]                         
            p1->avl.left = p;                                         
 200c6b4:	c2 20 e0 08 	st  %g1, [ %g3 + 8 ]                           
            p->avl.bal = 0;                                           
 200c6b8:	c0 28 60 11 	clrb  [ %g1 + 0x11 ]                           
 200c6bc:	10 80 00 12 	b  200c704 <rtems_bdbuf_get_buffer_from_lru_list+0x338>
 200c6c0:	84 10 00 03 	mov  %g3, %g2                                  
            p = p1;                                                   
          }                                                           
          else /* double RL-turn */                                   
          {                                                           
            p2 = p1->avl.left;                                        
            p1->avl.left = p2->avl.right;                             
 200c6c4:	fa 00 a0 0c 	ld  [ %g2 + 0xc ], %i5                         <== NOT EXECUTED
            p2->avl.right = p1;                                       
 200c6c8:	c6 20 a0 0c 	st  %g3, [ %g2 + 0xc ]                         <== NOT EXECUTED
            p = p1;                                                   
          }                                                           
          else /* double RL-turn */                                   
          {                                                           
            p2 = p1->avl.left;                                        
            p1->avl.left = p2->avl.right;                             
 200c6cc:	fa 20 e0 08 	st  %i5, [ %g3 + 8 ]                           <== NOT EXECUTED
            p2->avl.right = p1;                                       
            p->avl.right = p2->avl.left;                              
 200c6d0:	fa 00 a0 08 	ld  [ %g2 + 8 ], %i5                           <== NOT EXECUTED
            p2->avl.left = p;                                         
 200c6d4:	c2 20 a0 08 	st  %g1, [ %g2 + 8 ]                           <== NOT EXECUTED
          else /* double RL-turn */                                   
          {                                                           
            p2 = p1->avl.left;                                        
            p1->avl.left = p2->avl.right;                             
            p2->avl.right = p1;                                       
            p->avl.right = p2->avl.left;                              
 200c6d8:	fa 20 60 0c 	st  %i5, [ %g1 + 0xc ]                         <== NOT EXECUTED
            p2->avl.left = p;                                         
            if (p2->avl.bal == +1) p->avl.bal = -1; else p->avl.bal = 0;
 200c6dc:	fa 48 a0 11 	ldsb  [ %g2 + 0x11 ], %i5                      <== NOT EXECUTED
 200c6e0:	ba 1f 60 01 	xor  %i5, 1, %i5                               <== NOT EXECUTED
 200c6e4:	80 a0 00 1d 	cmp  %g0, %i5                                  <== NOT EXECUTED
 200c6e8:	ba 40 3f ff 	addx  %g0, -1, %i5                             <== NOT EXECUTED
 200c6ec:	fa 28 60 11 	stb  %i5, [ %g1 + 0x11 ]                       <== NOT EXECUTED
            if (p2->avl.bal == -1) p1->avl.bal = +1; else p1->avl.bal = 0;
 200c6f0:	c2 48 a0 11 	ldsb  [ %g2 + 0x11 ], %g1                      <== NOT EXECUTED
 200c6f4:	80 a0 7f ff 	cmp  %g1, -1                                   <== NOT EXECUTED
 200c6f8:	32 80 00 03 	bne,a   200c704 <rtems_bdbuf_get_buffer_from_lru_list+0x338><== NOT EXECUTED
 200c6fc:	c0 28 e0 11 	clrb  [ %g3 + 0x11 ]                           <== NOT EXECUTED
 200c700:	f8 28 e0 11 	stb  %i4, [ %g3 + 0x11 ]                       <== NOT EXECUTED
            p = p2;                                                   
          }                                                           
          p->avl.bal = 0;                                             
 200c704:	c0 28 a0 11 	clrb  [ %g2 + 0x11 ]                           
 200c708:	82 10 00 02 	mov  %g2, %g1                                  
          modified = false;                                           
 200c70c:	10 80 00 03 	b  200c718 <rtems_bdbuf_get_buffer_from_lru_list+0x34c>
 200c710:	84 10 20 00 	clr  %g2                                       
          break;                                                      
      }                                                               
    }                                                                 
    else                                                              
    {                                                                 
      switch (p->avl.bal)                                             
 200c714:	84 10 20 01 	mov  1, %g2                                    
        default:                                                      
          break;                                                      
      }                                                               
    }                                                                 
    q = p;                                                            
    if (buf_prev > buf_stack)                                         
 200c718:	80 a1 00 1b 	cmp  %g4, %i3                                  
 200c71c:	28 80 00 09 	bleu,a   200c740 <rtems_bdbuf_get_buffer_from_lru_list+0x374>
 200c720:	05 00 80 62 	sethi  %hi(0x2018800), %g2                     
    {                                                                 
      p = *--buf_prev;                                                
 200c724:	c6 01 3f fc 	ld  [ %g4 + -4 ], %g3                          
                                                                      
      if (p->avl.cache == -1)                                         
 200c728:	fa 48 e0 10 	ldsb  [ %g3 + 0x10 ], %i5                      
 200c72c:	80 a7 7f ff 	cmp  %i5, -1                                   
 200c730:	32 80 00 06 	bne,a   200c748 <rtems_bdbuf_get_buffer_from_lru_list+0x37c>
 200c734:	c2 20 e0 0c 	st  %g1, [ %g3 + 0xc ]                         
      {                                                               
        p->avl.left = q;                                              
 200c738:	10 80 00 04 	b  200c748 <rtems_bdbuf_get_buffer_from_lru_list+0x37c>
 200c73c:	c2 20 e0 08 	st  %g1, [ %g3 + 8 ]                           
        p->avl.right = q;                                             
      }                                                               
    }                                                                 
    else                                                              
    {                                                                 
      *root = p;                                                      
 200c740:	10 80 00 05 	b  200c754 <rtems_bdbuf_get_buffer_from_lru_list+0x388>
 200c744:	c2 20 a0 10 	st  %g1, [ %g2 + 0x10 ]                        
  q->avl.left = q->avl.right = NULL;                                  
  q->avl.bal = 0;                                                     
  modified = true;                                                    
  buf_prev--;                                                         
                                                                      
  while (modified)                                                    
 200c748:	80 88 a0 ff 	btst  0xff, %g2                                
 200c74c:	12 bf ff a2 	bne  200c5d4 <rtems_bdbuf_get_buffer_from_lru_list+0x208>
 200c750:	88 01 3f fc 	add  %g4, -4, %g4                              
}                                                                     
                                                                      
static void                                                           
rtems_bdbuf_set_state (rtems_bdbuf_buffer *bd, rtems_bdbuf_buf_state state)
{                                                                     
  bd->state = state;                                                  
 200c754:	82 10 20 01 	mov  1, %g1                                    
 200c758:	c2 26 20 28 	st  %g1, [ %i0 + 0x28 ]                        
                                                                      
    if (empty_bd != NULL)                                             
    {                                                                 
      rtems_bdbuf_setup_empty_buffer (empty_bd, dev, block);          
                                                                      
      return empty_bd;                                                
 200c75c:	81 c7 e0 08 	ret                                            
 200c760:	81 e8 00 00 	restore                                        
                                      rtems_blkdev_bnum block,        
                                      size_t            bds_per_group)
{                                                                     
  rtems_chain_node *node = rtems_chain_first (&bdbuf_cache.lru);      
                                                                      
  while (!rtems_chain_is_tail (&bdbuf_cache.lru, node))               
 200c764:	80 a4 00 12 	cmp  %l0, %l2                                  
 200c768:	12 bf ff 22 	bne  200c3f0 <rtems_bdbuf_get_buffer_from_lru_list+0x24>
 200c76c:	b0 10 20 00 	clr  %i0                                       
                                                                      
    node = rtems_chain_next (node);                                   
  }                                                                   
                                                                      
  return NULL;                                                        
}                                                                     
 200c770:	81 c7 e0 08 	ret                                            
 200c774:	81 e8 00 00 	restore                                        
  bd->avl.left  = NULL;                                               
  bd->avl.right = NULL;                                               
  bd->waiters   = 0;                                                  
                                                                      
  if (rtems_bdbuf_avl_insert (&bdbuf_cache.tree, bd) != 0)            
    rtems_fatal_error_occurred (RTEMS_BLKDEV_FATAL_BDBUF_RECYCLE);    
 200c778:	7f ff ec 23 	call  2007804 <rtems_fatal_error_occurred>     <== NOT EXECUTED
 200c77c:	90 12 20 1b 	or  %o0, 0x1b, %o0                             <== NOT EXECUTED
                                                                      

0200c988 <rtems_bdbuf_init>: * * @return rtems_status_code The initialisation status. */ rtems_status_code rtems_bdbuf_init (void) {
 200c988:	9d e3 bf a0 	save  %sp, -96, %sp                            
  rtems_mode          prev_mode;                                      
                                                                      
  if (rtems_bdbuf_tracer)                                             
    printf ("bdbuf:init\n");                                          
                                                                      
  if (rtems_interrupt_is_in_progress())                               
 200c98c:	03 00 80 63 	sethi  %hi(0x2018c00), %g1                     
 200c990:	c2 00 61 d8 	ld  [ %g1 + 0x1d8 ], %g1	! 2018dd8 <_Per_CPU_Information+0x8>
 200c994:	80 a0 60 00 	cmp  %g1, 0                                    
 200c998:	12 80 00 16 	bne  200c9f0 <rtems_bdbuf_init+0x68>           <== NEVER TAKEN
 200c99c:	b0 10 20 12 	mov  0x12, %i0                                 
    return RTEMS_CALLED_FROM_ISR;                                     
                                                                      
  /*                                                                  
   * Check the configuration table values.                            
   */                                                                 
  if ((bdbuf_config.buffer_max % bdbuf_config.buffer_min) != 0)       
 200c9a0:	35 00 80 5b 	sethi  %hi(0x2016c00), %i2                     
 200c9a4:	b4 16 a3 b8 	or  %i2, 0x3b8, %i2	! 2016fb8 <rtems_bdbuf_configuration>
 200c9a8:	f2 06 a0 24 	ld  [ %i2 + 0x24 ], %i1                        
 200c9ac:	f6 06 a0 20 	ld  [ %i2 + 0x20 ], %i3                        
 200c9b0:	90 10 00 19 	mov  %i1, %o0                                  
 200c9b4:	92 10 00 1b 	mov  %i3, %o1                                  
 200c9b8:	40 00 21 db 	call  2015124 <.urem>                          
 200c9bc:	b0 10 20 0a 	mov  0xa, %i0                                  
 200c9c0:	80 a2 20 00 	cmp  %o0, 0                                    
 200c9c4:	12 80 00 f0 	bne  200cd84 <rtems_bdbuf_init+0x3fc>          <== NEVER TAKEN
 200c9c8:	01 00 00 00 	nop                                            
  /*                                                                  
   * We use a special variable to manage the initialisation incase we have
   * completing threads doing this. You may get errors if the another thread
   * makes a call and we have not finished initialisation.            
   */                                                                 
  prev_mode = rtems_bdbuf_disable_preemption ();                      
 200c9cc:	7f ff fa 33 	call  200b298 <rtems_bdbuf_disable_preemption> 
 200c9d0:	39 00 80 61 	sethi  %hi(0x2018400), %i4                     
  if (bdbuf_cache.initialised)                                        
 200c9d4:	b8 17 23 d0 	or  %i4, 0x3d0, %i4	! 20187d0 <bdbuf_cache>    
 200c9d8:	c2 0f 20 88 	ldub  [ %i4 + 0x88 ], %g1                      
 200c9dc:	80 a0 60 00 	cmp  %g1, 0                                    
 200c9e0:	02 80 00 06 	be  200c9f8 <rtems_bdbuf_init+0x70>            <== ALWAYS TAKEN
 200c9e4:	ba 10 00 08 	mov  %o0, %i5                                  
  {                                                                   
    rtems_bdbuf_restore_preemption (prev_mode);                       
 200c9e8:	7f ff fa 3a 	call  200b2d0 <rtems_bdbuf_restore_preemption> <== NOT EXECUTED
 200c9ec:	b0 10 20 0c 	mov  0xc, %i0                                  <== NOT EXECUTED
    return RTEMS_RESOURCE_IN_USE;                                     
 200c9f0:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 200c9f4:	81 e8 00 00 	restore                                        <== NOT EXECUTED
  }                                                                   
                                                                      
  memset(&bdbuf_cache, 0, sizeof(bdbuf_cache));                       
 200c9f8:	92 10 20 00 	clr  %o1                                       
 200c9fc:	94 10 20 90 	mov  0x90, %o2                                 
 200ca00:	40 00 16 1e 	call  2012278 <memset>                         
 200ca04:	90 10 00 1c 	mov  %i4, %o0                                  
  bdbuf_cache.initialised = true;                                     
 200ca08:	82 10 20 01 	mov  1, %g1                                    
  rtems_bdbuf_restore_preemption (prev_mode);                         
 200ca0c:	90 10 00 1d 	mov  %i5, %o0                                  
 200ca10:	7f ff fa 30 	call  200b2d0 <rtems_bdbuf_restore_preemption> 
 200ca14:	c2 2f 20 88 	stb  %g1, [ %i4 + 0x88 ]                       
)                                                                     
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
                                                                      
  head->next = tail;                                                  
 200ca18:	82 07 20 0c 	add  %i4, 0xc, %g1                             
 200ca1c:	c2 27 20 08 	st  %g1, [ %i4 + 8 ]                           
  head->previous = NULL;                                              
  tail->previous = head;                                              
 200ca20:	82 07 20 08 	add  %i4, 8, %g1                               
 200ca24:	c2 27 20 10 	st  %g1, [ %i4 + 0x10 ]                        
)                                                                     
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
                                                                      
  head->next = tail;                                                  
 200ca28:	82 07 20 48 	add  %i4, 0x48, %g1                            
 200ca2c:	c2 27 20 44 	st  %g1, [ %i4 + 0x44 ]                        
  head->previous = NULL;                                              
  tail->previous = head;                                              
 200ca30:	82 07 20 44 	add  %i4, 0x44, %g1                            
 200ca34:	c2 27 20 4c 	st  %g1, [ %i4 + 0x4c ]                        
)                                                                     
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
                                                                      
  head->next = tail;                                                  
 200ca38:	82 07 20 54 	add  %i4, 0x54, %g1                            
 200ca3c:	c2 27 20 50 	st  %g1, [ %i4 + 0x50 ]                        
  head->previous = NULL;                                              
  tail->previous = head;                                              
 200ca40:	82 07 20 50 	add  %i4, 0x50, %g1                            
 200ca44:	c2 27 20 58 	st  %g1, [ %i4 + 0x58 ]                        
)                                                                     
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
                                                                      
  head->next = tail;                                                  
 200ca48:	82 07 20 60 	add  %i4, 0x60, %g1                            
   */                                                                 
  cache_aligment = 32; /* FIXME rtems_cache_get_data_line_size() */   
  if (cache_aligment <= 0)                                            
    cache_aligment = CPU_ALIGNMENT;                                   
                                                                      
  bdbuf_cache.sync_device = BDBUF_INVALID_DEV;                        
 200ca4c:	05 3f ff ff 	sethi  %hi(0xfffffc00), %g2                    
 200ca50:	c2 27 20 5c 	st  %g1, [ %i4 + 0x5c ]                        
 200ca54:	84 10 a3 ff 	or  %g2, 0x3ff, %g2                            
  head->previous = NULL;                                              
  tail->previous = head;                                              
 200ca58:	82 07 20 5c 	add  %i4, 0x5c, %g1                            
 200ca5c:	86 10 00 02 	mov  %g2, %g3                                  
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
                                                                      
  head->next = tail;                                                  
  head->previous = NULL;                                              
 200ca60:	c0 27 20 0c 	clr  [ %i4 + 0xc ]                             
 200ca64:	c4 3f 20 38 	std  %g2, [ %i4 + 0x38 ]                       
 200ca68:	c0 27 20 48 	clr  [ %i4 + 0x48 ]                            
 200ca6c:	c0 27 20 54 	clr  [ %i4 + 0x54 ]                            
 200ca70:	c0 27 20 60 	clr  [ %i4 + 0x60 ]                            
  tail->previous = head;                                              
 200ca74:	c2 27 20 64 	st  %g1, [ %i4 + 0x64 ]                        
  rtems_chain_initialize_empty (&bdbuf_cache.sync);                   
                                                                      
  /*                                                                  
   * Create the locks for the cache.                                  
   */                                                                 
  sc = rtems_semaphore_create (rtems_build_name ('B', 'D', 'C', 'l'), 
 200ca78:	3b 10 91 10 	sethi  %hi(0x42444000), %i5                    
 200ca7c:	92 10 20 01 	mov  1, %o1                                    
 200ca80:	90 17 63 6c 	or  %i5, 0x36c, %o0                            
 200ca84:	94 10 20 54 	mov  0x54, %o2                                 
 200ca88:	96 10 20 00 	clr  %o3                                       
 200ca8c:	7f ff e9 2c 	call  2006f3c <rtems_semaphore_create>         
 200ca90:	98 07 20 28 	add  %i4, 0x28, %o4                            
                               1, RTEMS_BDBUF_CACHE_LOCK_ATTRIBS, 0,  
                               &bdbuf_cache.lock);                    
  if (sc != RTEMS_SUCCESSFUL)                                         
 200ca94:	80 a2 20 00 	cmp  %o0, 0                                    
 200ca98:	12 80 00 9b 	bne  200cd04 <rtems_bdbuf_init+0x37c>          <== NEVER TAKEN
 200ca9c:	03 00 80 61 	sethi  %hi(0x2018400), %g1                     
    goto error;                                                       
                                                                      
  rtems_bdbuf_lock_cache ();                                          
 200caa0:	7f ff f9 30 	call  200af60 <rtems_bdbuf_lock_cache>         
 200caa4:	01 00 00 00 	nop                                            
                                                                      
  sc = rtems_semaphore_create (rtems_build_name ('B', 'D', 'C', 's'), 
 200caa8:	90 17 63 73 	or  %i5, 0x373, %o0                            
 200caac:	92 10 20 01 	mov  1, %o1                                    
 200cab0:	94 10 20 54 	mov  0x54, %o2                                 
 200cab4:	96 10 20 00 	clr  %o3                                       
 200cab8:	7f ff e9 21 	call  2006f3c <rtems_semaphore_create>         
 200cabc:	98 07 20 2c 	add  %i4, 0x2c, %o4                            
                               1, RTEMS_BDBUF_CACHE_LOCK_ATTRIBS, 0,  
                               &bdbuf_cache.sync_lock);               
  if (sc != RTEMS_SUCCESSFUL)                                         
 200cac0:	80 a2 20 00 	cmp  %o0, 0                                    
 200cac4:	12 80 00 90 	bne  200cd04 <rtems_bdbuf_init+0x37c>          <== NEVER TAKEN
 200cac8:	03 00 80 61 	sethi  %hi(0x2018400), %g1                     
    goto error;                                                       
                                                                      
  sc = rtems_semaphore_create (rtems_build_name ('B', 'D', 'C', 'a'), 
 200cacc:	90 17 63 61 	or  %i5, 0x361, %o0                            
 200cad0:	92 10 20 00 	clr  %o1                                       
 200cad4:	94 10 20 24 	mov  0x24, %o2                                 
 200cad8:	96 10 20 00 	clr  %o3                                       
 200cadc:	7f ff e9 18 	call  2006f3c <rtems_semaphore_create>         
 200cae0:	98 07 20 6c 	add  %i4, 0x6c, %o4                            
                               0, RTEMS_BDBUF_CACHE_WAITER_ATTRIBS, 0,
                               &bdbuf_cache.access_waiters.sema);     
  if (sc != RTEMS_SUCCESSFUL)                                         
 200cae4:	80 a2 20 00 	cmp  %o0, 0                                    
 200cae8:	12 80 00 87 	bne  200cd04 <rtems_bdbuf_init+0x37c>          <== NEVER TAKEN
 200caec:	03 00 80 61 	sethi  %hi(0x2018400), %g1                     
    goto error;                                                       
                                                                      
  sc = rtems_semaphore_create (rtems_build_name ('B', 'D', 'C', 't'), 
 200caf0:	90 17 63 74 	or  %i5, 0x374, %o0                            
 200caf4:	92 10 20 00 	clr  %o1                                       
 200caf8:	94 10 20 24 	mov  0x24, %o2                                 
 200cafc:	96 10 20 00 	clr  %o3                                       
 200cb00:	7f ff e9 0f 	call  2006f3c <rtems_semaphore_create>         
 200cb04:	98 07 20 74 	add  %i4, 0x74, %o4                            
                               0, RTEMS_BDBUF_CACHE_WAITER_ATTRIBS, 0,
                               &bdbuf_cache.transfer_waiters.sema);   
  if (sc != RTEMS_SUCCESSFUL)                                         
 200cb08:	80 a2 20 00 	cmp  %o0, 0                                    
 200cb0c:	12 80 00 7e 	bne  200cd04 <rtems_bdbuf_init+0x37c>          <== NEVER TAKEN
 200cb10:	03 00 80 61 	sethi  %hi(0x2018400), %g1                     
    goto error;                                                       
                                                                      
  sc = rtems_semaphore_create (rtems_build_name ('B', 'D', 'C', 'b'), 
 200cb14:	90 17 63 62 	or  %i5, 0x362, %o0                            
 200cb18:	92 10 20 00 	clr  %o1                                       
 200cb1c:	94 10 20 24 	mov  0x24, %o2                                 
 200cb20:	96 10 20 00 	clr  %o3                                       
 200cb24:	7f ff e9 06 	call  2006f3c <rtems_semaphore_create>         
 200cb28:	98 07 20 7c 	add  %i4, 0x7c, %o4                            
                               0, RTEMS_BDBUF_CACHE_WAITER_ATTRIBS, 0,
                               &bdbuf_cache.buffer_waiters.sema);     
  if (sc != RTEMS_SUCCESSFUL)                                         
 200cb2c:	80 a2 20 00 	cmp  %o0, 0                                    
 200cb30:	12 80 00 75 	bne  200cd04 <rtems_bdbuf_init+0x37c>          <== NEVER TAKEN
 200cb34:	03 00 80 61 	sethi  %hi(0x2018400), %g1                     
                                                                      
  /*                                                                  
   * Compute the various number of elements in the cache.             
   */                                                                 
  bdbuf_cache.buffer_min_count =                                      
    bdbuf_config.size / bdbuf_config.buffer_min;                      
 200cb38:	d0 06 a0 1c 	ld  [ %i2 + 0x1c ], %o0                        
 200cb3c:	40 00 20 ce 	call  2014e74 <.udiv>                          
 200cb40:	92 10 00 1b 	mov  %i3, %o1                                  
  bdbuf_cache.max_bds_per_group =                                     
    bdbuf_config.buffer_max / bdbuf_config.buffer_min;                
 200cb44:	92 10 00 1b 	mov  %i3, %o1                                  
                                                                      
  /*                                                                  
   * Compute the various number of elements in the cache.             
   */                                                                 
  bdbuf_cache.buffer_min_count =                                      
    bdbuf_config.size / bdbuf_config.buffer_min;                      
 200cb48:	ba 10 00 08 	mov  %o0, %i5                                  
    goto error;                                                       
                                                                      
  /*                                                                  
   * Compute the various number of elements in the cache.             
   */                                                                 
  bdbuf_cache.buffer_min_count =                                      
 200cb4c:	d0 27 20 1c 	st  %o0, [ %i4 + 0x1c ]                        
    bdbuf_config.size / bdbuf_config.buffer_min;                      
  bdbuf_cache.max_bds_per_group =                                     
    bdbuf_config.buffer_max / bdbuf_config.buffer_min;                
 200cb50:	40 00 20 c9 	call  2014e74 <.udiv>                          
 200cb54:	90 10 00 19 	mov  %i1, %o0                                  
 200cb58:	92 10 00 08 	mov  %o0, %o1                                  
  /*                                                                  
   * Compute the various number of elements in the cache.             
   */                                                                 
  bdbuf_cache.buffer_min_count =                                      
    bdbuf_config.size / bdbuf_config.buffer_min;                      
  bdbuf_cache.max_bds_per_group =                                     
 200cb5c:	d0 27 20 20 	st  %o0, [ %i4 + 0x20 ]                        
    bdbuf_config.buffer_max / bdbuf_config.buffer_min;                
  bdbuf_cache.group_count =                                           
    bdbuf_cache.buffer_min_count / bdbuf_cache.max_bds_per_group;     
 200cb60:	40 00 20 c5 	call  2014e74 <.udiv>                          
 200cb64:	90 10 00 1d 	mov  %i5, %o0                                  
                                                                      
  /*                                                                  
   * Allocate the memory for the buffer descriptors.                  
   */                                                                 
  bdbuf_cache.bds = calloc (sizeof (rtems_bdbuf_buffer),              
 200cb68:	92 10 00 1d 	mov  %i5, %o1                                  
   */                                                                 
  bdbuf_cache.buffer_min_count =                                      
    bdbuf_config.size / bdbuf_config.buffer_min;                      
  bdbuf_cache.max_bds_per_group =                                     
    bdbuf_config.buffer_max / bdbuf_config.buffer_min;                
  bdbuf_cache.group_count =                                           
 200cb6c:	d0 27 20 80 	st  %o0, [ %i4 + 0x80 ]                        
    bdbuf_cache.buffer_min_count / bdbuf_cache.max_bds_per_group;     
 200cb70:	b4 10 00 08 	mov  %o0, %i2                                  
                                                                      
  /*                                                                  
   * Allocate the memory for the buffer descriptors.                  
   */                                                                 
  bdbuf_cache.bds = calloc (sizeof (rtems_bdbuf_buffer),              
 200cb74:	7f ff db 0c 	call  20037a4 <calloc>                         
 200cb78:	90 10 20 40 	mov  0x40, %o0                                 
                            bdbuf_cache.buffer_min_count);            
  if (!bdbuf_cache.bds)                                               
 200cb7c:	80 a2 20 00 	cmp  %o0, 0                                    
 200cb80:	02 80 00 60 	be  200cd00 <rtems_bdbuf_init+0x378>           <== NEVER TAKEN
 200cb84:	d0 27 20 14 	st  %o0, [ %i4 + 0x14 ]                        
    goto error;                                                       
                                                                      
  /*                                                                  
   * Allocate the memory for the buffer descriptors.                  
   */                                                                 
  bdbuf_cache.groups = calloc (sizeof (rtems_bdbuf_group),            
 200cb88:	90 10 20 14 	mov  0x14, %o0                                 
 200cb8c:	7f ff db 06 	call  20037a4 <calloc>                         
 200cb90:	92 10 00 1a 	mov  %i2, %o1                                  
                               bdbuf_cache.group_count);              
  if (!bdbuf_cache.groups)                                            
 200cb94:	80 a2 20 00 	cmp  %o0, 0                                    
 200cb98:	02 80 00 5a 	be  200cd00 <rtems_bdbuf_init+0x378>           <== NEVER TAKEN
 200cb9c:	d0 27 20 84 	st  %o0, [ %i4 + 0x84 ]                        
   *                                                                  
   * The memory allocate allows a                                     
   */                                                                 
  if (rtems_memalign ((void **) &bdbuf_cache.buffers,                 
                      cache_aligment,                                 
                      bdbuf_cache.buffer_min_count * bdbuf_config.buffer_min) != 0)
 200cba0:	92 10 00 1b 	mov  %i3, %o1                                  
 200cba4:	40 00 20 7a 	call  2014d8c <.umul>                          
 200cba8:	90 10 00 1d 	mov  %i5, %o0                                  
   * aligned. It is possible to free the memory allocated by rtems_memalign()
   * with free(). Return 0 if allocated.                              
   *                                                                  
   * The memory allocate allows a                                     
   */                                                                 
  if (rtems_memalign ((void **) &bdbuf_cache.buffers,                 
 200cbac:	92 10 20 20 	mov  0x20, %o1                                 
                      cache_aligment,                                 
                      bdbuf_cache.buffer_min_count * bdbuf_config.buffer_min) != 0)
 200cbb0:	94 10 00 08 	mov  %o0, %o2                                  
   * aligned. It is possible to free the memory allocated by rtems_memalign()
   * with free(). Return 0 if allocated.                              
   *                                                                  
   * The memory allocate allows a                                     
   */                                                                 
  if (rtems_memalign ((void **) &bdbuf_cache.buffers,                 
 200cbb4:	11 00 80 61 	sethi  %hi(0x2018400), %o0                     
 200cbb8:	40 00 08 b8 	call  200ee98 <rtems_memalign>                 
 200cbbc:	90 12 23 e8 	or  %o0, 0x3e8, %o0	! 20187e8 <bdbuf_cache+0x18>
 200cbc0:	80 a2 20 00 	cmp  %o0, 0                                    
 200cbc4:	12 80 00 50 	bne  200cd04 <rtems_bdbuf_init+0x37c>          <== NEVER TAKEN
 200cbc8:	03 00 80 61 	sethi  %hi(0x2018400), %g1                     
                                                                      
  /*                                                                  
   * The cache is empty after opening so we need to add all the buffers to it
   * and initialise the groups.                                       
   */                                                                 
  for (b = 0, group = bdbuf_cache.groups,                             
 200cbcc:	35 00 80 61 	sethi  %hi(0x2018400), %i2                     
         bd = bdbuf_cache.bds, buffer = bdbuf_cache.buffers;          
       b < bdbuf_cache.buffer_min_count;                              
       b++, bd++, buffer += bdbuf_config.buffer_min)                  
  {                                                                   
    bd->dev    = BDBUF_INVALID_DEV;                                   
 200cbd0:	39 3f ff ff 	sethi  %hi(0xfffffc00), %i4                    
                                                                      
  /*                                                                  
   * The cache is empty after opening so we need to add all the buffers to it
   * and initialise the groups.                                       
   */                                                                 
  for (b = 0, group = bdbuf_cache.groups,                             
 200cbd4:	b4 16 a3 d0 	or  %i2, 0x3d0, %i2                            
         bd = bdbuf_cache.bds, buffer = bdbuf_cache.buffers;          
       b < bdbuf_cache.buffer_min_count;                              
       b++, bd++, buffer += bdbuf_config.buffer_min)                  
  {                                                                   
    bd->dev    = BDBUF_INVALID_DEV;                                   
 200cbd8:	b8 17 23 ff 	or  %i4, 0x3ff, %i4                            
                                                                      
  /*                                                                  
   * The cache is empty after opening so we need to add all the buffers to it
   * and initialise the groups.                                       
   */                                                                 
  for (b = 0, group = bdbuf_cache.groups,                             
 200cbdc:	e2 06 a0 84 	ld  [ %i2 + 0x84 ], %l1                        
         bd = bdbuf_cache.bds, buffer = bdbuf_cache.buffers;          
 200cbe0:	f2 06 a0 14 	ld  [ %i2 + 0x14 ], %i1                        
 200cbe4:	e0 06 a0 18 	ld  [ %i2 + 0x18 ], %l0                        
                                                                      
  /*                                                                  
   * The cache is empty after opening so we need to add all the buffers to it
   * and initialise the groups.                                       
   */                                                                 
  for (b = 0, group = bdbuf_cache.groups,                             
 200cbe8:	b0 10 20 00 	clr  %i0                                       
         bd = bdbuf_cache.bds, buffer = bdbuf_cache.buffers;          
       b < bdbuf_cache.buffer_min_count;                              
       b++, bd++, buffer += bdbuf_config.buffer_min)                  
  {                                                                   
    bd->dev    = BDBUF_INVALID_DEV;                                   
 200cbec:	ba 10 00 1c 	mov  %i4, %i5                                  
                                                                      
  /*                                                                  
   * The cache is empty after opening so we need to add all the buffers to it
   * and initialise the groups.                                       
   */                                                                 
  for (b = 0, group = bdbuf_cache.groups,                             
 200cbf0:	10 80 00 12 	b  200cc38 <rtems_bdbuf_init+0x2b0>            
 200cbf4:	a6 06 a0 44 	add  %i2, 0x44, %l3                            
RTEMS_INLINE_ROUTINE void rtems_chain_append(                         
  rtems_chain_control *the_chain,                                     
  rtems_chain_node    *the_node                                       
)                                                                     
{                                                                     
  _Chain_Append( the_chain, the_node );                               
 200cbf8:	92 10 00 19 	mov  %i1, %o1                                  
         bd = bdbuf_cache.bds, buffer = bdbuf_cache.buffers;          
       b < bdbuf_cache.buffer_min_count;                              
       b++, bd++, buffer += bdbuf_config.buffer_min)                  
  {                                                                   
    bd->dev    = BDBUF_INVALID_DEV;                                   
 200cbfc:	f8 3e 60 18 	std  %i4, [ %i1 + 0x18 ]                       
    bd->group  = group;                                               
 200cc00:	e2 26 60 30 	st  %l1, [ %i1 + 0x30 ]                        
 200cc04:	7f ff ec 3c 	call  2007cf4 <_Chain_Append>                  
 200cc08:	e0 26 60 24 	st  %l0, [ %i1 + 0x24 ]                        
    bd->buffer = buffer;                                              
                                                                      
    rtems_chain_append (&bdbuf_cache.lru, &bd->link);                 
                                                                      
    if ((b % bdbuf_cache.max_bds_per_group) ==                        
 200cc0c:	e4 06 a0 20 	ld  [ %i2 + 0x20 ], %l2                        
 200cc10:	90 10 00 18 	mov  %i0, %o0                                  
 200cc14:	92 10 00 12 	mov  %l2, %o1                                  
 200cc18:	40 00 21 43 	call  2015124 <.urem>                          
 200cc1c:	a4 04 bf ff 	add  %l2, -1, %l2                              
 200cc20:	80 a2 00 12 	cmp  %o0, %l2                                  
 200cc24:	22 80 00 02 	be,a   200cc2c <rtems_bdbuf_init+0x2a4>        
 200cc28:	a2 04 60 14 	add  %l1, 0x14, %l1                            
   * and initialise the groups.                                       
   */                                                                 
  for (b = 0, group = bdbuf_cache.groups,                             
         bd = bdbuf_cache.bds, buffer = bdbuf_cache.buffers;          
       b < bdbuf_cache.buffer_min_count;                              
       b++, bd++, buffer += bdbuf_config.buffer_min)                  
 200cc2c:	b0 06 20 01 	inc  %i0                                       
 200cc30:	b2 06 60 40 	add  %i1, 0x40, %i1                            
 200cc34:	a0 04 00 1b 	add  %l0, %i3, %l0                             
                                                                      
  /*                                                                  
   * The cache is empty after opening so we need to add all the buffers to it
   * and initialise the groups.                                       
   */                                                                 
  for (b = 0, group = bdbuf_cache.groups,                             
 200cc38:	c2 06 a0 1c 	ld  [ %i2 + 0x1c ], %g1                        
 200cc3c:	80 a6 00 01 	cmp  %i0, %g1                                  
 200cc40:	0a bf ff ee 	bcs  200cbf8 <rtems_bdbuf_init+0x270>          
 200cc44:	90 10 00 13 	mov  %l3, %o0                                  
       b < bdbuf_cache.group_count;                                   
       b++,                                                           
         group++,                                                     
         bd += bdbuf_cache.max_bds_per_group)                         
  {                                                                   
    group->bds_per_group = bdbuf_cache.max_bds_per_group;             
 200cc48:	c8 06 a0 20 	ld  [ %i2 + 0x20 ], %g4                        
        (bdbuf_cache.max_bds_per_group - 1))                          
      group++;                                                        
  }                                                                   
                                                                      
  for (b = 0,                                                         
         group = bdbuf_cache.groups,                                  
 200cc4c:	c2 06 a0 84 	ld  [ %i2 + 0x84 ], %g1                        
         bd = bdbuf_cache.bds;                                        
 200cc50:	c6 06 a0 14 	ld  [ %i2 + 0x14 ], %g3                        
       b < bdbuf_cache.group_count;                                   
 200cc54:	f8 06 a0 80 	ld  [ %i2 + 0x80 ], %i4                        
       b++,                                                           
         group++,                                                     
         bd += bdbuf_cache.max_bds_per_group)                         
 200cc58:	bb 29 20 06 	sll  %g4, 6, %i5                               
    if ((b % bdbuf_cache.max_bds_per_group) ==                        
        (bdbuf_cache.max_bds_per_group - 1))                          
      group++;                                                        
  }                                                                   
                                                                      
  for (b = 0,                                                         
 200cc5c:	10 80 00 06 	b  200cc74 <rtems_bdbuf_init+0x2ec>            
 200cc60:	84 10 20 00 	clr  %g2                                       
       b < bdbuf_cache.group_count;                                   
       b++,                                                           
         group++,                                                     
         bd += bdbuf_cache.max_bds_per_group)                         
  {                                                                   
    group->bds_per_group = bdbuf_cache.max_bds_per_group;             
 200cc64:	c8 20 60 08 	st  %g4, [ %g1 + 8 ]                           
                                                                      
  for (b = 0,                                                         
         group = bdbuf_cache.groups,                                  
         bd = bdbuf_cache.bds;                                        
       b < bdbuf_cache.group_count;                                   
       b++,                                                           
 200cc68:	84 00 a0 01 	inc  %g2                                       
         group++,                                                     
 200cc6c:	82 00 60 14 	add  %g1, 0x14, %g1                            
         bd += bdbuf_cache.max_bds_per_group)                         
 200cc70:	86 00 c0 1d 	add  %g3, %i5, %g3                             
    if ((b % bdbuf_cache.max_bds_per_group) ==                        
        (bdbuf_cache.max_bds_per_group - 1))                          
      group++;                                                        
  }                                                                   
                                                                      
  for (b = 0,                                                         
 200cc74:	80 a0 80 1c 	cmp  %g2, %i4                                  
 200cc78:	32 bf ff fb 	bne,a   200cc64 <rtems_bdbuf_init+0x2dc>       
 200cc7c:	c6 20 60 10 	st  %g3, [ %g1 + 0x10 ]                        
                                                                      
  /*                                                                  
   * Create and start swapout task. This task will create and manage the worker
   * threads.                                                         
   */                                                                 
  bdbuf_cache.swapout_enabled = true;                                 
 200cc80:	03 00 80 61 	sethi  %hi(0x2018400), %g1                     
 200cc84:	82 10 63 d0 	or  %g1, 0x3d0, %g1	! 20187d0 <bdbuf_cache>    
 200cc88:	84 10 20 01 	mov  1, %g2                                    
 200cc8c:	c4 28 60 04 	stb  %g2, [ %g1 + 4 ]                          
                                                                      
  sc = rtems_task_create (rtems_build_name('B', 'S', 'W', 'P'),       
                          bdbuf_config.swapout_priority ?             
 200cc90:	03 00 80 5b 	sethi  %hi(0x2016c00), %g1                     
 200cc94:	d2 00 63 c0 	ld  [ %g1 + 0x3c0 ], %o1	! 2016fc0 <rtems_bdbuf_configuration+0x8>
   * Create and start swapout task. This task will create and manage the worker
   * threads.                                                         
   */                                                                 
  bdbuf_cache.swapout_enabled = true;                                 
                                                                      
  sc = rtems_task_create (rtems_build_name('B', 'S', 'W', 'P'),       
 200cc98:	80 a2 60 00 	cmp  %o1, 0                                    
 200cc9c:	22 80 00 02 	be,a   200cca4 <rtems_bdbuf_init+0x31c>        <== NEVER TAKEN
 200cca0:	92 10 20 0f 	mov  0xf, %o1                                  <== NOT EXECUTED
 200cca4:	11 10 94 d5 	sethi  %hi(0x42535400), %o0                    
 200cca8:	15 00 00 08 	sethi  %hi(0x2000), %o2                        
 200ccac:	90 12 23 50 	or  %o0, 0x350, %o0                            
 200ccb0:	96 10 24 00 	mov  0x400, %o3                                
 200ccb4:	98 10 20 00 	clr  %o4                                       
 200ccb8:	39 00 80 61 	sethi  %hi(0x2018400), %i4                     
 200ccbc:	7f ff e9 b1 	call  2007380 <rtems_task_create>              
 200ccc0:	9a 17 23 d0 	or  %i4, 0x3d0, %o5	! 20187d0 <bdbuf_cache>    
                            RTEMS_BDBUF_SWAPOUT_TASK_PRIORITY_DEFAULT,
                          SWAPOUT_TASK_STACK_SIZE,                    
                          RTEMS_PREEMPT | RTEMS_NO_TIMESLICE | RTEMS_NO_ASR,
                          RTEMS_LOCAL | RTEMS_NO_FLOATING_POINT,      
                          &bdbuf_cache.swapout);                      
  if (sc != RTEMS_SUCCESSFUL)                                         
 200ccc4:	80 a2 20 00 	cmp  %o0, 0                                    
 200ccc8:	12 80 00 0f 	bne  200cd04 <rtems_bdbuf_init+0x37c>          <== NEVER TAKEN
 200cccc:	03 00 80 61 	sethi  %hi(0x2018400), %g1                     
    goto error;                                                       
                                                                      
  sc = rtems_task_start (bdbuf_cache.swapout,                         
 200ccd0:	d0 07 23 d0 	ld  [ %i4 + 0x3d0 ], %o0                       
 200ccd4:	13 00 80 2f 	sethi  %hi(0x200bc00), %o1                     
 200ccd8:	94 17 23 d0 	or  %i4, 0x3d0, %o2                            
 200ccdc:	7f ff ea 36 	call  20075b4 <rtems_task_start>               
 200cce0:	92 12 63 cc 	or  %o1, 0x3cc, %o1                            
                         rtems_bdbuf_swapout_task,                    
                         (rtems_task_argument) &bdbuf_cache);         
  if (sc != RTEMS_SUCCESSFUL)                                         
 200cce4:	80 a2 20 00 	cmp  %o0, 0                                    
 200cce8:	12 80 00 07 	bne  200cd04 <rtems_bdbuf_init+0x37c>          <== NEVER TAKEN
 200ccec:	03 00 80 61 	sethi  %hi(0x2018400), %g1                     
    goto error;                                                       
                                                                      
  rtems_bdbuf_unlock_cache ();                                        
 200ccf0:	7f ff f9 26 	call  200b188 <rtems_bdbuf_unlock_cache>       
 200ccf4:	b0 10 20 00 	clr  %i0                                       
                                                                      
  return RTEMS_SUCCESSFUL;                                            
 200ccf8:	81 c7 e0 08 	ret                                            
 200ccfc:	81 e8 00 00 	restore                                        
                                                                      
error:                                                                
                                                                      
  if (bdbuf_cache.swapout != 0)                                       
 200cd00:	03 00 80 61 	sethi  %hi(0x2018400), %g1                     <== NOT EXECUTED
 200cd04:	d0 00 63 d0 	ld  [ %g1 + 0x3d0 ], %o0	! 20187d0 <bdbuf_cache><== NOT EXECUTED
 200cd08:	80 a2 20 00 	cmp  %o0, 0                                    <== NOT EXECUTED
 200cd0c:	02 80 00 04 	be  200cd1c <rtems_bdbuf_init+0x394>           <== NOT EXECUTED
 200cd10:	3b 00 80 61 	sethi  %hi(0x2018400), %i5                     <== NOT EXECUTED
    rtems_task_delete (bdbuf_cache.swapout);                          
 200cd14:	7f ff e9 e6 	call  20074ac <rtems_task_delete>              <== NOT EXECUTED
 200cd18:	01 00 00 00 	nop                                            <== NOT EXECUTED
                                                                      
  free (bdbuf_cache.buffers);                                         
 200cd1c:	ba 17 63 d0 	or  %i5, 0x3d0, %i5                            <== NOT EXECUTED
 200cd20:	7f ff db 0b 	call  200394c <free>                           <== NOT EXECUTED
 200cd24:	d0 07 60 18 	ld  [ %i5 + 0x18 ], %o0                        <== NOT EXECUTED
  free (bdbuf_cache.groups);                                          
 200cd28:	7f ff db 09 	call  200394c <free>                           <== NOT EXECUTED
 200cd2c:	d0 07 60 84 	ld  [ %i5 + 0x84 ], %o0                        <== NOT EXECUTED
  free (bdbuf_cache.bds);                                             
 200cd30:	7f ff db 07 	call  200394c <free>                           <== NOT EXECUTED
 200cd34:	d0 07 60 14 	ld  [ %i5 + 0x14 ], %o0                        <== NOT EXECUTED
                                                                      
  rtems_semaphore_delete (bdbuf_cache.buffer_waiters.sema);           
 200cd38:	7f ff e8 ec 	call  20070e8 <rtems_semaphore_delete>         <== NOT EXECUTED
 200cd3c:	d0 07 60 7c 	ld  [ %i5 + 0x7c ], %o0                        <== NOT EXECUTED
  rtems_semaphore_delete (bdbuf_cache.access_waiters.sema);           
 200cd40:	7f ff e8 ea 	call  20070e8 <rtems_semaphore_delete>         <== NOT EXECUTED
 200cd44:	d0 07 60 6c 	ld  [ %i5 + 0x6c ], %o0                        <== NOT EXECUTED
  rtems_semaphore_delete (bdbuf_cache.transfer_waiters.sema);         
 200cd48:	7f ff e8 e8 	call  20070e8 <rtems_semaphore_delete>         <== NOT EXECUTED
 200cd4c:	d0 07 60 74 	ld  [ %i5 + 0x74 ], %o0                        <== NOT EXECUTED
  rtems_semaphore_delete (bdbuf_cache.sync_lock);                     
 200cd50:	7f ff e8 e6 	call  20070e8 <rtems_semaphore_delete>         <== NOT EXECUTED
 200cd54:	d0 07 60 2c 	ld  [ %i5 + 0x2c ], %o0                        <== NOT EXECUTED
                                                                      
  if (bdbuf_cache.lock != 0)                                          
 200cd58:	c2 07 60 28 	ld  [ %i5 + 0x28 ], %g1                        <== NOT EXECUTED
 200cd5c:	80 a0 60 00 	cmp  %g1, 0                                    <== NOT EXECUTED
 200cd60:	02 80 00 07 	be  200cd7c <rtems_bdbuf_init+0x3f4>           <== NOT EXECUTED
 200cd64:	03 00 80 62 	sethi  %hi(0x2018800), %g1                     <== NOT EXECUTED
  {                                                                   
    rtems_bdbuf_unlock_cache ();                                      
 200cd68:	7f ff f9 08 	call  200b188 <rtems_bdbuf_unlock_cache>       <== NOT EXECUTED
 200cd6c:	01 00 00 00 	nop                                            <== NOT EXECUTED
    rtems_semaphore_delete (bdbuf_cache.lock);                        
 200cd70:	7f ff e8 de 	call  20070e8 <rtems_semaphore_delete>         <== NOT EXECUTED
 200cd74:	d0 07 60 28 	ld  [ %i5 + 0x28 ], %o0                        <== NOT EXECUTED
  }                                                                   
                                                                      
  bdbuf_cache.initialised = false;                                    
 200cd78:	03 00 80 62 	sethi  %hi(0x2018800), %g1                     <== NOT EXECUTED
                                                                      
  return RTEMS_UNSATISFIED;                                           
 200cd7c:	b0 10 20 0d 	mov  0xd, %i0                                  <== NOT EXECUTED
  {                                                                   
    rtems_bdbuf_unlock_cache ();                                      
    rtems_semaphore_delete (bdbuf_cache.lock);                        
  }                                                                   
                                                                      
  bdbuf_cache.initialised = false;                                    
 200cd80:	c0 28 60 58 	clrb  [ %g1 + 0x58 ]                           <== NOT EXECUTED
                                                                      
  return RTEMS_UNSATISFIED;                                           
}                                                                     
 200cd84:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 200cd88:	81 e8 00 00 	restore                                        <== NOT EXECUTED
                                                                      

0200af60 <rtems_bdbuf_lock_cache>: /** * Lock the cache. A single task can nest calls. */ static void rtems_bdbuf_lock_cache (void) {
 200af60:	9d e3 bf a0 	save  %sp, -96, %sp                            
 * @param fatal_error_code The error code if the call fails.          
 */                                                                   
static void                                                           
rtems_bdbuf_lock (rtems_id lock, uint32_t fatal_error_code)           
{                                                                     
  rtems_status_code sc = rtems_semaphore_obtain (lock,                
 200af64:	03 00 80 61 	sethi  %hi(0x2018400), %g1                     
 200af68:	d0 00 63 f8 	ld  [ %g1 + 0x3f8 ], %o0	! 20187f8 <bdbuf_cache+0x28>
 200af6c:	92 10 20 00 	clr  %o1                                       
 200af70:	7f ff f0 8d 	call  20071a4 <rtems_semaphore_obtain>         
 200af74:	94 10 20 00 	clr  %o2                                       
                                                 RTEMS_WAIT,          
                                                 RTEMS_NO_TIMEOUT);   
  if (sc != RTEMS_SUCCESSFUL)                                         
 200af78:	80 a2 20 00 	cmp  %o0, 0                                    
 200af7c:	02 80 00 04 	be  200af8c <rtems_bdbuf_lock_cache+0x2c>      <== ALWAYS TAKEN
 200af80:	11 10 80 00 	sethi  %hi(0x42000000), %o0                    
    rtems_fatal_error_occurred (fatal_error_code);                    
 200af84:	7f ff f2 20 	call  2007804 <rtems_fatal_error_occurred>     <== NOT EXECUTED
 200af88:	90 12 20 0d 	or  %o0, 0xd, %o0	! 4200000d <RAM_END+0x3fc0000d><== NOT EXECUTED
 200af8c:	81 c7 e0 08 	ret                                            
 200af90:	81 e8 00 00 	restore                                        
                                                                      

0200af94 <rtems_bdbuf_lock_sync>: /** * Lock the cache's sync. A single task can nest calls. */ static void rtems_bdbuf_lock_sync (void) {
 200af94:	9d e3 bf a0 	save  %sp, -96, %sp                            
 * @param fatal_error_code The error code if the call fails.          
 */                                                                   
static void                                                           
rtems_bdbuf_lock (rtems_id lock, uint32_t fatal_error_code)           
{                                                                     
  rtems_status_code sc = rtems_semaphore_obtain (lock,                
 200af98:	03 00 80 61 	sethi  %hi(0x2018400), %g1                     
 200af9c:	d0 00 63 fc 	ld  [ %g1 + 0x3fc ], %o0	! 20187fc <bdbuf_cache+0x2c>
 200afa0:	92 10 20 00 	clr  %o1                                       
 200afa4:	7f ff f0 80 	call  20071a4 <rtems_semaphore_obtain>         
 200afa8:	94 10 20 00 	clr  %o2                                       
                                                 RTEMS_WAIT,          
                                                 RTEMS_NO_TIMEOUT);   
  if (sc != RTEMS_SUCCESSFUL)                                         
 200afac:	80 a2 20 00 	cmp  %o0, 0                                    
 200afb0:	02 80 00 04 	be  200afc0 <rtems_bdbuf_lock_sync+0x2c>       <== ALWAYS TAKEN
 200afb4:	11 10 80 00 	sethi  %hi(0x42000000), %o0                    
    rtems_fatal_error_occurred (fatal_error_code);                    
 200afb8:	7f ff f2 13 	call  2007804 <rtems_fatal_error_occurred>     <== NOT EXECUTED
 200afbc:	90 12 20 0b 	or  %o0, 0xb, %o0	! 4200000b <RAM_END+0x3fc0000b><== NOT EXECUTED
 200afc0:	81 c7 e0 08 	ret                                            
 200afc4:	81 e8 00 00 	restore                                        
                                                                      

0200b5c8 <rtems_bdbuf_obtain_disk.part.7>: return bd; } static rtems_status_code rtems_bdbuf_obtain_disk (dev_t dev,
 200b5c8:	9d e3 bf a0 	save  %sp, -96, %sp                            
    return RTEMS_NOT_CONFIGURED;                                      
                                                                      
  /*                                                                  
   * Do not hold the cache lock when obtaining the disk table.        
   */                                                                 
  dd = rtems_disk_obtain (dev);                                       
 200b5cc:	90 10 00 18 	mov  %i0, %o0                                  
 200b5d0:	92 10 00 19 	mov  %i1, %o1                                  
 200b5d4:	7f ff dd e5 	call  2002d68 <rtems_disk_obtain>              
 200b5d8:	b0 10 20 04 	mov  4, %i0                                    
  if (dd == NULL)                                                     
 200b5dc:	80 a2 20 00 	cmp  %o0, 0                                    
 200b5e0:	02 80 00 2f 	be  200b69c <rtems_bdbuf_obtain_disk.part.7+0xd4><== NEVER TAKEN
 200b5e4:	b2 10 00 08 	mov  %o0, %i1                                  
    return RTEMS_INVALID_ID;                                          
                                                                      
  *dd_ptr = dd;                                                       
                                                                      
  if (media_block_ptr != NULL)                                        
 200b5e8:	80 a7 20 00 	cmp  %i4, 0                                    
 200b5ec:	02 80 00 11 	be  200b630 <rtems_bdbuf_obtain_disk.part.7+0x68>
 200b5f0:	d0 26 c0 00 	st  %o0, [ %i3 ]                               
rtems_bdbuf_media_block (rtems_blkdev_bnum block,                     
                         size_t            block_size,                
                         size_t            media_block_size)          
{                                                                     
  return (rtems_blkdev_bnum)                                          
    ((((uint64_t) block) * block_size) / media_block_size);           
 200b5f4:	d6 06 60 20 	ld  [ %i1 + 0x20 ], %o3                        
 200b5f8:	94 10 20 00 	clr  %o2                                       
 200b5fc:	90 10 20 00 	clr  %o0                                       
 200b600:	40 00 27 75 	call  20153d4 <__muldi3>                       
 200b604:	92 10 00 1a 	mov  %i2, %o1                                  
 200b608:	d6 06 60 24 	ld  [ %i1 + 0x24 ], %o3                        
 200b60c:	40 00 29 7e 	call  2015c04 <__udivdi3>                      
 200b610:	94 10 20 00 	clr  %o2                                       
     * the user.                                                      
     */                                                               
    rtems_blkdev_bnum mb = rtems_bdbuf_media_block (block,            
                                                    dd->block_size,   
                                                    dd->media_block_size);
    if (mb >= dd->size)                                               
 200b614:	c2 06 60 1c 	ld  [ %i1 + 0x1c ], %g1                        
 200b618:	80 a2 40 01 	cmp  %o1, %g1                                  
 200b61c:	1a 80 00 1e 	bcc  200b694 <rtems_bdbuf_obtain_disk.part.7+0xcc><== NEVER TAKEN
 200b620:	90 10 00 19 	mov  %i1, %o0                                  
    {                                                                 
      rtems_disk_release(dd);                                         
      return RTEMS_INVALID_NUMBER;                                    
    }                                                                 
                                                                      
    *media_block_ptr = mb + dd->start;                                
 200b624:	c2 06 60 18 	ld  [ %i1 + 0x18 ], %g1                        
 200b628:	92 02 40 01 	add  %o1, %g1, %o1                             
 200b62c:	d2 27 00 00 	st  %o1, [ %i4 ]                               
  }                                                                   
                                                                      
  if (bds_per_group_ptr != NULL)                                      
 200b630:	80 a7 60 00 	cmp  %i5, 0                                    
 200b634:	02 80 00 1a 	be  200b69c <rtems_bdbuf_obtain_disk.part.7+0xd4>
 200b638:	b0 10 20 00 	clr  %i0                                       
  {                                                                   
    size_t bds_per_group = rtems_bdbuf_bds_per_group (dd->block_size);
 200b63c:	d0 06 60 20 	ld  [ %i1 + 0x20 ], %o0                        
rtems_bdbuf_bds_per_group (size_t size)                               
{                                                                     
  size_t bufs_per_size;                                               
  size_t bds_per_size;                                                
                                                                      
  if (size > bdbuf_config.buffer_max)                                 
 200b640:	03 00 80 5b 	sethi  %hi(0x2016c00), %g1                     
 200b644:	82 10 63 b8 	or  %g1, 0x3b8, %g1	! 2016fb8 <rtems_bdbuf_configuration>
 200b648:	c4 00 60 24 	ld  [ %g1 + 0x24 ], %g2                        
 200b64c:	80 a2 00 02 	cmp  %o0, %g2                                  
 200b650:	38 80 00 11 	bgu,a   200b694 <rtems_bdbuf_obtain_disk.part.7+0xcc><== NEVER TAKEN
 200b654:	90 10 00 19 	mov  %i1, %o0                                  <== NOT EXECUTED
    return 0;                                                         
                                                                      
  bufs_per_size = ((size - 1) / bdbuf_config.buffer_min) + 1;         
 200b658:	d2 00 60 20 	ld  [ %g1 + 0x20 ], %o1                        
 200b65c:	40 00 26 06 	call  2014e74 <.udiv>                          
 200b660:	90 02 3f ff 	add  %o0, -1, %o0                              
                                                                      
  for (bds_per_size = 1;                                              
 200b664:	92 10 20 01 	mov  1, %o1                                    
 200b668:	90 02 20 01 	inc  %o0                                       
 200b66c:	80 a2 40 08 	cmp  %o1, %o0                                  
 200b670:	2a bf ff ff 	bcs,a   200b66c <rtems_bdbuf_obtain_disk.part.7+0xa4>
 200b674:	93 2a 60 01 	sll  %o1, 1, %o1                               
       bds_per_size < bufs_per_size;                                  
       bds_per_size <<= 1)                                            
    ;                                                                 
                                                                      
  return bdbuf_cache.max_bds_per_group / bds_per_size;                
 200b678:	03 00 80 61 	sethi  %hi(0x2018400), %g1                     
 200b67c:	40 00 25 fe 	call  2014e74 <.udiv>                          
 200b680:	d0 00 63 f0 	ld  [ %g1 + 0x3f0 ], %o0	! 20187f0 <bdbuf_cache+0x20>
                                                                      
  if (bds_per_group_ptr != NULL)                                      
  {                                                                   
    size_t bds_per_group = rtems_bdbuf_bds_per_group (dd->block_size);
                                                                      
    if (bds_per_group == 0)                                           
 200b684:	80 a2 20 00 	cmp  %o0, 0                                    
 200b688:	32 80 00 07 	bne,a   200b6a4 <rtems_bdbuf_obtain_disk.part.7+0xdc><== ALWAYS TAKEN
 200b68c:	d0 27 40 00 	st  %o0, [ %i5 ]                               
    {                                                                 
      rtems_disk_release (dd);                                        
 200b690:	90 10 00 19 	mov  %i1, %o0                                  <== NOT EXECUTED
 200b694:	7f ff dd d4 	call  2002de4 <rtems_disk_release>             <== NOT EXECUTED
 200b698:	b0 10 20 0a 	mov  0xa, %i0                                  <== NOT EXECUTED
 200b69c:	81 c7 e0 08 	ret                                            
 200b6a0:	81 e8 00 00 	restore                                        
    }                                                                 
                                                                      
    *bds_per_group_ptr = bds_per_group;                               
  }                                                                   
                                                                      
  return RTEMS_SUCCESSFUL;                                            
 200b6a4:	b0 10 20 00 	clr  %i0                                       
}                                                                     
 200b6a8:	81 c7 e0 08 	ret                                            
 200b6ac:	81 e8 00 00 	restore                                        
                                                                      

0200baf0 <rtems_bdbuf_purge>: } } static void rtems_bdbuf_purge (rtems_bdbuf_purge_compare compare, dev_t dev) {
 200baf0:	9d e3 bf 10 	save  %sp, -240, %sp                           
)                                                                     
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
                                                                      
  head->next = tail;                                                  
 200baf4:	82 07 bf f8 	add  %fp, -8, %g1                              
 200baf8:	b8 10 00 19 	mov  %i1, %i4                                  
 200bafc:	ba 10 00 1a 	mov  %i2, %i5                                  
 200bb00:	a0 07 bf f4 	add  %fp, -12, %l0                             
 200bb04:	c2 27 bf f4 	st  %g1, [ %fp + -12 ]                         
  head->previous = NULL;                                              
 200bb08:	c0 27 bf f8 	clr  [ %fp + -8 ]                              
  tail->previous = head;                                              
 200bb0c:	e0 27 bf fc 	st  %l0, [ %fp + -4 ]                          
  rtems_chain_control purge_list;                                     
                                                                      
  rtems_chain_initialize_empty (&purge_list);                         
  rtems_bdbuf_lock_cache ();                                          
 200bb10:	7f ff fd 14 	call  200af60 <rtems_bdbuf_lock_cache>         
 200bb14:	33 00 80 61 	sethi  %hi(0x2018400), %i1                     
                              rtems_bdbuf_purge_compare compare,      
                              dev_t dev)                              
{                                                                     
  rtems_bdbuf_buffer *stack [RTEMS_BDBUF_AVL_MAX_HEIGHT];             
  rtems_bdbuf_buffer **prev = stack;                                  
  rtems_bdbuf_buffer *cur = bdbuf_cache.tree;                         
 200bb18:	b2 16 63 d0 	or  %i1, 0x3d0, %i1	! 20187d0 <bdbuf_cache>    
                                                                      
  *prev = NULL;                                                       
 200bb1c:	c0 27 bf 74 	clr  [ %fp + -140 ]                            
                              rtems_bdbuf_purge_compare compare,      
                              dev_t dev)                              
{                                                                     
  rtems_bdbuf_buffer *stack [RTEMS_BDBUF_AVL_MAX_HEIGHT];             
  rtems_bdbuf_buffer **prev = stack;                                  
  rtems_bdbuf_buffer *cur = bdbuf_cache.tree;                         
 200bb20:	f6 06 60 40 	ld  [ %i1 + 0x40 ], %i3                        
rtems_bdbuf_gather_for_purge (rtems_chain_control *purge_list,        
                              rtems_bdbuf_purge_compare compare,      
                              dev_t dev)                              
{                                                                     
  rtems_bdbuf_buffer *stack [RTEMS_BDBUF_AVL_MAX_HEIGHT];             
  rtems_bdbuf_buffer **prev = stack;                                  
 200bb24:	b4 07 bf 74 	add  %fp, -140, %i2                            
                                                                      
  while (cur != NULL)                                                 
  {                                                                   
    if ((*compare) (cur->dev, dev))                                   
    {                                                                 
      switch (cur->state)                                             
 200bb28:	27 00 80 2b 	sethi  %hi(0x200ac00), %l3                     
}                                                                     
                                                                      
static void                                                           
rtems_bdbuf_set_state (rtems_bdbuf_buffer *bd, rtems_bdbuf_buf_state state)
{                                                                     
  bd->state = state;                                                  
 200bb2c:	a4 10 20 06 	mov  6, %l2                                    
 200bb30:	a2 10 20 0a 	mov  0xa, %l1                                  
        case RTEMS_BDBUF_STATE_EMPTY:                                 
        case RTEMS_BDBUF_STATE_ACCESS_PURGED:                         
        case RTEMS_BDBUF_STATE_TRANSFER_PURGED:                       
          break;                                                      
        case RTEMS_BDBUF_STATE_SYNC:                                  
          rtems_bdbuf_wake (&bdbuf_cache.transfer_waiters);           
 200bb34:	10 80 00 3d 	b  200bc28 <rtems_bdbuf_purge+0x138>           
 200bb38:	b2 06 60 70 	add  %i1, 0x70, %i1                            
                                                                      
  *prev = NULL;                                                       
                                                                      
  while (cur != NULL)                                                 
  {                                                                   
    if ((*compare) (cur->dev, dev))                                   
 200bb3c:	94 10 00 1c 	mov  %i4, %o2                                  
 200bb40:	9f c6 00 00 	call  %i0                                      
 200bb44:	96 10 00 1d 	mov  %i5, %o3                                  
 200bb48:	80 8a 20 ff 	btst  0xff, %o0                                
 200bb4c:	22 80 00 21 	be,a   200bbd0 <rtems_bdbuf_purge+0xe0>        <== NEVER TAKEN
 200bb50:	c2 06 e0 08 	ld  [ %i3 + 8 ], %g1                           <== NOT EXECUTED
    {                                                                 
      switch (cur->state)                                             
 200bb54:	c2 06 e0 28 	ld  [ %i3 + 0x28 ], %g1                        
 200bb58:	80 a0 60 0a 	cmp  %g1, 0xa                                  
 200bb5c:	38 80 00 1a 	bgu,a   200bbc4 <rtems_bdbuf_purge+0xd4>       <== NEVER TAKEN
 200bb60:	11 10 80 00 	sethi  %hi(0x42000000), %o0                    <== NOT EXECUTED
 200bb64:	84 14 e2 b0 	or  %l3, 0x2b0, %g2                            
 200bb68:	83 28 60 02 	sll  %g1, 2, %g1                               
 200bb6c:	c2 00 80 01 	ld  [ %g2 + %g1 ], %g1                         
 200bb70:	81 c0 40 00 	jmp  %g1                                       
 200bb74:	01 00 00 00 	nop                                            
        case RTEMS_BDBUF_STATE_EMPTY:                                 
        case RTEMS_BDBUF_STATE_ACCESS_PURGED:                         
        case RTEMS_BDBUF_STATE_TRANSFER_PURGED:                       
          break;                                                      
        case RTEMS_BDBUF_STATE_SYNC:                                  
          rtems_bdbuf_wake (&bdbuf_cache.transfer_waiters);           
 200bb78:	7f ff fe 4e 	call  200b4b0 <rtems_bdbuf_wake>               
 200bb7c:	90 10 00 19 	mov  %i1, %o0                                  
}                                                                     
                                                                      
static void                                                           
rtems_bdbuf_group_release (rtems_bdbuf_buffer *bd)                    
{                                                                     
  --bd->group->users;                                                 
 200bb80:	c2 06 e0 30 	ld  [ %i3 + 0x30 ], %g1                        
 200bb84:	c4 00 60 0c 	ld  [ %g1 + 0xc ], %g2                         
 200bb88:	84 00 bf ff 	add  %g2, -1, %g2                              
 200bb8c:	c4 20 60 0c 	st  %g2, [ %g1 + 0xc ]                         
 200bb90:	7f ff f0 64 	call  2007d20 <_Chain_Extract>                 
 200bb94:	90 10 00 1b 	mov  %i3, %o0                                  
RTEMS_INLINE_ROUTINE void rtems_chain_append(                         
  rtems_chain_control *the_chain,                                     
  rtems_chain_node    *the_node                                       
)                                                                     
{                                                                     
  _Chain_Append( the_chain, the_node );                               
 200bb98:	90 10 00 10 	mov  %l0, %o0                                  
 200bb9c:	7f ff f0 56 	call  2007cf4 <_Chain_Append>                  
 200bba0:	92 10 00 1b 	mov  %i3, %o1                                  
        default:                                                      
          rtems_fatal_error_occurred (RTEMS_BLKDEV_FATAL_BDBUF_STATE_11);
      }                                                               
    }                                                                 
                                                                      
    if (cur->avl.left != NULL)                                        
 200bba4:	10 80 00 0b 	b  200bbd0 <rtems_bdbuf_purge+0xe0>            
 200bba8:	c2 06 e0 08 	ld  [ %i3 + 8 ], %g1                           
}                                                                     
                                                                      
static void                                                           
rtems_bdbuf_set_state (rtems_bdbuf_buffer *bd, rtems_bdbuf_buf_state state)
{                                                                     
  bd->state = state;                                                  
 200bbac:	e2 26 e0 28 	st  %l1, [ %i3 + 0x28 ]                        
        default:                                                      
          rtems_fatal_error_occurred (RTEMS_BLKDEV_FATAL_BDBUF_STATE_11);
      }                                                               
    }                                                                 
                                                                      
    if (cur->avl.left != NULL)                                        
 200bbb0:	10 80 00 08 	b  200bbd0 <rtems_bdbuf_purge+0xe0>            
 200bbb4:	c2 06 e0 08 	ld  [ %i3 + 8 ], %g1                           
}                                                                     
                                                                      
static void                                                           
rtems_bdbuf_set_state (rtems_bdbuf_buffer *bd, rtems_bdbuf_buf_state state)
{                                                                     
  bd->state = state;                                                  
 200bbb8:	e4 26 e0 28 	st  %l2, [ %i3 + 0x28 ]                        
        default:                                                      
          rtems_fatal_error_occurred (RTEMS_BLKDEV_FATAL_BDBUF_STATE_11);
      }                                                               
    }                                                                 
                                                                      
    if (cur->avl.left != NULL)                                        
 200bbbc:	10 80 00 05 	b  200bbd0 <rtems_bdbuf_purge+0xe0>            
 200bbc0:	c2 06 e0 08 	ld  [ %i3 + 8 ], %g1                           
        case RTEMS_BDBUF_STATE_ACCESS_EMPTY:                          
        case RTEMS_BDBUF_STATE_ACCESS_MODIFIED:                       
          rtems_bdbuf_set_state (cur, RTEMS_BDBUF_STATE_ACCESS_PURGED);
          break;                                                      
        default:                                                      
          rtems_fatal_error_occurred (RTEMS_BLKDEV_FATAL_BDBUF_STATE_11);
 200bbc4:	7f ff ef 10 	call  2007804 <rtems_fatal_error_occurred>     <== NOT EXECUTED
 200bbc8:	90 12 20 01 	or  %o0, 1, %o0                                <== NOT EXECUTED
      }                                                               
    }                                                                 
                                                                      
    if (cur->avl.left != NULL)                                        
 200bbcc:	c2 06 e0 08 	ld  [ %i3 + 8 ], %g1                           <== NOT EXECUTED
 200bbd0:	80 a0 60 00 	cmp  %g1, 0                                    
 200bbd4:	32 80 00 07 	bne,a   200bbf0 <rtems_bdbuf_purge+0x100>      <== NEVER TAKEN
 200bbd8:	f6 26 a0 04 	st  %i3, [ %i2 + 4 ]                           <== NOT EXECUTED
      /* Left */                                                      
      ++prev;                                                         
      *prev = cur;                                                    
      cur = cur->avl.left;                                            
    }                                                                 
    else if (cur->avl.right != NULL)                                  
 200bbdc:	c2 06 e0 0c 	ld  [ %i3 + 0xc ], %g1                         
 200bbe0:	80 a0 60 00 	cmp  %g1, 0                                    
 200bbe4:	22 80 00 07 	be,a   200bc00 <rtems_bdbuf_purge+0x110>       <== ALWAYS TAKEN
 200bbe8:	c2 06 80 00 	ld  [ %i2 ], %g1                               
    {                                                                 
      /* Right */                                                     
      ++prev;                                                         
      *prev = cur;                                                    
 200bbec:	f6 26 a0 04 	st  %i3, [ %i2 + 4 ]                           <== NOT EXECUTED
      cur = cur->avl.left;                                            
    }                                                                 
    else if (cur->avl.right != NULL)                                  
    {                                                                 
      /* Right */                                                     
      ++prev;                                                         
 200bbf0:	10 80 00 0d 	b  200bc24 <rtems_bdbuf_purge+0x134>           <== NOT EXECUTED
 200bbf4:	b4 06 a0 04 	add  %i2, 4, %i2                               <== NOT EXECUTED
    {                                                                 
      while (*prev != NULL && cur == (*prev)->avl.right)              
      {                                                               
        /* Up */                                                      
        cur = *prev;                                                  
        --prev;                                                       
 200bbf8:	b6 10 00 01 	mov  %g1, %i3                                  <== NOT EXECUTED
      *prev = cur;                                                    
      cur = cur->avl.right;                                           
    }                                                                 
    else                                                              
    {                                                                 
      while (*prev != NULL && cur == (*prev)->avl.right)              
 200bbfc:	c2 06 80 00 	ld  [ %i2 ], %g1                               <== NOT EXECUTED
 200bc00:	80 a0 60 00 	cmp  %g1, 0                                    
 200bc04:	22 80 00 09 	be,a   200bc28 <rtems_bdbuf_purge+0x138>       <== ALWAYS TAKEN
 200bc08:	b6 10 00 01 	mov  %g1, %i3                                  
 200bc0c:	c4 00 60 0c 	ld  [ %g1 + 0xc ], %g2                         <== NOT EXECUTED
 200bc10:	80 a6 c0 02 	cmp  %i3, %g2                                  <== NOT EXECUTED
 200bc14:	22 bf ff f9 	be,a   200bbf8 <rtems_bdbuf_purge+0x108>       <== NOT EXECUTED
 200bc18:	b4 06 bf fc 	add  %i2, -4, %i2                              <== NOT EXECUTED
        cur = *prev;                                                  
        --prev;                                                       
      }                                                               
      if (*prev != NULL)                                              
        /* Right */                                                   
        cur = (*prev)->avl.right;                                     
 200bc1c:	10 80 00 27 	b  200bcb8 <rtems_bdbuf_purge+0x1c8>           <== NOT EXECUTED
 200bc20:	82 10 00 02 	mov  %g2, %g1                                  <== NOT EXECUTED
    }                                                                 
                                                                      
    if (cur->avl.left != NULL)                                        
    {                                                                 
      /* Left */                                                      
      ++prev;                                                         
 200bc24:	b6 10 00 01 	mov  %g1, %i3                                  <== NOT EXECUTED
  rtems_bdbuf_buffer **prev = stack;                                  
  rtems_bdbuf_buffer *cur = bdbuf_cache.tree;                         
                                                                      
  *prev = NULL;                                                       
                                                                      
  while (cur != NULL)                                                 
 200bc28:	80 a6 e0 00 	cmp  %i3, 0                                    
 200bc2c:	32 bf ff c4 	bne,a   200bb3c <rtems_bdbuf_purge+0x4c>       
 200bc30:	d0 1e e0 18 	ldd  [ %i3 + 0x18 ], %o0                       
RTEMS_INLINE_ROUTINE void _Chain_Prepend(                             
  Chain_Control *the_chain,                                           
  Chain_Node    *the_node                                             
)                                                                     
{                                                                     
  _Chain_Insert(_Chain_Head(the_chain), the_node);                    
 200bc34:	37 00 80 62 	sethi  %hi(0x2018800), %i3                     
 200bc38:	b8 10 20 00 	clr  %i4                                       
}                                                                     
                                                                      
static void                                                           
rtems_bdbuf_set_state (rtems_bdbuf_buffer *bd, rtems_bdbuf_buf_state state)
{                                                                     
  bd->state = state;                                                  
 200bc3c:	b4 10 20 01 	mov  1, %i2                                    
 200bc40:	10 80 00 11 	b  200bc84 <rtems_bdbuf_purge+0x194>           
 200bc44:	b6 16 e0 14 	or  %i3, 0x14, %i3                             
                                                                      
  while ((node = rtems_chain_get (purge_list)) != NULL)               
  {                                                                   
    rtems_bdbuf_buffer *bd = (rtems_bdbuf_buffer *) node;             
                                                                      
    if (bd->waiters == 0)                                             
 200bc48:	c2 06 60 2c 	ld  [ %i1 + 0x2c ], %g1                        
 200bc4c:	80 a0 60 00 	cmp  %g1, 0                                    
 200bc50:	22 80 00 02 	be,a   200bc58 <rtems_bdbuf_purge+0x168>       
 200bc54:	b8 10 20 01 	mov  1, %i4                                    
}                                                                     
                                                                      
static void                                                           
rtems_bdbuf_set_state (rtems_bdbuf_buffer *bd, rtems_bdbuf_buf_state state)
{                                                                     
  bd->state = state;                                                  
 200bc58:	f4 26 60 28 	st  %i2, [ %i1 + 0x28 ]                        
static void                                                           
rtems_bdbuf_discard_buffer (rtems_bdbuf_buffer *bd)                   
{                                                                     
  rtems_bdbuf_make_empty (bd);                                        
                                                                      
  if (bd->waiters == 0)                                               
 200bc5c:	c2 06 60 2c 	ld  [ %i1 + 0x2c ], %g1                        
 200bc60:	80 a0 60 00 	cmp  %g1, 0                                    
 200bc64:	12 80 00 08 	bne  200bc84 <rtems_bdbuf_purge+0x194>         
 200bc68:	01 00 00 00 	nop                                            
  {                                                                   
    rtems_bdbuf_remove_from_tree (bd);                                
 200bc6c:	7f ff fe 91 	call  200b6b0 <rtems_bdbuf_remove_from_tree>   
 200bc70:	90 10 00 19 	mov  %i1, %o0                                  
 200bc74:	90 10 00 1b 	mov  %i3, %o0                                  
}                                                                     
                                                                      
static void                                                           
rtems_bdbuf_set_state (rtems_bdbuf_buffer *bd, rtems_bdbuf_buf_state state)
{                                                                     
  bd->state = state;                                                  
 200bc78:	c0 26 60 28 	clr  [ %i1 + 0x28 ]                            
 200bc7c:	40 00 0e 83 	call  200f688 <_Chain_Insert>                  
 200bc80:	92 10 00 19 	mov  %i1, %o1                                  
 */                                                                   
RTEMS_INLINE_ROUTINE rtems_chain_node *rtems_chain_get(               
  rtems_chain_control *the_chain                                      
)                                                                     
{                                                                     
  return _Chain_Get( the_chain );                                     
 200bc84:	7f ff f0 30 	call  2007d44 <_Chain_Get>                     
 200bc88:	90 07 bf f4 	add  %fp, -12, %o0                             
rtems_bdbuf_purge_list (rtems_chain_control *purge_list)              
{                                                                     
  bool wake_buffer_waiters = false;                                   
  rtems_chain_node *node = NULL;                                      
                                                                      
  while ((node = rtems_chain_get (purge_list)) != NULL)               
 200bc8c:	b2 92 20 00 	orcc  %o0, 0, %i1                              
 200bc90:	12 bf ff ee 	bne  200bc48 <rtems_bdbuf_purge+0x158>         
 200bc94:	80 8f 20 ff 	btst  0xff, %i4                                
      wake_buffer_waiters = true;                                     
                                                                      
    rtems_bdbuf_discard_buffer (bd);                                  
  }                                                                   
                                                                      
  if (wake_buffer_waiters)                                            
 200bc98:	02 80 00 04 	be  200bca8 <rtems_bdbuf_purge+0x1b8>          
 200bc9c:	11 00 80 62 	sethi  %hi(0x2018800), %o0                     
    rtems_bdbuf_wake (&bdbuf_cache.buffer_waiters);                   
 200bca0:	7f ff fe 04 	call  200b4b0 <rtems_bdbuf_wake>               
 200bca4:	90 12 20 48 	or  %o0, 0x48, %o0	! 2018848 <bdbuf_cache+0x78>
                                                                      
  rtems_chain_initialize_empty (&purge_list);                         
  rtems_bdbuf_lock_cache ();                                          
  rtems_bdbuf_gather_for_purge (&purge_list, compare, dev);           
  rtems_bdbuf_purge_list (&purge_list);                               
  rtems_bdbuf_unlock_cache ();                                        
 200bca8:	7f ff fd 38 	call  200b188 <rtems_bdbuf_unlock_cache>       
 200bcac:	01 00 00 00 	nop                                            
}                                                                     
 200bcb0:	81 c7 e0 08 	ret                                            
 200bcb4:	81 e8 00 00 	restore                                        
    }                                                                 
                                                                      
    if (cur->avl.left != NULL)                                        
    {                                                                 
      /* Left */                                                      
      ++prev;                                                         
 200bcb8:	10 bf ff dc 	b  200bc28 <rtems_bdbuf_purge+0x138>           <== NOT EXECUTED
 200bcbc:	b6 10 00 01 	mov  %g1, %i3                                  <== NOT EXECUTED
                                                                      

0200af50 <rtems_bdbuf_purge_compare_major>: } static bool rtems_bdbuf_purge_compare_major (dev_t a, dev_t b) { return rtems_filesystem_dev_major_t (a) == rtems_filesystem_dev_major_t (b);
 200af50:	94 1a 00 0a 	xor  %o0, %o2, %o2                             <== NOT EXECUTED
}                                                                     
 200af54:	80 a0 00 0a 	cmp  %g0, %o2                                  <== NOT EXECUTED
 200af58:	81 c3 e0 08 	retl                                           <== NOT EXECUTED
 200af5c:	90 60 3f ff 	subx  %g0, -1, %o0                             <== NOT EXECUTED
                                                                      

0200d490 <rtems_bdbuf_purge_major>: return rtems_filesystem_dev_major_t (a) == rtems_filesystem_dev_major_t (b); } void rtems_bdbuf_purge_major (rtems_device_major_number major) {
 200d490:	92 10 00 08 	mov  %o0, %o1                                  <== NOT EXECUTED
  dev_t dev = rtems_filesystem_make_dev_t (major, 0);                 
                                                                      
  rtems_bdbuf_purge (rtems_bdbuf_purge_compare_major, dev);           
 200d494:	94 10 20 00 	clr  %o2                                       <== NOT EXECUTED
 200d498:	11 00 80 2b 	sethi  %hi(0x200ac00), %o0                     <== NOT EXECUTED
 200d49c:	90 12 23 50 	or  %o0, 0x350, %o0	! 200af50 <rtems_bdbuf_purge_compare_major><== NOT EXECUTED
 200d4a0:	82 13 c0 00 	mov  %o7, %g1                                  <== NOT EXECUTED
 200d4a4:	7f ff f9 93 	call  200baf0 <rtems_bdbuf_purge>              <== NOT EXECUTED
 200d4a8:	9e 10 40 00 	mov  %g1, %o7                                  <== NOT EXECUTED
                                                                      

0200ce60 <rtems_bdbuf_read>: rtems_status_code rtems_bdbuf_read (dev_t dev, rtems_blkdev_bnum block, rtems_bdbuf_buffer **bd_ptr) {
 200ce60:	9d e3 bf 90 	save  %sp, -112, %sp                           
                         rtems_blkdev_bnum  *media_block_ptr,         
                         size_t             *bds_per_group_ptr)       
{                                                                     
  rtems_disk_device *dd = NULL;                                       
                                                                      
  if (!bdbuf_cache.initialised)                                       
 200ce64:	03 00 80 62 	sethi  %hi(0x2018800), %g1                     
 200ce68:	c2 08 60 58 	ldub  [ %g1 + 0x58 ], %g1	! 2018858 <bdbuf_cache+0x88>
rtems_bdbuf_read (dev_t                dev,                           
                  rtems_blkdev_bnum    block,                         
                  rtems_bdbuf_buffer **bd_ptr)                        
{                                                                     
  rtems_status_code     sc = RTEMS_SUCCESSFUL;                        
  rtems_disk_device    *dd = NULL;                                    
 200ce6c:	c0 27 bf f4 	clr  [ %fp + -12 ]                             
  rtems_blkdev_request *req = NULL;                                   
  rtems_bdbuf_buffer   *bd = NULL;                                    
  rtems_blkdev_bnum     media_block = 0;                              
 200ce70:	c0 27 bf f8 	clr  [ %fp + -8 ]                              
  size_t                bds_per_group = 0;                            
 200ce74:	c0 27 bf fc 	clr  [ %fp + -4 ]                              
                                                                      
rtems_status_code                                                     
rtems_bdbuf_read (dev_t                dev,                           
                  rtems_blkdev_bnum    block,                         
                  rtems_bdbuf_buffer **bd_ptr)                        
{                                                                     
 200ce78:	84 10 00 18 	mov  %i0, %g2                                  
                         rtems_blkdev_bnum  *media_block_ptr,         
                         size_t             *bds_per_group_ptr)       
{                                                                     
  rtems_disk_device *dd = NULL;                                       
                                                                      
  if (!bdbuf_cache.initialised)                                       
 200ce7c:	80 a0 60 00 	cmp  %g1, 0                                    
 200ce80:	02 80 00 90 	be  200d0c0 <rtems_bdbuf_read+0x260>           <== NEVER TAKEN
 200ce84:	b0 10 20 16 	mov  0x16, %i0                                 
 200ce88:	90 10 00 02 	mov  %g2, %o0                                  
 200ce8c:	92 10 00 19 	mov  %i1, %o1                                  
 200ce90:	94 10 00 1a 	mov  %i2, %o2                                  
 200ce94:	96 07 bf f4 	add  %fp, -12, %o3                             
 200ce98:	98 07 bf f8 	add  %fp, -8, %o4                              
 200ce9c:	7f ff f9 cb 	call  200b5c8 <rtems_bdbuf_obtain_disk.part.7> 
 200cea0:	9a 07 bf fc 	add  %fp, -4, %o5                              
  rtems_bdbuf_buffer   *bd = NULL;                                    
  rtems_blkdev_bnum     media_block = 0;                              
  size_t                bds_per_group = 0;                            
                                                                      
  sc = rtems_bdbuf_obtain_disk (dev, block, &dd, &media_block, &bds_per_group);
  if (sc != RTEMS_SUCCESSFUL)                                         
 200cea4:	b0 92 20 00 	orcc  %o0, 0, %i0                              
 200cea8:	12 80 00 86 	bne  200d0c0 <rtems_bdbuf_read+0x260>          <== NEVER TAKEN
 200ceac:	03 00 80 5b 	sethi  %hi(0x2016c00), %g1                     
  /*                                                                  
   * TODO: This type of request structure is wrong and should be removed.
   */                                                                 
#define bdbuf_alloc(size) __builtin_alloca (size)                     
                                                                      
  req = bdbuf_alloc (sizeof (rtems_blkdev_request) +                  
 200ceb0:	f2 00 63 b8 	ld  [ %g1 + 0x3b8 ], %i1	! 2016fb8 <rtems_bdbuf_configuration>
 200ceb4:	b2 06 60 01 	inc  %i1                                       
 200ceb8:	83 2e 60 04 	sll  %i1, 4, %g1                               
 200cebc:	82 00 60 20 	add  %g1, 0x20, %g1                            
                                                                      
  if (rtems_bdbuf_tracer)                                             
    printf ("bdbuf:read: %" PRIu32 " (%" PRIu32 ") (dev = %08x)\n",   
            media_block + dd->start, block, (unsigned) dev);          
                                                                      
  rtems_bdbuf_lock_cache ();                                          
 200cec0:	7f ff f8 28 	call  200af60 <rtems_bdbuf_lock_cache>         
 200cec4:	9c 23 80 01 	sub  %sp, %g1, %sp                             
  rtems_bdbuf_create_read_request (dd, media_block, bds_per_group, req, &bd);
 200cec8:	f8 07 bf f4 	ld  [ %fp + -12 ], %i4                         
 200cecc:	f4 07 bf f8 	ld  [ %fp + -8 ], %i2                          
                                 rtems_blkdev_request    *req,        
                                 rtems_bdbuf_buffer     **bd_ptr)     
{                                                                     
  rtems_bdbuf_buffer *bd = NULL;                                      
  rtems_blkdev_bnum   media_block_end = dd->start + dd->size;         
  rtems_blkdev_bnum   media_block_count = dd->block_size / dd->media_block_size;
 200ced0:	e2 07 20 20 	ld  [ %i4 + 0x20 ], %l1                        
 200ced4:	d2 07 20 24 	ld  [ %i4 + 0x24 ], %o1                        
 200ced8:	40 00 1f e7 	call  2014e74 <.udiv>                          
 200cedc:	90 10 00 11 	mov  %l1, %o0                                  
                                 size_t                   bds_per_group,
                                 rtems_blkdev_request    *req,        
                                 rtems_bdbuf_buffer     **bd_ptr)     
{                                                                     
  rtems_bdbuf_buffer *bd = NULL;                                      
  rtems_blkdev_bnum   media_block_end = dd->start + dd->size;         
 200cee0:	c2 07 20 18 	ld  [ %i4 + 0x18 ], %g1                        
 200cee4:	e0 07 20 1c 	ld  [ %i4 + 0x1c ], %l0                        
  /*                                                                  
   * TODO: This type of request structure is wrong and should be removed.
   */                                                                 
#define bdbuf_alloc(size) __builtin_alloca (size)                     
                                                                      
  req = bdbuf_alloc (sizeof (rtems_blkdev_request) +                  
 200cee8:	ba 03 a0 60 	add  %sp, 0x60, %i5                            
                                 size_t                   bds_per_group,
                                 rtems_blkdev_request    *req,        
                                 rtems_bdbuf_buffer     **bd_ptr)     
{                                                                     
  rtems_bdbuf_buffer *bd = NULL;                                      
  rtems_blkdev_bnum   media_block_end = dd->start + dd->size;         
 200ceec:	a0 04 00 01 	add  %l0, %g1, %l0                             
  if (rtems_bdbuf_tracer)                                             
    printf ("bdbuf:read: %" PRIu32 " (%" PRIu32 ") (dev = %08x)\n",   
            media_block + dd->start, block, (unsigned) dev);          
                                                                      
  rtems_bdbuf_lock_cache ();                                          
  rtems_bdbuf_create_read_request (dd, media_block, bds_per_group, req, &bd);
 200cef0:	e4 07 bf fc 	ld  [ %fp + -4 ], %l2                          
  dev_t               dev = dd->dev;                                  
  uint32_t            block_size = dd->block_size;                    
  uint32_t            transfer_index = 1;                             
  uint32_t            transfer_count = bdbuf_config.max_read_ahead_blocks + 1;
                                                                      
  if (media_block_end - media_block < transfer_count)                 
 200cef4:	a0 24 00 1a 	sub  %l0, %i2, %l0                             
                                 rtems_blkdev_request    *req,        
                                 rtems_bdbuf_buffer     **bd_ptr)     
{                                                                     
  rtems_bdbuf_buffer *bd = NULL;                                      
  rtems_blkdev_bnum   media_block_end = dd->start + dd->size;         
  rtems_blkdev_bnum   media_block_count = dd->block_size / dd->media_block_size;
 200cef8:	aa 10 00 08 	mov  %o0, %l5                                  
  dev_t               dev = dd->dev;                                  
 200cefc:	80 a4 00 19 	cmp  %l0, %i1                                  
 200cf00:	08 80 00 03 	bleu  200cf0c <rtems_bdbuf_read+0xac>          
 200cf04:	ec 1f 00 00 	ldd  [ %i4 ], %l6                              
 200cf08:	a0 10 00 19 	mov  %i1, %l0                                  
                                                                      
  if (media_block_end - media_block < transfer_count)                 
    transfer_count = media_block_end - media_block;                   
                                                                      
  req->req = RTEMS_BLKDEV_REQ_READ;                                   
  req->req_done = rtems_bdbuf_transfer_done;                          
 200cf0c:	03 00 80 2c 	sethi  %hi(0x200b000), %g1                     
 200cf10:	82 10 62 38 	or  %g1, 0x238, %g1	! 200b238 <rtems_bdbuf_transfer_done>
  uint32_t            transfer_count = bdbuf_config.max_read_ahead_blocks + 1;
                                                                      
  if (media_block_end - media_block < transfer_count)                 
    transfer_count = media_block_end - media_block;                   
                                                                      
  req->req = RTEMS_BLKDEV_REQ_READ;                                   
 200cf14:	c0 27 40 00 	clr  [ %i5 ]                                   
  req->req_done = rtems_bdbuf_transfer_done;                          
 200cf18:	c2 27 60 04 	st  %g1, [ %i5 + 4 ]                           
  req->done_arg = req;                                                
  req->io_task = rtems_task_self ();                                  
 200cf1c:	40 00 09 11 	call  200f360 <rtems_task_self>                
 200cf20:	fa 27 60 08 	st  %i5, [ %i5 + 8 ]                           
  req->status = RTEMS_RESOURCE_IN_USE;                                
 200cf24:	82 10 20 0c 	mov  0xc, %g1                                  
    transfer_count = media_block_end - media_block;                   
                                                                      
  req->req = RTEMS_BLKDEV_REQ_READ;                                   
  req->req_done = rtems_bdbuf_transfer_done;                          
  req->done_arg = req;                                                
  req->io_task = rtems_task_self ();                                  
 200cf28:	d0 27 60 14 	st  %o0, [ %i5 + 0x14 ]                        
  req->status = RTEMS_RESOURCE_IN_USE;                                
 200cf2c:	c2 27 60 0c 	st  %g1, [ %i5 + 0xc ]                         
  req->bufnum = 0;                                                    
 200cf30:	c0 27 60 10 	clr  [ %i5 + 0x10 ]                            
                                                                      
  bd = rtems_bdbuf_get_buffer_for_access (dev, media_block, bds_per_group);
 200cf34:	90 10 00 16 	mov  %l6, %o0                                  
 200cf38:	92 10 00 17 	mov  %l7, %o1                                  
 200cf3c:	94 10 00 1a 	mov  %i2, %o2                                  
 200cf40:	7f ff fe 11 	call  200c784 <rtems_bdbuf_get_buffer_for_access>
 200cf44:	96 10 00 12 	mov  %l2, %o3                                  
                                                                      
  *bd_ptr = bd;                                                       
                                                                      
  req->bufs [0].user   = bd;                                          
 200cf48:	d0 27 60 24 	st  %o0, [ %i5 + 0x24 ]                        
  req->bufs [0].block  = media_block;                                 
  req->bufs [0].length = block_size;                                  
  req->bufs [0].buffer = bd->buffer;                                  
 200cf4c:	c2 02 20 24 	ld  [ %o0 + 0x24 ], %g1                        
  bd = rtems_bdbuf_get_buffer_for_access (dev, media_block, bds_per_group);
                                                                      
  *bd_ptr = bd;                                                       
                                                                      
  req->bufs [0].user   = bd;                                          
  req->bufs [0].block  = media_block;                                 
 200cf50:	f4 27 60 18 	st  %i2, [ %i5 + 0x18 ]                        
  req->bufs [0].length = block_size;                                  
  req->bufs [0].buffer = bd->buffer;                                  
 200cf54:	c2 27 60 20 	st  %g1, [ %i5 + 0x20 ]                        
                                                                      
  if (rtems_bdbuf_tracer)                                             
    rtems_bdbuf_show_users ("read", bd);                              
                                                                      
  switch (bd->state)                                                  
 200cf58:	c2 02 20 28 	ld  [ %o0 + 0x28 ], %g1                        
                                                                      
  *bd_ptr = bd;                                                       
                                                                      
  req->bufs [0].user   = bd;                                          
  req->bufs [0].block  = media_block;                                 
  req->bufs [0].length = block_size;                                  
 200cf5c:	e2 27 60 1c 	st  %l1, [ %i5 + 0x1c ]                        
  req->bufs [0].buffer = bd->buffer;                                  
                                                                      
  if (rtems_bdbuf_tracer)                                             
    rtems_bdbuf_show_users ("read", bd);                              
                                                                      
  switch (bd->state)                                                  
 200cf60:	80 a0 60 02 	cmp  %g1, 2                                    
 200cf64:	02 80 00 32 	be  200d02c <rtems_bdbuf_read+0x1cc>           
 200cf68:	b8 10 00 08 	mov  %o0, %i4                                  
 200cf6c:	80 a0 60 07 	cmp  %g1, 7                                    
 200cf70:	02 80 00 2f 	be  200d02c <rtems_bdbuf_read+0x1cc>           
 200cf74:	80 a0 60 01 	cmp  %g1, 1                                    
 200cf78:	12 80 00 09 	bne  200cf9c <rtems_bdbuf_read+0x13c>          <== NEVER TAKEN
 200cf7c:	13 10 80 00 	sethi  %hi(0x42000000), %o1                    
}                                                                     
                                                                      
static void                                                           
rtems_bdbuf_set_state (rtems_bdbuf_buffer *bd, rtems_bdbuf_buf_state state)
{                                                                     
  bd->state = state;                                                  
 200cf80:	82 10 20 09 	mov  9, %g1                                    
 200cf84:	b2 10 00 1d 	mov  %i5, %i1                                  
 200cf88:	c2 22 20 28 	st  %g1, [ %o0 + 0x28 ]                        
  rtems_bdbuf_buffer *bd = NULL;                                      
  rtems_blkdev_bnum   media_block_end = dd->start + dd->size;         
  rtems_blkdev_bnum   media_block_count = dd->block_size / dd->media_block_size;
  dev_t               dev = dd->dev;                                  
  uint32_t            block_size = dd->block_size;                    
  uint32_t            transfer_index = 1;                             
 200cf8c:	b0 10 20 01 	mov  1, %i0                                    
                                       rtems_blkdev_bnum block,       
                                       size_t            bds_per_group)
{                                                                     
  rtems_bdbuf_buffer *bd = NULL;                                      
                                                                      
  bd = rtems_bdbuf_avl_search (&bdbuf_cache.tree, dev, block);        
 200cf90:	29 00 80 61 	sethi  %hi(0x2018400), %l4                     
}                                                                     
                                                                      
static void                                                           
rtems_bdbuf_set_state (rtems_bdbuf_buffer *bd, rtems_bdbuf_buf_state state)
{                                                                     
  bd->state = state;                                                  
 200cf94:	10 80 00 22 	b  200d01c <rtems_bdbuf_read+0x1bc>            
 200cf98:	a6 10 20 09 	mov  9, %l3                                    
      return;                                                         
    case RTEMS_BDBUF_STATE_EMPTY:                                     
      rtems_bdbuf_set_state (bd, RTEMS_BDBUF_STATE_TRANSFER);         
      break;                                                          
    default:                                                          
      rtems_bdbuf_fatal (bd->state, RTEMS_BLKDEV_FATAL_BDBUF_STATE_1);
 200cf9c:	d0 02 20 28 	ld  [ %o0 + 0x28 ], %o0                        <== NOT EXECUTED
 200cfa0:	10 80 00 42 	b  200d0a8 <rtems_bdbuf_read+0x248>            <== NOT EXECUTED
 200cfa4:	92 12 60 1d 	or  %o1, 0x1d, %o1                             <== NOT EXECUTED
                                       rtems_blkdev_bnum block,       
                                       size_t            bds_per_group)
{                                                                     
  rtems_bdbuf_buffer *bd = NULL;                                      
                                                                      
  bd = rtems_bdbuf_avl_search (&bdbuf_cache.tree, dev, block);        
 200cfa8:	d0 00 60 40 	ld  [ %g1 + 0x40 ], %o0                        
      break;                                                          
  }                                                                   
                                                                      
  while (transfer_index < transfer_count)                             
  {                                                                   
    media_block += media_block_count;                                 
 200cfac:	b4 06 80 15 	add  %i2, %l5, %i2                             
                                       rtems_blkdev_bnum block,       
                                       size_t            bds_per_group)
{                                                                     
  rtems_bdbuf_buffer *bd = NULL;                                      
                                                                      
  bd = rtems_bdbuf_avl_search (&bdbuf_cache.tree, dev, block);        
 200cfb0:	92 10 00 16 	mov  %l6, %o1                                  
 200cfb4:	94 10 00 17 	mov  %l7, %o2                                  
 200cfb8:	7f ff f9 1d 	call  200b42c <rtems_bdbuf_avl_search.isra.1>  
 200cfbc:	96 10 00 1a 	mov  %i2, %o3                                  
                                                                      
  if (bd == NULL)                                                     
 200cfc0:	80 a2 20 00 	cmp  %o0, 0                                    
 200cfc4:	32 80 00 1a 	bne,a   200d02c <rtems_bdbuf_read+0x1cc>       <== NEVER TAKEN
 200cfc8:	f0 27 60 10 	st  %i0, [ %i5 + 0x10 ]                        <== NOT EXECUTED
  {                                                                   
    bd = rtems_bdbuf_get_buffer_from_lru_list (dev, block, bds_per_group);
 200cfcc:	90 10 00 16 	mov  %l6, %o0                                  
 200cfd0:	92 10 00 17 	mov  %l7, %o1                                  
 200cfd4:	94 10 00 1a 	mov  %i2, %o2                                  
 200cfd8:	96 10 00 12 	mov  %l2, %o3                                  
 200cfdc:	7f ff fc fc 	call  200c3cc <rtems_bdbuf_get_buffer_from_lru_list>
 200cfe0:	b2 06 60 10 	add  %i1, 0x10, %i1                            
                                                                      
    if (bd != NULL)                                                   
 200cfe4:	80 a2 20 00 	cmp  %o0, 0                                    
 200cfe8:	22 80 00 11 	be,a   200d02c <rtems_bdbuf_read+0x1cc>        <== ALWAYS TAKEN
 200cfec:	f0 27 60 10 	st  %i0, [ %i5 + 0x10 ]                        
}                                                                     
                                                                      
static void                                                           
rtems_bdbuf_group_obtain (rtems_bdbuf_buffer *bd)                     
{                                                                     
  ++bd->group->users;                                                 
 200cff0:	c2 02 20 30 	ld  [ %o0 + 0x30 ], %g1                        <== NOT EXECUTED
    req->bufs [transfer_index].buffer = bd->buffer;                   
                                                                      
    if (rtems_bdbuf_tracer)                                           
      rtems_bdbuf_show_users ("read-ahead", bd);                      
                                                                      
    ++transfer_index;                                                 
 200cff4:	b0 06 20 01 	inc  %i0                                       <== NOT EXECUTED
}                                                                     
                                                                      
static void                                                           
rtems_bdbuf_group_obtain (rtems_bdbuf_buffer *bd)                     
{                                                                     
  ++bd->group->users;                                                 
 200cff8:	c4 00 60 0c 	ld  [ %g1 + 0xc ], %g2                         <== NOT EXECUTED
 200cffc:	84 00 a0 01 	inc  %g2                                       <== NOT EXECUTED
 200d000:	c4 20 60 0c 	st  %g2, [ %g1 + 0xc ]                         <== NOT EXECUTED
}                                                                     
                                                                      
static void                                                           
rtems_bdbuf_set_state (rtems_bdbuf_buffer *bd, rtems_bdbuf_buf_state state)
{                                                                     
  bd->state = state;                                                  
 200d004:	e6 22 20 28 	st  %l3, [ %o0 + 0x28 ]                        <== NOT EXECUTED
    if (bd == NULL)                                                   
      break;                                                          
                                                                      
    rtems_bdbuf_set_state (bd, RTEMS_BDBUF_STATE_TRANSFER);           
                                                                      
    req->bufs [transfer_index].user   = bd;                           
 200d008:	d0 26 60 24 	st  %o0, [ %i1 + 0x24 ]                        <== NOT EXECUTED
    req->bufs [transfer_index].block  = media_block;                  
 200d00c:	f4 26 60 18 	st  %i2, [ %i1 + 0x18 ]                        <== NOT EXECUTED
    req->bufs [transfer_index].length = block_size;                   
 200d010:	e2 26 60 1c 	st  %l1, [ %i1 + 0x1c ]                        <== NOT EXECUTED
    req->bufs [transfer_index].buffer = bd->buffer;                   
 200d014:	c2 02 20 24 	ld  [ %o0 + 0x24 ], %g1                        <== NOT EXECUTED
 200d018:	c2 26 60 20 	st  %g1, [ %i1 + 0x20 ]                        <== NOT EXECUTED
    default:                                                          
      rtems_bdbuf_fatal (bd->state, RTEMS_BLKDEV_FATAL_BDBUF_STATE_1);
      break;                                                          
  }                                                                   
                                                                      
  while (transfer_index < transfer_count)                             
 200d01c:	80 a6 00 10 	cmp  %i0, %l0                                  
 200d020:	0a bf ff e2 	bcs  200cfa8 <rtems_bdbuf_read+0x148>          
 200d024:	82 15 23 d0 	or  %l4, 0x3d0, %g1                            
      rtems_bdbuf_show_users ("read-ahead", bd);                      
                                                                      
    ++transfer_index;                                                 
  }                                                                   
                                                                      
  req->bufnum = transfer_index;                                       
 200d028:	f0 27 60 10 	st  %i0, [ %i5 + 0x10 ]                        
            media_block + dd->start, block, (unsigned) dev);          
                                                                      
  rtems_bdbuf_lock_cache ();                                          
  rtems_bdbuf_create_read_request (dd, media_block, bds_per_group, req, &bd);
                                                                      
  if (req->bufnum > 0)                                                
 200d02c:	c2 07 60 10 	ld  [ %i5 + 0x10 ], %g1                        
 200d030:	80 a0 60 00 	cmp  %g1, 0                                    
 200d034:	02 80 00 0e 	be  200d06c <rtems_bdbuf_read+0x20c>           
 200d038:	92 10 00 1d 	mov  %i5, %o1                                  
  {                                                                   
    sc = rtems_bdbuf_execute_transfer_request (dd, req, true);        
 200d03c:	d0 07 bf f4 	ld  [ %fp + -12 ], %o0                         
 200d040:	7f ff fb 20 	call  200bcc0 <rtems_bdbuf_execute_transfer_request>
 200d044:	94 10 20 01 	mov  1, %o2                                    
    if (sc == RTEMS_SUCCESSFUL)                                       
 200d048:	b0 92 20 00 	orcc  %o0, 0, %i0                              
 200d04c:	32 80 00 19 	bne,a   200d0b0 <rtems_bdbuf_read+0x250>       
 200d050:	c0 26 c0 00 	clr  [ %i3 ]                                   
 */                                                                   
RTEMS_INLINE_ROUTINE void rtems_chain_extract(                        
  rtems_chain_node *the_node                                          
)                                                                     
{                                                                     
  _Chain_Extract( the_node );                                         
 200d054:	7f ff eb 33 	call  2007d20 <_Chain_Extract>                 
 200d058:	90 10 00 1c 	mov  %i4, %o0                                  
}                                                                     
                                                                      
static void                                                           
rtems_bdbuf_group_obtain (rtems_bdbuf_buffer *bd)                     
{                                                                     
  ++bd->group->users;                                                 
 200d05c:	c2 07 20 30 	ld  [ %i4 + 0x30 ], %g1                        
 200d060:	c4 00 60 0c 	ld  [ %g1 + 0xc ], %g2                         
 200d064:	84 00 a0 01 	inc  %g2                                       
 200d068:	c4 20 60 0c 	st  %g2, [ %g1 + 0xc ]                         
    }                                                                 
  }                                                                   
                                                                      
  if (sc == RTEMS_SUCCESSFUL)                                         
  {                                                                   
    switch (bd->state)                                                
 200d06c:	c2 07 20 28 	ld  [ %i4 + 0x28 ], %g1                        
 200d070:	80 a0 60 02 	cmp  %g1, 2                                    
 200d074:	02 80 00 05 	be  200d088 <rtems_bdbuf_read+0x228>           
 200d078:	80 a0 60 07 	cmp  %g1, 7                                    
 200d07c:	12 80 00 08 	bne  200d09c <rtems_bdbuf_read+0x23c>          <== NEVER TAKEN
 200d080:	82 10 20 04 	mov  4, %g1                                    
 200d084:	30 80 00 02 	b,a   200d08c <rtems_bdbuf_read+0x22c>         
 200d088:	82 10 20 03 	mov  3, %g1                                    
}                                                                     
                                                                      
static void                                                           
rtems_bdbuf_set_state (rtems_bdbuf_buffer *bd, rtems_bdbuf_buf_state state)
{                                                                     
  bd->state = state;                                                  
 200d08c:	c2 27 20 28 	st  %g1, [ %i4 + 0x28 ]                        
    {                                                                 
      rtems_bdbuf_show_users ("read", bd);                            
      rtems_bdbuf_show_usage ();                                      
    }                                                                 
                                                                      
    *bd_ptr = bd;                                                     
 200d090:	f8 26 c0 00 	st  %i4, [ %i3 ]                               
 200d094:	10 80 00 07 	b  200d0b0 <rtems_bdbuf_read+0x250>            
 200d098:	b0 10 20 00 	clr  %i0                                       
        break;                                                        
      case RTEMS_BDBUF_STATE_MODIFIED:                                
        rtems_bdbuf_set_state (bd, RTEMS_BDBUF_STATE_ACCESS_MODIFIED);
        break;                                                        
      default:                                                        
        rtems_bdbuf_fatal (bd->state, RTEMS_BLKDEV_FATAL_BDBUF_STATE_4);
 200d09c:	d0 07 20 28 	ld  [ %i4 + 0x28 ], %o0                        <== NOT EXECUTED
 200d0a0:	13 10 80 00 	sethi  %hi(0x42000000), %o1                    <== NOT EXECUTED
 200d0a4:	92 12 60 02 	or  %o1, 2, %o1	! 42000002 <RAM_END+0x3fc00002><== NOT EXECUTED
 200d0a8:	7f ff f7 c8 	call  200afc8 <rtems_bdbuf_fatal>              <== NOT EXECUTED
 200d0ac:	01 00 00 00 	nop                                            <== NOT EXECUTED
    *bd_ptr = bd;                                                     
  }                                                                   
  else                                                                
    *bd_ptr = NULL;                                                   
                                                                      
  rtems_bdbuf_unlock_cache ();                                        
 200d0b0:	7f ff f8 36 	call  200b188 <rtems_bdbuf_unlock_cache>       
 200d0b4:	01 00 00 00 	nop                                            
  rtems_bdbuf_release_disk (dd);                                      
 200d0b8:	7f ff f8 4a 	call  200b1e0 <rtems_bdbuf_release_disk>       
 200d0bc:	d0 07 bf f4 	ld  [ %fp + -12 ], %o0                         
                                                                      
  return sc;                                                          
}                                                                     
 200d0c0:	81 c7 e0 08 	ret                                            
 200d0c4:	81 e8 00 00 	restore                                        
                                                                      

0200d0c8 <rtems_bdbuf_release>: return RTEMS_SUCCESSFUL; } rtems_status_code rtems_bdbuf_release (rtems_bdbuf_buffer *bd) {
 200d0c8:	9d e3 bf a0 	save  %sp, -96, %sp                            
}                                                                     
                                                                      
static rtems_status_code                                              
rtems_bdbuf_check_bd_and_lock_cache (rtems_bdbuf_buffer *bd, const char *kind)
{                                                                     
  if (!bdbuf_cache.initialised)                                       
 200d0cc:	39 00 80 61 	sethi  %hi(0x2018400), %i4                     
 200d0d0:	b8 17 23 d0 	or  %i4, 0x3d0, %i4	! 20187d0 <bdbuf_cache>    
 200d0d4:	c2 0f 20 88 	ldub  [ %i4 + 0x88 ], %g1                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
                                                                      
rtems_status_code                                                     
rtems_bdbuf_release (rtems_bdbuf_buffer *bd)                          
{                                                                     
 200d0d8:	ba 10 00 18 	mov  %i0, %i5                                  
}                                                                     
                                                                      
static rtems_status_code                                              
rtems_bdbuf_check_bd_and_lock_cache (rtems_bdbuf_buffer *bd, const char *kind)
{                                                                     
  if (!bdbuf_cache.initialised)                                       
 200d0dc:	80 a0 60 00 	cmp  %g1, 0                                    
 200d0e0:	02 80 00 34 	be  200d1b0 <rtems_bdbuf_release+0xe8>         <== NEVER TAKEN
 200d0e4:	b0 10 20 16 	mov  0x16, %i0                                 
    return RTEMS_NOT_CONFIGURED;                                      
  if (bd == NULL)                                                     
 200d0e8:	80 a7 60 00 	cmp  %i5, 0                                    
 200d0ec:	02 80 00 12 	be  200d134 <rtems_bdbuf_release+0x6c>         <== NEVER TAKEN
 200d0f0:	01 00 00 00 	nop                                            
  if (rtems_bdbuf_tracer)                                             
  {                                                                   
    printf ("bdbuf:%s: %" PRIu32 "\n", kind, bd->block);              
    rtems_bdbuf_show_users (kind, bd);                                
  }                                                                   
  rtems_bdbuf_lock_cache();                                           
 200d0f4:	7f ff f7 9b 	call  200af60 <rtems_bdbuf_lock_cache>         
 200d0f8:	01 00 00 00 	nop                                            
                                                                      
  sc = rtems_bdbuf_check_bd_and_lock_cache (bd, "release");           
  if (sc != RTEMS_SUCCESSFUL)                                         
    return sc;                                                        
                                                                      
  switch (bd->state)                                                  
 200d0fc:	c2 07 60 28 	ld  [ %i5 + 0x28 ], %g1                        
 200d100:	80 a0 60 04 	cmp  %g1, 4                                    
 200d104:	02 80 00 22 	be  200d18c <rtems_bdbuf_release+0xc4>         
 200d108:	01 00 00 00 	nop                                            
 200d10c:	18 80 00 07 	bgu  200d128 <rtems_bdbuf_release+0x60>        
 200d110:	80 a0 60 06 	cmp  %g1, 6                                    
 200d114:	80 a0 60 03 	cmp  %g1, 3                                    
 200d118:	12 80 00 20 	bne  200d198 <rtems_bdbuf_release+0xd0>        <== NEVER TAKEN
 200d11c:	01 00 00 00 	nop                                            
}                                                                     
                                                                      
static void                                                           
rtems_bdbuf_group_release (rtems_bdbuf_buffer *bd)                    
{                                                                     
  --bd->group->users;                                                 
 200d120:	10 80 00 07 	b  200d13c <rtems_bdbuf_release+0x74>          
 200d124:	c2 07 60 30 	ld  [ %i5 + 0x30 ], %g1                        
                                                                      
  sc = rtems_bdbuf_check_bd_and_lock_cache (bd, "release");           
  if (sc != RTEMS_SUCCESSFUL)                                         
    return sc;                                                        
                                                                      
  switch (bd->state)                                                  
 200d128:	18 80 00 1c 	bgu  200d198 <rtems_bdbuf_release+0xd0>        <== NEVER TAKEN
 200d12c:	01 00 00 00 	nop                                            
 200d130:	30 80 00 14 	b,a   200d180 <rtems_bdbuf_release+0xb8>       
rtems_bdbuf_check_bd_and_lock_cache (rtems_bdbuf_buffer *bd, const char *kind)
{                                                                     
  if (!bdbuf_cache.initialised)                                       
    return RTEMS_NOT_CONFIGURED;                                      
  if (bd == NULL)                                                     
    return RTEMS_INVALID_ADDRESS;                                     
 200d134:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 200d138:	91 e8 20 09 	restore  %g0, 9, %o0                           <== NOT EXECUTED
RTEMS_INLINE_ROUTINE void rtems_chain_append(                         
  rtems_chain_control *the_chain,                                     
  rtems_chain_node    *the_node                                       
)                                                                     
{                                                                     
  _Chain_Append( the_chain, the_node );                               
 200d13c:	90 07 20 44 	add  %i4, 0x44, %o0                            
}                                                                     
                                                                      
static void                                                           
rtems_bdbuf_group_release (rtems_bdbuf_buffer *bd)                    
{                                                                     
  --bd->group->users;                                                 
 200d140:	c4 00 60 0c 	ld  [ %g1 + 0xc ], %g2                         
 200d144:	92 10 00 1d 	mov  %i5, %o1                                  
 200d148:	84 00 bf ff 	add  %g2, -1, %g2                              
 200d14c:	c4 20 60 0c 	st  %g2, [ %g1 + 0xc ]                         
}                                                                     
                                                                      
static void                                                           
rtems_bdbuf_set_state (rtems_bdbuf_buffer *bd, rtems_bdbuf_buf_state state)
{                                                                     
  bd->state = state;                                                  
 200d150:	82 10 20 02 	mov  2, %g1                                    
 200d154:	c2 27 60 28 	st  %g1, [ %i5 + 0x28 ]                        
 200d158:	7f ff ea e7 	call  2007cf4 <_Chain_Append>                  
 200d15c:	01 00 00 00 	nop                                            
rtems_bdbuf_add_to_lru_list_after_access (rtems_bdbuf_buffer *bd)     
{                                                                     
  rtems_bdbuf_group_release (bd);                                     
  rtems_bdbuf_make_cached_and_add_to_lru_list (bd);                   
                                                                      
  if (bd->waiters)                                                    
 200d160:	c2 07 60 2c 	ld  [ %i5 + 0x2c ], %g1                        
 200d164:	80 a0 60 00 	cmp  %g1, 0                                    
 200d168:	12 80 00 03 	bne  200d174 <rtems_bdbuf_release+0xac>        
 200d16c:	90 07 20 68 	add  %i4, 0x68, %o0                            
    rtems_bdbuf_wake (&bdbuf_cache.access_waiters);                   
  else                                                                
    rtems_bdbuf_wake (&bdbuf_cache.buffer_waiters);                   
 200d170:	90 07 20 78 	add  %i4, 0x78, %o0                            
 200d174:	7f ff f8 cf 	call  200b4b0 <rtems_bdbuf_wake>               
 200d178:	01 00 00 00 	nop                                            
 200d17c:	30 80 00 0b 	b,a   200d1a8 <rtems_bdbuf_release+0xe0>       
    case RTEMS_BDBUF_STATE_ACCESS_CACHED:                             
      rtems_bdbuf_add_to_lru_list_after_access (bd);                  
      break;                                                          
    case RTEMS_BDBUF_STATE_ACCESS_EMPTY:                              
    case RTEMS_BDBUF_STATE_ACCESS_PURGED:                             
      rtems_bdbuf_discard_buffer_after_access (bd);                   
 200d180:	7f ff fa 41 	call  200ba84 <rtems_bdbuf_discard_buffer_after_access>
 200d184:	90 10 00 1d 	mov  %i5, %o0                                  
      break;                                                          
 200d188:	30 80 00 08 	b,a   200d1a8 <rtems_bdbuf_release+0xe0>       
    case RTEMS_BDBUF_STATE_ACCESS_MODIFIED:                           
      rtems_bdbuf_add_to_modified_list_after_access (bd);             
 200d18c:	7f ff f8 d7 	call  200b4e8 <rtems_bdbuf_add_to_modified_list_after_access>
 200d190:	90 10 00 1d 	mov  %i5, %o0                                  
      break;                                                          
 200d194:	30 80 00 05 	b,a   200d1a8 <rtems_bdbuf_release+0xe0>       
    default:                                                          
      rtems_bdbuf_fatal (bd->state, RTEMS_BLKDEV_FATAL_BDBUF_STATE_0);
 200d198:	d0 07 60 28 	ld  [ %i5 + 0x28 ], %o0                        <== NOT EXECUTED
 200d19c:	13 10 80 00 	sethi  %hi(0x42000000), %o1                    <== NOT EXECUTED
 200d1a0:	7f ff f7 8a 	call  200afc8 <rtems_bdbuf_fatal>              <== NOT EXECUTED
 200d1a4:	92 12 60 1c 	or  %o1, 0x1c, %o1	! 4200001c <RAM_END+0x3fc0001c><== NOT EXECUTED
  }                                                                   
                                                                      
  if (rtems_bdbuf_tracer)                                             
    rtems_bdbuf_show_usage ();                                        
                                                                      
  rtems_bdbuf_unlock_cache ();                                        
 200d1a8:	7f ff f7 f8 	call  200b188 <rtems_bdbuf_unlock_cache>       
 200d1ac:	b0 10 20 00 	clr  %i0                                       
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
 200d1b0:	81 c7 e0 08 	ret                                            
 200d1b4:	81 e8 00 00 	restore                                        
                                                                      

0200b1e0 <rtems_bdbuf_release_disk>: return RTEMS_SUCCESSFUL; } static void rtems_bdbuf_release_disk (rtems_disk_device *dd) {
 200b1e0:	9d e3 bf a0 	save  %sp, -96, %sp                            
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
                                                                      
  sc = rtems_disk_release (dd);                                       
 200b1e4:	7f ff df 00 	call  2002de4 <rtems_disk_release>             
 200b1e8:	90 10 00 18 	mov  %i0, %o0                                  
  if (sc != RTEMS_SUCCESSFUL)                                         
 200b1ec:	80 a2 20 00 	cmp  %o0, 0                                    
 200b1f0:	02 80 00 04 	be  200b200 <rtems_bdbuf_release_disk+0x20>    <== ALWAYS TAKEN
 200b1f4:	11 10 80 00 	sethi  %hi(0x42000000), %o0                    
    rtems_fatal_error_occurred (RTEMS_BLKDEV_FATAL_BDBUF_DISK_REL);   
 200b1f8:	7f ff f1 83 	call  2007804 <rtems_fatal_error_occurred>     <== NOT EXECUTED
 200b1fc:	90 12 20 1f 	or  %o0, 0x1f, %o0	! 4200001f <RAM_END+0x3fc0001f><== NOT EXECUTED
 200b200:	81 c7 e0 08 	ret                                            
 200b204:	81 e8 00 00 	restore                                        
                                                                      

0200d1b8 <rtems_bdbuf_release_modified>: rtems_status_code rtems_bdbuf_release_modified (rtems_bdbuf_buffer *bd) {
 200d1b8:	9d e3 bf 98 	save  %sp, -104, %sp                           
}                                                                     
                                                                      
static rtems_status_code                                              
rtems_bdbuf_check_bd_and_lock_cache (rtems_bdbuf_buffer *bd, const char *kind)
{                                                                     
  if (!bdbuf_cache.initialised)                                       
 200d1bc:	03 00 80 62 	sethi  %hi(0x2018800), %g1                     
 200d1c0:	c2 08 60 58 	ldub  [ %g1 + 0x58 ], %g1	! 2018858 <bdbuf_cache+0x88>
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
                                                                      
rtems_status_code                                                     
rtems_bdbuf_release_modified (rtems_bdbuf_buffer *bd)                 
{                                                                     
 200d1c4:	90 10 00 18 	mov  %i0, %o0                                  
}                                                                     
                                                                      
static rtems_status_code                                              
rtems_bdbuf_check_bd_and_lock_cache (rtems_bdbuf_buffer *bd, const char *kind)
{                                                                     
  if (!bdbuf_cache.initialised)                                       
 200d1c8:	80 a0 60 00 	cmp  %g1, 0                                    
 200d1cc:	02 80 00 1f 	be  200d248 <rtems_bdbuf_release_modified+0x90><== NEVER TAKEN
 200d1d0:	b0 10 20 16 	mov  0x16, %i0                                 
    return RTEMS_NOT_CONFIGURED;                                      
  if (bd == NULL)                                                     
 200d1d4:	80 a2 20 00 	cmp  %o0, 0                                    
 200d1d8:	02 80 00 0e 	be  200d210 <rtems_bdbuf_release_modified+0x58><== NEVER TAKEN
 200d1dc:	01 00 00 00 	nop                                            
  if (rtems_bdbuf_tracer)                                             
  {                                                                   
    printf ("bdbuf:%s: %" PRIu32 "\n", kind, bd->block);              
    rtems_bdbuf_show_users (kind, bd);                                
  }                                                                   
  rtems_bdbuf_lock_cache();                                           
 200d1e0:	7f ff f7 60 	call  200af60 <rtems_bdbuf_lock_cache>         
 200d1e4:	d0 27 bf fc 	st  %o0, [ %fp + -4 ]                          
                                                                      
  sc = rtems_bdbuf_check_bd_and_lock_cache (bd, "release modified");  
  if (sc != RTEMS_SUCCESSFUL)                                         
    return sc;                                                        
                                                                      
  switch (bd->state)                                                  
 200d1e8:	d0 07 bf fc 	ld  [ %fp + -4 ], %o0                          
 200d1ec:	c2 02 20 28 	ld  [ %o0 + 0x28 ], %g1                        
 200d1f0:	80 a0 60 03 	cmp  %g1, 3                                    
 200d1f4:	0a 80 00 0f 	bcs  200d230 <rtems_bdbuf_release_modified+0x78><== NEVER TAKEN
 200d1f8:	80 a0 60 05 	cmp  %g1, 5                                    
 200d1fc:	08 80 00 07 	bleu  200d218 <rtems_bdbuf_release_modified+0x60>
 200d200:	80 a0 60 06 	cmp  %g1, 6                                    
 200d204:	12 80 00 0b 	bne  200d230 <rtems_bdbuf_release_modified+0x78><== NEVER TAKEN
 200d208:	01 00 00 00 	nop                                            
 200d20c:	30 80 00 06 	b,a   200d224 <rtems_bdbuf_release_modified+0x6c>
rtems_bdbuf_check_bd_and_lock_cache (rtems_bdbuf_buffer *bd, const char *kind)
{                                                                     
  if (!bdbuf_cache.initialised)                                       
    return RTEMS_NOT_CONFIGURED;                                      
  if (bd == NULL)                                                     
    return RTEMS_INVALID_ADDRESS;                                     
 200d210:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 200d214:	91 e8 20 09 	restore  %g0, 9, %o0                           <== NOT EXECUTED
  switch (bd->state)                                                  
  {                                                                   
    case RTEMS_BDBUF_STATE_ACCESS_CACHED:                             
    case RTEMS_BDBUF_STATE_ACCESS_EMPTY:                              
    case RTEMS_BDBUF_STATE_ACCESS_MODIFIED:                           
      rtems_bdbuf_add_to_modified_list_after_access (bd);             
 200d218:	7f ff f8 b4 	call  200b4e8 <rtems_bdbuf_add_to_modified_list_after_access>
 200d21c:	01 00 00 00 	nop                                            
      break;                                                          
 200d220:	30 80 00 08 	b,a   200d240 <rtems_bdbuf_release_modified+0x88>
    case RTEMS_BDBUF_STATE_ACCESS_PURGED:                             
      rtems_bdbuf_discard_buffer_after_access (bd);                   
 200d224:	7f ff fa 18 	call  200ba84 <rtems_bdbuf_discard_buffer_after_access>
 200d228:	01 00 00 00 	nop                                            
      break;                                                          
 200d22c:	30 80 00 05 	b,a   200d240 <rtems_bdbuf_release_modified+0x88>
    default:                                                          
      rtems_bdbuf_fatal (bd->state, RTEMS_BLKDEV_FATAL_BDBUF_STATE_6);
 200d230:	d0 02 20 28 	ld  [ %o0 + 0x28 ], %o0                        <== NOT EXECUTED
 200d234:	13 10 80 00 	sethi  %hi(0x42000000), %o1                    <== NOT EXECUTED
 200d238:	7f ff f7 64 	call  200afc8 <rtems_bdbuf_fatal>              <== NOT EXECUTED
 200d23c:	92 12 60 04 	or  %o1, 4, %o1	! 42000004 <RAM_END+0x3fc00004><== NOT EXECUTED
  }                                                                   
                                                                      
  if (rtems_bdbuf_tracer)                                             
    rtems_bdbuf_show_usage ();                                        
                                                                      
  rtems_bdbuf_unlock_cache ();                                        
 200d240:	7f ff f7 d2 	call  200b188 <rtems_bdbuf_unlock_cache>       
 200d244:	b0 10 20 00 	clr  %i0                                       
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
 200d248:	81 c7 e0 08 	ret                                            
 200d24c:	81 e8 00 00 	restore                                        
                                                                      

0200b6b0 <rtems_bdbuf_remove_from_tree>: return bdbuf_cache.buffer_waiters.count; } static void rtems_bdbuf_remove_from_tree (rtems_bdbuf_buffer *bd) {
 200b6b0:	9d e3 bf 20 	save  %sp, -224, %sp                           
                       const rtems_bdbuf_buffer* node)                
{                                                                     
  dev_t             dev = node->dev;                                  
  rtems_blkdev_bnum block = node->block;                              
                                                                      
  rtems_bdbuf_buffer*  p = *root;                                     
 200b6b4:	03 00 80 62 	sethi  %hi(0x2018800), %g1                     
 */                                                                   
static int                                                            
rtems_bdbuf_avl_remove(rtems_bdbuf_buffer**      root,                
                       const rtems_bdbuf_buffer* node)                
{                                                                     
  dev_t             dev = node->dev;                                  
 200b6b8:	f8 06 20 18 	ld  [ %i0 + 0x18 ], %i4                        
 200b6bc:	f4 06 20 1c 	ld  [ %i0 + 0x1c ], %i2                        
  rtems_blkdev_bnum block = node->block;                              
 200b6c0:	f6 06 20 20 	ld  [ %i0 + 0x20 ], %i3                        
                                                                      
  rtems_bdbuf_buffer*  p = *root;                                     
 200b6c4:	fa 00 60 10 	ld  [ %g1 + 0x10 ], %i5                        
  rtems_bdbuf_buffer*  buf_stack[RTEMS_BDBUF_AVL_MAX_HEIGHT];         
  rtems_bdbuf_buffer** buf_prev = buf_stack;                          
                                                                      
  bool modified = false;                                              
                                                                      
  memset (buf_stack, 0, sizeof(buf_stack));                           
 200b6c8:	90 07 bf 80 	add  %fp, -128, %o0                            
 200b6cc:	92 10 20 00 	clr  %o1                                       
 200b6d0:	40 00 1a ea 	call  2012278 <memset>                         
 200b6d4:	94 10 20 80 	mov  0x80, %o2                                 
  rtems_bdbuf_buffer*  r;                                             
  rtems_bdbuf_buffer*  s;                                             
  rtems_bdbuf_buffer*  p1;                                            
  rtems_bdbuf_buffer*  p2;                                            
  rtems_bdbuf_buffer*  buf_stack[RTEMS_BDBUF_AVL_MAX_HEIGHT];         
  rtems_bdbuf_buffer** buf_prev = buf_stack;                          
 200b6d8:	86 07 bf 80 	add  %fp, -128, %g3                            
  {                                                                   
    *buf_prev++ = p;                                                  
                                                                      
    if ((p->dev < dev) || ((p->dev == dev) && (p->block < block)))    
    {                                                                 
      p->avl.cache = 1;                                               
 200b6dc:	9a 10 20 01 	mov  1, %o5                                    
      p = p->avl.right;                                               
    }                                                                 
    else if ((p->dev != dev) || (p->block != block))                  
    {                                                                 
      p->avl.cache = -1;                                              
 200b6e0:	10 80 00 1f 	b  200b75c <rtems_bdbuf_remove_from_tree+0xac> 
 200b6e4:	9e 10 3f ff 	mov  -1, %o7                                   
                                                                      
  memset (buf_stack, 0, sizeof(buf_stack));                           
                                                                      
  while (p != NULL)                                                   
  {                                                                   
    *buf_prev++ = p;                                                  
 200b6e8:	fa 20 c0 00 	st  %i5, [ %g3 ]                               
 200b6ec:	88 00 e0 04 	add  %g3, 4, %g4                               
                                                                      
    if ((p->dev < dev) || ((p->dev == dev) && (p->block < block)))    
 200b6f0:	80 a7 00 01 	cmp  %i4, %g1                                  
 200b6f4:	18 80 00 12 	bgu  200b73c <rtems_bdbuf_remove_from_tree+0x8c><== NEVER TAKEN
 200b6f8:	c4 07 60 1c 	ld  [ %i5 + 0x1c ], %g2                        
 200b6fc:	80 a7 00 01 	cmp  %i4, %g1                                  
 200b700:	12 80 00 06 	bne  200b718 <rtems_bdbuf_remove_from_tree+0x68><== NEVER TAKEN
 200b704:	80 a0 40 1c 	cmp  %g1, %i4                                  
 200b708:	80 a6 80 02 	cmp  %i2, %g2                                  
 200b70c:	38 80 00 0d 	bgu,a   200b740 <rtems_bdbuf_remove_from_tree+0x90><== NEVER TAKEN
 200b710:	da 2f 60 10 	stb  %o5, [ %i5 + 0x10 ]                       <== NOT EXECUTED
 200b714:	80 a0 40 1c 	cmp  %g1, %i4                                  
 200b718:	32 80 00 0f 	bne,a   200b754 <rtems_bdbuf_remove_from_tree+0xa4><== NEVER TAKEN
 200b71c:	de 2f 60 10 	stb  %o7, [ %i5 + 0x10 ]                       <== NOT EXECUTED
 200b720:	80 a0 80 1a 	cmp  %g2, %i2                                  
 200b724:	32 80 00 0c 	bne,a   200b754 <rtems_bdbuf_remove_from_tree+0xa4><== NEVER TAKEN
 200b728:	de 2f 60 10 	stb  %o7, [ %i5 + 0x10 ]                       <== NOT EXECUTED
 200b72c:	c2 07 60 20 	ld  [ %i5 + 0x20 ], %g1                        
 200b730:	80 a0 40 1b 	cmp  %g1, %i3                                  
 200b734:	1a 80 00 05 	bcc  200b748 <rtems_bdbuf_remove_from_tree+0x98>
 200b738:	01 00 00 00 	nop                                            
    {                                                                 
      p->avl.cache = 1;                                               
 200b73c:	da 2f 60 10 	stb  %o5, [ %i5 + 0x10 ]                       
      p = p->avl.right;                                               
 200b740:	10 80 00 06 	b  200b758 <rtems_bdbuf_remove_from_tree+0xa8> 
 200b744:	fa 07 60 0c 	ld  [ %i5 + 0xc ], %i5                         
    }                                                                 
    else if ((p->dev != dev) || (p->block != block))                  
 200b748:	02 80 00 09 	be  200b76c <rtems_bdbuf_remove_from_tree+0xbc>
 200b74c:	82 07 bf 80 	add  %fp, -128, %g1                            
    {                                                                 
      p->avl.cache = -1;                                              
 200b750:	de 2f 60 10 	stb  %o7, [ %i5 + 0x10 ]                       
      p = p->avl.left;                                                
 200b754:	fa 07 60 08 	ld  [ %i5 + 8 ], %i5                           
                                                                      
  memset (buf_stack, 0, sizeof(buf_stack));                           
                                                                      
  while (p != NULL)                                                   
  {                                                                   
    *buf_prev++ = p;                                                  
 200b758:	86 10 00 04 	mov  %g4, %g3                                  
                                                                      
  bool modified = false;                                              
                                                                      
  memset (buf_stack, 0, sizeof(buf_stack));                           
                                                                      
  while (p != NULL)                                                   
 200b75c:	80 a7 60 00 	cmp  %i5, 0                                    
 200b760:	32 bf ff e2 	bne,a   200b6e8 <rtems_bdbuf_remove_from_tree+0x38><== ALWAYS TAKEN
 200b764:	c2 07 60 18 	ld  [ %i5 + 0x18 ], %g1                        
 200b768:	30 80 00 b2 	b,a   200ba30 <rtems_bdbuf_remove_from_tree+0x380><== NOT EXECUTED
  }                                                                   
                                                                      
  q = p;                                                              
                                                                      
  buf_prev--;                                                         
  if (buf_prev > buf_stack)                                           
 200b76c:	80 a0 c0 01 	cmp  %g3, %g1                                  
 200b770:	08 80 00 03 	bleu  200b77c <rtems_bdbuf_remove_from_tree+0xcc>
 200b774:	b8 10 20 00 	clr  %i4                                       
  {                                                                   
    p = *(buf_prev - 1);                                              
 200b778:	f8 01 3f f8 	ld  [ %g4 + -8 ], %i4                          
  {                                                                   
    p = NULL;                                                         
  }                                                                   
                                                                      
  /* at this moment q - is a node to delete, p is q's parent */       
  if (q->avl.right == NULL)                                           
 200b77c:	c2 07 60 0c 	ld  [ %i5 + 0xc ], %g1                         
 200b780:	80 a0 60 00 	cmp  %g1, 0                                    
 200b784:	32 80 00 08 	bne,a   200b7a4 <rtems_bdbuf_remove_from_tree+0xf4>
 200b788:	c4 00 60 08 	ld  [ %g1 + 8 ], %g2                           
  {                                                                   
    r = q->avl.left;                                                  
 200b78c:	c2 07 60 08 	ld  [ %i5 + 8 ], %g1                           
    if (r != NULL)                                                    
 200b790:	80 a0 60 00 	cmp  %g1, 0                                    
 200b794:	32 80 00 27 	bne,a   200b830 <rtems_bdbuf_remove_from_tree+0x180>
 200b798:	c0 28 60 11 	clrb  [ %g1 + 0x11 ]                           
                                                                      
      *t = q = s;                                                     
    }                                                                 
  }                                                                   
                                                                      
  if (p != NULL)                                                      
 200b79c:	10 80 00 26 	b  200b834 <rtems_bdbuf_remove_from_tree+0x184>
 200b7a0:	80 a7 20 00 	cmp  %i4, 0                                    
  {                                                                   
    rtems_bdbuf_buffer **t;                                           
                                                                      
    r = q->avl.right;                                                 
                                                                      
    if (r->avl.left == NULL)                                          
 200b7a4:	80 a0 a0 00 	cmp  %g2, 0                                    
 200b7a8:	02 80 00 06 	be  200b7c0 <rtems_bdbuf_remove_from_tree+0x110>
 200b7ac:	84 10 00 01 	mov  %g1, %g2                                  
 200b7b0:	b6 10 00 01 	mov  %g1, %i3                                  
 200b7b4:	86 10 00 04 	mov  %g4, %g3                                  
                                                                      
      while (s->avl.left != NULL)                                     
      {                                                               
        *buf_prev++ = r = s;                                          
        s = r->avl.left;                                              
        r->avl.cache = -1;                                            
 200b7b8:	10 80 00 0f 	b  200b7f4 <rtems_bdbuf_remove_from_tree+0x144>
 200b7bc:	b0 10 3f ff 	mov  -1, %i0                                   
                                                                      
    r = q->avl.right;                                                 
                                                                      
    if (r->avl.left == NULL)                                          
    {                                                                 
      r->avl.left = q->avl.left;                                      
 200b7c0:	c4 07 60 08 	ld  [ %i5 + 8 ], %g2                           
      r->avl.bal = q->avl.bal;                                        
      r->avl.cache = 1;                                               
      *buf_prev++ = q = r;                                            
 200b7c4:	c2 21 3f fc 	st  %g1, [ %g4 + -4 ]                          
                                                                      
    r = q->avl.right;                                                 
                                                                      
    if (r->avl.left == NULL)                                          
    {                                                                 
      r->avl.left = q->avl.left;                                      
 200b7c8:	c4 20 60 08 	st  %g2, [ %g1 + 8 ]                           
      r->avl.bal = q->avl.bal;                                        
 200b7cc:	c4 0f 60 11 	ldub  [ %i5 + 0x11 ], %g2                      
      r->avl.cache = 1;                                               
      *buf_prev++ = q = r;                                            
 200b7d0:	86 10 00 04 	mov  %g4, %g3                                  
    r = q->avl.right;                                                 
                                                                      
    if (r->avl.left == NULL)                                          
    {                                                                 
      r->avl.left = q->avl.left;                                      
      r->avl.bal = q->avl.bal;                                        
 200b7d4:	c4 28 60 11 	stb  %g2, [ %g1 + 0x11 ]                       
      r->avl.cache = 1;                                               
 200b7d8:	84 10 20 01 	mov  1, %g2                                    
 200b7dc:	10 80 00 15 	b  200b830 <rtems_bdbuf_remove_from_tree+0x180>
 200b7e0:	c4 28 60 10 	stb  %g2, [ %g1 + 0x10 ]                       
                                                                      
      while (s->avl.left != NULL)                                     
      {                                                               
        *buf_prev++ = r = s;                                          
        s = r->avl.left;                                              
        r->avl.cache = -1;                                            
 200b7e4:	f0 28 a0 10 	stb  %i0, [ %g2 + 0x10 ]                       
 200b7e8:	b6 10 00 02 	mov  %g2, %i3                                  
      t = buf_prev++;                                                 
      s = r;                                                          
                                                                      
      while (s->avl.left != NULL)                                     
      {                                                               
        *buf_prev++ = r = s;                                          
 200b7ec:	86 00 e0 04 	add  %g3, 4, %g3                               
        s = r->avl.left;                                              
        r->avl.cache = -1;                                            
 200b7f0:	84 10 00 1a 	mov  %i2, %g2                                  
    else                                                              
    {                                                                 
      t = buf_prev++;                                                 
      s = r;                                                          
                                                                      
      while (s->avl.left != NULL)                                     
 200b7f4:	f4 00 a0 08 	ld  [ %g2 + 8 ], %i2                           
 200b7f8:	80 a6 a0 00 	cmp  %i2, 0                                    
 200b7fc:	32 bf ff fa 	bne,a   200b7e4 <rtems_bdbuf_remove_from_tree+0x134>
 200b800:	c4 20 c0 00 	st  %g2, [ %g3 ]                               
        *buf_prev++ = r = s;                                          
        s = r->avl.left;                                              
        r->avl.cache = -1;                                            
      }                                                               
                                                                      
      s->avl.left = q->avl.left;                                      
 200b804:	f4 07 60 08 	ld  [ %i5 + 8 ], %i2                           
      r->avl.left = s->avl.right;                                     
      s->avl.right = q->avl.right;                                    
      s->avl.bal = q->avl.bal;                                        
      s->avl.cache = 1;                                               
                                                                      
      *t = q = s;                                                     
 200b808:	c4 21 3f fc 	st  %g2, [ %g4 + -4 ]                          
        *buf_prev++ = r = s;                                          
        s = r->avl.left;                                              
        r->avl.cache = -1;                                            
      }                                                               
                                                                      
      s->avl.left = q->avl.left;                                      
 200b80c:	f4 20 a0 08 	st  %i2, [ %g2 + 8 ]                           
      r->avl.left = s->avl.right;                                     
 200b810:	f4 00 a0 0c 	ld  [ %g2 + 0xc ], %i2                         
      s->avl.right = q->avl.right;                                    
 200b814:	c2 20 a0 0c 	st  %g1, [ %g2 + 0xc ]                         
      s->avl.bal = q->avl.bal;                                        
 200b818:	c2 0f 60 11 	ldub  [ %i5 + 0x11 ], %g1                      
        s = r->avl.left;                                              
        r->avl.cache = -1;                                            
      }                                                               
                                                                      
      s->avl.left = q->avl.left;                                      
      r->avl.left = s->avl.right;                                     
 200b81c:	f4 26 e0 08 	st  %i2, [ %i3 + 8 ]                           
      s->avl.right = q->avl.right;                                    
      s->avl.bal = q->avl.bal;                                        
 200b820:	c2 28 a0 11 	stb  %g1, [ %g2 + 0x11 ]                       
      s->avl.cache = 1;                                               
 200b824:	82 10 20 01 	mov  1, %g1                                    
 200b828:	c2 28 a0 10 	stb  %g1, [ %g2 + 0x10 ]                       
                                                                      
      *t = q = s;                                                     
 200b82c:	82 10 00 02 	mov  %g2, %g1                                  
    }                                                                 
  }                                                                   
                                                                      
  if (p != NULL)                                                      
 200b830:	80 a7 20 00 	cmp  %i4, 0                                    
 200b834:	02 80 00 0d 	be  200b868 <rtems_bdbuf_remove_from_tree+0x1b8>
 200b838:	05 00 80 62 	sethi  %hi(0x2018800), %g2                     
  {                                                                   
    if (p->avl.cache == -1)                                           
 200b83c:	c4 4f 20 10 	ldsb  [ %i4 + 0x10 ], %g2                      
 200b840:	80 a0 bf ff 	cmp  %g2, -1                                   
 200b844:	32 80 00 03 	bne,a   200b850 <rtems_bdbuf_remove_from_tree+0x1a0>
 200b848:	c2 27 20 0c 	st  %g1, [ %i4 + 0xc ]                         
    {                                                                 
      p->avl.left = q;                                                
 200b84c:	c2 27 20 08 	st  %g1, [ %i4 + 8 ]                           
                                                                      
  modified = true;                                                    
                                                                      
  while (modified)                                                    
  {                                                                   
    if (buf_prev > buf_stack)                                         
 200b850:	82 07 bf 80 	add  %fp, -128, %g1                            
 200b854:	80 a0 c0 01 	cmp  %g3, %g1                                  
 200b858:	18 80 00 06 	bgu  200b870 <rtems_bdbuf_remove_from_tree+0x1c0>
 200b85c:	ba 10 20 01 	mov  1, %i5                                    
 200b860:	81 c7 e0 08 	ret                                            
 200b864:	81 e8 00 00 	restore                                        
      p->avl.right = q;                                               
    }                                                                 
  }                                                                   
  else                                                                
  {                                                                   
    *root = q;                                                        
 200b868:	10 bf ff fa 	b  200b850 <rtems_bdbuf_remove_from_tree+0x1a0>
 200b86c:	c2 20 a0 10 	st  %g1, [ %g2 + 0x10 ]                        
        case +1:                                                      
          p->avl.bal = 0;                                             
          break;                                                      
                                                                      
        case  0:                                                      
          p->avl.bal = -1;                                            
 200b870:	b0 10 3f ff 	mov  -1, %i0                                   
        default:                                                      
          break;                                                      
      }                                                               
    }                                                                 
                                                                      
    if (buf_prev > buf_stack)                                         
 200b874:	b4 10 00 01 	mov  %g1, %i2                                  
                                                                      
  while (modified)                                                    
  {                                                                   
    if (buf_prev > buf_stack)                                         
    {                                                                 
      p = *--buf_prev;                                                
 200b878:	c2 00 ff fc 	ld  [ %g3 + -4 ], %g1                          
    else                                                              
    {                                                                 
      break;                                                          
    }                                                                 
                                                                      
    if (p->avl.cache == -1)                                           
 200b87c:	f8 48 60 10 	ldsb  [ %g1 + 0x10 ], %i4                      
 200b880:	c4 08 60 11 	ldub  [ %g1 + 0x11 ], %g2                      
 200b884:	80 a7 3f ff 	cmp  %i4, -1                                   
    {                                                                 
      /* rebalance left branch */                                     
      switch (p->avl.bal)                                             
 200b888:	85 28 a0 18 	sll  %g2, 0x18, %g2                            
    else                                                              
    {                                                                 
      break;                                                          
    }                                                                 
                                                                      
    if (p->avl.cache == -1)                                           
 200b88c:	12 80 00 29 	bne  200b930 <rtems_bdbuf_remove_from_tree+0x280>
 200b890:	85 38 a0 18 	sra  %g2, 0x18, %g2                            
    {                                                                 
      /* rebalance left branch */                                     
      switch (p->avl.bal)                                             
 200b894:	80 a0 a0 00 	cmp  %g2, 0                                    
 200b898:	22 80 00 14 	be,a   200b8e8 <rtems_bdbuf_remove_from_tree+0x238>
 200b89c:	fa 28 60 11 	stb  %i5, [ %g1 + 0x11 ]                       
 200b8a0:	80 a0 a0 01 	cmp  %g2, 1                                    
 200b8a4:	02 80 00 06 	be  200b8bc <rtems_bdbuf_remove_from_tree+0x20c>
 200b8a8:	80 a0 bf ff 	cmp  %g2, -1                                   
 200b8ac:	12 80 00 4e 	bne  200b9e4 <rtems_bdbuf_remove_from_tree+0x334><== NEVER TAKEN
 200b8b0:	84 10 20 01 	mov  1, %g2                                    
    {                                                                 
      /* rebalance right branch */                                    
      switch (p->avl.bal)                                             
      {                                                               
        case +1:                                                      
          p->avl.bal = 0;                                             
 200b8b4:	10 80 00 4c 	b  200b9e4 <rtems_bdbuf_remove_from_tree+0x334>
 200b8b8:	c0 28 60 11 	clrb  [ %g1 + 0x11 ]                           
          p->avl.bal = 1;                                             
          modified = false;                                           
          break;                                                      
                                                                      
        case +1:                                                      
          p1 = p->avl.right;                                          
 200b8bc:	c4 00 60 0c 	ld  [ %g1 + 0xc ], %g2                         
                                                                      
          if (p1->avl.bal >= 0) /* simple RR-turn */                  
 200b8c0:	f6 48 a0 11 	ldsb  [ %g2 + 0x11 ], %i3                      
 200b8c4:	80 a6 e0 00 	cmp  %i3, 0                                    
 200b8c8:	06 80 00 0a 	bl  200b8f0 <rtems_bdbuf_remove_from_tree+0x240><== NEVER TAKEN
 200b8cc:	c8 00 a0 08 	ld  [ %g2 + 8 ], %g4                           
          {                                                           
            p->avl.right = p1->avl.left;                              
 200b8d0:	c8 20 60 0c 	st  %g4, [ %g1 + 0xc ]                         
            p1->avl.left = p;                                         
                                                                      
            if (p1->avl.bal == 0)                                     
 200b8d4:	80 a6 e0 00 	cmp  %i3, 0                                    
 200b8d8:	12 80 00 2c 	bne  200b988 <rtems_bdbuf_remove_from_tree+0x2d8>
 200b8dc:	c2 20 a0 08 	st  %g1, [ %g2 + 8 ]                           
            {                                                         
              p1->avl.bal = -1;                                       
 200b8e0:	f8 28 a0 11 	stb  %i4, [ %g2 + 0x11 ]                       
 200b8e4:	82 10 00 02 	mov  %g2, %g1                                  
              modified = false;                                       
 200b8e8:	10 80 00 3f 	b  200b9e4 <rtems_bdbuf_remove_from_tree+0x334>
 200b8ec:	84 10 20 00 	clr  %g2                                       
          }                                                           
          else /* double RL-turn */                                   
          {                                                           
            p2 = p1->avl.left;                                        
                                                                      
            p1->avl.left = p2->avl.right;                             
 200b8f0:	f8 01 20 0c 	ld  [ %g4 + 0xc ], %i4                         <== NOT EXECUTED
            p2->avl.right = p1;                                       
 200b8f4:	c4 21 20 0c 	st  %g2, [ %g4 + 0xc ]                         <== NOT EXECUTED
          }                                                           
          else /* double RL-turn */                                   
          {                                                           
            p2 = p1->avl.left;                                        
                                                                      
            p1->avl.left = p2->avl.right;                             
 200b8f8:	f8 20 a0 08 	st  %i4, [ %g2 + 8 ]                           <== NOT EXECUTED
            p2->avl.right = p1;                                       
            p->avl.right = p2->avl.left;                              
 200b8fc:	f8 01 20 08 	ld  [ %g4 + 8 ], %i4                           <== NOT EXECUTED
            p2->avl.left = p;                                         
 200b900:	c2 21 20 08 	st  %g1, [ %g4 + 8 ]                           <== NOT EXECUTED
          {                                                           
            p2 = p1->avl.left;                                        
                                                                      
            p1->avl.left = p2->avl.right;                             
            p2->avl.right = p1;                                       
            p->avl.right = p2->avl.left;                              
 200b904:	f8 20 60 0c 	st  %i4, [ %g1 + 0xc ]                         <== NOT EXECUTED
            p2->avl.left = p;                                         
                                                                      
            if (p2->avl.bal == +1) p->avl.bal = -1; else p->avl.bal = 0;
 200b908:	f8 49 20 11 	ldsb  [ %g4 + 0x11 ], %i4                      <== NOT EXECUTED
 200b90c:	b8 1f 20 01 	xor  %i4, 1, %i4                               <== NOT EXECUTED
 200b910:	80 a0 00 1c 	cmp  %g0, %i4                                  <== NOT EXECUTED
 200b914:	b8 40 3f ff 	addx  %g0, -1, %i4                             <== NOT EXECUTED
 200b918:	f8 28 60 11 	stb  %i4, [ %g1 + 0x11 ]                       <== NOT EXECUTED
            if (p2->avl.bal == -1) p1->avl.bal = 1; else p1->avl.bal = 0;
 200b91c:	c2 49 20 11 	ldsb  [ %g4 + 0x11 ], %g1                      <== NOT EXECUTED
 200b920:	82 38 00 01 	xnor  %g0, %g1, %g1                            <== NOT EXECUTED
 200b924:	80 a0 00 01 	cmp  %g0, %g1                                  <== NOT EXECUTED
 200b928:	10 80 00 2b 	b  200b9d4 <rtems_bdbuf_remove_from_tree+0x324><== NOT EXECUTED
 200b92c:	82 60 3f ff 	subx  %g0, -1, %g1                             <== NOT EXECUTED
      }                                                               
    }                                                                 
    else                                                              
    {                                                                 
      /* rebalance right branch */                                    
      switch (p->avl.bal)                                             
 200b930:	80 a0 a0 00 	cmp  %g2, 0                                    
 200b934:	22 bf ff ed 	be,a   200b8e8 <rtems_bdbuf_remove_from_tree+0x238>
 200b938:	f0 28 60 11 	stb  %i0, [ %g1 + 0x11 ]                       
 200b93c:	80 a0 a0 01 	cmp  %g2, 1                                    
 200b940:	02 80 00 06 	be  200b958 <rtems_bdbuf_remove_from_tree+0x2a8>
 200b944:	80 a0 bf ff 	cmp  %g2, -1                                   
 200b948:	32 80 00 27 	bne,a   200b9e4 <rtems_bdbuf_remove_from_tree+0x334><== NEVER TAKEN
 200b94c:	84 10 20 01 	mov  1, %g2                                    <== NOT EXECUTED
          p->avl.bal = -1;                                            
          modified = false;                                           
          break;                                                      
                                                                      
        case -1:                                                      
          p1 = p->avl.left;                                           
 200b950:	10 80 00 04 	b  200b960 <rtems_bdbuf_remove_from_tree+0x2b0>
 200b954:	c4 00 60 08 	ld  [ %g1 + 8 ], %g2                           
    {                                                                 
      /* rebalance right branch */                                    
      switch (p->avl.bal)                                             
      {                                                               
        case +1:                                                      
          p->avl.bal = 0;                                             
 200b958:	10 80 00 22 	b  200b9e0 <rtems_bdbuf_remove_from_tree+0x330>
 200b95c:	c0 28 60 11 	clrb  [ %g1 + 0x11 ]                           
          break;                                                      
                                                                      
        case -1:                                                      
          p1 = p->avl.left;                                           
                                                                      
          if (p1->avl.bal <= 0) /* simple LL-turn */                  
 200b960:	f8 48 a0 11 	ldsb  [ %g2 + 0x11 ], %i4                      
 200b964:	80 a7 20 00 	cmp  %i4, 0                                    
 200b968:	14 80 00 0c 	bg  200b998 <rtems_bdbuf_remove_from_tree+0x2e8><== ALWAYS TAKEN
 200b96c:	c8 00 a0 0c 	ld  [ %g2 + 0xc ], %g4                         
          {                                                           
            p->avl.left = p1->avl.right;                              
 200b970:	c8 20 60 08 	st  %g4, [ %g1 + 8 ]                           <== NOT EXECUTED
            p1->avl.right = p;                                        
            if (p1->avl.bal == 0)                                     
 200b974:	80 a7 20 00 	cmp  %i4, 0                                    <== NOT EXECUTED
 200b978:	12 80 00 04 	bne  200b988 <rtems_bdbuf_remove_from_tree+0x2d8><== NOT EXECUTED
 200b97c:	c2 20 a0 0c 	st  %g1, [ %g2 + 0xc ]                         <== NOT EXECUTED
            {                                                         
              p1->avl.bal = 1;                                        
 200b980:	10 bf ff d9 	b  200b8e4 <rtems_bdbuf_remove_from_tree+0x234><== NOT EXECUTED
 200b984:	fa 28 a0 11 	stb  %i5, [ %g2 + 0x11 ]                       <== NOT EXECUTED
              modified = false;                                       
            }                                                         
            else                                                      
            {                                                         
              p->avl.bal = 0;                                         
 200b988:	c0 28 60 11 	clrb  [ %g1 + 0x11 ]                           
              p1->avl.bal = 0;                                        
 200b98c:	c0 28 a0 11 	clrb  [ %g2 + 0x11 ]                           
 200b990:	10 80 00 14 	b  200b9e0 <rtems_bdbuf_remove_from_tree+0x330>
 200b994:	82 10 00 02 	mov  %g2, %g1                                  
          }                                                           
          else /* double LR-turn */                                   
          {                                                           
            p2 = p1->avl.right;                                       
                                                                      
            p1->avl.right = p2->avl.left;                             
 200b998:	f8 01 20 08 	ld  [ %g4 + 8 ], %i4                           
            p2->avl.left = p1;                                        
 200b99c:	c4 21 20 08 	st  %g2, [ %g4 + 8 ]                           
          }                                                           
          else /* double LR-turn */                                   
          {                                                           
            p2 = p1->avl.right;                                       
                                                                      
            p1->avl.right = p2->avl.left;                             
 200b9a0:	f8 20 a0 0c 	st  %i4, [ %g2 + 0xc ]                         
            p2->avl.left = p1;                                        
            p->avl.left = p2->avl.right;                              
 200b9a4:	f8 01 20 0c 	ld  [ %g4 + 0xc ], %i4                         
            p2->avl.right = p;                                        
 200b9a8:	c2 21 20 0c 	st  %g1, [ %g4 + 0xc ]                         
          {                                                           
            p2 = p1->avl.right;                                       
                                                                      
            p1->avl.right = p2->avl.left;                             
            p2->avl.left = p1;                                        
            p->avl.left = p2->avl.right;                              
 200b9ac:	f8 20 60 08 	st  %i4, [ %g1 + 8 ]                           
            p2->avl.right = p;                                        
                                                                      
            if (p2->avl.bal == -1) p->avl.bal = 1; else p->avl.bal = 0;
 200b9b0:	f8 49 20 11 	ldsb  [ %g4 + 0x11 ], %i4                      
 200b9b4:	b8 38 00 1c 	xnor  %g0, %i4, %i4                            
 200b9b8:	80 a0 00 1c 	cmp  %g0, %i4                                  
 200b9bc:	b8 60 3f ff 	subx  %g0, -1, %i4                             
 200b9c0:	f8 28 60 11 	stb  %i4, [ %g1 + 0x11 ]                       
            if (p2->avl.bal == +1) p1->avl.bal = -1; else p1->avl.bal = 0;
 200b9c4:	c2 49 20 11 	ldsb  [ %g4 + 0x11 ], %g1                      
 200b9c8:	82 18 60 01 	xor  %g1, 1, %g1                               
 200b9cc:	80 a0 00 01 	cmp  %g0, %g1                                  
 200b9d0:	82 40 3f ff 	addx  %g0, -1, %g1                             
 200b9d4:	c2 28 a0 11 	stb  %g1, [ %g2 + 0x11 ]                       
                                                                      
            p = p2;                                                   
            p2->avl.bal = 0;                                          
 200b9d8:	c0 29 20 11 	clrb  [ %g4 + 0x11 ]                           
 200b9dc:	82 10 00 04 	mov  %g4, %g1                                  
      }                                                               
    }                                                                 
    else                                                              
    {                                                                 
      /* rebalance right branch */                                    
      switch (p->avl.bal)                                             
 200b9e0:	84 10 20 01 	mov  1, %g2                                    
{                                                                     
  return bdbuf_cache.buffer_waiters.count;                            
}                                                                     
                                                                      
static void                                                           
rtems_bdbuf_remove_from_tree (rtems_bdbuf_buffer *bd)                 
 200b9e4:	88 00 ff fc 	add  %g3, -4, %g4                              
        default:                                                      
          break;                                                      
      }                                                               
    }                                                                 
                                                                      
    if (buf_prev > buf_stack)                                         
 200b9e8:	80 a1 00 1a 	cmp  %g4, %i2                                  
 200b9ec:	28 80 00 09 	bleu,a   200ba10 <rtems_bdbuf_remove_from_tree+0x360>
 200b9f0:	05 00 80 62 	sethi  %hi(0x2018800), %g2                     
    {                                                                 
      q = *(buf_prev - 1);                                            
 200b9f4:	c8 00 ff f8 	ld  [ %g3 + -8 ], %g4                          
                                                                      
      if (q->avl.cache == -1)                                         
 200b9f8:	f8 49 20 10 	ldsb  [ %g4 + 0x10 ], %i4                      
 200b9fc:	80 a7 3f ff 	cmp  %i4, -1                                   
 200ba00:	32 80 00 07 	bne,a   200ba1c <rtems_bdbuf_remove_from_tree+0x36c>
 200ba04:	c2 21 20 0c 	st  %g1, [ %g4 + 0xc ]                         
      {                                                               
        q->avl.left = p;                                              
 200ba08:	10 80 00 05 	b  200ba1c <rtems_bdbuf_remove_from_tree+0x36c>
 200ba0c:	c2 21 20 08 	st  %g1, [ %g4 + 8 ]                           
        q->avl.right = p;                                             
      }                                                               
    }                                                                 
    else                                                              
    {                                                                 
      *root = p;                                                      
 200ba10:	c2 20 a0 10 	st  %g1, [ %g2 + 0x10 ]                        
 200ba14:	81 c7 e0 08 	ret                                            
 200ba18:	81 e8 00 00 	restore                                        
    *root = q;                                                        
  }                                                                   
                                                                      
  modified = true;                                                    
                                                                      
  while (modified)                                                    
 200ba1c:	80 88 a0 ff 	btst  0xff, %g2                                
 200ba20:	12 bf ff 96 	bne  200b878 <rtems_bdbuf_remove_from_tree+0x1c8>
 200ba24:	86 00 ff fc 	add  %g3, -4, %g3                              
 200ba28:	81 c7 e0 08 	ret                                            
 200ba2c:	81 e8 00 00 	restore                                        
                                                                      
static void                                                           
rtems_bdbuf_remove_from_tree (rtems_bdbuf_buffer *bd)                 
{                                                                     
  if (rtems_bdbuf_avl_remove (&bdbuf_cache.tree, bd) != 0)            
    rtems_bdbuf_fatal (bd->state, RTEMS_BLKDEV_FATAL_BDBUF_TREE_RM);  
 200ba30:	d0 06 20 28 	ld  [ %i0 + 0x28 ], %o0                        <== NOT EXECUTED
 200ba34:	13 10 80 00 	sethi  %hi(0x42000000), %o1                    <== NOT EXECUTED
 200ba38:	7f ff fd 64 	call  200afc8 <rtems_bdbuf_fatal>              <== NOT EXECUTED
 200ba3c:	92 12 60 09 	or  %o1, 9, %o1	! 42000009 <RAM_END+0x3fc00009><== NOT EXECUTED
                                                                      

0200ba44 <rtems_bdbuf_remove_from_tree_and_lru_list>: } static void rtems_bdbuf_remove_from_tree_and_lru_list (rtems_bdbuf_buffer *bd) {
 200ba44:	9d e3 bf a0 	save  %sp, -96, %sp                            
  switch (bd->state)                                                  
 200ba48:	c2 06 20 28 	ld  [ %i0 + 0x28 ], %g1                        
 200ba4c:	80 a0 60 00 	cmp  %g1, 0                                    
 200ba50:	02 80 00 0b 	be  200ba7c <rtems_bdbuf_remove_from_tree_and_lru_list+0x38>
 200ba54:	80 a0 60 02 	cmp  %g1, 2                                    
 200ba58:	12 80 00 05 	bne  200ba6c <rtems_bdbuf_remove_from_tree_and_lru_list+0x28><== NEVER TAKEN
 200ba5c:	01 00 00 00 	nop                                            
  {                                                                   
    case RTEMS_BDBUF_STATE_FREE:                                      
      break;                                                          
    case RTEMS_BDBUF_STATE_CACHED:                                    
      rtems_bdbuf_remove_from_tree (bd);                              
 200ba60:	7f ff ff 14 	call  200b6b0 <rtems_bdbuf_remove_from_tree>   
 200ba64:	90 10 00 18 	mov  %i0, %o0                                  
      break;                                                          
 200ba68:	30 80 00 05 	b,a   200ba7c <rtems_bdbuf_remove_from_tree_and_lru_list+0x38>
    default:                                                          
      rtems_bdbuf_fatal (bd->state, RTEMS_BLKDEV_FATAL_BDBUF_STATE_10);
 200ba6c:	d0 06 20 28 	ld  [ %i0 + 0x28 ], %o0                        <== NOT EXECUTED
 200ba70:	13 10 80 00 	sethi  %hi(0x42000000), %o1                    <== NOT EXECUTED
 200ba74:	7f ff fd 55 	call  200afc8 <rtems_bdbuf_fatal>              <== NOT EXECUTED
 200ba78:	92 12 60 08 	or  %o1, 8, %o1	! 42000008 <RAM_END+0x3fc00008><== NOT EXECUTED
 */                                                                   
RTEMS_INLINE_ROUTINE void rtems_chain_extract(                        
  rtems_chain_node *the_node                                          
)                                                                     
{                                                                     
  _Chain_Extract( the_node );                                         
 200ba7c:	7f ff f0 a9 	call  2007d20 <_Chain_Extract>                 
 200ba80:	81 e8 00 00 	restore                                        
                                                                      

0200b2d0 <rtems_bdbuf_restore_preemption>: static void rtems_bdbuf_restore_preemption (rtems_mode prev_mode) {
 200b2d0:	9d e3 bf a0 	save  %sp, -96, %sp                            
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
                                                                      
  sc = rtems_task_mode (prev_mode, RTEMS_ALL_MODE_MASKS, &prev_mode); 
 200b2d4:	13 00 00 3f 	sethi  %hi(0xfc00), %o1                        
  return prev_mode;                                                   
}                                                                     
                                                                      
static void                                                           
rtems_bdbuf_restore_preemption (rtems_mode prev_mode)                 
{                                                                     
 200b2d8:	f0 27 a0 44 	st  %i0, [ %fp + 0x44 ]                        
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
                                                                      
  sc = rtems_task_mode (prev_mode, RTEMS_ALL_MODE_MASKS, &prev_mode); 
 200b2dc:	90 10 00 18 	mov  %i0, %o0                                  
 200b2e0:	92 12 63 ff 	or  %o1, 0x3ff, %o1                            
 200b2e4:	40 00 0f c1 	call  200f1e8 <rtems_task_mode>                
 200b2e8:	94 07 a0 44 	add  %fp, 0x44, %o2                            
  if (sc != RTEMS_SUCCESSFUL)                                         
 200b2ec:	80 a2 20 00 	cmp  %o0, 0                                    
 200b2f0:	02 80 00 04 	be  200b300 <rtems_bdbuf_restore_preemption+0x30><== ALWAYS TAKEN
 200b2f4:	11 10 80 00 	sethi  %hi(0x42000000), %o0                    
    rtems_fatal_error_occurred (RTEMS_BLKDEV_FATAL_BDBUF_PREEMPT_RST);
 200b2f8:	7f ff f1 43 	call  2007804 <rtems_fatal_error_occurred>     <== NOT EXECUTED
 200b2fc:	90 12 20 11 	or  %o0, 0x11, %o0	! 42000011 <RAM_END+0x3fc00011><== NOT EXECUTED
 200b300:	81 c7 e0 08 	ret                                            
 200b304:	81 e8 00 00 	restore                                        
                                                                      

0200afdc <rtems_bdbuf_swapout_modified_processing>: rtems_chain_control* chain, rtems_chain_control* transfer, bool sync_active, bool update_timers, uint32_t timer_delta) {
 200afdc:	9d e3 bf 98 	save  %sp, -104, %sp                           
 */                                                                   
RTEMS_INLINE_ROUTINE const Chain_Node *_Chain_Immutable_first(        
  const Chain_Control *the_chain                                      
)                                                                     
{                                                                     
  return _Chain_Immutable_head( the_chain )->next;                    
 200afe0:	d2 06 40 00 	ld  [ %i1 ], %o1                               
RTEMS_INLINE_ROUTINE bool _Chain_Is_empty(                            
  const Chain_Control *the_chain                                      
)                                                                     
{                                                                     
  return _Chain_Immutable_first( the_chain )                          
    == _Chain_Immutable_tail( the_chain );                            
 200afe4:	82 06 60 04 	add  %i1, 4, %g1                               
  if (!rtems_chain_is_empty (chain))                                  
 200afe8:	80 a2 40 01 	cmp  %o1, %g1                                  
 200afec:	02 80 00 61 	be  200b170 <rtems_bdbuf_swapout_modified_processing+0x194>
 200aff0:	80 a6 e0 00 	cmp  %i3, 0                                    
    node = node->next;                                                
                                                                      
    /*                                                                
     * A sync active with no valid dev means sync all.                
     */                                                               
    if (sync_active && (*dev == BDBUF_INVALID_DEV))                   
 200aff4:	02 80 00 58 	be  200b154 <rtems_bdbuf_swapout_modified_processing+0x178>
 200aff8:	a6 10 20 00 	clr  %l3                                       
 * @param update_timers If true update the timers.                    
 * @param timer_delta It update_timers is true update the timers by this
 *                    amount.                                         
 */                                                                   
static void                                                           
rtems_bdbuf_swapout_modified_processing (dev_t*               dev,    
 200affc:	c4 06 00 00 	ld  [ %i0 ], %g2                               
 200b000:	c2 06 20 04 	ld  [ %i0 + 4 ], %g1                           
 200b004:	82 08 80 01 	and  %g2, %g1, %g1                             
 200b008:	82 38 00 01 	xnor  %g0, %g1, %g1                            
 200b00c:	80 a0 00 01 	cmp  %g0, %g1                                  
 200b010:	10 80 00 51 	b  200b154 <rtems_bdbuf_swapout_modified_processing+0x178>
 200b014:	a6 60 3f ff 	subx  %g0, -1, %l3                             
       * or someone waits for a buffer written force all the timers to 0.
       *                                                              
       * @note Lots of sync requests will skew this timer. It should be based
       *       on TOD to be accurate. Does it matter ?                
       */                                                             
      if (sync_all || (sync_active && (*dev == bd->dev))              
 200b018:	12 80 00 12 	bne  200b060 <rtems_bdbuf_swapout_modified_processing+0x84>
 200b01c:	80 a6 e0 00 	cmp  %i3, 0                                    
 200b020:	02 80 00 0c 	be  200b050 <rtems_bdbuf_swapout_modified_processing+0x74>
 200b024:	82 14 a3 d0 	or  %l2, 0x3d0, %g1                            
 200b028:	c4 06 00 00 	ld  [ %i0 ], %g2                               
 200b02c:	c2 02 60 18 	ld  [ %o1 + 0x18 ], %g1                        
 200b030:	80 a0 80 01 	cmp  %g2, %g1                                  
 200b034:	12 80 00 07 	bne  200b050 <rtems_bdbuf_swapout_modified_processing+0x74>
 200b038:	82 14 a3 d0 	or  %l2, 0x3d0, %g1                            
 200b03c:	c4 06 20 04 	ld  [ %i0 + 4 ], %g2                           
 200b040:	c2 02 60 1c 	ld  [ %o1 + 0x1c ], %g1                        
 200b044:	80 a0 80 01 	cmp  %g2, %g1                                  
 200b048:	02 80 00 06 	be  200b060 <rtems_bdbuf_swapout_modified_processing+0x84><== ALWAYS TAKEN
 200b04c:	82 14 a3 d0 	or  %l2, 0x3d0, %g1                            
}                                                                     
                                                                      
static bool                                                           
rtems_bdbuf_has_buffer_waiters (void)                                 
{                                                                     
  return bdbuf_cache.buffer_waiters.count;                            
 200b050:	c2 00 60 78 	ld  [ %g1 + 0x78 ], %g1                        
       *                                                              
       * @note Lots of sync requests will skew this timer. It should be based
       *       on TOD to be accurate. Does it matter ?                
       */                                                             
      if (sync_all || (sync_active && (*dev == bd->dev))              
          || rtems_bdbuf_has_buffer_waiters ())                       
 200b054:	80 a0 60 00 	cmp  %g1, 0                                    
 200b058:	02 80 00 03 	be  200b064 <rtems_bdbuf_swapout_modified_processing+0x88>
 200b05c:	01 00 00 00 	nop                                            
        bd->hold_timer = 0;                                           
 200b060:	c0 22 60 34 	clr  [ %o1 + 0x34 ]                            
                                                                      
      if (bd->hold_timer)                                             
 200b064:	c2 02 60 34 	ld  [ %o1 + 0x34 ], %g1                        
 200b068:	80 a0 60 00 	cmp  %g1, 0                                    
 200b06c:	22 80 00 14 	be,a   200b0bc <rtems_bdbuf_swapout_modified_processing+0xe0>
 200b070:	c2 06 00 00 	ld  [ %i0 ], %g1                               
      {                                                               
        if (update_timers)                                            
 200b074:	80 a7 20 00 	cmp  %i4, 0                                    
 200b078:	02 80 00 0b 	be  200b0a4 <rtems_bdbuf_swapout_modified_processing+0xc8>
 200b07c:	01 00 00 00 	nop                                            
        {                                                             
          if (bd->hold_timer > timer_delta)                           
 200b080:	c2 02 60 34 	ld  [ %o1 + 0x34 ], %g1                        
 200b084:	80 a0 40 1d 	cmp  %g1, %i5                                  
 200b088:	08 80 00 06 	bleu  200b0a0 <rtems_bdbuf_swapout_modified_processing+0xc4>
 200b08c:	01 00 00 00 	nop                                            
            bd->hold_timer -= timer_delta;                            
 200b090:	c2 02 60 34 	ld  [ %o1 + 0x34 ], %g1                        
 200b094:	82 20 40 1d 	sub  %g1, %i5, %g1                             
 200b098:	c2 22 60 34 	st  %g1, [ %o1 + 0x34 ]                        
 200b09c:	30 80 00 02 	b,a   200b0a4 <rtems_bdbuf_swapout_modified_processing+0xc8>
          else                                                        
            bd->hold_timer = 0;                                       
 200b0a0:	c0 22 60 34 	clr  [ %o1 + 0x34 ]                            
        }                                                             
                                                                      
        if (bd->hold_timer)                                           
 200b0a4:	c2 02 60 34 	ld  [ %o1 + 0x34 ], %g1                        
 200b0a8:	80 a0 60 00 	cmp  %g1, 0                                    
 200b0ac:	22 80 00 04 	be,a   200b0bc <rtems_bdbuf_swapout_modified_processing+0xe0>
 200b0b0:	c2 06 00 00 	ld  [ %i0 ], %g1                               
        {                                                             
          node = node->next;                                          
          continue;                                                   
 200b0b4:	10 80 00 2c 	b  200b164 <rtems_bdbuf_swapout_modified_processing+0x188>
 200b0b8:	d2 02 40 00 	ld  [ %o1 ], %o1                               
      /*                                                              
       * This assumes we can set dev_t to BDBUF_INVALID_DEV which is just an
       * assumption. Cannot use the transfer list being empty the sync dev
       * calls sets the dev to use.                                   
       */                                                             
      if (*dev == BDBUF_INVALID_DEV)                                  
 200b0bc:	80 a0 7f ff 	cmp  %g1, -1                                   
 200b0c0:	32 80 00 09 	bne,a   200b0e4 <rtems_bdbuf_swapout_modified_processing+0x108>
 200b0c4:	c4 02 60 18 	ld  [ %o1 + 0x18 ], %g2                        
 200b0c8:	c2 06 20 04 	ld  [ %i0 + 4 ], %g1                           
 200b0cc:	80 a0 7f ff 	cmp  %g1, -1                                   
 200b0d0:	32 80 00 05 	bne,a   200b0e4 <rtems_bdbuf_swapout_modified_processing+0x108><== NEVER TAKEN
 200b0d4:	c4 02 60 18 	ld  [ %o1 + 0x18 ], %g2                        <== NOT EXECUTED
        *dev = bd->dev;                                               
 200b0d8:	c4 1a 60 18 	ldd  [ %o1 + 0x18 ], %g2                       
 200b0dc:	c4 3e 00 00 	std  %g2, [ %i0 ]                              
                                                                      
      if (bd->dev == *dev)                                            
 200b0e0:	c4 02 60 18 	ld  [ %o1 + 0x18 ], %g2                        
 200b0e4:	c2 06 00 00 	ld  [ %i0 ], %g1                               
 200b0e8:	80 a0 80 01 	cmp  %g2, %g1                                  
 200b0ec:	12 80 00 25 	bne  200b180 <rtems_bdbuf_swapout_modified_processing+0x1a4><== NEVER TAKEN
 200b0f0:	e0 02 40 00 	ld  [ %o1 ], %l0                               
 200b0f4:	c4 02 60 1c 	ld  [ %o1 + 0x1c ], %g2                        
 200b0f8:	c2 06 20 04 	ld  [ %i0 + 4 ], %g1                           
 200b0fc:	80 a0 80 01 	cmp  %g2, %g1                                  
 200b100:	32 80 00 19 	bne,a   200b164 <rtems_bdbuf_swapout_modified_processing+0x188><== NEVER TAKEN
 200b104:	92 10 00 10 	mov  %l0, %o1                                  <== NOT EXECUTED
}                                                                     
                                                                      
static void                                                           
rtems_bdbuf_set_state (rtems_bdbuf_buffer *bd, rtems_bdbuf_buf_state state)
{                                                                     
  bd->state = state;                                                  
 200b108:	e2 22 60 28 	st  %l1, [ %o1 + 0x28 ]                        
 */                                                                   
RTEMS_INLINE_ROUTINE void rtems_chain_extract(                        
  rtems_chain_node *the_node                                          
)                                                                     
{                                                                     
  _Chain_Extract( the_node );                                         
 200b10c:	90 10 00 09 	mov  %o1, %o0                                  
 200b110:	7f ff f3 04 	call  2007d20 <_Chain_Extract>                 
 200b114:	d2 27 bf fc 	st  %o1, [ %fp + -4 ]                          
                                                                      
        rtems_bdbuf_set_state (bd, RTEMS_BDBUF_STATE_TRANSFER);       
                                                                      
        rtems_chain_extract (node);                                   
                                                                      
        tnode = tnode->previous;                                      
 200b118:	d0 06 a0 08 	ld  [ %i2 + 8 ], %o0                           
                                                                      
        while (node && !rtems_chain_is_head (transfer, tnode))        
 200b11c:	10 80 00 07 	b  200b138 <rtems_bdbuf_swapout_modified_processing+0x15c>
 200b120:	d2 07 bf fc 	ld  [ %fp + -4 ], %o1                          
        {                                                             
          rtems_bdbuf_buffer* tbd = (rtems_bdbuf_buffer*) tnode;      
                                                                      
          if (bd->block > tbd->block)                                 
 200b124:	c2 02 20 20 	ld  [ %o0 + 0x20 ], %g1                        
 200b128:	80 a0 80 01 	cmp  %g2, %g1                                  
 200b12c:	18 80 00 13 	bgu  200b178 <rtems_bdbuf_swapout_modified_processing+0x19c>
 200b130:	01 00 00 00 	nop                                            
          {                                                           
            rtems_chain_insert (tnode, node);                         
            node = NULL;                                              
          }                                                           
          else                                                        
            tnode = tnode->previous;                                  
 200b134:	d0 02 20 04 	ld  [ %o0 + 4 ], %o0                           
                                                                      
        rtems_chain_extract (node);                                   
                                                                      
        tnode = tnode->previous;                                      
                                                                      
        while (node && !rtems_chain_is_head (transfer, tnode))        
 200b138:	80 a2 60 00 	cmp  %o1, 0                                    
 200b13c:	02 80 00 11 	be  200b180 <rtems_bdbuf_swapout_modified_processing+0x1a4><== NEVER TAKEN
 200b140:	80 a2 00 1a 	cmp  %o0, %i2                                  
 200b144:	32 bf ff f8 	bne,a   200b124 <rtems_bdbuf_swapout_modified_processing+0x148>
 200b148:	c4 02 60 20 	ld  [ %o1 + 0x20 ], %g2                        
RTEMS_INLINE_ROUTINE void _Chain_Prepend(                             
  Chain_Control *the_chain,                                           
  Chain_Node    *the_node                                             
)                                                                     
{                                                                     
  _Chain_Insert(_Chain_Head(the_chain), the_node);                    
 200b14c:	10 80 00 0b 	b  200b178 <rtems_bdbuf_swapout_modified_processing+0x19c>
 200b150:	90 10 00 1a 	mov  %i2, %o0                                  
RTEMS_INLINE_ROUTINE bool _Chain_Is_tail(                             
  Chain_Control *the_chain,                                           
  const Chain_Node    *the_node                                       
)                                                                     
{                                                                     
  return (the_node == _Chain_Tail(the_chain));                        
 200b154:	b2 06 60 04 	add  %i1, 4, %i1                               
       * or someone waits for a buffer written force all the timers to 0.
       *                                                              
       * @note Lots of sync requests will skew this timer. It should be based
       *       on TOD to be accurate. Does it matter ?                
       */                                                             
      if (sync_all || (sync_active && (*dev == bd->dev))              
 200b158:	a6 0c e0 ff 	and  %l3, 0xff, %l3                            
}                                                                     
                                                                      
static bool                                                           
rtems_bdbuf_has_buffer_waiters (void)                                 
{                                                                     
  return bdbuf_cache.buffer_waiters.count;                            
 200b15c:	25 00 80 61 	sethi  %hi(0x2018400), %l2                     
}                                                                     
                                                                      
static void                                                           
rtems_bdbuf_set_state (rtems_bdbuf_buffer *bd, rtems_bdbuf_buf_state state)
{                                                                     
  bd->state = state;                                                  
 200b160:	a2 10 20 09 	mov  9, %l1                                    
    if (sync_active && (*dev == BDBUF_INVALID_DEV))                   
      sync_all = true;                                                
    else                                                              
      sync_all = false;                                               
                                                                      
    while (!rtems_chain_is_tail (chain, node))                        
 200b164:	80 a2 40 19 	cmp  %o1, %i1                                  
 200b168:	12 bf ff ac 	bne  200b018 <rtems_bdbuf_swapout_modified_processing+0x3c>
 200b16c:	80 a4 e0 00 	cmp  %l3, 0                                    
 200b170:	81 c7 e0 08 	ret                                            
 200b174:	81 e8 00 00 	restore                                        
RTEMS_INLINE_ROUTINE void _Chain_Prepend(                             
  Chain_Control *the_chain,                                           
  Chain_Node    *the_node                                             
)                                                                     
{                                                                     
  _Chain_Insert(_Chain_Head(the_chain), the_node);                    
 200b178:	40 00 11 44 	call  200f688 <_Chain_Insert>                  
 200b17c:	01 00 00 00 	nop                                            
        }                                                             
                                                                      
        if (node)                                                     
          rtems_chain_prepend (transfer, node);                       
                                                                      
        node = next_node;                                             
 200b180:	10 bf ff f9 	b  200b164 <rtems_bdbuf_swapout_modified_processing+0x188>
 200b184:	92 10 00 10 	mov  %l0, %o1                                  
                                                                      

0200bfcc <rtems_bdbuf_swapout_task>: * not this. * @return rtems_task Not used. */ static rtems_task rtems_bdbuf_swapout_task (rtems_task_argument arg) {
 200bfcc:	9d e3 bf 70 	save  %sp, -144, %sp                           
  rtems_bdbuf_swapout_transfer transfer;                              
  uint32_t                     period_in_ticks;                       
  const uint32_t               period_in_msecs = bdbuf_config.swapout_period;;
 200bfd0:	35 00 80 5b 	sethi  %hi(0x2016c00), %i2                     
 200bfd4:	b4 16 a3 b8 	or  %i2, 0x3b8, %i2	! 2016fb8 <rtems_bdbuf_configuration>
  uint32_t                     timer_delta;                           
                                                                      
  transfer.write_req = rtems_bdbuf_swapout_writereq_alloc ();         
 200bfd8:	7f ff fd 00 	call  200b3d8 <rtems_bdbuf_swapout_writereq_alloc>
 200bfdc:	f6 06 a0 0c 	ld  [ %i2 + 0xc ], %i3                         
)                                                                     
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
                                                                      
  head->next = tail;                                                  
 200bfe0:	82 07 bf d4 	add  %fp, -44, %g1                             
 200bfe4:	c2 27 bf d0 	st  %g1, [ %fp + -48 ]                         
  head->previous = NULL;                                              
  tail->previous = head;                                              
 200bfe8:	82 07 bf d0 	add  %fp, -48, %g1                             
 200bfec:	c2 27 bf d8 	st  %g1, [ %fp + -40 ]                         
  transfer.syncing = false;                                           
                                                                      
  /*                                                                  
   * Localise the period.                                             
   */                                                                 
  period_in_ticks = RTEMS_MICROSECONDS_TO_TICKS (period_in_msecs * 1000);
 200bff0:	83 2e e0 02 	sll  %i3, 2, %g1                               
  rtems_bdbuf_swapout_transfer transfer;                              
  uint32_t                     period_in_ticks;                       
  const uint32_t               period_in_msecs = bdbuf_config.swapout_period;;
  uint32_t                     timer_delta;                           
                                                                      
  transfer.write_req = rtems_bdbuf_swapout_writereq_alloc ();         
 200bff4:	d0 27 bf ec 	st  %o0, [ %fp + -20 ]                         
  transfer.syncing = false;                                           
                                                                      
  /*                                                                  
   * Localise the period.                                             
   */                                                                 
  period_in_ticks = RTEMS_MICROSECONDS_TO_TICKS (period_in_msecs * 1000);
 200bff8:	91 2e e0 07 	sll  %i3, 7, %o0                               
 200bffc:	90 22 00 01 	sub  %o0, %g1, %o0                             
 200c000:	03 00 80 5f 	sethi  %hi(0x2017c00), %g1                     
 200c004:	d2 00 62 28 	ld  [ %g1 + 0x228 ], %o1	! 2017e28 <Configuration+0xc>
  const uint32_t               period_in_msecs = bdbuf_config.swapout_period;;
  uint32_t                     timer_delta;                           
                                                                      
  transfer.write_req = rtems_bdbuf_swapout_writereq_alloc ();         
  rtems_chain_initialize_empty (&transfer.bds);                       
  transfer.dev = BDBUF_INVALID_DEV;                                   
 200c008:	05 3f ff ff 	sethi  %hi(0xfffffc00), %g2                    
 200c00c:	84 10 a3 ff 	or  %g2, 0x3ff, %g2	! ffffffff <RAM_END+0xfdbfffff>
 200c010:	86 10 00 02 	mov  %g2, %g3                                  
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
                                                                      
  head->next = tail;                                                  
  head->previous = NULL;                                              
 200c014:	c0 27 bf d4 	clr  [ %fp + -44 ]                             
 200c018:	c4 3f bf e0 	std  %g2, [ %fp + -32 ]                        
  transfer.syncing = false;                                           
 200c01c:	c0 2f bf e8 	clrb  [ %fp + -24 ]                            
                                                                      
  /*                                                                  
   * Localise the period.                                             
   */                                                                 
  period_in_ticks = RTEMS_MICROSECONDS_TO_TICKS (period_in_msecs * 1000);
 200c020:	90 02 00 1b 	add  %o0, %i3, %o0                             
 200c024:	40 00 23 94 	call  2014e74 <.udiv>                          
 200c028:	91 2a 20 03 	sll  %o0, 3, %o0                               
RTEMS_INLINE_ROUTINE void rtems_chain_append(                         
  rtems_chain_control *the_chain,                                     
  rtems_chain_node    *the_node                                       
)                                                                     
{                                                                     
  _Chain_Append( the_chain, the_node );                               
 200c02c:	23 00 80 61 	sethi  %hi(0x2018400), %l1                     
 200c030:	a6 10 00 08 	mov  %o0, %l3                                  
rtems_bdbuf_swapout_workers_open (void)                               
{                                                                     
  rtems_status_code sc;                                               
  size_t            w;                                                
                                                                      
  rtems_bdbuf_lock_cache ();                                          
 200c034:	7f ff fb cb 	call  200af60 <rtems_bdbuf_lock_cache>         
 200c038:	31 10 91 1b 	sethi  %hi(0x42446c00), %i0                    
                            RTEMS_LOCAL | RTEMS_NO_FLOATING_POINT,    
                            &worker->id);                             
    if (sc != RTEMS_SUCCESSFUL)                                       
      rtems_fatal_error_occurred (RTEMS_BLKDEV_FATAL_BDBUF_SO_WK_CREATE);
                                                                      
    sc = rtems_task_start (worker->id,                                
 200c03c:	33 00 80 30 	sethi  %hi(0x200c000), %i1                     
  rtems_status_code sc;                                               
  size_t            w;                                                
                                                                      
  rtems_bdbuf_lock_cache ();                                          
                                                                      
  for (w = 0; w < bdbuf_config.swapout_workers; w++)                  
 200c040:	b8 10 20 00 	clr  %i4                                       
 200c044:	e4 06 a0 14 	ld  [ %i2 + 0x14 ], %l2                        
 200c048:	a2 14 63 d8 	or  %l1, 0x3d8, %l1                            
    worker = malloc (sizeof (rtems_bdbuf_swapout_worker));            
    if (!worker)                                                      
      rtems_fatal_error_occurred (RTEMS_BLKDEV_FATAL_BDBUF_SO_NOMEM); 
                                                                      
    rtems_chain_append (&bdbuf_cache.swapout_workers, &worker->link); 
    worker->enabled = true;                                           
 200c04c:	a0 10 20 01 	mov  1, %l0                                    
    worker->transfer.write_req = rtems_bdbuf_swapout_writereq_alloc ();
                                                                      
    rtems_chain_initialize_empty (&worker->transfer.bds);             
    worker->transfer.dev = BDBUF_INVALID_DEV;                         
                                                                      
    sc = rtems_task_create (rtems_build_name('B', 'D', 'o', 'a' + w), 
 200c050:	b0 16 23 00 	or  %i0, 0x300, %i0                            
                            RTEMS_LOCAL | RTEMS_NO_FLOATING_POINT,    
                            &worker->id);                             
    if (sc != RTEMS_SUCCESSFUL)                                       
      rtems_fatal_error_occurred (RTEMS_BLKDEV_FATAL_BDBUF_SO_WK_CREATE);
                                                                      
    sc = rtems_task_start (worker->id,                                
 200c054:	10 80 00 34 	b  200c124 <rtems_bdbuf_swapout_task+0x158>    
 200c058:	b2 16 63 40 	or  %i1, 0x340, %i1                            
                                                                      
  for (w = 0; w < bdbuf_config.swapout_workers; w++)                  
  {                                                                   
    rtems_bdbuf_swapout_worker* worker;                               
                                                                      
    worker = malloc (sizeof (rtems_bdbuf_swapout_worker));            
 200c05c:	7f ff df 19 	call  2003cc0 <malloc>                         <== NOT EXECUTED
 200c060:	90 10 20 38 	mov  0x38, %o0                                 <== NOT EXECUTED
    if (!worker)                                                      
 200c064:	ba 92 20 00 	orcc  %o0, 0, %i5                              <== NOT EXECUTED
 200c068:	12 80 00 05 	bne  200c07c <rtems_bdbuf_swapout_task+0xb0>   <== NOT EXECUTED
 200c06c:	92 10 00 1d 	mov  %i5, %o1                                  <== NOT EXECUTED
      rtems_fatal_error_occurred (RTEMS_BLKDEV_FATAL_BDBUF_SO_NOMEM); 
 200c070:	11 10 80 00 	sethi  %hi(0x42000000), %o0                    <== NOT EXECUTED
 200c074:	10 80 00 21 	b  200c0f8 <rtems_bdbuf_swapout_task+0x12c>    <== NOT EXECUTED
 200c078:	90 12 20 15 	or  %o0, 0x15, %o0	! 42000015 <RAM_END+0x3fc00015><== NOT EXECUTED
 200c07c:	7f ff ef 1e 	call  2007cf4 <_Chain_Append>                  <== NOT EXECUTED
 200c080:	90 10 00 11 	mov  %l1, %o0                                  <== NOT EXECUTED
                                                                      
    rtems_chain_append (&bdbuf_cache.swapout_workers, &worker->link); 
    worker->enabled = true;                                           
 200c084:	e0 2f 60 0c 	stb  %l0, [ %i5 + 0xc ]                        <== NOT EXECUTED
    worker->transfer.write_req = rtems_bdbuf_swapout_writereq_alloc ();
 200c088:	7f ff fc d4 	call  200b3d8 <rtems_bdbuf_swapout_writereq_alloc><== NOT EXECUTED
 200c08c:	01 00 00 00 	nop                                            <== NOT EXECUTED
RTEMS_INLINE_ROUTINE void _Chain_Initialize_empty(                    
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
 200c090:	84 07 60 14 	add  %i5, 0x14, %g2                            <== NOT EXECUTED
                                                                      
    rtems_chain_initialize_empty (&worker->transfer.bds);             
    worker->transfer.dev = BDBUF_INVALID_DEV;                         
                                                                      
    sc = rtems_task_create (rtems_build_name('B', 'D', 'o', 'a' + w), 
                            (bdbuf_config.swapout_priority ?          
 200c094:	d2 06 a0 08 	ld  [ %i2 + 8 ], %o1                           <== NOT EXECUTED
    if (!worker)                                                      
      rtems_fatal_error_occurred (RTEMS_BLKDEV_FATAL_BDBUF_SO_NOMEM); 
                                                                      
    rtems_chain_append (&bdbuf_cache.swapout_workers, &worker->link); 
    worker->enabled = true;                                           
    worker->transfer.write_req = rtems_bdbuf_swapout_writereq_alloc ();
 200c098:	d0 27 60 2c 	st  %o0, [ %i5 + 0x2c ]                        <== NOT EXECUTED
 200c09c:	82 07 60 10 	add  %i5, 0x10, %g1                            <== NOT EXECUTED
                                                                      
  head->next = tail;                                                  
 200c0a0:	c4 27 60 10 	st  %g2, [ %i5 + 0x10 ]                        <== NOT EXECUTED
  head->previous = NULL;                                              
 200c0a4:	c0 27 60 14 	clr  [ %i5 + 0x14 ]                            <== NOT EXECUTED
                                                                      
    rtems_chain_initialize_empty (&worker->transfer.bds);             
    worker->transfer.dev = BDBUF_INVALID_DEV;                         
 200c0a8:	05 3f ff ff 	sethi  %hi(0xfffffc00), %g2                    <== NOT EXECUTED
  tail->previous = head;                                              
 200c0ac:	c2 27 60 18 	st  %g1, [ %i5 + 0x18 ]                        <== NOT EXECUTED
 200c0b0:	84 10 a3 ff 	or  %g2, 0x3ff, %g2                            <== NOT EXECUTED
 200c0b4:	86 10 00 02 	mov  %g2, %g3                                  <== NOT EXECUTED
 200c0b8:	c4 3f 60 20 	std  %g2, [ %i5 + 0x20 ]                       <== NOT EXECUTED
                                                                      
    sc = rtems_task_create (rtems_build_name('B', 'D', 'o', 'a' + w), 
 200c0bc:	90 07 20 61 	add  %i4, 0x61, %o0                            <== NOT EXECUTED
 200c0c0:	80 a2 60 00 	cmp  %o1, 0                                    <== NOT EXECUTED
 200c0c4:	12 80 00 03 	bne  200c0d0 <rtems_bdbuf_swapout_task+0x104>  <== NOT EXECUTED
 200c0c8:	90 12 00 18 	or  %o0, %i0, %o0                              <== NOT EXECUTED
 200c0cc:	92 10 20 0f 	mov  0xf, %o1                                  <== NOT EXECUTED
 200c0d0:	15 00 00 08 	sethi  %hi(0x2000), %o2                        <== NOT EXECUTED
 200c0d4:	96 10 24 00 	mov  0x400, %o3                                <== NOT EXECUTED
 200c0d8:	98 10 20 00 	clr  %o4                                       <== NOT EXECUTED
 200c0dc:	7f ff ec a9 	call  2007380 <rtems_task_create>              <== NOT EXECUTED
 200c0e0:	9a 07 60 08 	add  %i5, 8, %o5                               <== NOT EXECUTED
                             RTEMS_BDBUF_SWAPOUT_TASK_PRIORITY_DEFAULT),
                            SWAPOUT_TASK_STACK_SIZE,                  
                            RTEMS_PREEMPT | RTEMS_NO_TIMESLICE | RTEMS_NO_ASR,
                            RTEMS_LOCAL | RTEMS_NO_FLOATING_POINT,    
                            &worker->id);                             
    if (sc != RTEMS_SUCCESSFUL)                                       
 200c0e4:	80 a2 20 00 	cmp  %o0, 0                                    <== NOT EXECUTED
 200c0e8:	22 80 00 06 	be,a   200c100 <rtems_bdbuf_swapout_task+0x134><== NOT EXECUTED
 200c0ec:	d0 07 60 08 	ld  [ %i5 + 8 ], %o0                           <== NOT EXECUTED
      rtems_fatal_error_occurred (RTEMS_BLKDEV_FATAL_BDBUF_SO_WK_CREATE);
 200c0f0:	11 10 80 00 	sethi  %hi(0x42000000), %o0                    <== NOT EXECUTED
 200c0f4:	90 12 20 16 	or  %o0, 0x16, %o0	! 42000016 <RAM_END+0x3fc00016><== NOT EXECUTED
 200c0f8:	7f ff ed c3 	call  2007804 <rtems_fatal_error_occurred>     <== NOT EXECUTED
 200c0fc:	01 00 00 00 	nop                                            <== NOT EXECUTED
                                                                      
    sc = rtems_task_start (worker->id,                                
 200c100:	92 10 00 19 	mov  %i1, %o1                                  <== NOT EXECUTED
 200c104:	7f ff ed 2c 	call  20075b4 <rtems_task_start>               <== NOT EXECUTED
 200c108:	94 10 00 1d 	mov  %i5, %o2                                  <== NOT EXECUTED
                           rtems_bdbuf_swapout_worker_task,           
                           (rtems_task_argument) worker);             
    if (sc != RTEMS_SUCCESSFUL)                                       
 200c10c:	80 a2 20 00 	cmp  %o0, 0                                    <== NOT EXECUTED
 200c110:	22 80 00 05 	be,a   200c124 <rtems_bdbuf_swapout_task+0x158><== NOT EXECUTED
 200c114:	b8 07 20 01 	inc  %i4                                       <== NOT EXECUTED
      rtems_fatal_error_occurred (RTEMS_BLKDEV_FATAL_BDBUF_SO_WK_START);
 200c118:	11 10 80 00 	sethi  %hi(0x42000000), %o0                    <== NOT EXECUTED
 200c11c:	10 bf ff f7 	b  200c0f8 <rtems_bdbuf_swapout_task+0x12c>    <== NOT EXECUTED
 200c120:	90 12 20 17 	or  %o0, 0x17, %o0	! 42000017 <RAM_END+0x3fc00017><== NOT EXECUTED
  rtems_status_code sc;                                               
  size_t            w;                                                
                                                                      
  rtems_bdbuf_lock_cache ();                                          
                                                                      
  for (w = 0; w < bdbuf_config.swapout_workers; w++)                  
 200c124:	80 a7 00 12 	cmp  %i4, %l2                                  
 200c128:	0a bf ff cd 	bcs  200c05c <rtems_bdbuf_swapout_task+0x90>   <== NEVER TAKEN
 200c12c:	3b 00 80 61 	sethi  %hi(0x2018400), %i5                     
    if (worker)                                                       
      transfer = &worker->transfer;                                   
  }                                                                   
                                                                      
  rtems_chain_initialize_empty (&transfer->bds);                      
  transfer->dev = BDBUF_INVALID_DEV;                                  
 200c130:	29 3f ff ff 	sethi  %hi(0xfffffc00), %l4                    
  /*                                                                  
   * Create the worker threads.                                       
   */                                                                 
  rtems_bdbuf_swapout_workers_open ();                                
                                                                      
  while (bdbuf_cache.swapout_enabled)                                 
 200c134:	ba 17 63 d0 	or  %i5, 0x3d0, %i5                            
                           (rtems_task_argument) worker);             
    if (sc != RTEMS_SUCCESSFUL)                                       
      rtems_fatal_error_occurred (RTEMS_BLKDEV_FATAL_BDBUF_SO_WK_START);
  }                                                                   
                                                                      
  rtems_bdbuf_unlock_cache ();                                        
 200c138:	7f ff fc 14 	call  200b188 <rtems_bdbuf_unlock_cache>       
 200c13c:	a8 15 23 ff 	or  %l4, 0x3ff, %l4                            
 */                                                                   
RTEMS_INLINE_ROUTINE rtems_chain_node *rtems_chain_get(               
  rtems_chain_control *the_chain                                      
)                                                                     
{                                                                     
  return _Chain_Get( the_chain );                                     
 200c140:	a0 07 60 08 	add  %i5, 8, %l0                               
    if (worker)                                                       
      transfer = &worker->transfer;                                   
  }                                                                   
                                                                      
  rtems_chain_initialize_empty (&transfer->bds);                      
  transfer->dev = BDBUF_INVALID_DEV;                                  
 200c144:	aa 10 00 14 	mov  %l4, %l5                                  
                                                                      
  /*                                                                  
   * If we have any buffers in the sync queue move them to the modified
   * list. The first sync buffer will select the device we use.       
   */                                                                 
  rtems_bdbuf_swapout_modified_processing (&transfer->dev,            
 200c148:	b0 07 60 5c 	add  %i5, 0x5c, %i0                            
                                           timer_delta);              
                                                                      
  /*                                                                  
   * Process the cache's modified list.                               
   */                                                                 
  rtems_bdbuf_swapout_modified_processing (&transfer->dev,            
 200c14c:	10 80 00 65 	b  200c2e0 <rtems_bdbuf_swapout_task+0x314>    
 200c150:	a2 07 60 50 	add  %i5, 0x50, %l1                            
 200c154:	b2 10 20 00 	clr  %i1                                       
                                rtems_bdbuf_swapout_transfer* transfer)
{                                                                     
  rtems_bdbuf_swapout_worker* worker;                                 
  bool                        transfered_buffers = false;             
                                                                      
  rtems_bdbuf_lock_cache ();                                          
 200c158:	7f ff fb 82 	call  200af60 <rtems_bdbuf_lock_cache>         
 200c15c:	01 00 00 00 	nop                                            
   * here. We do not know the worker is the last in a sequence of sync writes
   * until after we have it running so we do not know to tell it to release the
   * lock. The simplest solution is to get the main swap out task perform all
   * sync operations.                                                 
   */                                                                 
  if (bdbuf_cache.sync_active)                                        
 200c160:	c2 0f 60 30 	ldub  [ %i5 + 0x30 ], %g1                      
    worker = NULL;                                                    
 200c164:	b4 10 20 00 	clr  %i2                                       
   * here. We do not know the worker is the last in a sequence of sync writes
   * until after we have it running so we do not know to tell it to release the
   * lock. The simplest solution is to get the main swap out task perform all
   * sync operations.                                                 
   */                                                                 
  if (bdbuf_cache.sync_active)                                        
 200c168:	80 a0 60 00 	cmp  %g1, 0                                    
 200c16c:	12 80 00 07 	bne  200c188 <rtems_bdbuf_swapout_task+0x1bc>  
 200c170:	b8 07 bf d0 	add  %fp, -48, %i4                             
 200c174:	7f ff ee f4 	call  2007d44 <_Chain_Get>                     
 200c178:	90 10 00 10 	mov  %l0, %o0                                  
    worker = NULL;                                                    
  else                                                                
  {                                                                   
    worker = (rtems_bdbuf_swapout_worker*)                            
      rtems_chain_get (&bdbuf_cache.swapout_workers);                 
    if (worker)                                                       
 200c17c:	b4 92 20 00 	orcc  %o0, 0, %i2                              
 200c180:	32 80 00 02 	bne,a   200c188 <rtems_bdbuf_swapout_task+0x1bc><== NEVER TAKEN
 200c184:	b8 06 a0 10 	add  %i2, 0x10, %i4                            <== NOT EXECUTED
RTEMS_INLINE_ROUTINE void _Chain_Initialize_empty(                    
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
 200c188:	82 07 20 04 	add  %i4, 4, %g1                               
                                                                      
  head->next = tail;                                                  
 200c18c:	c2 27 00 00 	st  %g1, [ %i4 ]                               
      transfer = &worker->transfer;                                   
  }                                                                   
                                                                      
  rtems_chain_initialize_empty (&transfer->bds);                      
  transfer->dev = BDBUF_INVALID_DEV;                                  
  transfer->syncing = bdbuf_cache.sync_active;                        
 200c190:	c2 0f 60 30 	ldub  [ %i5 + 0x30 ], %g1                      
  head->previous = NULL;                                              
 200c194:	c0 27 20 04 	clr  [ %i4 + 4 ]                               
 200c198:	c2 2f 20 18 	stb  %g1, [ %i4 + 0x18 ]                       
  /*                                                                  
   * When the sync is for a device limit the sync to that device. If the sync
   * is for a buffer handle process the devices in the order on the sync
   * list. This means the dev is BDBUF_INVALID_DEV.                   
   */                                                                 
  if (bdbuf_cache.sync_active)                                        
 200c19c:	c2 0f 60 30 	ldub  [ %i5 + 0x30 ], %g1                      
  tail->previous = head;                                              
 200c1a0:	f8 27 20 08 	st  %i4, [ %i4 + 8 ]                           
 200c1a4:	80 a0 60 00 	cmp  %g1, 0                                    
 200c1a8:	02 80 00 04 	be  200c1b8 <rtems_bdbuf_swapout_task+0x1ec>   
 200c1ac:	e8 3f 20 10 	std  %l4, [ %i4 + 0x10 ]                       
    transfer->dev = bdbuf_cache.sync_device;                          
 200c1b0:	c4 1f 60 38 	ldd  [ %i5 + 0x38 ], %g2                       
 200c1b4:	c4 3f 20 10 	std  %g2, [ %i4 + 0x10 ]                       
                                                                      
  /*                                                                  
   * If we have any buffers in the sync queue move them to the modified
   * list. The first sync buffer will select the device we use.       
   */                                                                 
  rtems_bdbuf_swapout_modified_processing (&transfer->dev,            
 200c1b8:	a4 07 20 10 	add  %i4, 0x10, %l2                            
 200c1bc:	92 10 00 18 	mov  %i0, %o1                                  
 200c1c0:	90 10 00 12 	mov  %l2, %o0                                  
 200c1c4:	94 10 00 1c 	mov  %i4, %o2                                  
 200c1c8:	96 10 20 01 	mov  1, %o3                                    
 200c1cc:	98 10 20 00 	clr  %o4                                       
 200c1d0:	7f ff fb 83 	call  200afdc <rtems_bdbuf_swapout_modified_processing>
 200c1d4:	9a 10 00 1b 	mov  %i3, %o5                                  
                                           timer_delta);              
                                                                      
  /*                                                                  
   * Process the cache's modified list.                               
   */                                                                 
  rtems_bdbuf_swapout_modified_processing (&transfer->dev,            
 200c1d8:	d6 0f 60 30 	ldub  [ %i5 + 0x30 ], %o3                      
 200c1dc:	90 10 00 12 	mov  %l2, %o0                                  
 200c1e0:	92 10 00 11 	mov  %l1, %o1                                  
 200c1e4:	94 10 00 1c 	mov  %i4, %o2                                  
 200c1e8:	98 0e 60 01 	and  %i1, 1, %o4                               
 200c1ec:	7f ff fb 7c 	call  200afdc <rtems_bdbuf_swapout_modified_processing>
 200c1f0:	9a 10 00 1b 	mov  %i3, %o5                                  
  /*                                                                  
   * We have all the buffers that have been modified for this device so the
   * cache can be unlocked because the state of each buffer has been set to
   * TRANSFER.                                                        
   */                                                                 
  rtems_bdbuf_unlock_cache ();                                        
 200c1f4:	7f ff fb e5 	call  200b188 <rtems_bdbuf_unlock_cache>       
 200c1f8:	01 00 00 00 	nop                                            
                                                                      
  /*                                                                  
   * If there are buffers to transfer to the media transfer them.     
   */                                                                 
  if (!rtems_chain_is_empty (&transfer->bds))                         
 200c1fc:	c4 07 00 00 	ld  [ %i4 ], %g2                               
RTEMS_INLINE_ROUTINE bool _Chain_Is_empty(                            
  const Chain_Control *the_chain                                      
)                                                                     
{                                                                     
  return _Chain_Immutable_first( the_chain )                          
    == _Chain_Immutable_tail( the_chain );                            
 200c200:	82 07 20 04 	add  %i4, 4, %g1                               
 200c204:	80 a0 80 01 	cmp  %g2, %g1                                  
 200c208:	02 80 00 11 	be  200c24c <rtems_bdbuf_swapout_task+0x280>   
 200c20c:	80 a6 a0 00 	cmp  %i2, 0                                    
  {                                                                   
    if (worker)                                                       
 200c210:	02 80 00 0b 	be  200c23c <rtems_bdbuf_swapout_task+0x270>   <== ALWAYS TAKEN
 200c214:	01 00 00 00 	nop                                            
    {                                                                 
      rtems_status_code sc = rtems_event_send (worker->id,            
 200c218:	d0 06 a0 08 	ld  [ %i2 + 8 ], %o0                           <== NOT EXECUTED
 200c21c:	7f ff ea ad 	call  2006cd0 <rtems_event_send>               <== NOT EXECUTED
 200c220:	92 10 20 04 	mov  4, %o1                                    <== NOT EXECUTED
                                               RTEMS_BDBUF_SWAPOUT_SYNC);
      if (sc != RTEMS_SUCCESSFUL)                                     
 200c224:	80 a2 20 00 	cmp  %o0, 0                                    <== NOT EXECUTED
 200c228:	02 80 00 0a 	be  200c250 <rtems_bdbuf_swapout_task+0x284>   <== NOT EXECUTED
 200c22c:	82 10 20 01 	mov  1, %g1                                    <== NOT EXECUTED
        rtems_fatal_error_occurred (RTEMS_BLKDEV_FATAL_BDBUF_SO_WAKE);
 200c230:	11 10 80 00 	sethi  %hi(0x42000000), %o0                    <== NOT EXECUTED
 200c234:	10 bf ff b1 	b  200c0f8 <rtems_bdbuf_swapout_task+0x12c>    <== NOT EXECUTED
 200c238:	90 12 20 14 	or  %o0, 0x14, %o0	! 42000014 <RAM_END+0x3fc00014><== NOT EXECUTED
    }                                                                 
    else                                                              
    {                                                                 
      rtems_bdbuf_swapout_write (transfer);                           
 200c23c:	7f ff fe fc 	call  200be2c <rtems_bdbuf_swapout_write>      
 200c240:	90 10 00 1c 	mov  %i4, %o0                                  
    }                                                                 
                                                                      
    transfered_buffers = true;                                        
 200c244:	10 80 00 03 	b  200c250 <rtems_bdbuf_swapout_task+0x284>    
 200c248:	82 10 20 01 	mov  1, %g1                                    
 200c24c:	82 10 20 00 	clr  %g1                                       
  }                                                                   
                                                                      
  if (bdbuf_cache.sync_active && !transfered_buffers)                 
 200c250:	c4 0f 60 30 	ldub  [ %i5 + 0x30 ], %g2                      
 200c254:	80 a0 a0 00 	cmp  %g2, 0                                    
 200c258:	02 80 00 14 	be  200c2a8 <rtems_bdbuf_swapout_task+0x2dc>   
 200c25c:	82 08 60 ff 	and  %g1, 0xff, %g1                            
 200c260:	80 a0 60 00 	cmp  %g1, 0                                    
 200c264:	12 bf ff bd 	bne  200c158 <rtems_bdbuf_swapout_task+0x18c>  
 200c268:	b2 10 20 00 	clr  %i1                                       
  {                                                                   
    rtems_id sync_requester;                                          
    rtems_bdbuf_lock_cache ();                                        
 200c26c:	7f ff fb 3d 	call  200af60 <rtems_bdbuf_lock_cache>         
 200c270:	01 00 00 00 	nop                                            
    sync_requester = bdbuf_cache.sync_requester;                      
 200c274:	f8 07 60 34 	ld  [ %i5 + 0x34 ], %i4                        
    bdbuf_cache.sync_active = false;                                  
 200c278:	c0 2f 60 30 	clrb  [ %i5 + 0x30 ]                           
    bdbuf_cache.sync_requester = 0;                                   
 200c27c:	c0 27 60 34 	clr  [ %i5 + 0x34 ]                            
    rtems_bdbuf_unlock_cache ();                                      
 200c280:	7f ff fb c2 	call  200b188 <rtems_bdbuf_unlock_cache>       
 200c284:	01 00 00 00 	nop                                            
    if (sync_requester)                                               
 200c288:	80 a7 20 00 	cmp  %i4, 0                                    
 200c28c:	22 80 00 0a 	be,a   200c2b4 <rtems_bdbuf_swapout_task+0x2e8><== NEVER TAKEN
 200c290:	90 10 20 04 	mov  4, %o0                                    <== NOT EXECUTED
      rtems_event_send (sync_requester, RTEMS_BDBUF_TRANSFER_SYNC);   
 200c294:	90 10 00 1c 	mov  %i4, %o0                                  
 200c298:	7f ff ea 8e 	call  2006cd0 <rtems_event_send>               
 200c29c:	92 10 20 02 	mov  2, %o1                                    
       */                                                             
      update_timers = false;                                          
    }                                                                 
    while (transfered_buffers);                                       
                                                                      
    sc = rtems_event_receive (RTEMS_BDBUF_SWAPOUT_SYNC,               
 200c2a0:	10 80 00 05 	b  200c2b4 <rtems_bdbuf_swapout_task+0x2e8>    
 200c2a4:	90 10 20 04 	mov  4, %o0                                    
      /*                                                              
       * Extact all the buffers we find for a specific device. The device is
       * the first one we find on a modified list. Process the sync queue of
       * buffers first.                                               
       */                                                             
      if (rtems_bdbuf_swapout_processing (timer_delta,                
 200c2a8:	80 a0 60 00 	cmp  %g1, 0                                    
 200c2ac:	12 bf ff aa 	bne  200c154 <rtems_bdbuf_swapout_task+0x188>  
 200c2b0:	90 10 20 04 	mov  4, %o0                                    
       */                                                             
      update_timers = false;                                          
    }                                                                 
    while (transfered_buffers);                                       
                                                                      
    sc = rtems_event_receive (RTEMS_BDBUF_SWAPOUT_SYNC,               
 200c2b4:	92 10 20 00 	clr  %o1                                       
 200c2b8:	94 10 00 13 	mov  %l3, %o2                                  
 200c2bc:	7f ff ea 20 	call  2006b3c <rtems_event_receive>            
 200c2c0:	96 07 bf fc 	add  %fp, -4, %o3                              
                              RTEMS_EVENT_ALL | RTEMS_WAIT,           
                              period_in_ticks,                        
                              &out);                                  
                                                                      
    if ((sc != RTEMS_SUCCESSFUL) && (sc != RTEMS_TIMEOUT))            
 200c2c4:	80 a2 20 06 	cmp  %o0, 6                                    
 200c2c8:	02 80 00 06 	be  200c2e0 <rtems_bdbuf_swapout_task+0x314>   
 200c2cc:	80 a2 20 00 	cmp  %o0, 0                                    
 200c2d0:	02 80 00 04 	be  200c2e0 <rtems_bdbuf_swapout_task+0x314>   <== ALWAYS TAKEN
 200c2d4:	11 10 80 00 	sethi  %hi(0x42000000), %o0                    
      rtems_fatal_error_occurred (BLKDEV_FATAL_BDBUF_SWAPOUT_RE);     
 200c2d8:	10 bf ff 88 	b  200c0f8 <rtems_bdbuf_swapout_task+0x12c>    <== NOT EXECUTED
 200c2dc:	90 12 20 18 	or  %o0, 0x18, %o0	! 42000018 <RAM_END+0x3fc00018><== NOT EXECUTED
  /*                                                                  
   * Create the worker threads.                                       
   */                                                                 
  rtems_bdbuf_swapout_workers_open ();                                
                                                                      
  while (bdbuf_cache.swapout_enabled)                                 
 200c2e0:	c2 0f 60 04 	ldub  [ %i5 + 4 ], %g1                         
 200c2e4:	80 a0 60 00 	cmp  %g1, 0                                    
 200c2e8:	12 bf ff 9c 	bne  200c158 <rtems_bdbuf_swapout_task+0x18c>  <== ALWAYS TAKEN
 200c2ec:	b2 10 20 01 	mov  1, %i1                                    
static void                                                           
rtems_bdbuf_swapout_workers_close (void)                              
{                                                                     
  rtems_chain_node* node;                                             
                                                                      
  rtems_bdbuf_lock_cache ();                                          
 200c2f0:	7f ff fb 1c 	call  200af60 <rtems_bdbuf_lock_cache>         <== NOT EXECUTED
 200c2f4:	01 00 00 00 	nop                                            <== NOT EXECUTED
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_First(                        
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  return _Chain_Head( the_chain )->next;                              
 200c2f8:	f8 07 60 08 	ld  [ %i5 + 8 ], %i4                           <== NOT EXECUTED
                                                                      
  node = rtems_chain_first (&bdbuf_cache.swapout_workers);            
  while (!rtems_chain_is_tail (&bdbuf_cache.swapout_workers, node))   
 200c2fc:	10 80 00 06 	b  200c314 <rtems_bdbuf_swapout_task+0x348>    <== NOT EXECUTED
 200c300:	ba 07 60 0c 	add  %i5, 0xc, %i5                             <== NOT EXECUTED
  {                                                                   
    rtems_bdbuf_swapout_worker* worker = (rtems_bdbuf_swapout_worker*) node;
    worker->enabled = false;                                          
 200c304:	c0 2f 20 0c 	clrb  [ %i4 + 0xc ]                            <== NOT EXECUTED
    rtems_event_send (worker->id, RTEMS_BDBUF_SWAPOUT_SYNC);          
 200c308:	7f ff ea 72 	call  2006cd0 <rtems_event_send>               <== NOT EXECUTED
 200c30c:	92 10 20 04 	mov  4, %o1                                    <== NOT EXECUTED
rtems_bdbuf_purge_major (rtems_device_major_number major)             
{                                                                     
  dev_t dev = rtems_filesystem_make_dev_t (major, 0);                 
                                                                      
  rtems_bdbuf_purge (rtems_bdbuf_purge_compare_major, dev);           
}                                                                     
 200c310:	f8 07 00 00 	ld  [ %i4 ], %i4                               <== NOT EXECUTED
  rtems_chain_node* node;                                             
                                                                      
  rtems_bdbuf_lock_cache ();                                          
                                                                      
  node = rtems_chain_first (&bdbuf_cache.swapout_workers);            
  while (!rtems_chain_is_tail (&bdbuf_cache.swapout_workers, node))   
 200c314:	80 a7 00 1d 	cmp  %i4, %i5                                  <== NOT EXECUTED
 200c318:	32 bf ff fb 	bne,a   200c304 <rtems_bdbuf_swapout_task+0x338><== NOT EXECUTED
 200c31c:	d0 07 20 08 	ld  [ %i4 + 8 ], %o0                           <== NOT EXECUTED
    worker->enabled = false;                                          
    rtems_event_send (worker->id, RTEMS_BDBUF_SWAPOUT_SYNC);          
    node = rtems_chain_next (node);                                   
  }                                                                   
                                                                      
  rtems_bdbuf_unlock_cache ();                                        
 200c320:	7f ff fb 9a 	call  200b188 <rtems_bdbuf_unlock_cache>       <== NOT EXECUTED
 200c324:	01 00 00 00 	nop                                            <== NOT EXECUTED
      rtems_fatal_error_occurred (BLKDEV_FATAL_BDBUF_SWAPOUT_RE);     
  }                                                                   
                                                                      
  rtems_bdbuf_swapout_workers_close ();                               
                                                                      
  free (transfer.write_req);                                          
 200c328:	7f ff dd 89 	call  200394c <free>                           <== NOT EXECUTED
 200c32c:	d0 07 bf ec 	ld  [ %fp + -20 ], %o0                         <== NOT EXECUTED
                                                                      
  rtems_task_delete (RTEMS_SELF);                                     
 200c330:	7f ff ec 5f 	call  20074ac <rtems_task_delete>              <== NOT EXECUTED
 200c334:	90 10 20 00 	clr  %o0                                       <== NOT EXECUTED
}                                                                     
 200c338:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 200c33c:	81 e8 00 00 	restore                                        <== NOT EXECUTED
                                                                      

0200c340 <rtems_bdbuf_swapout_worker_task>: * @param arg A pointer to the worker thread's private data. * @return rtems_task Not used. */ static rtems_task rtems_bdbuf_swapout_worker_task (rtems_task_argument arg) {
 200c340:	9d e3 bf a0 	save  %sp, -96, %sp                            <== NOT EXECUTED
    rtems_bdbuf_swapout_write (&worker->transfer);                    
                                                                      
    rtems_bdbuf_lock_cache ();                                        
                                                                      
    rtems_chain_initialize_empty (&worker->transfer.bds);             
    worker->transfer.dev = BDBUF_INVALID_DEV;                         
 200c344:	39 3f ff ff 	sethi  %hi(0xfffffc00), %i4                    <== NOT EXECUTED
RTEMS_INLINE_ROUTINE void rtems_chain_append(                         
  rtems_chain_control *the_chain,                                     
  rtems_chain_node    *the_node                                       
)                                                                     
{                                                                     
  _Chain_Append( the_chain, the_node );                               
 200c348:	35 00 80 61 	sethi  %hi(0x2018400), %i2                     <== NOT EXECUTED
 200c34c:	b8 17 23 ff 	or  %i4, 0x3ff, %i4                            <== NOT EXECUTED
                                                                      
  while (worker->enabled)                                             
  {                                                                   
    rtems_bdbuf_wait_for_event (RTEMS_BDBUF_SWAPOUT_SYNC);            
                                                                      
    rtems_bdbuf_swapout_write (&worker->transfer);                    
 200c350:	b6 06 20 10 	add  %i0, 0x10, %i3                            <== NOT EXECUTED
RTEMS_INLINE_ROUTINE void _Chain_Initialize_empty(                    
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
 200c354:	b2 06 20 14 	add  %i0, 0x14, %i1                            <== NOT EXECUTED
                                                                      
    rtems_bdbuf_lock_cache ();                                        
                                                                      
    rtems_chain_initialize_empty (&worker->transfer.bds);             
    worker->transfer.dev = BDBUF_INVALID_DEV;                         
 200c358:	ba 10 00 1c 	mov  %i4, %i5                                  <== NOT EXECUTED
static rtems_task                                                     
rtems_bdbuf_swapout_worker_task (rtems_task_argument arg)             
{                                                                     
  rtems_bdbuf_swapout_worker* worker = (rtems_bdbuf_swapout_worker*) arg;
                                                                      
  while (worker->enabled)                                             
 200c35c:	10 80 00 11 	b  200c3a0 <rtems_bdbuf_swapout_worker_task+0x60><== NOT EXECUTED
 200c360:	b4 16 a3 d8 	or  %i2, 0x3d8, %i2                            <== NOT EXECUTED
  {                                                                   
    rtems_bdbuf_wait_for_event (RTEMS_BDBUF_SWAPOUT_SYNC);            
 200c364:	7f ff fb bb 	call  200b250 <rtems_bdbuf_wait_for_event>     <== NOT EXECUTED
 200c368:	90 10 20 04 	mov  4, %o0                                    <== NOT EXECUTED
                                                                      
    rtems_bdbuf_swapout_write (&worker->transfer);                    
 200c36c:	7f ff fe b0 	call  200be2c <rtems_bdbuf_swapout_write>      <== NOT EXECUTED
 200c370:	90 10 00 1b 	mov  %i3, %o0                                  <== NOT EXECUTED
                                                                      
    rtems_bdbuf_lock_cache ();                                        
 200c374:	7f ff fa fb 	call  200af60 <rtems_bdbuf_lock_cache>         <== NOT EXECUTED
 200c378:	01 00 00 00 	nop                                            <== NOT EXECUTED
 200c37c:	90 10 00 1a 	mov  %i2, %o0                                  <== NOT EXECUTED
 200c380:	92 10 00 18 	mov  %i0, %o1                                  <== NOT EXECUTED
                                                                      
  head->next = tail;                                                  
 200c384:	f2 26 20 10 	st  %i1, [ %i0 + 0x10 ]                        <== NOT EXECUTED
  head->previous = NULL;                                              
 200c388:	c0 26 20 14 	clr  [ %i0 + 0x14 ]                            <== NOT EXECUTED
  tail->previous = head;                                              
 200c38c:	f6 26 20 18 	st  %i3, [ %i0 + 0x18 ]                        <== NOT EXECUTED
 200c390:	7f ff ee 59 	call  2007cf4 <_Chain_Append>                  <== NOT EXECUTED
 200c394:	f8 3e 20 20 	std  %i4, [ %i0 + 0x20 ]                       <== NOT EXECUTED
    rtems_chain_initialize_empty (&worker->transfer.bds);             
    worker->transfer.dev = BDBUF_INVALID_DEV;                         
                                                                      
    rtems_chain_append (&bdbuf_cache.swapout_workers, &worker->link); 
                                                                      
    rtems_bdbuf_unlock_cache ();                                      
 200c398:	7f ff fb 7c 	call  200b188 <rtems_bdbuf_unlock_cache>       <== NOT EXECUTED
 200c39c:	01 00 00 00 	nop                                            <== NOT EXECUTED
static rtems_task                                                     
rtems_bdbuf_swapout_worker_task (rtems_task_argument arg)             
{                                                                     
  rtems_bdbuf_swapout_worker* worker = (rtems_bdbuf_swapout_worker*) arg;
                                                                      
  while (worker->enabled)                                             
 200c3a0:	c2 0e 20 0c 	ldub  [ %i0 + 0xc ], %g1                       <== NOT EXECUTED
 200c3a4:	80 a0 60 00 	cmp  %g1, 0                                    <== NOT EXECUTED
 200c3a8:	12 bf ff ef 	bne  200c364 <rtems_bdbuf_swapout_worker_task+0x24><== NOT EXECUTED
 200c3ac:	01 00 00 00 	nop                                            <== NOT EXECUTED
    rtems_chain_append (&bdbuf_cache.swapout_workers, &worker->link); 
                                                                      
    rtems_bdbuf_unlock_cache ();                                      
  }                                                                   
                                                                      
  free (worker->transfer.write_req);                                  
 200c3b0:	7f ff dd 67 	call  200394c <free>                           <== NOT EXECUTED
 200c3b4:	d0 06 20 2c 	ld  [ %i0 + 0x2c ], %o0                        <== NOT EXECUTED
  free (worker);                                                      
 200c3b8:	90 10 00 18 	mov  %i0, %o0                                  <== NOT EXECUTED
 200c3bc:	7f ff dd 64 	call  200394c <free>                           <== NOT EXECUTED
 200c3c0:	b0 10 20 00 	clr  %i0                                       <== NOT EXECUTED
                                                                      
  rtems_task_delete (RTEMS_SELF);                                     
 200c3c4:	7f ff ec 3a 	call  20074ac <rtems_task_delete>              <== NOT EXECUTED
 200c3c8:	81 e8 00 00 	restore                                        <== NOT EXECUTED
                                                                      

0200be2c <rtems_bdbuf_swapout_write>: * * @param transfer The transfer transaction. */ static void rtems_bdbuf_swapout_write (rtems_bdbuf_swapout_transfer* transfer) {
 200be2c:	9d e3 bf a0 	save  %sp, -96, %sp                            
    printf ("bdbuf:swapout transfer: %08x\n", (unsigned) transfer->dev);
                                                                      
  /*                                                                  
   * If there are buffers to transfer to the media transfer them.     
   */                                                                 
  if (!rtems_chain_is_empty (&transfer->bds))                         
 200be30:	c2 06 00 00 	ld  [ %i0 ], %g1                               
RTEMS_INLINE_ROUTINE bool _Chain_Is_empty(                            
  const Chain_Control *the_chain                                      
)                                                                     
{                                                                     
  return _Chain_Immutable_first( the_chain )                          
    == _Chain_Immutable_tail( the_chain );                            
 200be34:	b6 06 20 04 	add  %i0, 4, %i3                               
 200be38:	80 a0 40 1b 	cmp  %g1, %i3                                  
 200be3c:	02 80 00 62 	be  200bfc4 <rtems_bdbuf_swapout_write+0x198>  <== NEVER TAKEN
 200be40:	ba 10 00 18 	mov  %i0, %i5                                  
                                                                      
    /*                                                                
     * Obtain the disk device. The cache's mutex has been released to avoid a
     * dead lock.                                                     
     */                                                               
    rtems_disk_device *dd = rtems_disk_obtain (transfer->dev);        
 200be44:	7f ff db c9 	call  2002d68 <rtems_disk_obtain>              
 200be48:	d0 1e 20 10 	ldd  [ %i0 + 0x10 ], %o0                       
                                                                      
    if (dd == NULL)                                                   
 200be4c:	b0 92 20 00 	orcc  %o0, 0, %i0                              
 200be50:	32 80 00 05 	bne,a   200be64 <rtems_bdbuf_swapout_write+0x38>
 200be54:	d0 06 20 20 	ld  [ %i0 + 0x20 ], %o0                        
      dd = &null_disk;                                                
 200be58:	31 00 80 60 	sethi  %hi(0x2018000), %i0                     
 200be5c:	b0 16 20 20 	or  %i0, 0x20, %i0	! 2018020 <null_disk.7046>  
                                                                      
    bufs_per_bd = dd->block_size / bdbuf_config.buffer_min;           
 200be60:	d0 06 20 20 	ld  [ %i0 + 0x20 ], %o0                        
 200be64:	35 00 80 5b 	sethi  %hi(0x2016c00), %i2                     
 200be68:	82 16 a3 b8 	or  %i2, 0x3b8, %g1	! 2016fb8 <rtems_bdbuf_configuration>
 200be6c:	d2 00 60 20 	ld  [ %g1 + 0x20 ], %o1                        
 200be70:	40 00 24 01 	call  2014e74 <.udiv>                          
 200be74:	b8 10 20 00 	clr  %i4                                       
     * should be possible to make this change with little effect in this
     * code. The array that is passed is broken in design and should be
     * removed. Merging members of a struct into the first member is  
     * trouble waiting to happen.                                     
     */                                                               
    transfer->write_req->status = RTEMS_RESOURCE_IN_USE;              
 200be78:	c2 07 60 1c 	ld  [ %i5 + 0x1c ], %g1                        
 200be7c:	84 10 20 0c 	mov  0xc, %g2                                  
    rtems_disk_device *dd = rtems_disk_obtain (transfer->dev);        
                                                                      
    if (dd == NULL)                                                   
      dd = &null_disk;                                                
                                                                      
    bufs_per_bd = dd->block_size / bdbuf_config.buffer_min;           
 200be80:	a0 10 00 08 	mov  %o0, %l0                                  
     * should be possible to make this change with little effect in this
     * code. The array that is passed is broken in design and should be
     * removed. Merging members of a struct into the first member is  
     * trouble waiting to happen.                                     
     */                                                               
    transfer->write_req->status = RTEMS_RESOURCE_IN_USE;              
 200be84:	c4 20 60 0c 	st  %g2, [ %g1 + 0xc ]                         
    transfer->write_req->bufnum = 0;                                  
 200be88:	c0 20 60 10 	clr  [ %g1 + 0x10 ]                            
                                                                      
    while ((node = rtems_chain_get(&transfer->bds)) != NULL)          
 200be8c:	10 80 00 35 	b  200bf60 <rtems_bdbuf_swapout_write+0x134>   
 200be90:	b2 10 20 0c 	mov  0xc, %i1                                  
        printf ("bdbuf:swapout write: bd:%" PRIu32 ", bufnum:%" PRIu32 " mode:%s\n",
                bd->block, transfer->write_req->bufnum,               
                dd->phys_dev->capabilities &                          
                RTEMS_BLKDEV_CAP_MULTISECTOR_CONT ? "MULIT" : "SCAT");
                                                                      
      if ((dd->phys_dev->capabilities & RTEMS_BLKDEV_CAP_MULTISECTOR_CONT) &&
 200be94:	c2 00 60 0c 	ld  [ %g1 + 0xc ], %g1                         
 200be98:	80 88 60 01 	btst  1, %g1                                   
 200be9c:	02 80 00 0f 	be  200bed8 <rtems_bdbuf_swapout_write+0xac>   <== ALWAYS TAKEN
 200bea0:	c2 07 60 1c 	ld  [ %i5 + 0x1c ], %g1                        
 200bea4:	c4 00 60 10 	ld  [ %g1 + 0x10 ], %g2                        <== NOT EXECUTED
 200bea8:	80 a0 a0 00 	cmp  %g2, 0                                    <== NOT EXECUTED
 200beac:	22 80 00 0c 	be,a   200bedc <rtems_bdbuf_swapout_write+0xb0><== NOT EXECUTED
 200beb0:	c8 00 60 10 	ld  [ %g1 + 0x10 ], %g4                        <== NOT EXECUTED
          transfer->write_req->bufnum &&                              
 200beb4:	c6 02 60 20 	ld  [ %o1 + 0x20 ], %g3                        <== NOT EXECUTED
          (bd->block != (last_block + bufs_per_bd)))                  
 200beb8:	84 07 00 10 	add  %i4, %l0, %g2                             <== NOT EXECUTED
                bd->block, transfer->write_req->bufnum,               
                dd->phys_dev->capabilities &                          
                RTEMS_BLKDEV_CAP_MULTISECTOR_CONT ? "MULIT" : "SCAT");
                                                                      
      if ((dd->phys_dev->capabilities & RTEMS_BLKDEV_CAP_MULTISECTOR_CONT) &&
          transfer->write_req->bufnum &&                              
 200bebc:	80 a0 c0 02 	cmp  %g3, %g2                                  <== NOT EXECUTED
 200bec0:	22 80 00 07 	be,a   200bedc <rtems_bdbuf_swapout_write+0xb0><== NOT EXECUTED
 200bec4:	c8 00 60 10 	ld  [ %g1 + 0x10 ], %g4                        <== NOT EXECUTED
RTEMS_INLINE_ROUTINE void _Chain_Prepend(                             
  Chain_Control *the_chain,                                           
  Chain_Node    *the_node                                             
)                                                                     
{                                                                     
  _Chain_Insert(_Chain_Head(the_chain), the_node);                    
 200bec8:	40 00 0d f0 	call  200f688 <_Chain_Insert>                  <== NOT EXECUTED
 200becc:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
          (bd->block != (last_block + bufs_per_bd)))                  
      {                                                               
        rtems_chain_prepend (&transfer->bds, &bd->link);              
        write = true;                                                 
 200bed0:	10 80 00 10 	b  200bf10 <rtems_bdbuf_swapout_write+0xe4>    <== NOT EXECUTED
 200bed4:	82 10 20 01 	mov  1, %g1                                    <== NOT EXECUTED
      }                                                               
      else                                                            
      {                                                               
        rtems_blkdev_sg_buffer* buf;                                  
        buf = &transfer->write_req->bufs[transfer->write_req->bufnum];
 200bed8:	c8 00 60 10 	ld  [ %g1 + 0x10 ], %g4                        
        transfer->write_req->bufnum++;                                
        buf->user   = bd;                                             
        buf->block  = bd->block;                                      
 200bedc:	f8 02 60 20 	ld  [ %o1 + 0x20 ], %i4                        
        write = true;                                                 
      }                                                               
      else                                                            
      {                                                               
        rtems_blkdev_sg_buffer* buf;                                  
        buf = &transfer->write_req->bufs[transfer->write_req->bufnum];
 200bee0:	87 29 20 04 	sll  %g4, 4, %g3                               
        transfer->write_req->bufnum++;                                
 200bee4:	88 01 20 01 	inc  %g4                                       
 200bee8:	c8 20 60 10 	st  %g4, [ %g1 + 0x10 ]                        
        write = true;                                                 
      }                                                               
      else                                                            
      {                                                               
        rtems_blkdev_sg_buffer* buf;                                  
        buf = &transfer->write_req->bufs[transfer->write_req->bufnum];
 200beec:	86 00 e0 18 	add  %g3, 0x18, %g3                            
 200bef0:	84 00 40 03 	add  %g1, %g3, %g2                             
        transfer->write_req->bufnum++;                                
        buf->user   = bd;                                             
        buf->block  = bd->block;                                      
 200bef4:	f8 20 40 03 	st  %i4, [ %g1 + %g3 ]                         
        buf->length = dd->block_size;                                 
 200bef8:	c2 06 20 20 	ld  [ %i0 + 0x20 ], %g1                        
      else                                                            
      {                                                               
        rtems_blkdev_sg_buffer* buf;                                  
        buf = &transfer->write_req->bufs[transfer->write_req->bufnum];
        transfer->write_req->bufnum++;                                
        buf->user   = bd;                                             
 200befc:	d2 20 a0 0c 	st  %o1, [ %g2 + 0xc ]                         
        buf->block  = bd->block;                                      
        buf->length = dd->block_size;                                 
 200bf00:	c2 20 a0 04 	st  %g1, [ %g2 + 4 ]                           
        buf->buffer = bd->buffer;                                     
 200bf04:	c2 02 60 24 	ld  [ %o1 + 0x24 ], %g1                        
 200bf08:	c2 20 a0 08 	st  %g1, [ %g2 + 8 ]                           
    transfer->write_req->bufnum = 0;                                  
                                                                      
    while ((node = rtems_chain_get(&transfer->bds)) != NULL)          
    {                                                                 
      rtems_bdbuf_buffer* bd = (rtems_bdbuf_buffer*) node;            
      bool                write = false;                              
 200bf0c:	82 10 20 00 	clr  %g1                                       
      /*                                                              
       * Perform the transfer if there are no more buffers, or the transfer
       * size has reached the configured max. value.                  
       */                                                             
                                                                      
      if (rtems_chain_is_empty (&transfer->bds) ||                    
 200bf10:	c4 07 40 00 	ld  [ %i5 ], %g2                               
 200bf14:	80 a0 80 1b 	cmp  %g2, %i3                                  
 200bf18:	02 80 00 0b 	be  200bf44 <rtems_bdbuf_swapout_write+0x118>  
 200bf1c:	84 16 a3 b8 	or  %i2, 0x3b8, %g2                            
          (transfer->write_req->bufnum >= bdbuf_config.max_write_blocks))
 200bf20:	c6 07 60 1c 	ld  [ %i5 + 0x1c ], %g3                        
      /*                                                              
       * Perform the transfer if there are no more buffers, or the transfer
       * size has reached the configured max. value.                  
       */                                                             
                                                                      
      if (rtems_chain_is_empty (&transfer->bds) ||                    
 200bf24:	c6 00 e0 10 	ld  [ %g3 + 0x10 ], %g3                        
 200bf28:	c4 00 a0 04 	ld  [ %g2 + 4 ], %g2                           
 200bf2c:	80 a0 c0 02 	cmp  %g3, %g2                                  
 200bf30:	3a 80 00 06 	bcc,a   200bf48 <rtems_bdbuf_swapout_write+0x11c>
 200bf34:	d2 07 60 1c 	ld  [ %i5 + 0x1c ], %o1                        
          (transfer->write_req->bufnum >= bdbuf_config.max_write_blocks))
        write = true;                                                 
                                                                      
      if (write)                                                      
 200bf38:	80 88 60 ff 	btst  0xff, %g1                                
 200bf3c:	02 80 00 09 	be  200bf60 <rtems_bdbuf_swapout_write+0x134>  <== ALWAYS TAKEN
 200bf40:	01 00 00 00 	nop                                            
      {                                                               
        rtems_bdbuf_execute_transfer_request (dd, transfer->write_req, false);
 200bf44:	d2 07 60 1c 	ld  [ %i5 + 0x1c ], %o1                        
 200bf48:	90 10 00 18 	mov  %i0, %o0                                  
 200bf4c:	7f ff ff 5d 	call  200bcc0 <rtems_bdbuf_execute_transfer_request>
 200bf50:	94 10 20 00 	clr  %o2                                       
                                                                      
        transfer->write_req->status = RTEMS_RESOURCE_IN_USE;          
 200bf54:	c2 07 60 1c 	ld  [ %i5 + 0x1c ], %g1                        
 200bf58:	f2 20 60 0c 	st  %i1, [ %g1 + 0xc ]                         
        transfer->write_req->bufnum = 0;                              
 200bf5c:	c0 20 60 10 	clr  [ %g1 + 0x10 ]                            
 */                                                                   
RTEMS_INLINE_ROUTINE rtems_chain_node *rtems_chain_get(               
  rtems_chain_control *the_chain                                      
)                                                                     
{                                                                     
  return _Chain_Get( the_chain );                                     
 200bf60:	7f ff ef 79 	call  2007d44 <_Chain_Get>                     
 200bf64:	90 10 00 1d 	mov  %i5, %o0                                  
     * trouble waiting to happen.                                     
     */                                                               
    transfer->write_req->status = RTEMS_RESOURCE_IN_USE;              
    transfer->write_req->bufnum = 0;                                  
                                                                      
    while ((node = rtems_chain_get(&transfer->bds)) != NULL)          
 200bf68:	92 92 20 00 	orcc  %o0, 0, %o1                              
 200bf6c:	32 bf ff ca 	bne,a   200be94 <rtems_bdbuf_swapout_write+0x68>
 200bf70:	c2 06 20 08 	ld  [ %i0 + 8 ], %g1                           
        transfer->write_req->status = RTEMS_RESOURCE_IN_USE;          
        transfer->write_req->bufnum = 0;                              
      }                                                               
    }                                                                 
                                                                      
    if (dd != &null_disk)                                             
 200bf74:	03 00 80 60 	sethi  %hi(0x2018000), %g1                     
 200bf78:	82 10 60 20 	or  %g1, 0x20, %g1	! 2018020 <null_disk.7046>  
 200bf7c:	80 a6 00 01 	cmp  %i0, %g1                                  
 200bf80:	02 80 00 11 	be  200bfc4 <rtems_bdbuf_swapout_write+0x198>  <== NEVER TAKEN
 200bf84:	01 00 00 00 	nop                                            
    {                                                                 
      /*                                                              
       * If sync'ing and the deivce is capability of handling a sync IO control
       * call perform the call.                                       
       */                                                             
      if (transfer->syncing &&                                        
 200bf88:	c2 0f 60 18 	ldub  [ %i5 + 0x18 ], %g1                      
 200bf8c:	80 a0 60 00 	cmp  %g1, 0                                    
 200bf90:	02 80 00 0b 	be  200bfbc <rtems_bdbuf_swapout_write+0x190>  
 200bf94:	01 00 00 00 	nop                                            
          (dd->phys_dev->capabilities & RTEMS_BLKDEV_CAP_SYNC))       
 200bf98:	d0 06 20 08 	ld  [ %i0 + 8 ], %o0                           
 200bf9c:	c2 02 20 0c 	ld  [ %o0 + 0xc ], %g1                         
    {                                                                 
      /*                                                              
       * If sync'ing and the deivce is capability of handling a sync IO control
       * call perform the call.                                       
       */                                                             
      if (transfer->syncing &&                                        
 200bfa0:	80 88 60 02 	btst  2, %g1                                   
 200bfa4:	02 80 00 06 	be  200bfbc <rtems_bdbuf_swapout_write+0x190>  <== ALWAYS TAKEN
 200bfa8:	01 00 00 00 	nop                                            
          (dd->phys_dev->capabilities & RTEMS_BLKDEV_CAP_SYNC))       
      {                                                               
        /* int result = */ dd->ioctl (dd->phys_dev, RTEMS_BLKDEV_REQ_SYNC, NULL);
 200bfac:	c2 06 20 28 	ld  [ %i0 + 0x28 ], %g1                        <== NOT EXECUTED
 200bfb0:	92 10 20 02 	mov  2, %o1                                    <== NOT EXECUTED
 200bfb4:	9f c0 40 00 	call  %g1                                      <== NOT EXECUTED
 200bfb8:	94 10 20 00 	clr  %o2                                       <== NOT EXECUTED
        /* How should the error be handled ? */                       
      }                                                               
                                                                      
      rtems_disk_release (dd);                                        
 200bfbc:	7f ff db 8a 	call  2002de4 <rtems_disk_release>             
 200bfc0:	81 e8 00 00 	restore                                        
 200bfc4:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 200bfc8:	81 e8 00 00 	restore                                        <== NOT EXECUTED
                                                                      

0200b3d8 <rtems_bdbuf_swapout_writereq_alloc>: * * @return rtems_blkdev_request* The write reference memory. */ static rtems_blkdev_request* rtems_bdbuf_swapout_writereq_alloc (void) {
 200b3d8:	9d e3 bf a0 	save  %sp, -96, %sp                            
   * have been a rtems_chain_control. Simple, fast and less storage as the node
   * is already part of the buffer structure.                         
   */                                                                 
  rtems_blkdev_request* write_req =                                   
    malloc (sizeof (rtems_blkdev_request) +                           
            (bdbuf_config.max_write_blocks * sizeof (rtems_blkdev_sg_buffer)));
 200b3dc:	03 00 80 5b 	sethi  %hi(0x2016c00), %g1                     
 200b3e0:	d0 00 63 bc 	ld  [ %g1 + 0x3bc ], %o0	! 2016fbc <rtems_bdbuf_configuration+0x4>
 200b3e4:	91 2a 20 04 	sll  %o0, 4, %o0                               
   * @note chrisj The rtems_blkdev_request and the array at the end is a hack.
   * I am disappointment at finding code like this in RTEMS. The request should
   * have been a rtems_chain_control. Simple, fast and less storage as the node
   * is already part of the buffer structure.                         
   */                                                                 
  rtems_blkdev_request* write_req =                                   
 200b3e8:	7f ff e2 36 	call  2003cc0 <malloc>                         
 200b3ec:	90 02 20 18 	add  %o0, 0x18, %o0                            
    malloc (sizeof (rtems_blkdev_request) +                           
            (bdbuf_config.max_write_blocks * sizeof (rtems_blkdev_sg_buffer)));
                                                                      
  if (!write_req)                                                     
 200b3f0:	b0 92 20 00 	orcc  %o0, 0, %i0                              
 200b3f4:	12 80 00 05 	bne  200b408 <rtems_bdbuf_swapout_writereq_alloc+0x30><== ALWAYS TAKEN
 200b3f8:	82 10 20 01 	mov  1, %g1                                    
    rtems_fatal_error_occurred (RTEMS_BLKDEV_FATAL_BDBUF_SO_NOMEM);   
 200b3fc:	11 10 80 00 	sethi  %hi(0x42000000), %o0                    <== NOT EXECUTED
 200b400:	7f ff f1 01 	call  2007804 <rtems_fatal_error_occurred>     <== NOT EXECUTED
 200b404:	90 12 20 15 	or  %o0, 0x15, %o0	! 42000015 <RAM_END+0x3fc00015><== NOT EXECUTED
                                                                      
  write_req->req = RTEMS_BLKDEV_REQ_WRITE;                            
 200b408:	c2 26 00 00 	st  %g1, [ %i0 ]                               
  write_req->req_done = rtems_bdbuf_transfer_done;                    
 200b40c:	03 00 80 2c 	sethi  %hi(0x200b000), %g1                     
 200b410:	82 10 62 38 	or  %g1, 0x238, %g1	! 200b238 <rtems_bdbuf_transfer_done>
  write_req->done_arg = write_req;                                    
 200b414:	f0 26 20 08 	st  %i0, [ %i0 + 8 ]                           
  write_req->io_task = rtems_task_self ();                            
 200b418:	40 00 0f d2 	call  200f360 <rtems_task_self>                
 200b41c:	c2 26 20 04 	st  %g1, [ %i0 + 4 ]                           
 200b420:	d0 26 20 14 	st  %o0, [ %i0 + 0x14 ]                        
                                                                      
  return write_req;                                                   
}                                                                     
 200b424:	81 c7 e0 08 	ret                                            
 200b428:	81 e8 00 00 	restore                                        
                                                                      

0200d250 <rtems_bdbuf_sync>: rtems_status_code rtems_bdbuf_sync (rtems_bdbuf_buffer *bd) {
 200d250:	9d e3 bf a0 	save  %sp, -96, %sp                            
}                                                                     
                                                                      
static rtems_status_code                                              
rtems_bdbuf_check_bd_and_lock_cache (rtems_bdbuf_buffer *bd, const char *kind)
{                                                                     
  if (!bdbuf_cache.initialised)                                       
 200d254:	39 00 80 61 	sethi  %hi(0x2018400), %i4                     
 200d258:	b8 17 23 d0 	or  %i4, 0x3d0, %i4	! 20187d0 <bdbuf_cache>    
 200d25c:	c2 0f 20 88 	ldub  [ %i4 + 0x88 ], %g1                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
                                                                      
rtems_status_code                                                     
rtems_bdbuf_sync (rtems_bdbuf_buffer *bd)                             
{                                                                     
 200d260:	ba 10 00 18 	mov  %i0, %i5                                  
}                                                                     
                                                                      
static rtems_status_code                                              
rtems_bdbuf_check_bd_and_lock_cache (rtems_bdbuf_buffer *bd, const char *kind)
{                                                                     
  if (!bdbuf_cache.initialised)                                       
 200d264:	80 a0 60 00 	cmp  %g1, 0                                    
 200d268:	02 80 00 55 	be  200d3bc <rtems_bdbuf_sync+0x16c>           <== NEVER TAKEN
 200d26c:	b0 10 20 16 	mov  0x16, %i0                                 
    return RTEMS_NOT_CONFIGURED;                                      
  if (bd == NULL)                                                     
 200d270:	80 a7 60 00 	cmp  %i5, 0                                    
 200d274:	02 80 00 0e 	be  200d2ac <rtems_bdbuf_sync+0x5c>            <== NEVER TAKEN
 200d278:	01 00 00 00 	nop                                            
  if (rtems_bdbuf_tracer)                                             
  {                                                                   
    printf ("bdbuf:%s: %" PRIu32 "\n", kind, bd->block);              
    rtems_bdbuf_show_users (kind, bd);                                
  }                                                                   
  rtems_bdbuf_lock_cache();                                           
 200d27c:	7f ff f7 39 	call  200af60 <rtems_bdbuf_lock_cache>         
 200d280:	01 00 00 00 	nop                                            
                                                                      
  sc = rtems_bdbuf_check_bd_and_lock_cache (bd, "sync");              
  if (sc != RTEMS_SUCCESSFUL)                                         
    return sc;                                                        
                                                                      
  switch (bd->state)                                                  
 200d284:	c2 07 60 28 	ld  [ %i5 + 0x28 ], %g1                        
 200d288:	80 a0 60 03 	cmp  %g1, 3                                    
 200d28c:	0a 80 00 45 	bcs  200d3a0 <rtems_bdbuf_sync+0x150>          <== NEVER TAKEN
 200d290:	80 a0 60 05 	cmp  %g1, 5                                    
 200d294:	28 80 00 08 	bleu,a   200d2b4 <rtems_bdbuf_sync+0x64>       
 200d298:	82 10 20 08 	mov  8, %g1                                    
 200d29c:	80 a0 60 06 	cmp  %g1, 6                                    
 200d2a0:	12 80 00 40 	bne  200d3a0 <rtems_bdbuf_sync+0x150>          <== NEVER TAKEN
 200d2a4:	01 00 00 00 	nop                                            
 200d2a8:	30 80 00 3b 	b,a   200d394 <rtems_bdbuf_sync+0x144>         
rtems_bdbuf_check_bd_and_lock_cache (rtems_bdbuf_buffer *bd, const char *kind)
{                                                                     
  if (!bdbuf_cache.initialised)                                       
    return RTEMS_NOT_CONFIGURED;                                      
  if (bd == NULL)                                                     
    return RTEMS_INVALID_ADDRESS;                                     
 200d2ac:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 200d2b0:	91 e8 20 09 	restore  %g0, 9, %o0                           <== NOT EXECUTED
 200d2b4:	90 07 20 5c 	add  %i4, 0x5c, %o0                            
}                                                                     
                                                                      
static void                                                           
rtems_bdbuf_set_state (rtems_bdbuf_buffer *bd, rtems_bdbuf_buf_state state)
{                                                                     
  bd->state = state;                                                  
 200d2b8:	c2 27 60 28 	st  %g1, [ %i5 + 0x28 ]                        
 200d2bc:	7f ff ea 8e 	call  2007cf4 <_Chain_Append>                  
 200d2c0:	92 10 00 1d 	mov  %i5, %o1                                  
{                                                                     
  rtems_bdbuf_set_state (bd, RTEMS_BDBUF_STATE_SYNC);                 
                                                                      
  rtems_chain_append (&bdbuf_cache.sync, &bd->link);                  
                                                                      
  if (bd->waiters)                                                    
 200d2c4:	c2 07 60 2c 	ld  [ %i5 + 0x2c ], %g1                        
 200d2c8:	80 a0 60 00 	cmp  %g1, 0                                    
 200d2cc:	02 80 00 04 	be  200d2dc <rtems_bdbuf_sync+0x8c>            
 200d2d0:	01 00 00 00 	nop                                            
    rtems_bdbuf_wake (&bdbuf_cache.access_waiters);                   
 200d2d4:	7f ff f8 77 	call  200b4b0 <rtems_bdbuf_wake>               
 200d2d8:	90 07 20 68 	add  %i4, 0x68, %o0                            
                                                                      
  rtems_bdbuf_wake_swapper ();                                        
 200d2dc:	7f ff f7 cb 	call  200b208 <rtems_bdbuf_wake_swapper>       
 200d2e0:	39 00 80 62 	sethi  %hi(0x2018800), %i4                     
      case RTEMS_BDBUF_STATE_ACCESS_PURGED:                           
        return;                                                       
      case RTEMS_BDBUF_STATE_SYNC:                                    
      case RTEMS_BDBUF_STATE_TRANSFER:                                
      case RTEMS_BDBUF_STATE_TRANSFER_PURGED:                         
        rtems_bdbuf_wait (bd, &bdbuf_cache.transfer_waiters);         
 200d2e4:	b8 17 20 40 	or  %i4, 0x40, %i4	! 2018840 <bdbuf_cache+0x70>
static void                                                           
rtems_bdbuf_wait_for_sync_done (rtems_bdbuf_buffer *bd)               
{                                                                     
  while (true)                                                        
  {                                                                   
    switch (bd->state)                                                
 200d2e8:	c2 07 60 28 	ld  [ %i5 + 0x28 ], %g1                        
 200d2ec:	80 a0 60 01 	cmp  %g1, 1                                    
 200d2f0:	0a 80 00 0b 	bcs  200d31c <rtems_bdbuf_sync+0xcc>           <== NEVER TAKEN
 200d2f4:	13 10 80 00 	sethi  %hi(0x42000000), %o1                    
 200d2f8:	80 a0 60 07 	cmp  %g1, 7                                    
 200d2fc:	08 80 00 0b 	bleu  200d328 <rtems_bdbuf_sync+0xd8>          
 200d300:	80 a0 60 0a 	cmp  %g1, 0xa                                  
 200d304:	18 80 00 06 	bgu  200d31c <rtems_bdbuf_sync+0xcc>           <== NEVER TAKEN
 200d308:	01 00 00 00 	nop                                            
      case RTEMS_BDBUF_STATE_ACCESS_PURGED:                           
        return;                                                       
      case RTEMS_BDBUF_STATE_SYNC:                                    
      case RTEMS_BDBUF_STATE_TRANSFER:                                
      case RTEMS_BDBUF_STATE_TRANSFER_PURGED:                         
        rtems_bdbuf_wait (bd, &bdbuf_cache.transfer_waiters);         
 200d30c:	90 10 00 1d 	mov  %i5, %o0                                  
 200d310:	7f ff f8 1e 	call  200b388 <rtems_bdbuf_wait>               
 200d314:	92 10 00 1c 	mov  %i4, %o1                                  
 200d318:	30 bf ff f4 	b,a   200d2e8 <rtems_bdbuf_sync+0x98>          
        break;                                                        
      default:                                                        
        rtems_bdbuf_fatal (bd->state, RTEMS_BLKDEV_FATAL_BDBUF_STATE_9);
 200d31c:	d0 07 60 28 	ld  [ %i5 + 0x28 ], %o0                        <== NOT EXECUTED
 200d320:	10 80 00 23 	b  200d3ac <rtems_bdbuf_sync+0x15c>            <== NOT EXECUTED
 200d324:	92 12 60 07 	or  %o1, 7, %o1                                <== NOT EXECUTED
  rtems_bdbuf_wait_for_sync_done (bd);                                
                                                                      
  /*                                                                  
   * We may have created a cached or empty buffer which may be recycled.
   */                                                                 
  if (bd->waiters == 0                                                
 200d328:	c2 07 60 2c 	ld  [ %i5 + 0x2c ], %g1                        
 200d32c:	80 a0 60 00 	cmp  %g1, 0                                    
 200d330:	12 80 00 21 	bne  200d3b4 <rtems_bdbuf_sync+0x164>          
 200d334:	01 00 00 00 	nop                                            
        && (bd->state == RTEMS_BDBUF_STATE_CACHED                     
 200d338:	c2 07 60 28 	ld  [ %i5 + 0x28 ], %g1                        
 200d33c:	80 a0 60 02 	cmp  %g1, 2                                    
 200d340:	02 80 00 06 	be  200d358 <rtems_bdbuf_sync+0x108>           
 200d344:	01 00 00 00 	nop                                            
          || bd->state == RTEMS_BDBUF_STATE_EMPTY))                   
 200d348:	c2 07 60 28 	ld  [ %i5 + 0x28 ], %g1                        
 200d34c:	80 a0 60 01 	cmp  %g1, 1                                    
 200d350:	12 80 00 19 	bne  200d3b4 <rtems_bdbuf_sync+0x164>          <== NEVER TAKEN
 200d354:	01 00 00 00 	nop                                            
  {                                                                   
    if (bd->state == RTEMS_BDBUF_STATE_EMPTY)                         
 200d358:	c2 07 60 28 	ld  [ %i5 + 0x28 ], %g1                        
 200d35c:	80 a0 60 01 	cmp  %g1, 1                                    
 200d360:	32 80 00 0a 	bne,a   200d388 <rtems_bdbuf_sync+0x138>       
 200d364:	11 00 80 62 	sethi  %hi(0x2018800), %o0                     
    {                                                                 
      rtems_bdbuf_remove_from_tree (bd);                              
 200d368:	7f ff f8 d2 	call  200b6b0 <rtems_bdbuf_remove_from_tree>   
 200d36c:	90 10 00 1d 	mov  %i5, %o0                                  
RTEMS_INLINE_ROUTINE void _Chain_Prepend(                             
  Chain_Control *the_chain,                                           
  Chain_Node    *the_node                                             
)                                                                     
{                                                                     
  _Chain_Insert(_Chain_Head(the_chain), the_node);                    
 200d370:	11 00 80 62 	sethi  %hi(0x2018800), %o0                     
}                                                                     
                                                                      
static void                                                           
rtems_bdbuf_set_state (rtems_bdbuf_buffer *bd, rtems_bdbuf_buf_state state)
{                                                                     
  bd->state = state;                                                  
 200d374:	c0 27 60 28 	clr  [ %i5 + 0x28 ]                            
 200d378:	90 12 20 14 	or  %o0, 0x14, %o0                             
 200d37c:	40 00 08 c3 	call  200f688 <_Chain_Insert>                  
 200d380:	92 10 00 1d 	mov  %i5, %o1                                  
    if (bd->state == RTEMS_BDBUF_STATE_EMPTY)                         
    {                                                                 
      rtems_bdbuf_remove_from_tree (bd);                              
      rtems_bdbuf_make_free_and_add_to_lru_list (bd);                 
    }                                                                 
    rtems_bdbuf_wake (&bdbuf_cache.buffer_waiters);                   
 200d384:	11 00 80 62 	sethi  %hi(0x2018800), %o0                     
 200d388:	7f ff f8 4a 	call  200b4b0 <rtems_bdbuf_wake>               
 200d38c:	90 12 20 48 	or  %o0, 0x48, %o0	! 2018848 <bdbuf_cache+0x78>
 200d390:	30 80 00 09 	b,a   200d3b4 <rtems_bdbuf_sync+0x164>         
    case RTEMS_BDBUF_STATE_ACCESS_EMPTY:                              
    case RTEMS_BDBUF_STATE_ACCESS_MODIFIED:                           
      rtems_bdbuf_sync_after_access (bd);                             
      break;                                                          
    case RTEMS_BDBUF_STATE_ACCESS_PURGED:                             
      rtems_bdbuf_discard_buffer_after_access (bd);                   
 200d394:	7f ff f9 bc 	call  200ba84 <rtems_bdbuf_discard_buffer_after_access>
 200d398:	90 10 00 1d 	mov  %i5, %o0                                  
      break;                                                          
 200d39c:	30 80 00 06 	b,a   200d3b4 <rtems_bdbuf_sync+0x164>         
    default:                                                          
      rtems_bdbuf_fatal (bd->state, RTEMS_BLKDEV_FATAL_BDBUF_STATE_5);
 200d3a0:	d0 07 60 28 	ld  [ %i5 + 0x28 ], %o0                        <== NOT EXECUTED
 200d3a4:	13 10 80 00 	sethi  %hi(0x42000000), %o1                    <== NOT EXECUTED
 200d3a8:	92 12 60 03 	or  %o1, 3, %o1	! 42000003 <RAM_END+0x3fc00003><== NOT EXECUTED
 200d3ac:	7f ff f7 07 	call  200afc8 <rtems_bdbuf_fatal>              <== NOT EXECUTED
 200d3b0:	01 00 00 00 	nop                                            <== NOT EXECUTED
  }                                                                   
                                                                      
  if (rtems_bdbuf_tracer)                                             
    rtems_bdbuf_show_usage ();                                        
                                                                      
  rtems_bdbuf_unlock_cache ();                                        
 200d3b4:	7f ff f7 75 	call  200b188 <rtems_bdbuf_unlock_cache>       
 200d3b8:	b0 10 20 00 	clr  %i0	! 0 <PROM_START>                      
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
 200d3bc:	81 c7 e0 08 	ret                                            
 200d3c0:	81 e8 00 00 	restore                                        
                                                                      

0200d3c4 <rtems_bdbuf_syncdev>: rtems_status_code rtems_bdbuf_syncdev (dev_t dev) {
 200d3c4:	9d e3 bf 98 	save  %sp, -104, %sp                           
                         rtems_blkdev_bnum  *media_block_ptr,         
                         size_t             *bds_per_group_ptr)       
{                                                                     
  rtems_disk_device *dd = NULL;                                       
                                                                      
  if (!bdbuf_cache.initialised)                                       
 200d3c8:	37 00 80 61 	sethi  %hi(0x2018400), %i3                     
 200d3cc:	b6 16 e3 d0 	or  %i3, 0x3d0, %i3	! 20187d0 <bdbuf_cache>    
 200d3d0:	c2 0e e0 88 	ldub  [ %i3 + 0x88 ], %g1                      
                                                                      
rtems_status_code                                                     
rtems_bdbuf_syncdev (dev_t dev)                                       
{                                                                     
  rtems_status_code  sc = RTEMS_SUCCESSFUL;                           
  rtems_disk_device *dd = NULL;                                       
 200d3d4:	c0 27 bf fc 	clr  [ %fp + -4 ]                              
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
                                                                      
rtems_status_code                                                     
rtems_bdbuf_syncdev (dev_t dev)                                       
{                                                                     
 200d3d8:	b8 10 00 18 	mov  %i0, %i4                                  
 200d3dc:	ba 10 00 19 	mov  %i1, %i5                                  
                         rtems_blkdev_bnum  *media_block_ptr,         
                         size_t             *bds_per_group_ptr)       
{                                                                     
  rtems_disk_device *dd = NULL;                                       
                                                                      
  if (!bdbuf_cache.initialised)                                       
 200d3e0:	80 a0 60 00 	cmp  %g1, 0                                    
 200d3e4:	02 80 00 20 	be  200d464 <rtems_bdbuf_syncdev+0xa0>         <== NEVER TAKEN
 200d3e8:	b0 10 20 16 	mov  0x16, %i0                                 
 200d3ec:	90 10 00 1c 	mov  %i4, %o0                                  
 200d3f0:	92 10 00 19 	mov  %i1, %o1                                  
 200d3f4:	94 10 20 00 	clr  %o2                                       
 200d3f8:	96 07 bf fc 	add  %fp, -4, %o3                              
 200d3fc:	98 10 20 00 	clr  %o4                                       
 200d400:	7f ff f8 72 	call  200b5c8 <rtems_bdbuf_obtain_disk.part.7> 
 200d404:	9a 10 20 00 	clr  %o5                                       
                                                                      
  if (rtems_bdbuf_tracer)                                             
    printf ("bdbuf:syncdev: %08x\n", (unsigned) dev);                 
                                                                      
  sc = rtems_bdbuf_obtain_disk (dev, 0, &dd, NULL, NULL);             
  if (sc != RTEMS_SUCCESSFUL)                                         
 200d408:	b0 92 20 00 	orcc  %o0, 0, %i0                              
 200d40c:	12 80 00 16 	bne  200d464 <rtems_bdbuf_syncdev+0xa0>        <== NEVER TAKEN
 200d410:	01 00 00 00 	nop                                            
   * Take the sync lock before locking the cache. Once we have the sync lock we
   * can lock the cache. If another thread has the sync lock it will cause this
   * thread to block until it owns the sync lock then it can own the cache. The
   * sync lock can only be obtained with the cache unlocked.          
   */                                                                 
  rtems_bdbuf_lock_sync ();                                           
 200d414:	7f ff f6 e0 	call  200af94 <rtems_bdbuf_lock_sync>          
 200d418:	01 00 00 00 	nop                                            
  rtems_bdbuf_lock_cache ();                                          
 200d41c:	7f ff f6 d1 	call  200af60 <rtems_bdbuf_lock_cache>         
 200d420:	01 00 00 00 	nop                                            
   * out task know the id of the requester to wake when done.         
   *                                                                  
   * The swap out task will negate the sync active flag when no more buffers
   * for the device are held on the "modified for sync" queues.       
   */                                                                 
  bdbuf_cache.sync_active    = true;                                  
 200d424:	82 10 20 01 	mov  1, %g1	! 1 <PROM_START+0x1>               
 200d428:	c2 2e e0 30 	stb  %g1, [ %i3 + 0x30 ]                       
  bdbuf_cache.sync_requester = rtems_task_self ();                    
 200d42c:	40 00 07 cd 	call  200f360 <rtems_task_self>                
 200d430:	01 00 00 00 	nop                                            
 200d434:	d0 26 e0 34 	st  %o0, [ %i3 + 0x34 ]                        
  bdbuf_cache.sync_device    = dev;                                   
 200d438:	f8 3e e0 38 	std  %i4, [ %i3 + 0x38 ]                       
                                                                      
  rtems_bdbuf_wake_swapper ();                                        
 200d43c:	7f ff f7 73 	call  200b208 <rtems_bdbuf_wake_swapper>       
 200d440:	01 00 00 00 	nop                                            
  rtems_bdbuf_unlock_cache ();                                        
 200d444:	7f ff f7 51 	call  200b188 <rtems_bdbuf_unlock_cache>       
 200d448:	01 00 00 00 	nop                                            
  rtems_bdbuf_wait_for_event (RTEMS_BDBUF_TRANSFER_SYNC);             
 200d44c:	7f ff f7 81 	call  200b250 <rtems_bdbuf_wait_for_event>     
 200d450:	90 10 20 02 	mov  2, %o0	! 2 <PROM_START+0x2>               
  rtems_bdbuf_unlock_sync ();                                         
 200d454:	7f ff f7 58 	call  200b1b4 <rtems_bdbuf_unlock_sync>        
 200d458:	01 00 00 00 	nop                                            
  rtems_bdbuf_release_disk (dd);                                      
 200d45c:	7f ff f7 61 	call  200b1e0 <rtems_bdbuf_release_disk>       
 200d460:	d0 07 bf fc 	ld  [ %fp + -4 ], %o0                          
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
 200d464:	81 c7 e0 08 	ret                                            
 200d468:	81 e8 00 00 	restore                                        
                                                                      

0200b188 <rtems_bdbuf_unlock_cache>: /** * Unlock the cache. */ static void rtems_bdbuf_unlock_cache (void) {
 200b188:	9d e3 bf a0 	save  %sp, -96, %sp                            
 * @param fatal_error_code The error code if the call fails.          
 */                                                                   
static void                                                           
rtems_bdbuf_unlock (rtems_id lock, uint32_t fatal_error_code)         
{                                                                     
  rtems_status_code sc = rtems_semaphore_release (lock);              
 200b18c:	03 00 80 61 	sethi  %hi(0x2018400), %g1                     
 200b190:	7f ff f0 4f 	call  20072cc <rtems_semaphore_release>        
 200b194:	d0 00 63 f8 	ld  [ %g1 + 0x3f8 ], %o0	! 20187f8 <bdbuf_cache+0x28>
  if (sc != RTEMS_SUCCESSFUL)                                         
 200b198:	80 a2 20 00 	cmp  %o0, 0                                    
 200b19c:	02 80 00 04 	be  200b1ac <rtems_bdbuf_unlock_cache+0x24>    <== ALWAYS TAKEN
 200b1a0:	11 10 80 00 	sethi  %hi(0x42000000), %o0                    
    rtems_fatal_error_occurred (fatal_error_code);                    
 200b1a4:	7f ff f1 98 	call  2007804 <rtems_fatal_error_occurred>     <== NOT EXECUTED
 200b1a8:	90 12 20 0e 	or  %o0, 0xe, %o0	! 4200000e <RAM_END+0x3fc0000e><== NOT EXECUTED
 200b1ac:	81 c7 e0 08 	ret                                            
 200b1b0:	81 e8 00 00 	restore                                        
                                                                      

0200b1b4 <rtems_bdbuf_unlock_sync>: /** * Unlock the cache's sync lock. Any blocked writers are woken. */ static void rtems_bdbuf_unlock_sync (void) {
 200b1b4:	9d e3 bf a0 	save  %sp, -96, %sp                            
 * @param fatal_error_code The error code if the call fails.          
 */                                                                   
static void                                                           
rtems_bdbuf_unlock (rtems_id lock, uint32_t fatal_error_code)         
{                                                                     
  rtems_status_code sc = rtems_semaphore_release (lock);              
 200b1b8:	03 00 80 61 	sethi  %hi(0x2018400), %g1                     
 200b1bc:	7f ff f0 44 	call  20072cc <rtems_semaphore_release>        
 200b1c0:	d0 00 63 fc 	ld  [ %g1 + 0x3fc ], %o0	! 20187fc <bdbuf_cache+0x2c>
  if (sc != RTEMS_SUCCESSFUL)                                         
 200b1c4:	80 a2 20 00 	cmp  %o0, 0                                    
 200b1c8:	02 80 00 04 	be  200b1d8 <rtems_bdbuf_unlock_sync+0x24>     <== ALWAYS TAKEN
 200b1cc:	11 10 80 00 	sethi  %hi(0x42000000), %o0                    
    rtems_fatal_error_occurred (fatal_error_code);                    
 200b1d0:	7f ff f1 8d 	call  2007804 <rtems_fatal_error_occurred>     <== NOT EXECUTED
 200b1d4:	90 12 20 0c 	or  %o0, 0xc, %o0	! 4200000c <RAM_END+0x3fc0000c><== NOT EXECUTED
 200b1d8:	81 c7 e0 08 	ret                                            
 200b1dc:	81 e8 00 00 	restore                                        
                                                                      

0200b250 <rtems_bdbuf_wait_for_event>: return RTEMS_UNSATISFIED; } static void rtems_bdbuf_wait_for_event (rtems_event_set event) {
 200b250:	9d e3 bf 98 	save  %sp, -104, %sp                           
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
  rtems_event_set   out = 0;                                          
                                                                      
  sc = rtems_event_receive (event,                                    
 200b254:	92 10 20 00 	clr  %o1                                       
                                                                      
static void                                                           
rtems_bdbuf_wait_for_event (rtems_event_set event)                    
{                                                                     
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
  rtems_event_set   out = 0;                                          
 200b258:	c0 27 bf fc 	clr  [ %fp + -4 ]                              
                                                                      
  sc = rtems_event_receive (event,                                    
 200b25c:	90 10 00 18 	mov  %i0, %o0                                  
 200b260:	94 10 20 00 	clr  %o2                                       
 200b264:	7f ff ee 36 	call  2006b3c <rtems_event_receive>            
 200b268:	96 07 bf fc 	add  %fp, -4, %o3                              
                            RTEMS_EVENT_ALL | RTEMS_WAIT,             
                            RTEMS_NO_TIMEOUT,                         
                            &out);                                    
                                                                      
  if (sc != RTEMS_SUCCESSFUL || out != event)                         
 200b26c:	80 a2 20 00 	cmp  %o0, 0                                    
 200b270:	12 80 00 05 	bne  200b284 <rtems_bdbuf_wait_for_event+0x34> <== NEVER TAKEN
 200b274:	c2 07 bf fc 	ld  [ %fp + -4 ], %g1                          
 200b278:	80 a0 40 18 	cmp  %g1, %i0                                  
 200b27c:	02 80 00 05 	be  200b290 <rtems_bdbuf_wait_for_event+0x40>  <== ALWAYS TAKEN
 200b280:	01 00 00 00 	nop                                            
    rtems_fatal_error_occurred (RTEMS_BLKDEV_FATAL_BDBUF_WAIT_EVNT);  
 200b284:	11 10 80 00 	sethi  %hi(0x42000000), %o0                    <== NOT EXECUTED
 200b288:	7f ff f1 5f 	call  2007804 <rtems_fatal_error_occurred>     <== NOT EXECUTED
 200b28c:	90 12 20 1a 	or  %o0, 0x1a, %o0	! 4200001a <RAM_END+0x3fc0001a><== NOT EXECUTED
 200b290:	81 c7 e0 08 	ret                                            
 200b294:	81 e8 00 00 	restore                                        
                                                                      

0200b4b0 <rtems_bdbuf_wake>: * Wake a blocked resource. The resource has a counter that lets us know if * there are any waiters. */ static void rtems_bdbuf_wake (const rtems_bdbuf_waiters *waiters) {
 200b4b0:	9d e3 bf a0 	save  %sp, -96, %sp                            
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
                                                                      
  if (waiters->count > 0)                                             
 200b4b4:	c2 06 00 00 	ld  [ %i0 ], %g1                               
 200b4b8:	80 a0 60 00 	cmp  %g1, 0                                    
 200b4bc:	02 80 00 09 	be  200b4e0 <rtems_bdbuf_wake+0x30>            
 200b4c0:	01 00 00 00 	nop                                            
  {                                                                   
    sc = rtems_semaphore_flush (waiters->sema);                       
 200b4c4:	40 00 0f 1f 	call  200f140 <rtems_semaphore_flush>          
 200b4c8:	d0 06 20 04 	ld  [ %i0 + 4 ], %o0                           
    if (sc != RTEMS_SUCCESSFUL)                                       
 200b4cc:	80 a2 20 00 	cmp  %o0, 0                                    
 200b4d0:	02 80 00 04 	be  200b4e0 <rtems_bdbuf_wake+0x30>            <== ALWAYS TAKEN
 200b4d4:	11 10 80 00 	sethi  %hi(0x42000000), %o0                    
      rtems_fatal_error_occurred (RTEMS_BLKDEV_FATAL_BDBUF_CACHE_WAKE);
 200b4d8:	7f ff f0 cb 	call  2007804 <rtems_fatal_error_occurred>     <== NOT EXECUTED
 200b4dc:	90 12 20 13 	or  %o0, 0x13, %o0	! 42000013 <RAM_END+0x3fc00013><== NOT EXECUTED
 200b4e0:	81 c7 e0 08 	ret                                            
 200b4e4:	81 e8 00 00 	restore                                        
                                                                      

0200b208 <rtems_bdbuf_wake_swapper>: } } static void rtems_bdbuf_wake_swapper (void) {
 200b208:	9d e3 bf a0 	save  %sp, -96, %sp                            
  rtems_status_code sc = rtems_event_send (bdbuf_cache.swapout,       
 200b20c:	03 00 80 61 	sethi  %hi(0x2018400), %g1                     
 200b210:	d0 00 63 d0 	ld  [ %g1 + 0x3d0 ], %o0	! 20187d0 <bdbuf_cache>
 200b214:	7f ff ee af 	call  2006cd0 <rtems_event_send>               
 200b218:	92 10 20 04 	mov  4, %o1                                    
                                           RTEMS_BDBUF_SWAPOUT_SYNC); 
  if (sc != RTEMS_SUCCESSFUL)                                         
 200b21c:	80 a2 20 00 	cmp  %o0, 0                                    
 200b220:	02 80 00 04 	be  200b230 <rtems_bdbuf_wake_swapper+0x28>    <== ALWAYS TAKEN
 200b224:	11 10 80 00 	sethi  %hi(0x42000000), %o0                    
    rtems_fatal_error_occurred (RTEMS_BLKDEV_FATAL_BDBUF_SO_WAKE);    
 200b228:	7f ff f1 77 	call  2007804 <rtems_fatal_error_occurred>     <== NOT EXECUTED
 200b22c:	90 12 20 14 	or  %o0, 0x14, %o0	! 42000014 <RAM_END+0x3fc00014><== NOT EXECUTED
 200b230:	81 c7 e0 08 	ret                                            
 200b234:	81 e8 00 00 	restore                                        
                                                                      

0200d6dc <rtems_blkdev_generic_ioctl>: rtems_device_driver rtems_blkdev_generic_ioctl( rtems_device_major_number major __attribute__((unused)), rtems_device_minor_number minor __attribute__((unused)), void * arg) {
 200d6dc:	9d e3 bf a0 	save  %sp, -96, %sp                            
    rtems_libio_ioctl_args_t *args = arg;                             
    rtems_libio_t *iop = args->iop;                                   
    rtems_disk_device *dd = iop->data1;                               
 200d6e0:	c2 06 80 00 	ld  [ %i2 ], %g1                               
    int rc;                                                           
                                                                      
    switch (args->command)                                            
 200d6e4:	d2 06 a0 04 	ld  [ %i2 + 4 ], %o1                           
    rtems_device_minor_number minor __attribute__((unused)),          
    void                    * arg)                                    
{                                                                     
    rtems_libio_ioctl_args_t *args = arg;                             
    rtems_libio_t *iop = args->iop;                                   
    rtems_disk_device *dd = iop->data1;                               
 200d6e8:	c4 00 60 38 	ld  [ %g1 + 0x38 ], %g2                        
    int rc;                                                           
                                                                      
    switch (args->command)                                            
 200d6ec:	03 10 01 10 	sethi  %hi(0x40044000), %g1                    
 200d6f0:	86 10 62 03 	or  %g1, 0x203, %g3	! 40044203 <RAM_END+0x3dc44203>
 200d6f4:	80 a2 40 03 	cmp  %o1, %g3                                  
 200d6f8:	22 80 00 1e 	be,a   200d770 <rtems_blkdev_generic_ioctl+0x94><== NEVER TAKEN
 200d6fc:	c4 00 a0 20 	ld  [ %g2 + 0x20 ], %g2                        <== NOT EXECUTED
 200d700:	18 80 00 0d 	bgu  200d734 <rtems_blkdev_generic_ioctl+0x58> <== ALWAYS TAKEN
 200d704:	07 20 01 10 	sethi  %hi(0x80044000), %g3                    
 200d708:	07 08 00 10 	sethi  %hi(0x20004000), %g3                    <== NOT EXECUTED
 200d70c:	86 10 e2 06 	or  %g3, 0x206, %g3	! 20004206 <RAM_END+0x1dc04206><== NOT EXECUTED
 200d710:	80 a2 40 03 	cmp  %o1, %g3                                  <== NOT EXECUTED
 200d714:	02 80 00 21 	be  200d798 <rtems_blkdev_generic_ioctl+0xbc>  <== NOT EXECUTED
 200d718:	01 00 00 00 	nop                                            <== NOT EXECUTED
 200d71c:	82 10 62 02 	or  %g1, 0x202, %g1                            <== NOT EXECUTED
 200d720:	80 a2 40 01 	cmp  %o1, %g1                                  <== NOT EXECUTED
 200d724:	32 80 00 25 	bne,a   200d7b8 <rtems_blkdev_generic_ioctl+0xdc><== NOT EXECUTED
 200d728:	c2 00 a0 28 	ld  [ %g2 + 0x28 ], %g1                        <== NOT EXECUTED
    {                                                                 
        case RTEMS_BLKIO_GETMEDIABLKSIZE:                             
            *((uint32_t *) args->buffer) = dd->media_block_size;      
 200d72c:	10 80 00 0f 	b  200d768 <rtems_blkdev_generic_ioctl+0x8c>   <== NOT EXECUTED
 200d730:	c4 00 a0 24 	ld  [ %g2 + 0x24 ], %g2                        <== NOT EXECUTED
    rtems_libio_ioctl_args_t *args = arg;                             
    rtems_libio_t *iop = args->iop;                                   
    rtems_disk_device *dd = iop->data1;                               
    int rc;                                                           
                                                                      
    switch (args->command)                                            
 200d734:	86 10 e2 04 	or  %g3, 0x204, %g3                            
 200d738:	80 a2 40 03 	cmp  %o1, %g3                                  
 200d73c:	02 80 00 11 	be  200d780 <rtems_blkdev_generic_ioctl+0xa4>  <== ALWAYS TAKEN
 200d740:	07 30 06 10 	sethi  %hi(0xc0184000), %g3                    
 200d744:	86 10 e2 01 	or  %g3, 0x201, %g3	! c0184201 <RAM_END+0xbdd84201><== NOT EXECUTED
 200d748:	80 a2 40 03 	cmp  %o1, %g3                                  <== NOT EXECUTED
 200d74c:	02 80 00 18 	be  200d7ac <rtems_blkdev_generic_ioctl+0xd0>  <== NOT EXECUTED
 200d750:	82 10 62 05 	or  %g1, 0x205, %g1                            <== NOT EXECUTED
 200d754:	80 a2 40 01 	cmp  %o1, %g1                                  <== NOT EXECUTED
 200d758:	32 80 00 18 	bne,a   200d7b8 <rtems_blkdev_generic_ioctl+0xdc><== NOT EXECUTED
 200d75c:	c2 00 a0 28 	ld  [ %g2 + 0x28 ], %g1                        <== NOT EXECUTED
            dd->block_size = *((uint32_t *) args->buffer);            
            args->ioctl_return = 0;                                   
            break;                                                    
                                                                      
        case RTEMS_BLKIO_GETSIZE:                                     
            *((rtems_blkdev_bnum *) args->buffer) = dd->size;         
 200d760:	10 80 00 0c 	b  200d790 <rtems_blkdev_generic_ioctl+0xb4>   <== NOT EXECUTED
 200d764:	c4 00 a0 1c 	ld  [ %g2 + 0x1c ], %g2                        <== NOT EXECUTED
            *((uint32_t *) args->buffer) = dd->media_block_size;      
            args->ioctl_return = 0;                                   
            break;                                                    
                                                                      
        case RTEMS_BLKIO_GETBLKSIZE:                                  
            *((uint32_t *) args->buffer) = dd->block_size;            
 200d768:	10 80 00 03 	b  200d774 <rtems_blkdev_generic_ioctl+0x98>   <== NOT EXECUTED
 200d76c:	c2 06 a0 08 	ld  [ %i2 + 8 ], %g1                           <== NOT EXECUTED
 200d770:	c2 06 a0 08 	ld  [ %i2 + 8 ], %g1                           <== NOT EXECUTED
 200d774:	c4 20 40 00 	st  %g2, [ %g1 ]                               <== NOT EXECUTED
            args->ioctl_return = 0;                                   
            break;                                                    
 200d778:	10 80 00 14 	b  200d7c8 <rtems_blkdev_generic_ioctl+0xec>   
 200d77c:	c0 26 a0 0c 	clr  [ %i2 + 0xc ]                             
                                                                      
        case RTEMS_BLKIO_SETBLKSIZE:                                  
            dd->block_size = *((uint32_t *) args->buffer);            
 200d780:	c2 06 a0 08 	ld  [ %i2 + 8 ], %g1                           
 200d784:	c2 00 40 00 	ld  [ %g1 ], %g1                               
 200d788:	10 bf ff fc 	b  200d778 <rtems_blkdev_generic_ioctl+0x9c>   
 200d78c:	c2 20 a0 20 	st  %g1, [ %g2 + 0x20 ]                        
            *((uint32_t *) args->buffer) = dd->media_block_size;      
            args->ioctl_return = 0;                                   
            break;                                                    
                                                                      
        case RTEMS_BLKIO_GETBLKSIZE:                                  
            *((uint32_t *) args->buffer) = dd->block_size;            
 200d790:	10 bf ff f9 	b  200d774 <rtems_blkdev_generic_ioctl+0x98>   <== NOT EXECUTED
 200d794:	c2 06 a0 08 	ld  [ %i2 + 8 ], %g1                           <== NOT EXECUTED
            *((rtems_blkdev_bnum *) args->buffer) = dd->size;         
            args->ioctl_return = 0;                                   
            break;                                                    
                                                                      
        case RTEMS_BLKIO_SYNCDEV:                                     
            rc = rtems_bdbuf_syncdev(dd->dev);                        
 200d798:	7f ff ff 0b 	call  200d3c4 <rtems_bdbuf_syncdev>            <== NOT EXECUTED
 200d79c:	d0 18 80 00 	ldd  [ %g2 ], %o0                              <== NOT EXECUTED
            args->ioctl_return = (uint32_t) (rc == RTEMS_SUCCESSFUL ? 0 : -1);
 200d7a0:	80 a0 00 08 	cmp  %g0, %o0                                  <== NOT EXECUTED
 200d7a4:	10 80 00 03 	b  200d7b0 <rtems_blkdev_generic_ioctl+0xd4>   <== NOT EXECUTED
 200d7a8:	82 60 20 00 	subx  %g0, 0, %g1                              <== NOT EXECUTED
        case RTEMS_BLKIO_REQUEST:                                     
            /*                                                        
             * It is not allowed to directly access the driver circumventing
             * the cache.                                             
             */                                                       
            args->ioctl_return = (uint32_t) -1;                       
 200d7ac:	82 10 3f ff 	mov  -1, %g1                                   <== NOT EXECUTED
            break;                                                    
 200d7b0:	10 80 00 06 	b  200d7c8 <rtems_blkdev_generic_ioctl+0xec>   <== NOT EXECUTED
 200d7b4:	c2 26 a0 0c 	st  %g1, [ %i2 + 0xc ]                         <== NOT EXECUTED
                                                                      
        default:                                                      
            args->ioctl_return = (uint32_t) dd->ioctl(dd->phys_dev,   
 200d7b8:	d0 00 a0 08 	ld  [ %g2 + 8 ], %o0                           <== NOT EXECUTED
 200d7bc:	9f c0 40 00 	call  %g1                                      <== NOT EXECUTED
 200d7c0:	d4 06 a0 08 	ld  [ %i2 + 8 ], %o2                           <== NOT EXECUTED
 200d7c4:	d0 26 a0 0c 	st  %o0, [ %i2 + 0xc ]                         <== NOT EXECUTED
                                                      args->buffer);  
            break;                                                    
    }                                                                 
                                                                      
    return RTEMS_SUCCESSFUL;                                          
}                                                                     
 200d7c8:	81 c7 e0 08 	ret                                            
 200d7cc:	91 e8 20 00 	restore  %g0, 0, %o0                           
                                                                      

0200d4ac <rtems_blkdev_generic_read>: rtems_device_driver rtems_blkdev_generic_read( rtems_device_major_number major __attribute__((unused)), rtems_device_minor_number minor __attribute__((unused)), void * arg) {
 200d4ac:	9d e3 bf 98 	save  %sp, -104, %sp                           
    rtems_status_code rc = RTEMS_SUCCESSFUL;                          
    rtems_libio_rw_args_t *args = arg;                                
    rtems_libio_t *iop = args->iop;                                   
    rtems_disk_device *dd = iop->data1;                               
 200d4b0:	c2 06 80 00 	ld  [ %i2 ], %g1                               
    uint32_t block_size = dd->block_size;                             
    char *buf = args->buffer;                                         
    uint32_t count = args->count;                                     
    rtems_blkdev_bnum block = (rtems_blkdev_bnum) (args->offset / block_size);
 200d4b4:	f8 1e a0 08 	ldd  [ %i2 + 8 ], %i4                          
    void                    * arg)                                    
{                                                                     
    rtems_status_code rc = RTEMS_SUCCESSFUL;                          
    rtems_libio_rw_args_t *args = arg;                                
    rtems_libio_t *iop = args->iop;                                   
    rtems_disk_device *dd = iop->data1;                               
 200d4b8:	f2 00 60 38 	ld  [ %g1 + 0x38 ], %i1                        
    uint32_t block_size = dd->block_size;                             
    char *buf = args->buffer;                                         
    uint32_t count = args->count;                                     
    rtems_blkdev_bnum block = (rtems_blkdev_bnum) (args->offset / block_size);
 200d4bc:	90 10 00 1c 	mov  %i4, %o0                                  
{                                                                     
    rtems_status_code rc = RTEMS_SUCCESSFUL;                          
    rtems_libio_rw_args_t *args = arg;                                
    rtems_libio_t *iop = args->iop;                                   
    rtems_disk_device *dd = iop->data1;                               
    uint32_t block_size = dd->block_size;                             
 200d4c0:	e2 06 60 20 	ld  [ %i1 + 0x20 ], %l1                        
    char *buf = args->buffer;                                         
    uint32_t count = args->count;                                     
    rtems_blkdev_bnum block = (rtems_blkdev_bnum) (args->offset / block_size);
 200d4c4:	92 10 00 1d 	mov  %i5, %o1                                  
 200d4c8:	94 10 20 00 	clr  %o2                                       
 200d4cc:	40 00 1f f4 	call  201549c <__divdi3>                       
 200d4d0:	96 10 00 11 	mov  %l1, %o3                                  
    uint32_t blkofs = (uint32_t) (args->offset % block_size);         
 200d4d4:	90 10 00 1c 	mov  %i4, %o0                                  
    rtems_libio_t *iop = args->iop;                                   
    rtems_disk_device *dd = iop->data1;                               
    uint32_t block_size = dd->block_size;                             
    char *buf = args->buffer;                                         
    uint32_t count = args->count;                                     
    rtems_blkdev_bnum block = (rtems_blkdev_bnum) (args->offset / block_size);
 200d4d8:	a6 10 00 09 	mov  %o1, %l3                                  
    uint32_t blkofs = (uint32_t) (args->offset % block_size);         
 200d4dc:	94 10 20 00 	clr  %o2                                       
 200d4e0:	92 10 00 1d 	mov  %i5, %o1                                  
 200d4e4:	96 10 00 11 	mov  %l1, %o3                                  
 200d4e8:	40 00 20 d3 	call  2015834 <__moddi3>                       
 200d4ec:	e4 06 a0 10 	ld  [ %i2 + 0x10 ], %l2                        
    rtems_libio_rw_args_t *args = arg;                                
    rtems_libio_t *iop = args->iop;                                   
    rtems_disk_device *dd = iop->data1;                               
    uint32_t block_size = dd->block_size;                             
    char *buf = args->buffer;                                         
    uint32_t count = args->count;                                     
 200d4f0:	f6 06 a0 14 	ld  [ %i2 + 0x14 ], %i3                        
    rtems_blkdev_bnum block = (rtems_blkdev_bnum) (args->offset / block_size);
    uint32_t blkofs = (uint32_t) (args->offset % block_size);         
    dev_t dev = dd->dev;                                              
 200d4f4:	f8 1e 40 00 	ldd  [ %i1 ], %i4                              
    rtems_disk_device *dd = iop->data1;                               
    uint32_t block_size = dd->block_size;                             
    char *buf = args->buffer;                                         
    uint32_t count = args->count;                                     
    rtems_blkdev_bnum block = (rtems_blkdev_bnum) (args->offset / block_size);
    uint32_t blkofs = (uint32_t) (args->offset % block_size);         
 200d4f8:	a0 10 00 09 	mov  %o1, %l0                                  
    dev_t dev = dd->dev;                                              
                                                                      
    args->bytes_moved = 0;                                            
 200d4fc:	c0 26 a0 1c 	clr  [ %i2 + 0x1c ]                            
                                                                      
    while (count > 0)                                                 
 200d500:	10 80 00 1d 	b  200d574 <rtems_blkdev_generic_read+0xc8>    
 200d504:	b2 10 20 00 	clr  %i1                                       
    {                                                                 
        rtems_bdbuf_buffer *diskbuf;                                  
        uint32_t            copy;                                     
                                                                      
        rc = rtems_bdbuf_read(dev, block, &diskbuf);                  
 200d508:	90 10 00 1c 	mov  %i4, %o0                                  
 200d50c:	92 10 00 1d 	mov  %i5, %o1                                  
 200d510:	7f ff fe 54 	call  200ce60 <rtems_bdbuf_read>               
 200d514:	96 07 bf fc 	add  %fp, -4, %o3                              
        if (rc != RTEMS_SUCCESSFUL)                                   
 200d518:	80 a2 20 00 	cmp  %o0, 0                                    
 200d51c:	12 80 00 1a 	bne  200d584 <rtems_blkdev_generic_read+0xd8>  <== NEVER TAKEN
 200d520:	a8 24 40 10 	sub  %l1, %l0, %l4                             
            break;                                                    
        copy = block_size - blkofs;                                   
 200d524:	80 a5 00 1b 	cmp  %l4, %i3                                  
 200d528:	38 80 00 02 	bgu,a   200d530 <rtems_blkdev_generic_read+0x84><== NEVER TAKEN
 200d52c:	a8 10 00 1b 	mov  %i3, %l4                                  <== NOT EXECUTED
        if (copy > count)                                             
            copy = count;                                             
        memcpy(buf, (char *)diskbuf->buffer + blkofs, copy);          
 200d530:	c2 07 bf fc 	ld  [ %fp + -4 ], %g1                          
 200d534:	94 10 00 14 	mov  %l4, %o2                                  
 200d538:	d2 00 60 24 	ld  [ %g1 + 0x24 ], %o1                        
 200d53c:	90 10 00 12 	mov  %l2, %o0                                  
 200d540:	40 00 13 12 	call  2012188 <memcpy>                         
 200d544:	92 02 40 10 	add  %o1, %l0, %o1                             
        rc = rtems_bdbuf_release(diskbuf);                            
 200d548:	d0 07 bf fc 	ld  [ %fp + -4 ], %o0                          
 200d54c:	7f ff fe df 	call  200d0c8 <rtems_bdbuf_release>            
 200d550:	b2 06 60 01 	inc  %i1                                       
        args->bytes_moved += copy;                                    
 200d554:	c2 06 a0 1c 	ld  [ %i2 + 0x1c ], %g1                        
        if (rc != RTEMS_SUCCESSFUL)                                   
 200d558:	80 a2 20 00 	cmp  %o0, 0                                    
        copy = block_size - blkofs;                                   
        if (copy > count)                                             
            copy = count;                                             
        memcpy(buf, (char *)diskbuf->buffer + blkofs, copy);          
        rc = rtems_bdbuf_release(diskbuf);                            
        args->bytes_moved += copy;                                    
 200d55c:	82 00 40 14 	add  %g1, %l4, %g1                             
        if (rc != RTEMS_SUCCESSFUL)                                   
 200d560:	12 80 00 09 	bne  200d584 <rtems_blkdev_generic_read+0xd8>  <== NEVER TAKEN
 200d564:	c2 26 a0 1c 	st  %g1, [ %i2 + 0x1c ]                        
            break;                                                    
        count -= copy;                                                
 200d568:	b6 26 c0 14 	sub  %i3, %l4, %i3                             
        buf += copy;                                                  
 200d56c:	a4 04 80 14 	add  %l2, %l4, %l2                             
        blkofs = 0;                                                   
 200d570:	a0 10 20 00 	clr  %l0                                       
    uint32_t blkofs = (uint32_t) (args->offset % block_size);         
    dev_t dev = dd->dev;                                              
                                                                      
    args->bytes_moved = 0;                                            
                                                                      
    while (count > 0)                                                 
 200d574:	80 a6 e0 00 	cmp  %i3, 0                                    
 200d578:	12 bf ff e4 	bne  200d508 <rtems_blkdev_generic_read+0x5c>  
 200d57c:	94 06 40 13 	add  %i1, %l3, %o2                             
 200d580:	90 10 20 00 	clr  %o0                                       
        blkofs = 0;                                                   
        block++;                                                      
    }                                                                 
                                                                      
    return rc;                                                        
}                                                                     
 200d584:	81 c7 e0 08 	ret                                            
 200d588:	91 e8 00 08 	restore  %g0, %o0, %o0                         
                                                                      

0200d58c <rtems_blkdev_generic_write>: rtems_device_driver rtems_blkdev_generic_write( rtems_device_major_number major __attribute__((unused)), rtems_device_minor_number minor __attribute__((unused)), void * arg) {
 200d58c:	9d e3 bf 98 	save  %sp, -104, %sp                           
    rtems_status_code rc = RTEMS_SUCCESSFUL;                          
    rtems_libio_rw_args_t *args = arg;                                
    rtems_libio_t *iop = args->iop;                                   
    rtems_disk_device *dd = iop->data1;                               
 200d590:	c2 06 80 00 	ld  [ %i2 ], %g1                               
    uint32_t block_size = dd->block_size;                             
    char *buf = args->buffer;                                         
    uint32_t count = args->count;                                     
    rtems_blkdev_bnum block = (rtems_blkdev_bnum) (args->offset / block_size);
 200d594:	f8 1e a0 08 	ldd  [ %i2 + 8 ], %i4                          
    void                    * arg)                                    
{                                                                     
    rtems_status_code rc = RTEMS_SUCCESSFUL;                          
    rtems_libio_rw_args_t *args = arg;                                
    rtems_libio_t *iop = args->iop;                                   
    rtems_disk_device *dd = iop->data1;                               
 200d598:	e2 00 60 38 	ld  [ %g1 + 0x38 ], %l1                        
    uint32_t block_size = dd->block_size;                             
    char *buf = args->buffer;                                         
    uint32_t count = args->count;                                     
    rtems_blkdev_bnum block = (rtems_blkdev_bnum) (args->offset / block_size);
 200d59c:	90 10 00 1c 	mov  %i4, %o0                                  
{                                                                     
    rtems_status_code rc = RTEMS_SUCCESSFUL;                          
    rtems_libio_rw_args_t *args = arg;                                
    rtems_libio_t *iop = args->iop;                                   
    rtems_disk_device *dd = iop->data1;                               
    uint32_t block_size = dd->block_size;                             
 200d5a0:	e0 04 60 20 	ld  [ %l1 + 0x20 ], %l0                        
    char *buf = args->buffer;                                         
    uint32_t count = args->count;                                     
    rtems_blkdev_bnum block = (rtems_blkdev_bnum) (args->offset / block_size);
 200d5a4:	92 10 00 1d 	mov  %i5, %o1                                  
 200d5a8:	94 10 20 00 	clr  %o2                                       
 200d5ac:	40 00 1f bc 	call  201549c <__divdi3>                       
 200d5b0:	96 10 00 10 	mov  %l0, %o3                                  
    uint32_t blkofs = (uint32_t) (args->offset % block_size);         
 200d5b4:	90 10 00 1c 	mov  %i4, %o0                                  
    rtems_libio_t *iop = args->iop;                                   
    rtems_disk_device *dd = iop->data1;                               
    uint32_t block_size = dd->block_size;                             
    char *buf = args->buffer;                                         
    uint32_t count = args->count;                                     
    rtems_blkdev_bnum block = (rtems_blkdev_bnum) (args->offset / block_size);
 200d5b8:	a6 10 00 09 	mov  %o1, %l3                                  
    uint32_t blkofs = (uint32_t) (args->offset % block_size);         
 200d5bc:	94 10 20 00 	clr  %o2                                       
 200d5c0:	92 10 00 1d 	mov  %i5, %o1                                  
 200d5c4:	96 10 00 10 	mov  %l0, %o3                                  
 200d5c8:	40 00 20 9b 	call  2015834 <__moddi3>                       
 200d5cc:	e4 06 a0 10 	ld  [ %i2 + 0x10 ], %l2                        
    rtems_libio_rw_args_t *args = arg;                                
    rtems_libio_t *iop = args->iop;                                   
    rtems_disk_device *dd = iop->data1;                               
    uint32_t block_size = dd->block_size;                             
    char *buf = args->buffer;                                         
    uint32_t count = args->count;                                     
 200d5d0:	f6 06 a0 14 	ld  [ %i2 + 0x14 ], %i3                        
    rtems_blkdev_bnum block = (rtems_blkdev_bnum) (args->offset / block_size);
    uint32_t blkofs = (uint32_t) (args->offset % block_size);         
    dev_t dev = dd->dev;                                              
 200d5d4:	f8 1c 40 00 	ldd  [ %l1 ], %i4                              
    rtems_disk_device *dd = iop->data1;                               
    uint32_t block_size = dd->block_size;                             
    char *buf = args->buffer;                                         
    uint32_t count = args->count;                                     
    rtems_blkdev_bnum block = (rtems_blkdev_bnum) (args->offset / block_size);
    uint32_t blkofs = (uint32_t) (args->offset % block_size);         
 200d5d8:	b2 10 00 09 	mov  %o1, %i1                                  
    dev_t dev = dd->dev;                                              
                                                                      
    args->bytes_moved = 0;                                            
 200d5dc:	c0 26 a0 1c 	clr  [ %i2 + 0x1c ]                            
                                                                      
    while (count > 0)                                                 
 200d5e0:	10 80 00 27 	b  200d67c <rtems_blkdev_generic_write+0xf0>   
 200d5e4:	a2 10 20 00 	clr  %l1                                       
    {                                                                 
        rtems_bdbuf_buffer *diskbuf;                                  
        uint32_t            copy;                                     
                                                                      
        if ((blkofs == 0) && (count >= block_size))                   
            rc = rtems_bdbuf_get(dev, block, &diskbuf);               
 200d5e8:	90 10 00 1c 	mov  %i4, %o0                                  
 200d5ec:	92 10 00 1d 	mov  %i5, %o1                                  
    while (count > 0)                                                 
    {                                                                 
        rtems_bdbuf_buffer *diskbuf;                                  
        uint32_t            copy;                                     
                                                                      
        if ((blkofs == 0) && (count >= block_size))                   
 200d5f0:	80 a6 c0 10 	cmp  %i3, %l0                                  
 200d5f4:	0a 80 00 09 	bcs  200d618 <rtems_blkdev_generic_write+0x8c> <== NEVER TAKEN
 200d5f8:	96 07 bf fc 	add  %fp, -4, %o3                              
 200d5fc:	80 a6 60 00 	cmp  %i1, 0                                    
 200d600:	12 80 00 06 	bne  200d618 <rtems_blkdev_generic_write+0x8c> <== NEVER TAKEN
 200d604:	01 00 00 00 	nop                                            
            rc = rtems_bdbuf_get(dev, block, &diskbuf);               
 200d608:	7f ff fd e1 	call  200cd8c <rtems_bdbuf_get>                
 200d60c:	01 00 00 00 	nop                                            
        else                                                          
            rc = rtems_bdbuf_read(dev, block, &diskbuf);              
        if (rc != RTEMS_SUCCESSFUL)                                   
 200d610:	10 80 00 05 	b  200d624 <rtems_blkdev_generic_write+0x98>   
 200d614:	80 a2 20 00 	cmp  %o0, 0                                    
        uint32_t            copy;                                     
                                                                      
        if ((blkofs == 0) && (count >= block_size))                   
            rc = rtems_bdbuf_get(dev, block, &diskbuf);               
        else                                                          
            rc = rtems_bdbuf_read(dev, block, &diskbuf);              
 200d618:	7f ff fe 12 	call  200ce60 <rtems_bdbuf_read>               <== NOT EXECUTED
 200d61c:	01 00 00 00 	nop                                            <== NOT EXECUTED
        if (rc != RTEMS_SUCCESSFUL)                                   
 200d620:	80 a2 20 00 	cmp  %o0, 0                                    <== NOT EXECUTED
 200d624:	12 80 00 1a 	bne  200d68c <rtems_blkdev_generic_write+0x100><== NEVER TAKEN
 200d628:	a8 24 00 19 	sub  %l0, %i1, %l4                             
            break;                                                    
                                                                      
        copy = block_size - blkofs;                                   
 200d62c:	80 a5 00 1b 	cmp  %l4, %i3                                  
 200d630:	38 80 00 02 	bgu,a   200d638 <rtems_blkdev_generic_write+0xac><== NEVER TAKEN
 200d634:	a8 10 00 1b 	mov  %i3, %l4                                  <== NOT EXECUTED
        if (copy > count)                                             
            copy = count;                                             
        memcpy((char *)diskbuf->buffer + blkofs, buf, copy);          
 200d638:	c2 07 bf fc 	ld  [ %fp + -4 ], %g1                          
 200d63c:	92 10 00 12 	mov  %l2, %o1                                  
 200d640:	d0 00 60 24 	ld  [ %g1 + 0x24 ], %o0                        
 200d644:	94 10 00 14 	mov  %l4, %o2                                  
 200d648:	40 00 12 d0 	call  2012188 <memcpy>                         
 200d64c:	90 02 00 19 	add  %o0, %i1, %o0                             
        args->bytes_moved += copy;                                    
 200d650:	c2 06 a0 1c 	ld  [ %i2 + 0x1c ], %g1                        
                                                                      
        rc = rtems_bdbuf_release_modified(diskbuf);                   
 200d654:	d0 07 bf fc 	ld  [ %fp + -4 ], %o0                          
                                                                      
        copy = block_size - blkofs;                                   
        if (copy > count)                                             
            copy = count;                                             
        memcpy((char *)diskbuf->buffer + blkofs, buf, copy);          
        args->bytes_moved += copy;                                    
 200d658:	82 00 40 14 	add  %g1, %l4, %g1                             
                                                                      
        rc = rtems_bdbuf_release_modified(diskbuf);                   
 200d65c:	a2 04 60 01 	inc  %l1                                       
 200d660:	7f ff fe d6 	call  200d1b8 <rtems_bdbuf_release_modified>   
 200d664:	c2 26 a0 1c 	st  %g1, [ %i2 + 0x1c ]                        
        if (rc != RTEMS_SUCCESSFUL)                                   
 200d668:	80 a2 20 00 	cmp  %o0, 0                                    
 200d66c:	12 80 00 08 	bne  200d68c <rtems_blkdev_generic_write+0x100><== NEVER TAKEN
 200d670:	b6 26 c0 14 	sub  %i3, %l4, %i3                             
            break;                                                    
                                                                      
        count -= copy;                                                
        buf += copy;                                                  
 200d674:	a4 04 80 14 	add  %l2, %l4, %l2                             
        blkofs = 0;                                                   
 200d678:	b2 10 20 00 	clr  %i1                                       
    uint32_t blkofs = (uint32_t) (args->offset % block_size);         
    dev_t dev = dd->dev;                                              
                                                                      
    args->bytes_moved = 0;                                            
                                                                      
    while (count > 0)                                                 
 200d67c:	80 a6 e0 00 	cmp  %i3, 0                                    
 200d680:	12 bf ff da 	bne  200d5e8 <rtems_blkdev_generic_write+0x5c> 
 200d684:	94 04 40 13 	add  %l1, %l3, %o2                             
 200d688:	90 10 20 00 	clr  %o0                                       
        blkofs = 0;                                                   
        block++;                                                      
    }                                                                 
                                                                      
    return rc;                                                        
}                                                                     
 200d68c:	81 c7 e0 08 	ret                                            
 200d690:	91 e8 00 08 	restore  %g0, %o0, %o0                         
                                                                      

0200d7d0 <rtems_blkdev_ioctl>: int rtems_blkdev_ioctl(rtems_disk_device *dd, uint32_t req, void *argp) {
 200d7d0:	9d e3 bf a0 	save  %sp, -96, %sp                            
    size_t            *arg_size = argp;                               
    int                rc = 0;                                        
                                                                      
    switch (req)                                                      
 200d7d4:	03 10 01 10 	sethi  %hi(0x40044000), %g1                    
 200d7d8:	84 10 62 03 	or  %g1, 0x203, %g2	! 40044203 <RAM_END+0x3dc44203>
 200d7dc:	80 a6 40 02 	cmp  %i1, %g2                                  
 200d7e0:	22 80 00 18 	be,a   200d840 <rtems_blkdev_ioctl+0x70>       <== NEVER TAKEN
 200d7e4:	c2 06 20 20 	ld  [ %i0 + 0x20 ], %g1                        <== NOT EXECUTED
 200d7e8:	38 80 00 08 	bgu,a   200d808 <rtems_blkdev_ioctl+0x38>      
 200d7ec:	82 10 62 05 	or  %g1, 0x205, %g1                            
 200d7f0:	82 10 62 02 	or  %g1, 0x202, %g1                            
 200d7f4:	80 a6 40 01 	cmp  %i1, %g1                                  
 200d7f8:	12 80 00 15 	bne  200d84c <rtems_blkdev_ioctl+0x7c>         <== ALWAYS TAKEN
 200d7fc:	01 00 00 00 	nop                                            
    {                                                                 
        case RTEMS_BLKIO_GETMEDIABLKSIZE:                             
            *arg_size = dd->media_block_size;                         
 200d800:	10 80 00 0b 	b  200d82c <rtems_blkdev_ioctl+0x5c>           <== NOT EXECUTED
 200d804:	c2 06 20 24 	ld  [ %i0 + 0x24 ], %g1                        <== NOT EXECUTED
rtems_blkdev_ioctl(rtems_disk_device *dd, uint32_t req, void *argp)   
{                                                                     
    size_t            *arg_size = argp;                               
    int                rc = 0;                                        
                                                                      
    switch (req)                                                      
 200d808:	80 a6 40 01 	cmp  %i1, %g1                                  
 200d80c:	02 80 00 0c 	be  200d83c <rtems_blkdev_ioctl+0x6c>          <== NEVER TAKEN
 200d810:	03 20 01 10 	sethi  %hi(0x80044000), %g1                    
 200d814:	82 10 62 04 	or  %g1, 0x204, %g1	! 80044204 <RAM_END+0x7dc44204>
 200d818:	80 a6 40 01 	cmp  %i1, %g1                                  
 200d81c:	12 80 00 0c 	bne  200d84c <rtems_blkdev_ioctl+0x7c>         <== NEVER TAKEN
 200d820:	01 00 00 00 	nop                                            
        case RTEMS_BLKIO_GETBLKSIZE:                                  
            *arg_size = dd->block_size;                               
            break;                                                    
                                                                      
        case RTEMS_BLKIO_SETBLKSIZE:                                  
            dd->block_size = *arg_size;                               
 200d824:	10 80 00 04 	b  200d834 <rtems_blkdev_ioctl+0x64>           
 200d828:	c2 06 80 00 	ld  [ %i2 ], %g1                               
            break;                                                    
                                                                      
        case RTEMS_BLKIO_GETSIZE:                                     
            *arg_size = dd->size;                                     
 200d82c:	10 80 00 06 	b  200d844 <rtems_blkdev_ioctl+0x74>           <== NOT EXECUTED
 200d830:	c2 26 80 00 	st  %g1, [ %i2 ]                               <== NOT EXECUTED
        case RTEMS_BLKIO_GETBLKSIZE:                                  
            *arg_size = dd->block_size;                               
            break;                                                    
                                                                      
        case RTEMS_BLKIO_SETBLKSIZE:                                  
            dd->block_size = *arg_size;                               
 200d834:	10 80 00 04 	b  200d844 <rtems_blkdev_ioctl+0x74>           
 200d838:	c2 26 20 20 	st  %g1, [ %i0 + 0x20 ]                        
            break;                                                    
                                                                      
        case RTEMS_BLKIO_GETSIZE:                                     
            *arg_size = dd->size;                                     
 200d83c:	c2 06 20 1c 	ld  [ %i0 + 0x1c ], %g1                        <== NOT EXECUTED
 200d840:	c2 26 80 00 	st  %g1, [ %i2 ]                               <== NOT EXECUTED
            break;                                                    
 200d844:	81 c7 e0 08 	ret                                            
 200d848:	91 e8 20 00 	restore  %g0, 0, %o0                           
                                                                      
        default:                                                      
            errno = EINVAL;                                           
 200d84c:	40 00 10 0d 	call  2011880 <__errno>                        
 200d850:	b0 10 3f ff 	mov  -1, %i0                                   
 200d854:	82 10 20 16 	mov  0x16, %g1                                 
 200d858:	c2 22 00 00 	st  %g1, [ %o0 ]                               
            rc = -1;                                                  
            break;                                                    
    }                                                                 
                                                                      
    return rc;                                                        
}                                                                     
 200d85c:	81 c7 e0 08 	ret                                            
 200d860:	81 e8 00 00 	restore                                        
                                                                      

02006d20 <rtems_chain_get_with_wait>: rtems_chain_control *chain, rtems_event_set events, rtems_interval timeout, rtems_chain_node **node_ptr ) {
 2006d20:	9d e3 bf 98 	save  %sp, -104, %sp                           
 2006d24:	10 80 00 09 	b  2006d48 <rtems_chain_get_with_wait+0x28>    
 2006d28:	ba 10 00 18 	mov  %i0, %i5                                  
  while (                                                             
    sc == RTEMS_SUCCESSFUL                                            
      && (node = rtems_chain_get( chain )) == NULL                    
  ) {                                                                 
    rtems_event_set out;                                              
    sc = rtems_event_receive(                                         
 2006d2c:	92 10 20 00 	clr  %o1                                       
 2006d30:	94 10 00 1a 	mov  %i2, %o2                                  
 2006d34:	7f ff fd 03 	call  2006140 <rtems_event_receive>            
 2006d38:	96 07 bf fc 	add  %fp, -4, %o3                              
)                                                                     
{                                                                     
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
  rtems_chain_node *node = NULL;                                      
                                                                      
  while (                                                             
 2006d3c:	80 a2 20 00 	cmp  %o0, 0                                    
 2006d40:	32 80 00 09 	bne,a   2006d64 <rtems_chain_get_with_wait+0x44><== ALWAYS TAKEN
 2006d44:	f8 26 c0 00 	st  %i4, [ %i3 ]                               
 */                                                                   
RTEMS_INLINE_ROUTINE rtems_chain_node *rtems_chain_get(               
  rtems_chain_control *the_chain                                      
)                                                                     
{                                                                     
  return _Chain_Get( the_chain );                                     
 2006d48:	40 00 01 62 	call  20072d0 <_Chain_Get>                     
 2006d4c:	90 10 00 1d 	mov  %i5, %o0                                  
    sc == RTEMS_SUCCESSFUL                                            
      && (node = rtems_chain_get( chain )) == NULL                    
 2006d50:	b8 92 20 00 	orcc  %o0, 0, %i4                              
 2006d54:	02 bf ff f6 	be  2006d2c <rtems_chain_get_with_wait+0xc>    
 2006d58:	90 10 00 19 	mov  %i1, %o0                                  
 2006d5c:	90 10 20 00 	clr  %o0                                       
      timeout,                                                        
      &out                                                            
    );                                                                
  }                                                                   
                                                                      
  *node_ptr = node;                                                   
 2006d60:	f8 26 c0 00 	st  %i4, [ %i3 ]                               
                                                                      
  return sc;                                                          
}                                                                     
 2006d64:	81 c7 e0 08 	ret                                            
 2006d68:	91 e8 00 08 	restore  %g0, %o0, %o0                         
                                                                      

02003130 <rtems_cpu_usage_report_with_plugin>: */ void rtems_cpu_usage_report_with_plugin( void *context, rtems_printk_plugin_t print ) {
 2003130:	9d e3 bf 58 	save  %sp, -168, %sp                           
    uint32_t seconds, nanoseconds;                                    
  #else                                                               
    uint32_t           total_units = 0;                               
  #endif                                                              
                                                                      
  if ( !print )                                                       
 2003134:	80 a6 60 00 	cmp  %i1, 0                                    
 2003138:	02 80 00 6e 	be  20032f0 <rtems_cpu_usage_report_with_plugin+0x1c0><== NEVER TAKEN
 200313c:	03 00 80 78 	sethi  %hi(0x201e000), %g1                     
   *  the number of "ticks" we gave credit for to give the user a rough
   *  guideline as to what each number means proportionally.          
   */                                                                 
  #ifndef __RTEMS_USE_TICKS_FOR_STATISTICS__                          
    _Timestamp_Set_to_zero( &total );                                 
    uptime_at_last_reset = CPU_usage_Uptime_at_last_reset;            
 2003140:	84 10 63 20 	or  %g1, 0x320, %g2	! 201e320 <CPU_usage_Uptime_at_last_reset>
 2003144:	c2 00 63 20 	ld  [ %g1 + 0x320 ], %g1                       
   *  When not using nanosecond CPU usage resolution, we have to count
   *  the number of "ticks" we gave credit for to give the user a rough
   *  guideline as to what each number means proportionally.          
   */                                                                 
  #ifndef __RTEMS_USE_TICKS_FOR_STATISTICS__                          
    _Timestamp_Set_to_zero( &total );                                 
 2003148:	c0 27 bf d0 	clr  [ %fp + -48 ]                             
    uptime_at_last_reset = CPU_usage_Uptime_at_last_reset;            
 200314c:	c2 27 bf e0 	st  %g1, [ %fp + -32 ]                         
 2003150:	c2 00 a0 04 	ld  [ %g2 + 4 ], %g1                           
   *  When not using nanosecond CPU usage resolution, we have to count
   *  the number of "ticks" we gave credit for to give the user a rough
   *  guideline as to what each number means proportionally.          
   */                                                                 
  #ifndef __RTEMS_USE_TICKS_FOR_STATISTICS__                          
    _Timestamp_Set_to_zero( &total );                                 
 2003154:	c0 27 bf d4 	clr  [ %fp + -44 ]                             
    uptime_at_last_reset = CPU_usage_Uptime_at_last_reset;            
 2003158:	c2 27 bf e4 	st  %g1, [ %fp + -28 ]                         
        }                                                             
      }                                                               
    }                                                                 
  #endif                                                              
                                                                      
  (*print)(                                                           
 200315c:	90 10 00 18 	mov  %i0, %o0                                  
 2003160:	13 00 80 6c 	sethi  %hi(0x201b000), %o1                     
        if ( !the_thread )                                            
          continue;                                                   
                                                                      
        rtems_object_get_name( the_thread->Object.id, sizeof(name), name );
                                                                      
        (*print)(                                                     
 2003164:	21 00 80 6d 	sethi  %hi(0x201b400), %l0                     
        }                                                             
      }                                                               
    }                                                                 
  #endif                                                              
                                                                      
  (*print)(                                                           
 2003168:	92 12 63 f8 	or  %o1, 0x3f8, %o1                            
 200316c:	9f c6 40 00 	call  %i1                                      
 2003170:	35 00 80 6d 	sethi  %hi(0x201b400), %i2                     
       " ID         | NAME                                   | TICKS         | PERCENT\n"
     #endif                                                           
     "------------+----------------------------------------+---------------+---------\n"
  );                                                                  
                                                                      
  for ( api_index = 1 ; api_index <= OBJECTS_APIS_LAST ; api_index++ ) {
 2003174:	ba 10 20 01 	mov  1, %i5                                    
        if ( !the_thread )                                            
          continue;                                                   
                                                                      
        rtems_object_get_name( the_thread->Object.id, sizeof(name), name );
                                                                      
        (*print)(                                                     
 2003178:	a0 14 21 70 	or  %l0, 0x170, %l0                            
           */                                                         
                                                                      
          seconds = _Timestamp_Get_seconds( &ran );                   
          nanoseconds = _Timestamp_Get_nanoseconds( &ran ) /          
            TOD_NANOSECONDS_PER_MICROSECOND;                          
          (*print)( context,                                          
 200317c:	b4 16 a1 88 	or  %i2, 0x188, %i2                            
#endif                                                                
                                                                      
/*                                                                    
 *  rtems_cpu_usage_report                                            
 */                                                                   
void rtems_cpu_usage_report_with_plugin(                              
 2003180:	83 2f 60 02 	sll  %i5, 2, %g1                               
     "------------+----------------------------------------+---------------+---------\n"
  );                                                                  
                                                                      
  for ( api_index = 1 ; api_index <= OBJECTS_APIS_LAST ; api_index++ ) {
    #if !defined(RTEMS_POSIX_API) || defined(RTEMS_DEBUG)             
      if ( !_Objects_Information_table[ api_index ] )                 
 2003184:	05 00 80 77 	sethi  %hi(0x201dc00), %g2                     
 2003188:	84 10 a3 b8 	or  %g2, 0x3b8, %g2	! 201dfb8 <_Objects_Information_table>
 200318c:	c2 00 80 01 	ld  [ %g2 + %g1 ], %g1                         
 2003190:	80 a0 60 00 	cmp  %g1, 0                                    
 2003194:	22 80 00 4a 	be,a   20032bc <rtems_cpu_usage_report_with_plugin+0x18c>
 2003198:	ba 07 60 01 	inc  %i5                                       
        continue;                                                     
    #endif                                                            
                                                                      
    information = _Objects_Information_table[ api_index ][ 1 ];       
 200319c:	f6 00 60 04 	ld  [ %g1 + 4 ], %i3                           
    if ( information ) {                                              
 20031a0:	80 a6 e0 00 	cmp  %i3, 0                                    
 20031a4:	12 80 00 41 	bne  20032a8 <rtems_cpu_usage_report_with_plugin+0x178><== ALWAYS TAKEN
 20031a8:	b8 10 20 01 	mov  1, %i4                                    
       " ID         | NAME                                   | TICKS         | PERCENT\n"
     #endif                                                           
     "------------+----------------------------------------+---------------+---------\n"
  );                                                                  
                                                                      
  for ( api_index = 1 ; api_index <= OBJECTS_APIS_LAST ; api_index++ ) {
 20031ac:	10 80 00 44 	b  20032bc <rtems_cpu_usage_report_with_plugin+0x18c><== NOT EXECUTED
 20031b0:	ba 07 60 01 	inc  %i5                                       <== NOT EXECUTED
    #endif                                                            
                                                                      
    information = _Objects_Information_table[ api_index ][ 1 ];       
    if ( information ) {                                              
      for ( i=1 ; i <= information->maximum ; i++ ) {                 
        the_thread = (Thread_Control *)information->local_table[ i ]; 
 20031b4:	83 2f 20 02 	sll  %i4, 2, %g1                               
 20031b8:	e2 00 80 01 	ld  [ %g2 + %g1 ], %l1                         
                                                                      
        if ( !the_thread )                                            
 20031bc:	80 a4 60 00 	cmp  %l1, 0                                    
 20031c0:	02 80 00 39 	be  20032a4 <rtems_cpu_usage_report_with_plugin+0x174><== NEVER TAKEN
 20031c4:	92 10 20 0d 	mov  0xd, %o1                                  
          continue;                                                   
                                                                      
        rtems_object_get_name( the_thread->Object.id, sizeof(name), name );
 20031c8:	d0 04 60 08 	ld  [ %l1 + 8 ], %o0                           
 20031cc:	40 00 11 17 	call  2007628 <rtems_object_get_name>          
 20031d0:	94 07 bf b8 	add  %fp, -72, %o2                             
                                                                      
        (*print)(                                                     
 20031d4:	d4 04 60 08 	ld  [ %l1 + 8 ], %o2                           
 20031d8:	90 10 00 18 	mov  %i0, %o0                                  
 20031dc:	92 10 00 10 	mov  %l0, %o1                                  
 20031e0:	9f c6 40 00 	call  %i1                                      
 20031e4:	96 07 bf b8 	add  %fp, -72, %o3                             
                                                                      
          /*                                                          
           * If this is the currently executing thread, account for time
           * since the last context switch.                           
           */                                                         
          ran = the_thread->cpu_time_used;                            
 20031e8:	c2 04 60 84 	ld  [ %l1 + 0x84 ], %g1                        
 20031ec:	c2 27 bf d8 	st  %g1, [ %fp + -40 ]                         
 20031f0:	c2 04 60 88 	ld  [ %l1 + 0x88 ], %g1                        
 20031f4:	c2 27 bf dc 	st  %g1, [ %fp + -36 ]                         
    Thread_Control    *the_thread,                                    
    Timestamp_Control *time_of_context_switch                         
  )                                                                   
  {                                                                   
    #ifndef RTEMS_SMP                                                 
      if ( _Thread_Executing->Object.id == the_thread->Object.id ) {  
 20031f8:	03 00 80 78 	sethi  %hi(0x201e000), %g1                     
 20031fc:	82 10 62 c0 	or  %g1, 0x2c0, %g1	! 201e2c0 <_Per_CPU_Information>
 2003200:	c4 00 60 0c 	ld  [ %g1 + 0xc ], %g2                         
 2003204:	c6 00 a0 08 	ld  [ %g2 + 8 ], %g3                           
 2003208:	c4 04 60 08 	ld  [ %l1 + 8 ], %g2                           
 200320c:	80 a0 c0 02 	cmp  %g3, %g2                                  
 2003210:	12 80 00 10 	bne  2003250 <rtems_cpu_usage_report_with_plugin+0x120>
 2003214:	90 07 bf c8 	add  %fp, -56, %o0                             
        *time_of_context_switch = _Thread_Time_of_last_context_switch;
 2003218:	c4 00 60 1c 	ld  [ %g1 + 0x1c ], %g2                        
 200321c:	c4 27 bf e8 	st  %g2, [ %fp + -24 ]                         
 2003220:	c2 00 60 20 	ld  [ %g1 + 0x20 ], %g1                        
           * since the last context switch.                           
           */                                                         
          ran = the_thread->cpu_time_used;                            
          if ( is_executing_on_a_core( the_thread, &last ) ) {        
            Timestamp_Control used;                                   
            _TOD_Get_uptime( &uptime );                               
 2003224:	40 00 15 ef 	call  20089e0 <_TOD_Get_uptime>                
 2003228:	c2 27 bf ec 	st  %g1, [ %fp + -20 ]                         
            _Timestamp_Subtract( &last, &uptime, &used );             
 200322c:	90 07 bf e8 	add  %fp, -24, %o0                             
 2003230:	92 07 bf c8 	add  %fp, -56, %o1                             
 2003234:	40 00 1f dc 	call  200b1a4 <_Timespec_Subtract>             
 2003238:	94 07 bf f0 	add  %fp, -16, %o2                             
            _Timestamp_Add_to( &ran, &used );                         
 200323c:	90 07 bf d8 	add  %fp, -40, %o0                             
 2003240:	40 00 1f 2b 	call  200aeec <_Timespec_Add_to>               
 2003244:	92 07 bf f0 	add  %fp, -16, %o1                             
          } else {                                                    
            _TOD_Get_uptime( &uptime );                               
          }                                                           
          _Timestamp_Subtract( &uptime_at_last_reset, &uptime, &total );
 2003248:	10 80 00 05 	b  200325c <rtems_cpu_usage_report_with_plugin+0x12c>
 200324c:	90 07 bf e0 	add  %fp, -32, %o0                             
            Timestamp_Control used;                                   
            _TOD_Get_uptime( &uptime );                               
            _Timestamp_Subtract( &last, &uptime, &used );             
            _Timestamp_Add_to( &ran, &used );                         
          } else {                                                    
            _TOD_Get_uptime( &uptime );                               
 2003250:	40 00 15 e4 	call  20089e0 <_TOD_Get_uptime>                
 2003254:	90 07 bf c8 	add  %fp, -56, %o0                             
          }                                                           
          _Timestamp_Subtract( &uptime_at_last_reset, &uptime, &total );
 2003258:	90 07 bf e0 	add  %fp, -32, %o0                             
 200325c:	92 07 bf c8 	add  %fp, -56, %o1                             
 2003260:	40 00 1f d1 	call  200b1a4 <_Timespec_Subtract>             
 2003264:	94 07 bf d0 	add  %fp, -48, %o2                             
          _Timestamp_Divide( &ran, &total, &ival, &fval );            
 2003268:	94 07 bf f8 	add  %fp, -8, %o2                              
 200326c:	96 07 bf fc 	add  %fp, -4, %o3                              
 2003270:	90 07 bf d8 	add  %fp, -40, %o0                             
 2003274:	40 00 1f 37 	call  200af50 <_Timespec_Divide>               
 2003278:	92 07 bf d0 	add  %fp, -48, %o1                             
          /*                                                          
           * Print the information                                    
           */                                                         
                                                                      
          seconds = _Timestamp_Get_seconds( &ran );                   
          nanoseconds = _Timestamp_Get_nanoseconds( &ran ) /          
 200327c:	d0 07 bf dc 	ld  [ %fp + -36 ], %o0                         
 2003280:	40 00 56 3e 	call  2018b78 <.udiv>                          
 2003284:	92 10 23 e8 	mov  0x3e8, %o1                                
            TOD_NANOSECONDS_PER_MICROSECOND;                          
          (*print)( context,                                          
 2003288:	e2 07 bf d8 	ld  [ %fp + -40 ], %l1                         
 200328c:	d8 1f bf f8 	ldd  [ %fp + -8 ], %o4                         
          /*                                                          
           * Print the information                                    
           */                                                         
                                                                      
          seconds = _Timestamp_Get_seconds( &ran );                   
          nanoseconds = _Timestamp_Get_nanoseconds( &ran ) /          
 2003290:	96 10 00 08 	mov  %o0, %o3                                  
            TOD_NANOSECONDS_PER_MICROSECOND;                          
          (*print)( context,                                          
 2003294:	92 10 00 1a 	mov  %i2, %o1                                  
 2003298:	90 10 00 18 	mov  %i0, %o0                                  
 200329c:	9f c6 40 00 	call  %i1                                      
 20032a0:	94 10 00 11 	mov  %l1, %o2                                  
        continue;                                                     
    #endif                                                            
                                                                      
    information = _Objects_Information_table[ api_index ][ 1 ];       
    if ( information ) {                                              
      for ( i=1 ; i <= information->maximum ; i++ ) {                 
 20032a4:	b8 07 20 01 	inc  %i4                                       
 20032a8:	c2 16 e0 10 	lduh  [ %i3 + 0x10 ], %g1                      
 20032ac:	80 a7 00 01 	cmp  %i4, %g1                                  
 20032b0:	28 bf ff c1 	bleu,a   20031b4 <rtems_cpu_usage_report_with_plugin+0x84>
 20032b4:	c4 06 e0 1c 	ld  [ %i3 + 0x1c ], %g2                        
       " ID         | NAME                                   | TICKS         | PERCENT\n"
     #endif                                                           
     "------------+----------------------------------------+---------------+---------\n"
  );                                                                  
                                                                      
  for ( api_index = 1 ; api_index <= OBJECTS_APIS_LAST ; api_index++ ) {
 20032b8:	ba 07 60 01 	inc  %i5                                       
 20032bc:	80 a7 60 04 	cmp  %i5, 4                                    
 20032c0:	12 bf ff b1 	bne  2003184 <rtems_cpu_usage_report_with_plugin+0x54>
 20032c4:	83 2f 60 02 	sll  %i5, 2, %g1                               
    }                                                                 
  }                                                                   
                                                                      
  #ifndef __RTEMS_USE_TICKS_FOR_STATISTICS__                          
    seconds = _Timestamp_Get_seconds( &total );                       
    nanoseconds = _Timestamp_Get_nanoseconds( &total ) /              
 20032c8:	d0 07 bf d4 	ld  [ %fp + -44 ], %o0                         
      TOD_NANOSECONDS_PER_MICROSECOND;                                
    (*print)(                                                         
 20032cc:	fa 07 bf d0 	ld  [ %fp + -48 ], %i5                         
    }                                                                 
  }                                                                   
                                                                      
  #ifndef __RTEMS_USE_TICKS_FOR_STATISTICS__                          
    seconds = _Timestamp_Get_seconds( &total );                       
    nanoseconds = _Timestamp_Get_nanoseconds( &total ) /              
 20032d0:	40 00 56 2a 	call  2018b78 <.udiv>                          
 20032d4:	92 10 23 e8 	mov  0x3e8, %o1                                
      TOD_NANOSECONDS_PER_MICROSECOND;                                
    (*print)(                                                         
 20032d8:	13 00 80 6d 	sethi  %hi(0x201b400), %o1                     
    }                                                                 
  }                                                                   
                                                                      
  #ifndef __RTEMS_USE_TICKS_FOR_STATISTICS__                          
    seconds = _Timestamp_Get_seconds( &total );                       
    nanoseconds = _Timestamp_Get_nanoseconds( &total ) /              
 20032dc:	96 10 00 08 	mov  %o0, %o3                                  
      TOD_NANOSECONDS_PER_MICROSECOND;                                
    (*print)(                                                         
 20032e0:	92 12 61 a0 	or  %o1, 0x1a0, %o1                            
 20032e4:	90 10 00 18 	mov  %i0, %o0                                  
 20032e8:	9f c6 40 00 	call  %i1                                      
 20032ec:	94 10 00 1d 	mov  %i5, %o2                                  
 20032f0:	81 c7 e0 08 	ret                                            
 20032f4:	81 e8 00 00 	restore                                        
                                                                      

0200dc7c <rtems_deviceio_errno>: [RTEMS_IO_ERROR] = EIO, [RTEMS_PROXY_BLOCKING] = EIO }; int rtems_deviceio_errno(rtems_status_code sc) {
 200dc7c:	9d e3 bf a0 	save  %sp, -96, %sp                            
 200dc80:	82 10 00 18 	mov  %i0, %g1                                  
  if (sc == RTEMS_SUCCESSFUL) {                                       
 200dc84:	80 a0 60 00 	cmp  %g1, 0                                    
 200dc88:	02 80 00 0c 	be  200dcb8 <rtems_deviceio_errno+0x3c>        
 200dc8c:	b0 10 20 00 	clr  %i0                                       
    return 0;                                                         
  } else {                                                            
    int eno = EINVAL;                                                 
                                                                      
    if ((unsigned) sc <= RTEMS_STATUS_CODES_LAST) {                   
 200dc90:	80 a0 60 1c 	cmp  %g1, 0x1c                                 
 200dc94:	18 80 00 06 	bgu  200dcac <rtems_deviceio_errno+0x30>       <== NEVER TAKEN
 200dc98:	ba 10 20 16 	mov  0x16, %i5                                 
      eno = status_code_to_errno [sc];                                
 200dc9c:	83 28 60 02 	sll  %g1, 2, %g1                               
 200dca0:	05 00 80 66 	sethi  %hi(0x2019800), %g2                     
 200dca4:	84 10 a2 a8 	or  %g2, 0x2a8, %g2	! 2019aa8 <status_code_to_errno>
 200dca8:	fa 00 80 01 	ld  [ %g2 + %g1 ], %i5                         
    }                                                                 
                                                                      
    errno = eno;                                                      
 200dcac:	40 00 00 12 	call  200dcf4 <__errno>                        
 200dcb0:	b0 10 3f ff 	mov  -1, %i0                                   
 200dcb4:	fa 22 00 00 	st  %i5, [ %o0 ]                               
                                                                      
    return -1;                                                        
  }                                                                   
}                                                                     
 200dcb8:	81 c7 e0 08 	ret                                            
 200dcbc:	81 e8 00 00 	restore                                        
                                                                      

02002aec <rtems_disk_create_log>: dev_t phys, rtems_blkdev_bnum begin_block, rtems_blkdev_bnum block_count, const char *name ) {
 2002aec:	9d e3 bf 98 	save  %sp, -104, %sp                           
 2002af0:	a0 10 00 18 	mov  %i0, %l0                                  
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
  rtems_disk_device *physical_disk = NULL;                            
  rtems_disk_device *dd = NULL;                                       
  rtems_blkdev_bnum end_block = begin_block + block_count;            
                                                                      
  sc = disk_lock();                                                   
 2002af4:	7f ff ff 45 	call  2002808 <disk_lock>                      
 2002af8:	c0 27 bf fc 	clr  [ %fp + -4 ]                              
  if (sc != RTEMS_SUCCESSFUL) {                                       
 2002afc:	b0 92 20 00 	orcc  %o0, 0, %i0                              
 2002b00:	12 80 00 0e 	bne  2002b38 <rtems_disk_create_log+0x4c>      <== NEVER TAKEN
 2002b04:	90 10 00 1a 	mov  %i2, %o0                                  
    return sc;                                                        
  }                                                                   
                                                                      
  physical_disk = get_disk_entry(phys, true);                         
 2002b08:	92 10 00 1b 	mov  %i3, %o1                                  
 2002b0c:	7f ff ff 07 	call  2002728 <get_disk_entry>                 
 2002b10:	94 10 20 01 	mov  1, %o2                                    
  if (physical_disk == NULL || !is_physical_disk(physical_disk)) {    
 2002b14:	80 a2 20 00 	cmp  %o0, 0                                    
 2002b18:	02 80 00 06 	be  2002b30 <rtems_disk_create_log+0x44>       
 2002b1c:	01 00 00 00 	nop                                            
}                                                                     
                                                                      
static bool                                                           
is_physical_disk(const rtems_disk_device *dd)                         
{                                                                     
  return dd->phys_dev == dd;                                          
 2002b20:	f4 02 20 08 	ld  [ %o0 + 8 ], %i2                           
  if (sc != RTEMS_SUCCESSFUL) {                                       
    return sc;                                                        
  }                                                                   
                                                                      
  physical_disk = get_disk_entry(phys, true);                         
  if (physical_disk == NULL || !is_physical_disk(physical_disk)) {    
 2002b24:	80 a6 80 08 	cmp  %i2, %o0                                  
 2002b28:	02 80 00 06 	be  2002b40 <rtems_disk_create_log+0x54>       
 2002b2c:	84 07 40 1c 	add  %i5, %i4, %g2                             
    disk_unlock();                                                    
 2002b30:	7f ff ff 45 	call  2002844 <disk_unlock>                    
 2002b34:	b0 10 20 04 	mov  4, %i0                                    
                                                                      
    return RTEMS_INVALID_ID;                                          
 2002b38:	81 c7 e0 08 	ret                                            
 2002b3c:	81 e8 00 00 	restore                                        
  }                                                                   
                                                                      
  if (                                                                
 2002b40:	80 a7 00 02 	cmp  %i4, %g2                                  
 2002b44:	1a 80 00 07 	bcc  2002b60 <rtems_disk_create_log+0x74>      
 2002b48:	c2 06 a0 1c 	ld  [ %i2 + 0x1c ], %g1                        
 2002b4c:	80 a7 00 01 	cmp  %i4, %g1                                  
 2002b50:	1a 80 00 04 	bcc  2002b60 <rtems_disk_create_log+0x74>      <== NEVER TAKEN
 2002b54:	80 a0 80 01 	cmp  %g2, %g1                                  
    begin_block >= physical_disk->size                                
      || end_block <= begin_block                                     
      || end_block > physical_disk->size                              
 2002b58:	08 80 00 06 	bleu  2002b70 <rtems_disk_create_log+0x84>     
 2002b5c:	d4 07 a0 5c 	ld  [ %fp + 0x5c ], %o2                        
  ) {                                                                 
    disk_unlock();                                                    
 2002b60:	7f ff ff 39 	call  2002844 <disk_unlock>                    
 2002b64:	b0 10 20 0a 	mov  0xa, %i0                                  
                                                                      
    return RTEMS_INVALID_NUMBER;                                      
 2002b68:	81 c7 e0 08 	ret                                            
 2002b6c:	81 e8 00 00 	restore                                        
  }                                                                   
                                                                      
  sc = create_disk(dev, name, &dd);                                   
 2002b70:	90 10 00 10 	mov  %l0, %o0                                  
 2002b74:	92 10 00 19 	mov  %i1, %o1                                  
 2002b78:	7f ff ff 40 	call  2002878 <create_disk>                    
 2002b7c:	96 07 bf fc 	add  %fp, -4, %o3                              
  if (sc != RTEMS_SUCCESSFUL) {                                       
 2002b80:	b0 92 20 00 	orcc  %o0, 0, %i0                              
 2002b84:	02 80 00 06 	be  2002b9c <rtems_disk_create_log+0xb0>       
 2002b88:	c2 07 bf fc 	ld  [ %fp + -4 ], %g1                          
    disk_unlock();                                                    
 2002b8c:	7f ff ff 2e 	call  2002844 <disk_unlock>                    
 2002b90:	01 00 00 00 	nop                                            
                                                                      
    return sc;                                                        
 2002b94:	81 c7 e0 08 	ret                                            
 2002b98:	81 e8 00 00 	restore                                        
  }                                                                   
                                                                      
  dd->phys_dev = physical_disk;                                       
  dd->start = begin_block;                                            
  dd->size = block_count;                                             
 2002b9c:	f8 38 60 18 	std  %i4, [ %g1 + 0x18 ]                       
  dd->block_size = dd->media_block_size = physical_disk->block_size;  
 2002ba0:	c4 06 a0 20 	ld  [ %i2 + 0x20 ], %g2                        
    disk_unlock();                                                    
                                                                      
    return sc;                                                        
  }                                                                   
                                                                      
  dd->phys_dev = physical_disk;                                       
 2002ba4:	f4 20 60 08 	st  %i2, [ %g1 + 8 ]                           
  dd->start = begin_block;                                            
  dd->size = block_count;                                             
  dd->block_size = dd->media_block_size = physical_disk->block_size;  
 2002ba8:	c4 20 60 24 	st  %g2, [ %g1 + 0x24 ]                        
 2002bac:	c4 20 60 20 	st  %g2, [ %g1 + 0x20 ]                        
  dd->ioctl = physical_disk->ioctl;                                   
 2002bb0:	c4 06 a0 28 	ld  [ %i2 + 0x28 ], %g2                        
 2002bb4:	c4 20 60 28 	st  %g2, [ %g1 + 0x28 ]                        
  dd->driver_data = physical_disk->driver_data;                       
 2002bb8:	c4 06 a0 2c 	ld  [ %i2 + 0x2c ], %g2                        
 2002bbc:	c4 20 60 2c 	st  %g2, [ %g1 + 0x2c ]                        
                                                                      
  ++physical_disk->uses;                                              
 2002bc0:	c2 06 a0 14 	ld  [ %i2 + 0x14 ], %g1                        
 2002bc4:	82 00 60 01 	inc  %g1                                       
                                                                      
  disk_unlock();                                                      
 2002bc8:	7f ff ff 1f 	call  2002844 <disk_unlock>                    
 2002bcc:	c2 26 a0 14 	st  %g1, [ %i2 + 0x14 ]                        
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
 2002bd0:	81 c7 e0 08 	ret                                            
 2002bd4:	81 e8 00 00 	restore                                        
                                                                      

02002a40 <rtems_disk_create_phys>: rtems_blkdev_bnum block_count, rtems_block_device_ioctl handler, void *driver_data, const char *name ) {
 2002a40:	9d e3 bf 98 	save  %sp, -104, %sp                           
  rtems_disk_device *dd = NULL;                                       
 2002a44:	c0 27 bf fc 	clr  [ %fp + -4 ]                              
  rtems_blkdev_bnum block_count,                                      
  rtems_block_device_ioctl handler,                                   
  void *driver_data,                                                  
  const char *name                                                    
)                                                                     
{                                                                     
 2002a48:	a0 10 00 18 	mov  %i0, %l0                                  
  rtems_disk_device *dd = NULL;                                       
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
                                                                      
  if (handler == NULL) {                                              
 2002a4c:	80 a7 20 00 	cmp  %i4, 0                                    
 2002a50:	02 80 00 13 	be  2002a9c <rtems_disk_create_phys+0x5c>      
 2002a54:	b0 10 20 09 	mov  9, %i0                                    
    return RTEMS_INVALID_ADDRESS;                                     
  }                                                                   
                                                                      
  if (block_size == 0) {                                              
 2002a58:	80 a6 a0 00 	cmp  %i2, 0                                    
 2002a5c:	02 80 00 10 	be  2002a9c <rtems_disk_create_phys+0x5c>      
 2002a60:	b0 10 20 0a 	mov  0xa, %i0                                  
    return RTEMS_INVALID_NUMBER;                                      
  }                                                                   
                                                                      
  sc = disk_lock();                                                   
 2002a64:	7f ff ff 69 	call  2002808 <disk_lock>                      
 2002a68:	01 00 00 00 	nop                                            
  if (sc != RTEMS_SUCCESSFUL) {                                       
 2002a6c:	b0 92 20 00 	orcc  %o0, 0, %i0                              
 2002a70:	12 80 00 0b 	bne  2002a9c <rtems_disk_create_phys+0x5c>     <== NEVER TAKEN
 2002a74:	d4 07 a0 5c 	ld  [ %fp + 0x5c ], %o2                        
    return sc;                                                        
  }                                                                   
                                                                      
  sc = create_disk(dev, name, &dd);                                   
 2002a78:	90 10 00 10 	mov  %l0, %o0                                  
 2002a7c:	92 10 00 19 	mov  %i1, %o1                                  
 2002a80:	7f ff ff 7e 	call  2002878 <create_disk>                    
 2002a84:	96 07 bf fc 	add  %fp, -4, %o3                              
  if (sc != RTEMS_SUCCESSFUL) {                                       
 2002a88:	b0 92 20 00 	orcc  %o0, 0, %i0                              
 2002a8c:	02 80 00 06 	be  2002aa4 <rtems_disk_create_phys+0x64>      
 2002a90:	d0 07 bf fc 	ld  [ %fp + -4 ], %o0                          
    disk_unlock();                                                    
 2002a94:	7f ff ff 6c 	call  2002844 <disk_unlock>                    
 2002a98:	01 00 00 00 	nop                                            
                                                                      
    return sc;                                                        
 2002a9c:	81 c7 e0 08 	ret                                            
 2002aa0:	81 e8 00 00 	restore                                        
  dd->size = block_count;                                             
  dd->block_size = dd->media_block_size = block_size;                 
  dd->ioctl = handler;                                                
  dd->driver_data = driver_data;                                      
                                                                      
  if ((*handler)(dd, RTEMS_BLKIO_CAPABILITIES, &dd->capabilities) < 0) {
 2002aa4:	13 08 00 10 	sethi  %hi(0x20004000), %o1                    
    disk_unlock();                                                    
                                                                      
    return sc;                                                        
  }                                                                   
                                                                      
  dd->phys_dev = dd;                                                  
 2002aa8:	d0 22 20 08 	st  %o0, [ %o0 + 8 ]                           
  dd->start = 0;                                                      
 2002aac:	c0 22 20 18 	clr  [ %o0 + 0x18 ]                            
  dd->size = block_count;                                             
 2002ab0:	f6 22 20 1c 	st  %i3, [ %o0 + 0x1c ]                        
  dd->block_size = dd->media_block_size = block_size;                 
 2002ab4:	f4 22 20 24 	st  %i2, [ %o0 + 0x24 ]                        
 2002ab8:	f4 22 20 20 	st  %i2, [ %o0 + 0x20 ]                        
  dd->ioctl = handler;                                                
  dd->driver_data = driver_data;                                      
 2002abc:	f8 3a 20 28 	std  %i4, [ %o0 + 0x28 ]                       
                                                                      
  if ((*handler)(dd, RTEMS_BLKIO_CAPABILITIES, &dd->capabilities) < 0) {
 2002ac0:	92 12 62 08 	or  %o1, 0x208, %o1                            
 2002ac4:	9f c7 00 00 	call  %i4                                      
 2002ac8:	94 02 20 0c 	add  %o0, 0xc, %o2                             
 2002acc:	80 a2 20 00 	cmp  %o0, 0                                    
 2002ad0:	16 80 00 03 	bge  2002adc <rtems_disk_create_phys+0x9c>     <== NEVER TAKEN
 2002ad4:	c2 07 bf fc 	ld  [ %fp + -4 ], %g1                          
    dd->capabilities = 0;                                             
 2002ad8:	c0 20 60 0c 	clr  [ %g1 + 0xc ]                             
  }                                                                   
                                                                      
  disk_unlock();                                                      
 2002adc:	7f ff ff 5a 	call  2002844 <disk_unlock>                    
 2002ae0:	01 00 00 00 	nop                                            
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
 2002ae4:	81 c7 e0 08 	ret                                            
 2002ae8:	81 e8 00 00 	restore                                        
                                                                      

02002bd8 <rtems_disk_delete>: } } rtems_status_code rtems_disk_delete(dev_t dev) {
 2002bd8:	9d e3 bf a0 	save  %sp, -96, %sp                            
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
  rtems_disk_device *dd = NULL;                                       
                                                                      
  sc = disk_lock();                                                   
 2002bdc:	7f ff ff 0b 	call  2002808 <disk_lock>                      
 2002be0:	b8 10 00 18 	mov  %i0, %i4                                  
  if (sc != RTEMS_SUCCESSFUL) {                                       
 2002be4:	b0 92 20 00 	orcc  %o0, 0, %i0                              
 2002be8:	12 80 00 0a 	bne  2002c10 <rtems_disk_delete+0x38>          <== NEVER TAKEN
 2002bec:	90 10 00 1c 	mov  %i4, %o0                                  
    return sc;                                                        
  }                                                                   
                                                                      
  dd = get_disk_entry(dev, true);                                     
 2002bf0:	92 10 00 19 	mov  %i1, %o1                                  
 2002bf4:	7f ff fe cd 	call  2002728 <get_disk_entry>                 
 2002bf8:	94 10 20 01 	mov  1, %o2                                    
  if (dd == NULL) {                                                   
 2002bfc:	82 92 20 00 	orcc  %o0, 0, %g1                              
 2002c00:	32 80 00 06 	bne,a   2002c18 <rtems_disk_delete+0x40>       <== ALWAYS TAKEN
 2002c04:	f6 00 60 08 	ld  [ %g1 + 8 ], %i3                           
    disk_unlock();                                                    
 2002c08:	7f ff ff 0f 	call  2002844 <disk_unlock>                    <== NOT EXECUTED
 2002c0c:	b0 10 20 04 	mov  4, %i0                                    <== NOT EXECUTED
                                                                      
    return RTEMS_INVALID_ID;                                          
 2002c10:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2002c14:	81 e8 00 00 	restore                                        <== NOT EXECUTED
  }                                                                   
                                                                      
  dd->deleted = true;                                                 
 2002c18:	84 10 20 01 	mov  1, %g2                                    
 2002c1c:	c4 28 60 30 	stb  %g2, [ %g1 + 0x30 ]                       
{                                                                     
  rtems_disk_device *const physical_disk = disk_to_remove->phys_dev;  
  rtems_device_major_number major = 0;                                
  rtems_device_minor_number minor = 0;                                
                                                                      
  if (physical_disk->deleted) {                                       
 2002c20:	c4 0e e0 30 	ldub  [ %i3 + 0x30 ], %g2                      
 2002c24:	80 a0 a0 00 	cmp  %g2, 0                                    
 2002c28:	22 80 00 3d 	be,a   2002d1c <rtems_disk_delete+0x144>       
 2002c2c:	c4 00 60 14 	ld  [ %g1 + 0x14 ], %g2                        
    dev_t dev = physical_disk->dev;                                   
 2002c30:	f8 1e c0 00 	ldd  [ %i3 ], %i4                              
    unsigned deleted_count = 0;                                       
 2002c34:	a0 10 20 00 	clr  %l0                                       
                                                                      
    for (major = 0; major < disktab_size; ++major) {                  
 2002c38:	b4 10 20 00 	clr  %i2                                       
 2002c3c:	29 00 80 61 	sethi  %hi(0x2018400), %l4                     
      rtems_disk_device_table *dtab = disktab + major;                
 2002c40:	27 00 80 61 	sethi  %hi(0x2018400), %l3                     
          if (dd->uses == 0) {                                        
            ++deleted_count;                                          
            dtab->minor [minor] = NULL;                               
            free_disk_device(dd);                                     
          } else {                                                    
            dd->deleted = true;                                       
 2002c44:	10 80 00 23 	b  2002cd0 <rtems_disk_delete+0xf8>            
 2002c48:	a4 10 20 01 	mov  1, %l2                                    
  if (physical_disk->deleted) {                                       
    dev_t dev = physical_disk->dev;                                   
    unsigned deleted_count = 0;                                       
                                                                      
    for (major = 0; major < disktab_size; ++major) {                  
      rtems_disk_device_table *dtab = disktab + major;                
 2002c4c:	83 2e a0 03 	sll  %i2, 3, %g1                               
                                                                      
      for (minor = 0; minor < dtab->size; ++minor) {                  
 2002c50:	b2 10 20 00 	clr  %i1                                       
  if (physical_disk->deleted) {                                       
    dev_t dev = physical_disk->dev;                                   
    unsigned deleted_count = 0;                                       
                                                                      
    for (major = 0; major < disktab_size; ++major) {                  
      rtems_disk_device_table *dtab = disktab + major;                
 2002c54:	10 80 00 1a 	b  2002cbc <rtems_disk_delete+0xe4>            
 2002c58:	a2 04 40 01 	add  %l1, %g1, %l1                             
                                                                      
      for (minor = 0; minor < dtab->size; ++minor) {                  
        rtems_disk_device *dd = dtab->minor [minor];                  
 2002c5c:	83 2e 60 02 	sll  %i1, 2, %g1                               
 2002c60:	d0 01 00 01 	ld  [ %g4 + %g1 ], %o0                         
                                                                      
        if (dd != NULL && dd->phys_dev->dev == dev && dd != physical_disk) {
 2002c64:	80 a2 20 00 	cmp  %o0, 0                                    
 2002c68:	02 80 00 14 	be  2002cb8 <rtems_disk_delete+0xe0>           
 2002c6c:	80 a2 00 1b 	cmp  %o0, %i3                                  
 2002c70:	22 80 00 13 	be,a   2002cbc <rtems_disk_delete+0xe4>        
 2002c74:	b2 06 60 01 	inc  %i1                                       
 2002c78:	c4 02 20 08 	ld  [ %o0 + 8 ], %g2                           
 2002c7c:	c4 18 80 00 	ldd  [ %g2 ], %g2                              
 2002c80:	84 1f 00 02 	xor  %i4, %g2, %g2                             
 2002c84:	86 1f 40 03 	xor  %i5, %g3, %g3                             
 2002c88:	80 90 80 03 	orcc  %g2, %g3, %g0                            
 2002c8c:	32 80 00 0c 	bne,a   2002cbc <rtems_disk_delete+0xe4>       <== NEVER TAKEN
 2002c90:	b2 06 60 01 	inc  %i1                                       <== NOT EXECUTED
          if (dd->uses == 0) {                                        
 2002c94:	c4 02 20 14 	ld  [ %o0 + 0x14 ], %g2                        
 2002c98:	80 a0 a0 00 	cmp  %g2, 0                                    
 2002c9c:	32 80 00 07 	bne,a   2002cb8 <rtems_disk_delete+0xe0>       
 2002ca0:	e4 2a 20 30 	stb  %l2, [ %o0 + 0x30 ]                       
            ++deleted_count;                                          
 2002ca4:	a0 04 20 01 	inc  %l0                                       
            dtab->minor [minor] = NULL;                               
            free_disk_device(dd);                                     
 2002ca8:	7f ff fe c3 	call  20027b4 <free_disk_device>               
 2002cac:	c0 21 00 01 	clr  [ %g4 + %g1 ]                             
    unsigned deleted_count = 0;                                       
                                                                      
    for (major = 0; major < disktab_size; ++major) {                  
      rtems_disk_device_table *dtab = disktab + major;                
                                                                      
      for (minor = 0; minor < dtab->size; ++minor) {                  
 2002cb0:	10 80 00 03 	b  2002cbc <rtems_disk_delete+0xe4>            
 2002cb4:	b2 06 60 01 	inc  %i1                                       
 2002cb8:	b2 06 60 01 	inc  %i1                                       
 2002cbc:	c2 04 60 04 	ld  [ %l1 + 4 ], %g1                           
 2002cc0:	80 a6 40 01 	cmp  %i1, %g1                                  
 2002cc4:	2a bf ff e6 	bcs,a   2002c5c <rtems_disk_delete+0x84>       
 2002cc8:	c8 04 40 00 	ld  [ %l1 ], %g4                               
                                                                      
  if (physical_disk->deleted) {                                       
    dev_t dev = physical_disk->dev;                                   
    unsigned deleted_count = 0;                                       
                                                                      
    for (major = 0; major < disktab_size; ++major) {                  
 2002ccc:	b4 06 a0 01 	inc  %i2                                       
 2002cd0:	c2 05 22 b4 	ld  [ %l4 + 0x2b4 ], %g1                       
 2002cd4:	80 a6 80 01 	cmp  %i2, %g1                                  
 2002cd8:	2a bf ff dd 	bcs,a   2002c4c <rtems_disk_delete+0x74>       
 2002cdc:	e2 04 e2 b8 	ld  [ %l3 + 0x2b8 ], %l1                       
          }                                                           
        }                                                             
      }                                                               
    }                                                                 
                                                                      
    physical_disk->uses -= deleted_count;                             
 2002ce0:	c2 06 e0 14 	ld  [ %i3 + 0x14 ], %g1                        
 2002ce4:	a0 20 40 10 	sub  %g1, %l0, %l0                             
    if (physical_disk->uses == 0) {                                   
 2002ce8:	80 a4 20 00 	cmp  %l0, 0                                    
 2002cec:	12 80 00 1b 	bne  2002d58 <rtems_disk_delete+0x180>         
 2002cf0:	e0 26 e0 14 	st  %l0, [ %i3 + 0x14 ]                        
      rtems_filesystem_split_dev_t(physical_disk->dev, major, minor); 
 2002cf4:	c4 06 c0 00 	ld  [ %i3 ], %g2                               
      disktab [major].minor [minor] = NULL;                           
 2002cf8:	07 00 80 61 	sethi  %hi(0x2018400), %g3                     
 2002cfc:	c6 00 e2 b8 	ld  [ %g3 + 0x2b8 ], %g3	! 20186b8 <disktab>   
      }                                                               
    }                                                                 
                                                                      
    physical_disk->uses -= deleted_count;                             
    if (physical_disk->uses == 0) {                                   
      rtems_filesystem_split_dev_t(physical_disk->dev, major, minor); 
 2002d00:	c2 06 e0 04 	ld  [ %i3 + 4 ], %g1                           
      disktab [major].minor [minor] = NULL;                           
 2002d04:	85 28 a0 03 	sll  %g2, 3, %g2                               
 2002d08:	c4 00 c0 02 	ld  [ %g3 + %g2 ], %g2                         
 2002d0c:	83 28 60 02 	sll  %g1, 2, %g1                               
      free_disk_device(physical_disk);                                
 2002d10:	90 10 00 1b 	mov  %i3, %o0                                  
    }                                                                 
                                                                      
    physical_disk->uses -= deleted_count;                             
    if (physical_disk->uses == 0) {                                   
      rtems_filesystem_split_dev_t(physical_disk->dev, major, minor); 
      disktab [major].minor [minor] = NULL;                           
 2002d14:	10 80 00 0f 	b  2002d50 <rtems_disk_delete+0x178>           
 2002d18:	c0 20 80 01 	clr  [ %g2 + %g1 ]                             
      free_disk_device(physical_disk);                                
    }                                                                 
  } else {                                                            
    if (disk_to_remove->uses == 0) {                                  
 2002d1c:	80 a0 a0 00 	cmp  %g2, 0                                    
 2002d20:	12 80 00 0e 	bne  2002d58 <rtems_disk_delete+0x180>         <== NEVER TAKEN
 2002d24:	07 00 80 61 	sethi  %hi(0x2018400), %g3                     
      --physical_disk->uses;                                          
 2002d28:	c4 06 e0 14 	ld  [ %i3 + 0x14 ], %g2                        
 2002d2c:	84 00 bf ff 	add  %g2, -1, %g2                              
      rtems_filesystem_split_dev_t(disk_to_remove->dev, major, minor);
      disktab [major].minor [minor] = NULL;                           
 2002d30:	c6 00 e2 b8 	ld  [ %g3 + 0x2b8 ], %g3                       
      disktab [major].minor [minor] = NULL;                           
      free_disk_device(physical_disk);                                
    }                                                                 
  } else {                                                            
    if (disk_to_remove->uses == 0) {                                  
      --physical_disk->uses;                                          
 2002d34:	c4 26 e0 14 	st  %g2, [ %i3 + 0x14 ]                        
      rtems_filesystem_split_dev_t(disk_to_remove->dev, major, minor);
 2002d38:	c4 00 40 00 	ld  [ %g1 ], %g2                               
 2002d3c:	c2 00 60 04 	ld  [ %g1 + 4 ], %g1                           
      disktab [major].minor [minor] = NULL;                           
 2002d40:	85 28 a0 03 	sll  %g2, 3, %g2                               
 2002d44:	c4 00 c0 02 	ld  [ %g3 + %g2 ], %g2                         
 2002d48:	83 28 60 02 	sll  %g1, 2, %g1                               
 2002d4c:	c0 20 80 01 	clr  [ %g2 + %g1 ]                             
      free_disk_device(disk_to_remove);                               
 2002d50:	7f ff fe 99 	call  20027b4 <free_disk_device>               
 2002d54:	01 00 00 00 	nop                                            
  }                                                                   
                                                                      
  dd->deleted = true;                                                 
  rtems_disk_cleanup(dd);                                             
                                                                      
  disk_unlock();                                                      
 2002d58:	7f ff fe bb 	call  2002844 <disk_unlock>                    
 2002d5c:	01 00 00 00 	nop                                            
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
 2002d60:	81 c7 e0 08 	ret                                            
 2002d64:	81 e8 00 00 	restore                                        
                                                                      

02002f30 <rtems_disk_io_initialize>: rtems_status_code rtems_disk_io_initialize(void) {
 2002f30:	9d e3 bf a0 	save  %sp, -96, %sp                            
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
  rtems_device_major_number size = DISKTAB_INITIAL_SIZE;              
                                                                      
  if (disktab_size > 0) {                                             
 2002f34:	39 00 80 61 	sethi  %hi(0x2018400), %i4                     
 2002f38:	c2 07 22 b4 	ld  [ %i4 + 0x2b4 ], %g1	! 20186b4 <disktab_size>
 2002f3c:	80 a0 60 00 	cmp  %g1, 0                                    
 2002f40:	12 80 00 19 	bne  2002fa4 <rtems_disk_io_initialize+0x74>   <== NEVER TAKEN
 2002f44:	b0 10 20 00 	clr  %i0                                       
    return RTEMS_SUCCESSFUL;                                          
  }                                                                   
                                                                      
  disktab = calloc(size, sizeof(rtems_disk_device_table));            
 2002f48:	90 10 20 08 	mov  8, %o0                                    
 2002f4c:	92 10 20 08 	mov  8, %o1                                    
 2002f50:	40 00 02 15 	call  20037a4 <calloc>                         
 2002f54:	3b 00 80 61 	sethi  %hi(0x2018400), %i5                     
 2002f58:	d0 27 62 b8 	st  %o0, [ %i5 + 0x2b8 ]	! 20186b8 <disktab>   
  if (disktab == NULL) {                                              
 2002f5c:	80 a2 20 00 	cmp  %o0, 0                                    
 2002f60:	02 80 00 11 	be  2002fa4 <rtems_disk_io_initialize+0x74>    <== NEVER TAKEN
 2002f64:	b0 10 20 1a 	mov  0x1a, %i0                                 
    return RTEMS_NO_MEMORY;                                           
  }                                                                   
                                                                      
  diskdevs_protected = false;                                         
 2002f68:	03 00 80 61 	sethi  %hi(0x2018400), %g1                     
  sc = rtems_semaphore_create(                                        
 2002f6c:	11 11 11 11 	sethi  %hi(0x44444400), %o0                    
  disktab = calloc(size, sizeof(rtems_disk_device_table));            
  if (disktab == NULL) {                                              
    return RTEMS_NO_MEMORY;                                           
  }                                                                   
                                                                      
  diskdevs_protected = false;                                         
 2002f70:	c0 28 62 ac 	clrb  [ %g1 + 0x2ac ]                          
  sc = rtems_semaphore_create(                                        
 2002f74:	90 12 21 56 	or  %o0, 0x156, %o0                            
 2002f78:	92 10 20 01 	mov  1, %o1                                    
 2002f7c:	94 10 20 10 	mov  0x10, %o2                                 
 2002f80:	96 10 20 00 	clr  %o3                                       
 2002f84:	37 00 80 61 	sethi  %hi(0x2018400), %i3                     
 2002f88:	40 00 0f ed 	call  2006f3c <rtems_semaphore_create>         
 2002f8c:	98 16 e2 b0 	or  %i3, 0x2b0, %o4	! 20186b0 <diskdevs_mutex> 
    RTEMS_FIFO | RTEMS_BINARY_SEMAPHORE | RTEMS_NO_INHERIT_PRIORITY   
      | RTEMS_NO_PRIORITY_CEILING | RTEMS_LOCAL,                      
    0,                                                                
    &diskdevs_mutex                                                   
  );                                                                  
  if (sc != RTEMS_SUCCESSFUL) {                                       
 2002f90:	80 a2 20 00 	cmp  %o0, 0                                    
 2002f94:	02 80 00 06 	be  2002fac <rtems_disk_io_initialize+0x7c>    <== ALWAYS TAKEN
 2002f98:	01 00 00 00 	nop                                            
    free(disktab);                                                    
 2002f9c:	40 00 02 6c 	call  200394c <free>                           <== NOT EXECUTED
 2002fa0:	d0 07 62 b8 	ld  [ %i5 + 0x2b8 ], %o0                       <== NOT EXECUTED
                                                                      
    return RTEMS_NO_MEMORY;                                           
 2002fa4:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2002fa8:	81 e8 00 00 	restore                                        <== NOT EXECUTED
  }                                                                   
                                                                      
  sc = rtems_bdbuf_init();                                            
 2002fac:	40 00 26 77 	call  200c988 <rtems_bdbuf_init>               
 2002fb0:	01 00 00 00 	nop                                            
  if (sc != RTEMS_SUCCESSFUL) {                                       
 2002fb4:	80 a2 20 00 	cmp  %o0, 0                                    
 2002fb8:	02 80 00 09 	be  2002fdc <rtems_disk_io_initialize+0xac>    <== ALWAYS TAKEN
 2002fbc:	82 10 20 08 	mov  8, %g1                                    
    rtems_semaphore_delete(diskdevs_mutex);                           
 2002fc0:	d0 06 e2 b0 	ld  [ %i3 + 0x2b0 ], %o0                       <== NOT EXECUTED
 2002fc4:	40 00 10 49 	call  20070e8 <rtems_semaphore_delete>         <== NOT EXECUTED
 2002fc8:	b0 10 20 0d 	mov  0xd, %i0                                  <== NOT EXECUTED
    free(disktab);                                                    
 2002fcc:	40 00 02 60 	call  200394c <free>                           <== NOT EXECUTED
 2002fd0:	d0 07 62 b8 	ld  [ %i5 + 0x2b8 ], %o0                       <== NOT EXECUTED
                                                                      
    return RTEMS_UNSATISFIED;                                         
 2002fd4:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2002fd8:	81 e8 00 00 	restore                                        <== NOT EXECUTED
  }                                                                   
                                                                      
  disktab_size = size;                                                
                                                                      
  return RTEMS_SUCCESSFUL;                                            
 2002fdc:	b0 10 20 00 	clr  %i0                                       
    free(disktab);                                                    
                                                                      
    return RTEMS_UNSATISFIED;                                         
  }                                                                   
                                                                      
  disktab_size = size;                                                
 2002fe0:	c2 27 22 b4 	st  %g1, [ %i4 + 0x2b4 ]                       
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
 2002fe4:	81 c7 e0 08 	ret                                            
 2002fe8:	81 e8 00 00 	restore                                        
                                                                      

02002e2c <rtems_disk_next>: rtems_disk_device * rtems_disk_next(dev_t dev) {
 2002e2c:	9d e3 bf a0 	save  %sp, -96, %sp                            
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
  rtems_disk_device_table *dtab = NULL;                               
  rtems_device_major_number major = 0;                                
  rtems_device_minor_number minor = 0;                                
                                                                      
  if (dev != (dev_t) -1) {                                            
 2002e30:	80 a6 3f ff 	cmp  %i0, -1                                   
 2002e34:	12 80 00 05 	bne  2002e48 <rtems_disk_next+0x1c>            
 2002e38:	b8 06 60 01 	add  %i1, 1, %i4                               
 2002e3c:	80 a6 7f ff 	cmp  %i1, -1                                   
 2002e40:	22 80 00 0c 	be,a   2002e70 <rtems_disk_next+0x44>          <== ALWAYS TAKEN
 2002e44:	b8 10 20 00 	clr  %i4                                       
    rtems_filesystem_split_dev_t(dev, major, minor);                  
                                                                      
    /* If minor wraps around */                                       
    if ((minor + 1) < minor) {                                        
 2002e48:	80 a7 00 19 	cmp  %i4, %i1                                  
 2002e4c:	1a 80 00 0a 	bcc  2002e74 <rtems_disk_next+0x48>            <== ALWAYS TAKEN
 2002e50:	ba 10 00 18 	mov  %i0, %i5                                  
      /* If major wraps around */                                     
      if ((major + 1) < major) {                                      
 2002e54:	ba 06 20 01 	add  %i0, 1, %i5                               <== NOT EXECUTED
        return NULL;                                                  
 2002e58:	b6 10 20 00 	clr  %i3                                       <== NOT EXECUTED
    rtems_filesystem_split_dev_t(dev, major, minor);                  
                                                                      
    /* If minor wraps around */                                       
    if ((minor + 1) < minor) {                                        
      /* If major wraps around */                                     
      if ((major + 1) < major) {                                      
 2002e5c:	80 a7 40 18 	cmp  %i5, %i0                                  <== NOT EXECUTED
 2002e60:	1a 80 00 05 	bcc  2002e74 <rtems_disk_next+0x48>            <== NOT EXECUTED
 2002e64:	b8 10 20 00 	clr  %i4                                       <== NOT EXECUTED
      disk_unlock();                                                  
                                                                      
      return dtab->minor [minor];                                     
    }                                                                 
  }                                                                   
}                                                                     
 2002e68:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2002e6c:	91 e8 00 1b 	restore  %g0, %i3, %o0                         <== NOT EXECUTED
rtems_disk_device *                                                   
rtems_disk_next(dev_t dev)                                            
{                                                                     
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
  rtems_disk_device_table *dtab = NULL;                               
  rtems_device_major_number major = 0;                                
 2002e70:	ba 10 20 00 	clr  %i5                                       
    } else {                                                          
      ++minor;                                                        
    }                                                                 
  }                                                                   
                                                                      
  sc = disk_lock();                                                   
 2002e74:	7f ff fe 65 	call  2002808 <disk_lock>                      
 2002e78:	b6 10 20 00 	clr  %i3                                       
  if (sc != RTEMS_SUCCESSFUL) {                                       
 2002e7c:	80 a2 20 00 	cmp  %o0, 0                                    
 2002e80:	12 80 00 29 	bne  2002f24 <rtems_disk_next+0xf8>            <== NEVER TAKEN
 2002e84:	03 00 80 61 	sethi  %hi(0x2018400), %g1                     
    return NULL;                                                      
  }                                                                   
                                                                      
  if (major >= disktab_size) {                                        
 2002e88:	c6 00 62 b4 	ld  [ %g1 + 0x2b4 ], %g3	! 20186b4 <disktab_size>
 2002e8c:	80 a7 40 03 	cmp  %i5, %g3                                  
 2002e90:	0a 80 00 05 	bcs  2002ea4 <rtems_disk_next+0x78>            <== ALWAYS TAKEN
 2002e94:	03 00 80 61 	sethi  %hi(0x2018400), %g1                     
    disk_unlock();                                                    
 2002e98:	7f ff fe 6b 	call  2002844 <disk_unlock>                    <== NOT EXECUTED
 2002e9c:	b0 10 00 1b 	mov  %i3, %i0                                  <== NOT EXECUTED
                                                                      
    return NULL;                                                      
 2002ea0:	30 80 00 22 	b,a   2002f28 <rtems_disk_next+0xfc>           <== NOT EXECUTED
  }                                                                   
                                                                      
  dtab = disktab + major;                                             
 2002ea4:	c4 00 62 b8 	ld  [ %g1 + 0x2b8 ], %g2                       
 2002ea8:	b7 2f 60 03 	sll  %i5, 3, %i3                               
 2002eac:	b6 00 80 1b 	add  %g2, %i3, %i3                             
  while (true) {                                                      
    if (dtab->minor == NULL || minor >= dtab->size) {                 
 2002eb0:	c2 06 c0 00 	ld  [ %i3 ], %g1                               
 2002eb4:	80 a0 60 00 	cmp  %g1, 0                                    
 2002eb8:	22 80 00 07 	be,a   2002ed4 <rtems_disk_next+0xa8>          
 2002ebc:	ba 07 60 01 	inc  %i5                                       
 2002ec0:	c8 06 e0 04 	ld  [ %i3 + 4 ], %g4                           
 2002ec4:	80 a7 00 04 	cmp  %i4, %g4                                  
 2002ec8:	0a 80 00 0d 	bcs  2002efc <rtems_disk_next+0xd0>            
 2002ecc:	b1 2f 20 02 	sll  %i4, 2, %i0                               
       minor = 0;                                                     
       ++major;                                                       
 2002ed0:	ba 07 60 01 	inc  %i5                                       
       if (major >= disktab_size) {                                   
 2002ed4:	80 a7 40 03 	cmp  %i5, %g3                                  
 2002ed8:	0a 80 00 06 	bcs  2002ef0 <rtems_disk_next+0xc4>            
 2002edc:	b7 2f 60 03 	sll  %i5, 3, %i3                               
         disk_unlock();                                               
 2002ee0:	7f ff fe 59 	call  2002844 <disk_unlock>                    
 2002ee4:	b6 10 20 00 	clr  %i3                                       
                                                                      
         return NULL;                                                 
 2002ee8:	81 c7 e0 08 	ret                                            
 2002eec:	91 e8 00 1b 	restore  %g0, %i3, %o0                         
  }                                                                   
                                                                      
  dtab = disktab + major;                                             
  while (true) {                                                      
    if (dtab->minor == NULL || minor >= dtab->size) {                 
       minor = 0;                                                     
 2002ef0:	b8 10 20 00 	clr  %i4                                       
       if (major >= disktab_size) {                                   
         disk_unlock();                                               
                                                                      
         return NULL;                                                 
       }                                                              
       dtab = disktab + major;                                        
 2002ef4:	10 bf ff ef 	b  2002eb0 <rtems_disk_next+0x84>              
 2002ef8:	b6 00 80 1b 	add  %g2, %i3, %i3                             
    } else if (dtab->minor [minor] == NULL) {                         
 2002efc:	c2 00 40 18 	ld  [ %g1 + %i0 ], %g1                         
 2002f00:	80 a0 60 00 	cmp  %g1, 0                                    
 2002f04:	02 bf ff eb 	be  2002eb0 <rtems_disk_next+0x84>             
 2002f08:	b8 07 20 01 	inc  %i4                                       
      ++minor;                                                        
    } else {                                                          
      ++dtab->minor [minor]->uses;                                    
 2002f0c:	c4 00 60 14 	ld  [ %g1 + 0x14 ], %g2                        
 2002f10:	84 00 a0 01 	inc  %g2                                       
      disk_unlock();                                                  
 2002f14:	7f ff fe 4c 	call  2002844 <disk_unlock>                    
 2002f18:	c4 20 60 14 	st  %g2, [ %g1 + 0x14 ]                        
                                                                      
      return dtab->minor [minor];                                     
 2002f1c:	c2 06 c0 00 	ld  [ %i3 ], %g1                               
 2002f20:	f6 00 40 18 	ld  [ %g1 + %i0 ], %i3                         
    }                                                                 
  }                                                                   
}                                                                     
 2002f24:	b0 10 00 1b 	mov  %i3, %i0                                  
 2002f28:	81 c7 e0 08 	ret                                            
 2002f2c:	81 e8 00 00 	restore                                        
                                                                      

02002d68 <rtems_disk_obtain>: rtems_disk_device * rtems_disk_obtain(dev_t dev) {
 2002d68:	9d e3 bf a0 	save  %sp, -96, %sp                            
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
  rtems_disk_device *dd = NULL;                                       
  rtems_interrupt_level level;                                        
                                                                      
  rtems_interrupt_disable(level);                                     
 2002d6c:	7f ff fd ff 	call  2002568 <sparc_disable_interrupts>       
 2002d70:	b8 10 00 18 	mov  %i0, %i4                                  
 2002d74:	b6 10 00 08 	mov  %o0, %i3                                  
  if (!diskdevs_protected) {                                          
 2002d78:	03 00 80 61 	sethi  %hi(0x2018400), %g1                     
 2002d7c:	c2 08 62 ac 	ldub  [ %g1 + 0x2ac ], %g1	! 20186ac <diskdevs_protected>
 2002d80:	80 a0 60 00 	cmp  %g1, 0                                    
 2002d84:	12 80 00 0a 	bne  2002dac <rtems_disk_obtain+0x44>          <== NEVER TAKEN
 2002d88:	92 10 00 19 	mov  %i1, %o1                                  
    /* Frequent and quickest case */                                  
    dd = get_disk_entry(dev, false);                                  
 2002d8c:	90 10 00 18 	mov  %i0, %o0                                  
 2002d90:	7f ff fe 66 	call  2002728 <get_disk_entry>                 
 2002d94:	94 10 20 00 	clr  %o2                                       
 2002d98:	b0 10 00 08 	mov  %o0, %i0                                  
    rtems_interrupt_enable(level);                                    
 2002d9c:	7f ff fd f7 	call  2002578 <sparc_enable_interrupts>        
 2002da0:	90 10 00 1b 	mov  %i3, %o0                                  
 2002da4:	81 c7 e0 08 	ret                                            
 2002da8:	81 e8 00 00 	restore                                        
  } else {                                                            
    rtems_interrupt_enable(level);                                    
 2002dac:	7f ff fd f3 	call  2002578 <sparc_enable_interrupts>        <== NOT EXECUTED
 2002db0:	b0 10 20 00 	clr  %i0                                       <== NOT EXECUTED
                                                                      
    sc = disk_lock();                                                 
 2002db4:	7f ff fe 95 	call  2002808 <disk_lock>                      <== NOT EXECUTED
 2002db8:	01 00 00 00 	nop                                            <== NOT EXECUTED
    if (sc == RTEMS_SUCCESSFUL) {                                     
 2002dbc:	80 a2 20 00 	cmp  %o0, 0                                    <== NOT EXECUTED
 2002dc0:	12 bf ff f9 	bne  2002da4 <rtems_disk_obtain+0x3c>          <== NOT EXECUTED
 2002dc4:	90 10 00 1c 	mov  %i4, %o0                                  <== NOT EXECUTED
      dd = get_disk_entry(dev, false);                                
 2002dc8:	92 10 00 19 	mov  %i1, %o1                                  <== NOT EXECUTED
 2002dcc:	7f ff fe 57 	call  2002728 <get_disk_entry>                 <== NOT EXECUTED
 2002dd0:	94 10 20 00 	clr  %o2                                       <== NOT EXECUTED
      disk_unlock();                                                  
 2002dd4:	7f ff fe 9c 	call  2002844 <disk_unlock>                    <== NOT EXECUTED
 2002dd8:	b0 10 00 08 	mov  %o0, %i0                                  <== NOT EXECUTED
    }                                                                 
  }                                                                   
                                                                      
  return dd;                                                          
}                                                                     
 2002ddc:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2002de0:	81 e8 00 00 	restore                                        <== NOT EXECUTED
                                                                      

0200b664 <rtems_filesystem_get_mount_handler>: rtems_filesystem_fsmount_me_t rtems_filesystem_get_mount_handler( const char *type ) {
 200b664:	9d e3 bf 98 	save  %sp, -104, %sp                           
  find_arg fa = {                                                     
 200b668:	f0 27 bf f8 	st  %i0, [ %fp + -8 ]                          
    .type = type,                                                     
    .mount_h = NULL                                                   
  };                                                                  
                                                                      
  if ( type != NULL ) {                                               
 200b66c:	80 a6 20 00 	cmp  %i0, 0                                    
 200b670:	02 80 00 06 	be  200b688 <rtems_filesystem_get_mount_handler+0x24><== NEVER TAKEN
 200b674:	c0 27 bf fc 	clr  [ %fp + -4 ]                              
    rtems_filesystem_iterate( find_handler, &fa );                    
 200b678:	11 00 80 2d 	sethi  %hi(0x200b400), %o0                     
 200b67c:	92 07 bf f8 	add  %fp, -8, %o1                              
 200b680:	7f ff ff d0 	call  200b5c0 <rtems_filesystem_iterate>       
 200b684:	90 12 21 5c 	or  %o0, 0x15c, %o0                            
  }                                                                   
                                                                      
  return fa.mount_h;                                                  
}                                                                     
 200b688:	f0 07 bf fc 	ld  [ %fp + -4 ], %i0                          
 200b68c:	81 c7 e0 08 	ret                                            
 200b690:	81 e8 00 00 	restore                                        
                                                                      

020028dc <rtems_filesystem_initialize>: * configuration is a single instantiation of the IMFS or miniIMFS with * a single "/dev" directory in it. */ void rtems_filesystem_initialize( void ) {
 20028dc:	9d e3 bf 88 	save  %sp, -120, %sp                           
                                                                      
  /*                                                                  
   *  Set the default umask to "022".                                 
   */                                                                 
                                                                      
  rtems_filesystem_umask = 022;                                       
 20028e0:	3b 00 80 6a 	sethi  %hi(0x201a800), %i5                     
 20028e4:	c2 07 62 3c 	ld  [ %i5 + 0x23c ], %g1	! 201aa3c <rtems_current_user_env>
 20028e8:	84 10 20 12 	mov  0x12, %g2                                 
 20028ec:	c4 20 60 2c 	st  %g2, [ %g1 + 0x2c ]                        
                                                                      
  /*                                                                  
   *  mount the first filesystem.                                     
   */                                                                 
  if ( rtems_filesystem_mount_table_size == 0 )                       
 20028f0:	03 00 80 62 	sethi  %hi(0x2018800), %g1                     
 20028f4:	c2 00 63 78 	ld  [ %g1 + 0x378 ], %g1	! 2018b78 <rtems_filesystem_mount_table_size>
    rtems_fatal_error_occurred( 0xABCD0001 );                         
 20028f8:	11 2a f3 40 	sethi  %hi(0xabcd0000), %o0                    
  rtems_filesystem_umask = 022;                                       
                                                                      
  /*                                                                  
   *  mount the first filesystem.                                     
   */                                                                 
  if ( rtems_filesystem_mount_table_size == 0 )                       
 20028fc:	80 a0 60 00 	cmp  %g1, 0                                    
 2002900:	02 80 00 0f 	be  200293c <rtems_filesystem_initialize+0x60> <== NEVER TAKEN
 2002904:	90 12 20 01 	or  %o0, 1, %o0                                
    rtems_fatal_error_occurred( 0xABCD0001 );                         
                                                                      
  mt = &rtems_filesystem_mount_table[0];                              
 2002908:	03 00 80 6a 	sethi  %hi(0x201a800), %g1                     
 200290c:	c2 00 61 50 	ld  [ %g1 + 0x150 ], %g1	! 201a950 <rtems_filesystem_mount_table>
                                                                      
  status = mount( mt->device, mt->mount_point, mt->type, mt->fsoptions, NULL );
 2002910:	98 10 20 00 	clr  %o4                                       
 2002914:	d0 00 60 08 	ld  [ %g1 + 8 ], %o0                           
 2002918:	d2 00 60 0c 	ld  [ %g1 + 0xc ], %o1                         
 200291c:	d4 00 40 00 	ld  [ %g1 ], %o2                               
 2002920:	40 00 02 a8 	call  20033c0 <mount>                          
 2002924:	d6 00 60 04 	ld  [ %g1 + 4 ], %o3                           
  if ( status == -1 )                                                 
 2002928:	80 a2 3f ff 	cmp  %o0, -1                                   
 200292c:	12 80 00 06 	bne  2002944 <rtems_filesystem_initialize+0x68><== ALWAYS TAKEN
 2002930:	c2 07 62 3c 	ld  [ %i5 + 0x23c ], %g1                       
    rtems_fatal_error_occurred( 0xABCD0002 );                         
 2002934:	11 2a f3 40 	sethi  %hi(0xabcd0000), %o0                    <== NOT EXECUTED
 2002938:	90 12 20 02 	or  %o0, 2, %o0	! abcd0002 <RAM_END+0xa98d0002><== NOT EXECUTED
 200293c:	40 00 10 9b 	call  2006ba8 <rtems_fatal_error_occurred>     <== NOT EXECUTED
 2002940:	01 00 00 00 	nop                                            <== NOT EXECUTED
   *       gonna hit performance.                                     
   *                                                                  
   *       Till Straumann, 10/25/2002                                 
   */                                                                 
  /* Clone the root pathloc */                                        
  rtems_filesystem_evaluate_path("/", 1, 0, &loc, 0);                 
 2002944:	96 07 bf ec 	add  %fp, -20, %o3                             
                                                                      
  status = mount( mt->device, mt->mount_point, mt->type, mt->fsoptions, NULL );
  if ( status == -1 )                                                 
    rtems_fatal_error_occurred( 0xABCD0002 );                         
                                                                      
  rtems_filesystem_link_counts = 0;                                   
 2002948:	c0 30 60 30 	clrh  [ %g1 + 0x30 ]                           
   *       gonna hit performance.                                     
   *                                                                  
   *       Till Straumann, 10/25/2002                                 
   */                                                                 
  /* Clone the root pathloc */                                        
  rtems_filesystem_evaluate_path("/", 1, 0, &loc, 0);                 
 200294c:	98 10 20 00 	clr  %o4                                       
 2002950:	39 00 80 64 	sethi  %hi(0x2019000), %i4                     
 2002954:	92 10 20 01 	mov  1, %o1                                    
 2002958:	94 10 20 00 	clr  %o2                                       
 200295c:	40 00 00 e7 	call  2002cf8 <rtems_filesystem_evaluate_path> 
 2002960:	90 17 20 a0 	or  %i4, 0xa0, %o0                             
  rtems_filesystem_root        = loc;                                 
 2002964:	d0 07 62 3c 	ld  [ %i5 + 0x23c ], %o0                       
 2002968:	92 07 bf ec 	add  %fp, -20, %o1                             
 200296c:	94 10 20 14 	mov  0x14, %o2                                 
 2002970:	40 00 2f 3d 	call  200e664 <memcpy>                         
 2002974:	90 02 20 18 	add  %o0, 0x18, %o0                            
  /* One more clone for the current node */                           
  rtems_filesystem_evaluate_path("/", 1, 0, &loc, 0);                 
 2002978:	96 07 bf ec 	add  %fp, -20, %o3                             
 200297c:	98 10 20 00 	clr  %o4                                       
 2002980:	92 10 20 01 	mov  1, %o1                                    
 2002984:	94 10 20 00 	clr  %o2                                       
 2002988:	40 00 00 dc 	call  2002cf8 <rtems_filesystem_evaluate_path> 
 200298c:	90 17 20 a0 	or  %i4, 0xa0, %o0                             
  rtems_filesystem_current     = loc;                                 
 2002990:	d0 07 62 3c 	ld  [ %i5 + 0x23c ], %o0                       
 2002994:	92 07 bf ec 	add  %fp, -20, %o1                             
 2002998:	94 10 20 14 	mov  0x14, %o2                                 
 200299c:	40 00 2f 32 	call  200e664 <memcpy>                         
 20029a0:	90 02 20 04 	add  %o0, 4, %o0                               
   *                                                                  
   *  NOTE: UNIX root is 755 and owned by root/root (0/0).  It is actually
   *        created that way by the IMFS.                             
   */                                                                 
                                                                      
  status = mkdir( "/dev", 0777);                                      
 20029a4:	11 00 80 64 	sethi  %hi(0x2019000), %o0                     
 20029a8:	92 10 21 ff 	mov  0x1ff, %o1                                
 20029ac:	40 00 02 25 	call  2003240 <mkdir>                          
 20029b0:	90 12 20 a8 	or  %o0, 0xa8, %o0                             
  if ( status != 0 )                                                  
 20029b4:	80 a2 20 00 	cmp  %o0, 0                                    
 20029b8:	02 80 00 04 	be  20029c8 <rtems_filesystem_initialize+0xec> <== ALWAYS TAKEN
 20029bc:	11 2a f3 40 	sethi  %hi(0xabcd0000), %o0                    
    rtems_fatal_error_occurred( 0xABCD0003 );                         
 20029c0:	10 bf ff df 	b  200293c <rtems_filesystem_initialize+0x60>  <== NOT EXECUTED
 20029c4:	90 12 20 03 	or  %o0, 3, %o0	! abcd0003 <RAM_END+0xa98d0003><== NOT EXECUTED
 20029c8:	81 c7 e0 08 	ret                                            
 20029cc:	81 e8 00 00 	restore                                        
                                                                      

0200b5c0 <rtems_filesystem_iterate>: bool rtems_filesystem_iterate( rtems_per_filesystem_routine routine, void *routine_arg ) {
 200b5c0:	9d e3 bf a0 	save  %sp, -96, %sp                            
  const rtems_filesystem_table_t *table_entry = &rtems_filesystem_table [0];
 200b5c4:	3b 00 80 62 	sethi  %hi(0x2018800), %i5                     
  rtems_chain_node *node = NULL;                                      
  bool stop = false;                                                  
 200b5c8:	b6 10 20 00 	clr  %i3                                       
                                                                      
  while ( table_entry->type && !stop ) {                              
 200b5cc:	10 80 00 06 	b  200b5e4 <rtems_filesystem_iterate+0x24>     
 200b5d0:	ba 17 63 8c 	or  %i5, 0x38c, %i5                            
    stop = (*routine)( table_entry, routine_arg );                    
 200b5d4:	92 10 00 19 	mov  %i1, %o1                                  
 200b5d8:	9f c6 00 00 	call  %i0                                      
 200b5dc:	ba 07 60 08 	add  %i5, 8, %i5                               
 200b5e0:	b6 10 00 08 	mov  %o0, %i3                                  
{                                                                     
  const rtems_filesystem_table_t *table_entry = &rtems_filesystem_table [0];
  rtems_chain_node *node = NULL;                                      
  bool stop = false;                                                  
                                                                      
  while ( table_entry->type && !stop ) {                              
 200b5e4:	c2 07 40 00 	ld  [ %i5 ], %g1                               
 200b5e8:	80 a0 60 00 	cmp  %g1, 0                                    
 200b5ec:	02 80 00 08 	be  200b60c <rtems_filesystem_iterate+0x4c>    
 200b5f0:	82 0e e0 ff 	and  %i3, 0xff, %g1                            
 200b5f4:	80 a0 60 00 	cmp  %g1, 0                                    
 200b5f8:	02 bf ff f7 	be  200b5d4 <rtems_filesystem_iterate+0x14>    
 200b5fc:	90 10 00 1d 	mov  %i5, %o0                                  
 200b600:	b0 0e e0 ff 	and  %i3, 0xff, %i0                            
 200b604:	81 c7 e0 08 	ret                                            
 200b608:	81 e8 00 00 	restore                                        
    stop = (*routine)( table_entry, routine_arg );                    
    ++table_entry;                                                    
  }                                                                   
                                                                      
  if ( !stop ) {                                                      
 200b60c:	80 a0 60 00 	cmp  %g1, 0                                    
 200b610:	32 80 00 13 	bne,a   200b65c <rtems_filesystem_iterate+0x9c>
 200b614:	b0 0e e0 ff 	and  %i3, 0xff, %i0                            
    rtems_libio_lock();                                               
 200b618:	7f ff ff de 	call  200b590 <rtems_libio_lock>               
 200b61c:	39 00 80 6a 	sethi  %hi(0x201a800), %i4                     
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_First(                        
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  return _Chain_Head( the_chain )->next;                              
 200b620:	03 00 80 6a 	sethi  %hi(0x201a800), %g1                     
 200b624:	fa 00 62 44 	ld  [ %g1 + 0x244 ], %i5	! 201aa44 <filesystem_chain>
    for (                                                             
 200b628:	10 80 00 06 	b  200b640 <rtems_filesystem_iterate+0x80>     
 200b62c:	b8 17 22 48 	or  %i4, 0x248, %i4                            
      !rtems_chain_is_tail( &filesystem_chain, node ) && !stop;       
      node = rtems_chain_next( node )                                 
    ) {                                                               
      const filesystem_node *fsn = (filesystem_node *) node;          
                                                                      
      stop = (*routine)( &fsn->entry, routine_arg );                  
 200b630:	9f c6 00 00 	call  %i0                                      
 200b634:	92 10 00 19 	mov  %i1, %o1                                  
    }                                                                 
  }                                                                   
  rtems_libio_unlock();                                               
                                                                      
  rtems_set_errno_and_return_minus_one( ENOENT );                     
}                                                                     
 200b638:	fa 07 40 00 	ld  [ %i5 ], %i5                               
      !rtems_chain_is_tail( &filesystem_chain, node ) && !stop;       
      node = rtems_chain_next( node )                                 
    ) {                                                               
      const filesystem_node *fsn = (filesystem_node *) node;          
                                                                      
      stop = (*routine)( &fsn->entry, routine_arg );                  
 200b63c:	b6 10 00 08 	mov  %o0, %i3                                  
    ++table_entry;                                                    
  }                                                                   
                                                                      
  if ( !stop ) {                                                      
    rtems_libio_lock();                                               
    for (                                                             
 200b640:	80 a7 40 1c 	cmp  %i5, %i4                                  
 200b644:	02 80 00 04 	be  200b654 <rtems_filesystem_iterate+0x94>    
 200b648:	80 8e e0 ff 	btst  0xff, %i3                                
      node = rtems_chain_first( &filesystem_chain );                  
      !rtems_chain_is_tail( &filesystem_chain, node ) && !stop;       
 200b64c:	02 bf ff f9 	be  200b630 <rtems_filesystem_iterate+0x70>    <== ALWAYS TAKEN
 200b650:	90 07 60 08 	add  %i5, 8, %o0                               
    ) {                                                               
      const filesystem_node *fsn = (filesystem_node *) node;          
                                                                      
      stop = (*routine)( &fsn->entry, routine_arg );                  
    }                                                                 
    rtems_libio_unlock();                                             
 200b654:	7f ff ff d6 	call  200b5ac <rtems_libio_unlock>             
 200b658:	b0 0e e0 ff 	and  %i3, 0xff, %i0                            
  }                                                                   
                                                                      
  return stop;                                                        
}                                                                     
 200b65c:	81 c7 e0 08 	ret                                            
 200b660:	81 e8 00 00 	restore                                        
                                                                      

02003364 <rtems_filesystem_mount_iterate>: bool rtems_filesystem_mount_iterate( rtems_per_filesystem_mount_routine routine, void *routine_arg ) {
 2003364:	9d e3 bf a0 	save  %sp, -96, %sp                            
  rtems_chain_node *node = NULL;                                      
  bool stop = false;                                                  
                                                                      
  rtems_libio_lock();                                                 
 2003368:	7f ff ff f8 	call  2003348 <rtems_libio_lock>               
 200336c:	39 00 80 6a 	sethi  %hi(0x201a800), %i4                     
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_First(                        
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  return _Chain_Head( the_chain )->next;                              
 2003370:	03 00 80 6a 	sethi  %hi(0x201a800), %g1                     
 2003374:	fa 00 62 1c 	ld  [ %g1 + 0x21c ], %i5	! 201aa1c <mount_chain>
  rtems_per_filesystem_mount_routine routine,                         
  void *routine_arg                                                   
)                                                                     
{                                                                     
  rtems_chain_node *node = NULL;                                      
  bool stop = false;                                                  
 2003378:	b6 10 20 00 	clr  %i3                                       
                                                                      
  rtems_libio_lock();                                                 
  for (                                                               
 200337c:	10 80 00 06 	b  2003394 <rtems_filesystem_mount_iterate+0x30>
 2003380:	b8 17 22 20 	or  %i4, 0x220, %i4                            
    node = rtems_chain_next( node )                                   
  ) {                                                                 
    const rtems_filesystem_mount_table_entry_t *mt_entry =            
      (rtems_filesystem_mount_table_entry_t *) node;                  
                                                                      
    stop = (*routine)( mt_entry, routine_arg );                       
 2003384:	9f c6 00 00 	call  %i0                                      
 2003388:	92 10 00 19 	mov  %i1, %o1                                  
  }                                                                   
  rtems_libio_unlock();                                               
                                                                      
  return stop;                                                        
}                                                                     
 200338c:	fa 07 40 00 	ld  [ %i5 ], %i5                               
    node = rtems_chain_next( node )                                   
  ) {                                                                 
    const rtems_filesystem_mount_table_entry_t *mt_entry =            
      (rtems_filesystem_mount_table_entry_t *) node;                  
                                                                      
    stop = (*routine)( mt_entry, routine_arg );                       
 2003390:	b6 10 00 08 	mov  %o0, %i3                                  
{                                                                     
  rtems_chain_node *node = NULL;                                      
  bool stop = false;                                                  
                                                                      
  rtems_libio_lock();                                                 
  for (                                                               
 2003394:	80 a7 40 1c 	cmp  %i5, %i4                                  
 2003398:	02 80 00 04 	be  20033a8 <rtems_filesystem_mount_iterate+0x44>
 200339c:	80 8e e0 ff 	btst  0xff, %i3                                
    node = rtems_chain_first( &mount_chain );                         
    !rtems_chain_is_tail( &mount_chain, node ) && !stop;              
 20033a0:	02 bf ff f9 	be  2003384 <rtems_filesystem_mount_iterate+0x20><== ALWAYS TAKEN
 20033a4:	90 10 00 1d 	mov  %i5, %o0                                  
}                                                                     
                                                                      
static inline void rtems_libio_unlock( void )                         
{                                                                     
  rtems_semaphore_release( rtems_libio_semaphore );                   
 20033a8:	03 00 80 6c 	sethi  %hi(0x201b000), %g1                     
 20033ac:	d0 00 63 60 	ld  [ %g1 + 0x360 ], %o0	! 201b360 <rtems_libio_semaphore>
 20033b0:	40 00 0c 86 	call  20065c8 <rtems_semaphore_release>        
 20033b4:	b0 0e e0 ff 	and  %i3, 0xff, %i0                            
    stop = (*routine)( mt_entry, routine_arg );                       
  }                                                                   
  rtems_libio_unlock();                                               
                                                                      
  return stop;                                                        
}                                                                     
 20033b8:	81 c7 e0 08 	ret                                            
 20033bc:	81 e8 00 00 	restore                                        
                                                                      

0200334c <rtems_gxx_key_create>: int rtems_gxx_key_create (__gthread_key_t *key, void (*dtor) (void *)) {
 200334c:	9d e3 bf a0 	save  %sp, -96, %sp                            
   * pointer to the buffer that will hold the value of the key itself.
   * We have to to this, because the others functions on this interface
   * deal with the value of the key, as used with the POSIX API.      
   */                                                                 
   /* Do not pull your hair, trust me this works. :-) */              
  __gthread_key_t new_key = (__gthread_key_t) malloc( sizeof( *new_key ) );
 2003350:	40 00 01 17 	call  20037ac <malloc>                         
 2003354:	90 10 20 08 	mov  8, %o0                                    
  *key = new_key;                                                     
 2003358:	d0 26 00 00 	st  %o0, [ %i0 ]                               
   * pointer to the buffer that will hold the value of the key itself.
   * We have to to this, because the others functions on this interface
   * deal with the value of the key, as used with the POSIX API.      
   */                                                                 
   /* Do not pull your hair, trust me this works. :-) */              
  __gthread_key_t new_key = (__gthread_key_t) malloc( sizeof( *new_key ) );
 200335c:	ba 10 00 08 	mov  %o0, %i5                                  
  *key = new_key;                                                     
  new_key->val  = NULL;                                               
 2003360:	c0 22 00 00 	clr  [ %o0 ]                                   
  new_key->dtor = dtor;                                               
 2003364:	f2 22 20 04 	st  %i1, [ %o0 + 4 ]                           
      "gxx_wrappers: create key=%x, dtor=%x, new_key=%x\n", key, dtor, new_key
    );                                                                
  #endif                                                              
                                                                      
  /* register with RTEMS the buffer that will hold the key values */  
  status = rtems_task_variable_add( RTEMS_SELF, (void **)new_key, dtor );
 2003368:	92 10 00 1d 	mov  %i5, %o1                                  
 200336c:	90 10 20 00 	clr  %o0                                       
 2003370:	94 10 00 19 	mov  %i1, %o2                                  
 2003374:	40 00 0f 3d 	call  2007068 <rtems_task_variable_add>        
 2003378:	b0 10 20 00 	clr  %i0                                       
  if ( status == RTEMS_SUCCESSFUL )                                   
 200337c:	80 a2 20 00 	cmp  %o0, 0                                    
 2003380:	02 80 00 04 	be  2003390 <rtems_gxx_key_create+0x44>        <== ALWAYS TAKEN
 2003384:	90 10 00 1d 	mov  %i5, %o0                                  
    return 0;                                                         
                                                                      
  free( new_key );                                                    
 2003388:	7f ff ff 8d 	call  20031bc <free>                           <== NOT EXECUTED
 200338c:	b0 10 3f ff 	mov  -1, %i0                                   <== NOT EXECUTED
  return -1;                                                          
}                                                                     
 2003390:	81 c7 e0 08 	ret                                            
 2003394:	81 e8 00 00 	restore                                        
                                                                      

020033a4 <rtems_gxx_key_delete>: int rtems_gxx_key_delete (__gthread_key_t key) {
 20033a4:	9d e3 bf a0 	save  %sp, -96, %sp                            
  #ifdef DEBUG_GXX_WRAPPERS                                           
    printk( "gxx_wrappers: delete key=%x\n", key );                   
  #endif                                                              
                                                                      
  /* register with RTEMS the buffer that will hold the key values */  
  status = rtems_task_variable_delete( RTEMS_SELF, (void **)key );    
 20033a8:	90 10 20 00 	clr  %o0                                       
 20033ac:	40 00 0f 58 	call  200710c <rtems_task_variable_delete>     
 20033b0:	92 10 00 18 	mov  %i0, %o1                                  
  if ( status == RTEMS_SUCCESSFUL ) {                                 
 20033b4:	80 a2 20 00 	cmp  %o0, 0                                    
 20033b8:	12 80 00 06 	bne  20033d0 <rtems_gxx_key_delete+0x2c>       <== NEVER TAKEN
 20033bc:	80 a6 20 00 	cmp  %i0, 0                                    
    /* Hmm - hopefully all tasks using this key have gone away... */  
    if ( key ) free( *(void **)key );                                 
 20033c0:	02 80 00 04 	be  20033d0 <rtems_gxx_key_delete+0x2c>        <== NEVER TAKEN
 20033c4:	01 00 00 00 	nop                                            
 20033c8:	7f ff ff 7d 	call  20031bc <free>                           
 20033cc:	d0 06 00 00 	ld  [ %i0 ], %o0                               
    return 0;                                                         
  }                                                                   
  key = NULL;                                                         
  return 0;                                                           
}                                                                     
 20033d0:	81 c7 e0 08 	ret                                            
 20033d4:	91 e8 20 00 	restore  %g0, 0, %o0                           
                                                                      

020032e8 <rtems_gxx_once>: /* uncomment this if you need to debug this interface */ /*#define DEBUG_GXX_WRAPPERS 1*/ int rtems_gxx_once(__gthread_once_t *once, void (*func) (void)) {
 20032e8:	9d e3 bf 98 	save  %sp, -104, %sp                           
  #ifdef DEBUG_GXX_WRAPPERS                                           
    printk( "gxx_wrappers: once=%x, func=%x\n", *once, func );        
  #endif                                                              
                                                                      
  if ( *(volatile __gthread_once_t *)once == 0 ) {                    
 20032ec:	c2 06 00 00 	ld  [ %i0 ], %g1                               
 20032f0:	80 a0 60 00 	cmp  %g1, 0                                    
 20032f4:	12 80 00 14 	bne  2003344 <rtems_gxx_once+0x5c>             
 20032f8:	90 10 21 00 	mov  0x100, %o0                                
    rtems_mode saveMode;                                              
    __gthread_once_t o;                                               
                                                                      
    rtems_task_mode(RTEMS_NO_PREEMPT, RTEMS_PREEMPT_MASK, &saveMode); 
 20032fc:	92 10 21 00 	mov  0x100, %o1                                
 2003300:	40 00 0e e1 	call  2006e84 <rtems_task_mode>                
 2003304:	94 07 bf fc 	add  %fp, -4, %o2                              
    if ( (o = *(volatile __gthread_once_t *)once) == 0 ) {            
 2003308:	fa 06 00 00 	ld  [ %i0 ], %i5                               
 200330c:	80 a7 60 00 	cmp  %i5, 0                                    
 2003310:	12 80 00 05 	bne  2003324 <rtems_gxx_once+0x3c>             <== NEVER TAKEN
 2003314:	d0 07 bf fc 	ld  [ %fp + -4 ], %o0                          
      *(volatile __gthread_once_t *)once = 1;                         
 2003318:	82 10 20 01 	mov  1, %g1                                    
 200331c:	c2 26 00 00 	st  %g1, [ %i0 ]                               
    }                                                                 
    rtems_task_mode(saveMode, RTEMS_PREEMPT_MASK, &saveMode);         
 2003320:	d0 07 bf fc 	ld  [ %fp + -4 ], %o0                          
 2003324:	92 10 21 00 	mov  0x100, %o1                                
 2003328:	40 00 0e d7 	call  2006e84 <rtems_task_mode>                
 200332c:	94 07 bf fc 	add  %fp, -4, %o2                              
    if ( o == 0 )                                                     
 2003330:	80 a7 60 00 	cmp  %i5, 0                                    
 2003334:	12 80 00 04 	bne  2003344 <rtems_gxx_once+0x5c>             <== NEVER TAKEN
 2003338:	01 00 00 00 	nop                                            
      (*func)();                                                      
 200333c:	9f c6 40 00 	call  %i1                                      
 2003340:	01 00 00 00 	nop                                            
  }                                                                   
  return 0;                                                           
}                                                                     
 2003344:	81 c7 e0 08 	ret                                            
 2003348:	91 e8 20 00 	restore  %g0, 0, %o0                           
                                                                      

0200343c <rtems_gxx_setspecific>: int rtems_gxx_setspecific(__gthread_key_t key, const void *ptr) {
 200343c:	9d e3 bf a0 	save  %sp, -96, %sp                            
      rtems_task_self()                                               
      );                                                              
  #endif                                                              
                                                                      
  /* register with RTEMS the buffer that will hold the key values */  
  status = rtems_task_variable_add( RTEMS_SELF, (void **)key, key->dtor );
 2003440:	d4 06 20 04 	ld  [ %i0 + 4 ], %o2                           
 2003444:	92 10 00 18 	mov  %i0, %o1                                  
  #endif                                                              
  return p;                                                           
}                                                                     
                                                                      
int rtems_gxx_setspecific(__gthread_key_t key, const void *ptr)       
{                                                                     
 2003448:	ba 10 00 18 	mov  %i0, %i5                                  
      rtems_task_self()                                               
      );                                                              
  #endif                                                              
                                                                      
  /* register with RTEMS the buffer that will hold the key values */  
  status = rtems_task_variable_add( RTEMS_SELF, (void **)key, key->dtor );
 200344c:	90 10 20 00 	clr  %o0                                       
 2003450:	40 00 0f 06 	call  2007068 <rtems_task_variable_add>        
 2003454:	b0 10 3f ff 	mov  -1, %i0                                   
  if ( status == RTEMS_SUCCESSFUL ) {                                 
 2003458:	80 a2 20 00 	cmp  %o0, 0                                    
 200345c:	12 80 00 04 	bne  200346c <rtems_gxx_setspecific+0x30>      <== NEVER TAKEN
 2003460:	01 00 00 00 	nop                                            
    /* now let's set the proper value */                              
    key->val =  (void *)ptr;                                          
 2003464:	f2 27 40 00 	st  %i1, [ %i5 ]                               
    return 0;                                                         
 2003468:	b0 10 20 00 	clr  %i0                                       
  }                                                                   
  return -1;                                                          
}                                                                     
 200346c:	81 c7 e0 08 	ret                                            
 2003470:	81 e8 00 00 	restore                                        
                                                                      

020073b8 <rtems_heap_allocate_aligned_with_boundary>: void *rtems_heap_allocate_aligned_with_boundary( size_t size, uintptr_t alignment, uintptr_t boundary ) {
 20073b8:	9d e3 bf a0 	save  %sp, -96, %sp                            
  if (                                                                
 20073bc:	03 00 80 87 	sethi  %hi(0x2021c00), %g1                     
 20073c0:	c2 00 63 b4 	ld  [ %g1 + 0x3b4 ], %g1	! 2021fb4 <_System_state_Current>
void *rtems_heap_allocate_aligned_with_boundary(                      
  size_t size,                                                        
  uintptr_t alignment,                                                
  uintptr_t boundary                                                  
)                                                                     
{                                                                     
 20073c4:	b8 10 00 18 	mov  %i0, %i4                                  
 20073c8:	ba 10 00 19 	mov  %i1, %i5                                  
  if (                                                                
 20073cc:	80 a0 60 03 	cmp  %g1, 3                                    
 20073d0:	12 80 00 07 	bne  20073ec <rtems_heap_allocate_aligned_with_boundary+0x34><== NEVER TAKEN
 20073d4:	b6 10 00 1a 	mov  %i2, %i3                                  
    _System_state_Is_up( _System_state_Get() )                        
      && !malloc_is_system_state_OK()                                 
 20073d8:	7f ff fb cc 	call  2006308 <malloc_is_system_state_OK>      
 20073dc:	01 00 00 00 	nop                                            
 20073e0:	80 8a 20 ff 	btst  0xff, %o0                                
 20073e4:	02 80 00 08 	be  2007404 <rtems_heap_allocate_aligned_with_boundary+0x4c>
 20073e8:	01 00 00 00 	nop                                            
  ) {                                                                 
    return NULL;                                                      
  }                                                                   
                                                                      
  malloc_deferred_frees_process();                                    
 20073ec:	7f ff fb d9 	call  2006350 <malloc_deferred_frees_process>  
 20073f0:	b2 10 00 1c 	mov  %i4, %i1                                  
                                                                      
  /* FIXME: Statistics, boundary checks */                            
                                                                      
  return _Protected_heap_Allocate_aligned_with_boundary(              
 20073f4:	03 00 80 82 	sethi  %hi(0x2020800), %g1                     
 20073f8:	f0 00 61 74 	ld  [ %g1 + 0x174 ], %i0	! 2020974 <RTEMS_Malloc_Heap>
 20073fc:	40 00 14 89 	call  200c620 <_Protected_heap_Allocate_aligned_with_boundary>
 2007400:	95 e8 00 1d 	restore  %g0, %i5, %o2                         
    RTEMS_Malloc_Heap,                                                
    size,                                                             
    alignment,                                                        
    boundary                                                          
  );                                                                  
}                                                                     
 2007404:	81 c7 e0 08 	ret                                            
 2007408:	91 e8 20 00 	restore  %g0, 0, %o0                           
                                                                      

02002848 <rtems_io_lookup_name>: rtems_status_code rtems_io_lookup_name( const char *name, rtems_driver_name_t *device_info ) {
 2002848:	9d e3 bf 88 	save  %sp, -120, %sp                           
  IMFS_jnode_t                      *the_jnode;                       
  rtems_filesystem_location_info_t   loc;                             
  int                                result;                          
  rtems_filesystem_node_types_t      node_type;                       
                                                                      
  result = rtems_filesystem_evaluate_path(                            
 200284c:	40 00 32 c2 	call  200f354 <strlen>                         
 2002850:	90 10 00 18 	mov  %i0, %o0                                  
 2002854:	94 10 20 00 	clr  %o2                                       
 2002858:	92 10 00 08 	mov  %o0, %o1                                  
 200285c:	96 07 bf ec 	add  %fp, -20, %o3                             
 2002860:	98 10 20 01 	mov  1, %o4                                    
 2002864:	40 00 01 25 	call  2002cf8 <rtems_filesystem_evaluate_path> 
 2002868:	90 10 00 18 	mov  %i0, %o0                                  
      name, strlen( name ), 0x00, &loc, true );                       
  the_jnode = loc.node_access;                                        
                                                                      
  node_type = (*loc.ops->node_type_h)( &loc );                        
 200286c:	c2 07 bf f8 	ld  [ %fp + -8 ], %g1                          
  IMFS_jnode_t                      *the_jnode;                       
  rtems_filesystem_location_info_t   loc;                             
  int                                result;                          
  rtems_filesystem_node_types_t      node_type;                       
                                                                      
  result = rtems_filesystem_evaluate_path(                            
 2002870:	b8 10 00 08 	mov  %o0, %i4                                  
      name, strlen( name ), 0x00, &loc, true );                       
  the_jnode = loc.node_access;                                        
                                                                      
  node_type = (*loc.ops->node_type_h)( &loc );                        
 2002874:	c2 00 60 10 	ld  [ %g1 + 0x10 ], %g1                        
  int                                result;                          
  rtems_filesystem_node_types_t      node_type;                       
                                                                      
  result = rtems_filesystem_evaluate_path(                            
      name, strlen( name ), 0x00, &loc, true );                       
  the_jnode = loc.node_access;                                        
 2002878:	fa 07 bf ec 	ld  [ %fp + -20 ], %i5                         
                                                                      
  node_type = (*loc.ops->node_type_h)( &loc );                        
 200287c:	9f c0 40 00 	call  %g1                                      
 2002880:	90 07 bf ec 	add  %fp, -20, %o0                             
                                                                      
  if ( (result != 0) || node_type != RTEMS_FILESYSTEM_DEVICE ) {      
 2002884:	80 a2 20 02 	cmp  %o0, 2                                    
 2002888:	12 80 00 05 	bne  200289c <rtems_io_lookup_name+0x54>       
 200288c:	90 07 bf ec 	add  %fp, -20, %o0                             
 2002890:	80 a7 20 00 	cmp  %i4, 0                                    
 2002894:	22 80 00 06 	be,a   20028ac <rtems_io_lookup_name+0x64>     <== ALWAYS TAKEN
 2002898:	f0 26 40 00 	st  %i0, [ %i1 ]                               
    rtems_filesystem_freenode( &loc );                                
 200289c:	40 00 01 47 	call  2002db8 <rtems_filesystem_freenode>      
 20028a0:	b0 10 20 0d 	mov  0xd, %i0                                  
    return RTEMS_UNSATISFIED;                                         
 20028a4:	81 c7 e0 08 	ret                                            
 20028a8:	81 e8 00 00 	restore                                        
  }                                                                   
                                                                      
  device_info->device_name        = (char *) name;                    
  device_info->device_name_length = strlen( name );                   
 20028ac:	40 00 32 aa 	call  200f354 <strlen>                         
 20028b0:	90 10 00 18 	mov  %i0, %o0                                  
 20028b4:	d0 26 60 04 	st  %o0, [ %i1 + 4 ]                           
  device_info->major              = the_jnode->info.device.major;     
 20028b8:	c2 07 60 50 	ld  [ %i5 + 0x50 ], %g1                        
  device_info->minor              = the_jnode->info.device.minor;     
                                                                      
  rtems_filesystem_freenode( &loc );                                  
 20028bc:	90 07 bf ec 	add  %fp, -20, %o0                             
    return RTEMS_UNSATISFIED;                                         
  }                                                                   
                                                                      
  device_info->device_name        = (char *) name;                    
  device_info->device_name_length = strlen( name );                   
  device_info->major              = the_jnode->info.device.major;     
 20028c0:	c2 26 60 08 	st  %g1, [ %i1 + 8 ]                           
  device_info->minor              = the_jnode->info.device.minor;     
 20028c4:	c2 07 60 54 	ld  [ %i5 + 0x54 ], %g1                        
                                                                      
  rtems_filesystem_freenode( &loc );                                  
                                                                      
  return RTEMS_SUCCESSFUL;                                            
 20028c8:	b0 10 20 00 	clr  %i0                                       
  device_info->device_name        = (char *) name;                    
  device_info->device_name_length = strlen( name );                   
  device_info->major              = the_jnode->info.device.major;     
  device_info->minor              = the_jnode->info.device.minor;     
                                                                      
  rtems_filesystem_freenode( &loc );                                  
 20028cc:	40 00 01 3b 	call  2002db8 <rtems_filesystem_freenode>      
 20028d0:	c2 26 60 0c 	st  %g1, [ %i1 + 0xc ]                         
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
 20028d4:	81 c7 e0 08 	ret                                            
 20028d8:	81 e8 00 00 	restore                                        
                                                                      

0200902c <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) {
 200902c:	9d e3 bf a0 	save  %sp, -96, %sp                            
  uint32_t             i;                                             
  uint32_t             api_index;                                     
  Thread_Control      *the_thread;                                    
  Objects_Information *information;                                   
                                                                      
  if ( !routine )                                                     
 2009030:	80 a6 20 00 	cmp  %i0, 0                                    
 2009034:	02 80 00 1e 	be  20090ac <rtems_iterate_over_all_threads+0x80><== NEVER TAKEN
 2009038:	ba 10 20 01 	mov  1, %i5                                    
    return;                                                           
                                                                      
  for ( api_index = 1 ; api_index <= OBJECTS_APIS_LAST ; api_index++ ) {
    #if !defined(RTEMS_POSIX_API) || defined(RTEMS_DEBUG)             
      if ( !_Objects_Information_table[ api_index ] )                 
 200903c:	35 00 80 77 	sethi  %hi(0x201dc00), %i2                     
#endif                                                                
                                                                      
#include <rtems/system.h>                                             
#include <rtems/score/thread.h>                                       
                                                                      
void rtems_iterate_over_all_threads(rtems_per_thread_routine routine) 
 2009040:	83 2f 60 02 	sll  %i5, 2, %g1                               
  if ( !routine )                                                     
    return;                                                           
                                                                      
  for ( api_index = 1 ; api_index <= OBJECTS_APIS_LAST ; api_index++ ) {
    #if !defined(RTEMS_POSIX_API) || defined(RTEMS_DEBUG)             
      if ( !_Objects_Information_table[ api_index ] )                 
 2009044:	84 16 a3 b8 	or  %i2, 0x3b8, %g2                            
 2009048:	c2 00 80 01 	ld  [ %g2 + %g1 ], %g1                         
 200904c:	80 a0 60 00 	cmp  %g1, 0                                    
 2009050:	22 80 00 14 	be,a   20090a0 <rtems_iterate_over_all_threads+0x74>
 2009054:	ba 07 60 01 	inc  %i5                                       
        continue;                                                     
    #endif                                                            
                                                                      
    information = _Objects_Information_table[ api_index ][ 1 ];       
 2009058:	f6 00 60 04 	ld  [ %g1 + 4 ], %i3                           
    if ( !information )                                               
 200905c:	80 a6 e0 00 	cmp  %i3, 0                                    
 2009060:	12 80 00 0b 	bne  200908c <rtems_iterate_over_all_threads+0x60>
 2009064:	b8 10 20 01 	mov  1, %i4                                    
  Objects_Information *information;                                   
                                                                      
  if ( !routine )                                                     
    return;                                                           
                                                                      
  for ( api_index = 1 ; api_index <= OBJECTS_APIS_LAST ; api_index++ ) {
 2009068:	10 80 00 0e 	b  20090a0 <rtems_iterate_over_all_threads+0x74>
 200906c:	ba 07 60 01 	inc  %i5                                       
    information = _Objects_Information_table[ api_index ][ 1 ];       
    if ( !information )                                               
      continue;                                                       
                                                                      
    for ( i=1 ; i <= information->maximum ; i++ ) {                   
      the_thread = (Thread_Control *)information->local_table[ i ];   
 2009070:	83 2f 20 02 	sll  %i4, 2, %g1                               
 2009074:	d0 00 80 01 	ld  [ %g2 + %g1 ], %o0                         
                                                                      
      if ( !the_thread )                                              
 2009078:	80 a2 20 00 	cmp  %o0, 0                                    
 200907c:	02 80 00 04 	be  200908c <rtems_iterate_over_all_threads+0x60>
 2009080:	b8 07 20 01 	inc  %i4                                       
	continue;                                                            
                                                                      
      (*routine)(the_thread);                                         
 2009084:	9f c6 00 00 	call  %i0                                      
 2009088:	01 00 00 00 	nop                                            
                                                                      
    information = _Objects_Information_table[ api_index ][ 1 ];       
    if ( !information )                                               
      continue;                                                       
                                                                      
    for ( i=1 ; i <= information->maximum ; i++ ) {                   
 200908c:	c2 16 e0 10 	lduh  [ %i3 + 0x10 ], %g1                      
 2009090:	80 a7 00 01 	cmp  %i4, %g1                                  
 2009094:	28 bf ff f7 	bleu,a   2009070 <rtems_iterate_over_all_threads+0x44>
 2009098:	c4 06 e0 1c 	ld  [ %i3 + 0x1c ], %g2                        
  Objects_Information *information;                                   
                                                                      
  if ( !routine )                                                     
    return;                                                           
                                                                      
  for ( api_index = 1 ; api_index <= OBJECTS_APIS_LAST ; api_index++ ) {
 200909c:	ba 07 60 01 	inc  %i5                                       
 20090a0:	80 a7 60 04 	cmp  %i5, 4                                    
 20090a4:	12 bf ff e8 	bne  2009044 <rtems_iterate_over_all_threads+0x18>
 20090a8:	83 2f 60 02 	sll  %i5, 2, %g1                               
 20090ac:	81 c7 e0 08 	ret                                            
 20090b0:	81 e8 00 00 	restore                                        
                                                                      

0200b43c <rtems_libio_free>: */ void rtems_libio_free( rtems_libio_t *iop ) {
 200b43c:	9d e3 bf a0 	save  %sp, -96, %sp                            
  rtems_libio_lock();                                                 
 200b440:	7f ff ff ac 	call  200b2f0 <rtems_libio_lock>               
 200b444:	01 00 00 00 	nop                                            
                                                                      
    if (iop->sem)                                                     
 200b448:	d0 06 20 30 	ld  [ %i0 + 0x30 ], %o0                        
 200b44c:	80 a2 20 00 	cmp  %o0, 0                                    
 200b450:	22 80 00 05 	be,a   200b464 <rtems_libio_free+0x28>         <== NEVER TAKEN
 200b454:	c2 06 20 18 	ld  [ %i0 + 0x18 ], %g1                        <== NOT EXECUTED
      rtems_semaphore_delete(iop->sem);                               
 200b458:	7f ff eb e3 	call  20063e4 <rtems_semaphore_delete>         
 200b45c:	01 00 00 00 	nop                                            
                                                                      
    iop->flags &= ~LIBIO_FLAGS_OPEN;                                  
 200b460:	c2 06 20 18 	ld  [ %i0 + 0x18 ], %g1                        
 200b464:	82 08 7e ff 	and  %g1, -257, %g1                            
 200b468:	c2 26 20 18 	st  %g1, [ %i0 + 0x18 ]                        
    iop->data1 = rtems_libio_iop_freelist;                            
 200b46c:	03 00 80 6c 	sethi  %hi(0x201b000), %g1                     
 200b470:	c4 00 63 5c 	ld  [ %g1 + 0x35c ], %g2	! 201b35c <rtems_libio_iop_freelist>
    rtems_libio_iop_freelist = iop;                                   
 200b474:	f0 20 63 5c 	st  %i0, [ %g1 + 0x35c ]                       
                                                                      
    if (iop->sem)                                                     
      rtems_semaphore_delete(iop->sem);                               
                                                                      
    iop->flags &= ~LIBIO_FLAGS_OPEN;                                  
    iop->data1 = rtems_libio_iop_freelist;                            
 200b478:	c4 26 20 38 	st  %g2, [ %i0 + 0x38 ]                        
    rtems_libio_iop_freelist = iop;                                   
                                                                      
  rtems_libio_unlock();                                               
 200b47c:	7f ff ff a4 	call  200b30c <rtems_libio_unlock>             
 200b480:	81 e8 00 00 	restore                                        
                                                                      

02002f00 <rtems_libio_init>: * * Called by BSP startup code to initialize the libio subsystem. */ void rtems_libio_init( void ) {
 2002f00:	9d e3 bf a0 	save  %sp, -96, %sp                            
    rtems_status_code rc;                                             
    uint32_t i;                                                       
    rtems_libio_t *iop;                                               
                                                                      
    if (rtems_libio_number_iops > 0)                                  
 2002f04:	03 00 80 6a 	sethi  %hi(0x201a800), %g1                     
 2002f08:	fa 00 61 58 	ld  [ %g1 + 0x158 ], %i5	! 201a958 <rtems_libio_number_iops>
 2002f0c:	80 a7 60 00 	cmp  %i5, 0                                    
 2002f10:	02 80 00 19 	be  2002f74 <rtems_libio_init+0x74>            <== NEVER TAKEN
 2002f14:	11 13 10 92 	sethi  %hi(0x4c424800), %o0                    
    {                                                                 
        rtems_libio_iops = (rtems_libio_t *) calloc(rtems_libio_number_iops,
 2002f18:	90 10 00 1d 	mov  %i5, %o0                                  
 2002f1c:	7f ff fe ad 	call  20029d0 <calloc>                         
 2002f20:	92 10 20 40 	mov  0x40, %o1                                 
 2002f24:	03 00 80 6c 	sethi  %hi(0x201b000), %g1                     
                                                    sizeof(rtems_libio_t));
        if (rtems_libio_iops == NULL)                                 
 2002f28:	80 a2 20 00 	cmp  %o0, 0                                    
 2002f2c:	12 80 00 04 	bne  2002f3c <rtems_libio_init+0x3c>           
 2002f30:	d0 20 63 58 	st  %o0, [ %g1 + 0x358 ]                       
            rtems_fatal_error_occurred(RTEMS_NO_MEMORY);              
 2002f34:	10 80 00 1a 	b  2002f9c <rtems_libio_init+0x9c>             
 2002f38:	90 10 20 1a 	mov  0x1a, %o0                                 
                                                                      
        iop = rtems_libio_iop_freelist = rtems_libio_iops;            
 2002f3c:	03 00 80 6c 	sethi  %hi(0x201b000), %g1                     
        for (i = 0 ; (i + 1) < rtems_libio_number_iops ; i++, iop++)  
 2002f40:	84 10 00 08 	mov  %o0, %g2                                  
        rtems_libio_iops = (rtems_libio_t *) calloc(rtems_libio_number_iops,
                                                    sizeof(rtems_libio_t));
        if (rtems_libio_iops == NULL)                                 
            rtems_fatal_error_occurred(RTEMS_NO_MEMORY);              
                                                                      
        iop = rtems_libio_iop_freelist = rtems_libio_iops;            
 2002f44:	d0 20 63 5c 	st  %o0, [ %g1 + 0x35c ]                       
        for (i = 0 ; (i + 1) < rtems_libio_number_iops ; i++, iop++)  
 2002f48:	10 80 00 03 	b  2002f54 <rtems_libio_init+0x54>             
 2002f4c:	82 10 20 00 	clr  %g1                                       
          iop->data1 = iop + 1;                                       
 2002f50:	c4 20 bf f8 	st  %g2, [ %g2 + -8 ]                          
                                                    sizeof(rtems_libio_t));
        if (rtems_libio_iops == NULL)                                 
            rtems_fatal_error_occurred(RTEMS_NO_MEMORY);              
                                                                      
        iop = rtems_libio_iop_freelist = rtems_libio_iops;            
        for (i = 0 ; (i + 1) < rtems_libio_number_iops ; i++, iop++)  
 2002f54:	82 00 60 01 	inc  %g1                                       
 2002f58:	80 a0 40 1d 	cmp  %g1, %i5                                  
 2002f5c:	12 bf ff fd 	bne  2002f50 <rtems_libio_init+0x50>           
 2002f60:	84 00 a0 40 	add  %g2, 0x40, %g2                            
 *  rtems_libio_init                                                  
 *                                                                    
 *  Called by BSP startup code to initialize the libio subsystem.     
 */                                                                   
                                                                      
void rtems_libio_init( void )                                         
 2002f64:	83 28 60 06 	sll  %g1, 6, %g1                               
            rtems_fatal_error_occurred(RTEMS_NO_MEMORY);              
                                                                      
        iop = rtems_libio_iop_freelist = rtems_libio_iops;            
        for (i = 0 ; (i + 1) < rtems_libio_number_iops ; i++, iop++)  
          iop->data1 = iop + 1;                                       
        iop->data1 = NULL;                                            
 2002f68:	90 02 00 01 	add  %o0, %g1, %o0                             
 2002f6c:	c0 22 3f f8 	clr  [ %o0 + -8 ]                              
  /*                                                                  
   *  Create the binary semaphore used to provide mutual exclusion    
   *  on the IOP Table.                                               
   */                                                                 
                                                                      
  rc = rtems_semaphore_create(                                        
 2002f70:	11 13 10 92 	sethi  %hi(0x4c424800), %o0                    
 2002f74:	92 10 20 01 	mov  1, %o1                                    
 2002f78:	90 12 21 4f 	or  %o0, 0x14f, %o0                            
 2002f7c:	94 10 20 54 	mov  0x54, %o2                                 
 2002f80:	96 10 20 00 	clr  %o3                                       
 2002f84:	19 00 80 6c 	sethi  %hi(0x201b000), %o4                     
 2002f88:	40 00 0c ac 	call  2006238 <rtems_semaphore_create>         
 2002f8c:	98 13 23 60 	or  %o4, 0x360, %o4	! 201b360 <rtems_libio_semaphore>
    1,                                                                
    RTEMS_BINARY_SEMAPHORE | RTEMS_INHERIT_PRIORITY | RTEMS_PRIORITY, 
    RTEMS_NO_PRIORITY,                                                
    &rtems_libio_semaphore                                            
  );                                                                  
  if ( rc != RTEMS_SUCCESSFUL )                                       
 2002f90:	80 a2 20 00 	cmp  %o0, 0                                    
 2002f94:	02 80 00 04 	be  2002fa4 <rtems_libio_init+0xa4>            <== ALWAYS TAKEN
 2002f98:	03 00 80 6a 	sethi  %hi(0x201a800), %g1                     
    rtems_fatal_error_occurred( rc );                                 
 2002f9c:	40 00 0f 03 	call  2006ba8 <rtems_fatal_error_occurred>     
 2002fa0:	01 00 00 00 	nop                                            
                                                                      
  /*                                                                  
   *  Initialize the base file system infrastructure.                 
   */                                                                 
                                                                      
  if (rtems_fs_init_helper)                                           
 2002fa4:	c2 00 61 5c 	ld  [ %g1 + 0x15c ], %g1                       
 2002fa8:	80 a0 60 00 	cmp  %g1, 0                                    
 2002fac:	02 80 00 04 	be  2002fbc <rtems_libio_init+0xbc>            <== NEVER TAKEN
 2002fb0:	01 00 00 00 	nop                                            
     (* rtems_fs_init_helper)();                                      
 2002fb4:	9f c0 40 00 	call  %g1                                      
 2002fb8:	01 00 00 00 	nop                                            
 2002fbc:	81 c7 e0 08 	ret                                            
 2002fc0:	81 e8 00 00 	restore                                        
                                                                      

020062ac <rtems_libio_set_private_env>: } } rtems_status_code rtems_libio_set_private_env(void) {
 20062ac:	9d e3 bf 78 	save  %sp, -136, %sp                           
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
  rtems_id task_id = rtems_task_self();                               
 20062b0:	40 00 0c b2 	call  2009578 <rtems_task_self>                
 20062b4:	39 00 80 7d 	sethi  %hi(0x201f400), %i4                     
 20062b8:	ba 10 00 08 	mov  %o0, %i5                                  
  rtems_filesystem_location_info_t root_loc;                          
  rtems_filesystem_location_info_t current_loc;                       
  rtems_user_env_t *new_env = NULL;                                   
  int rv = 0;                                                         
                                                                      
  rv = rtems_filesystem_evaluate_path("/", 1, 0, &root_loc, 0);       
 20062bc:	92 10 20 01 	mov  1, %o1                                    
 20062c0:	90 17 20 58 	or  %i4, 0x58, %o0                             
 20062c4:	94 10 20 00 	clr  %o2                                       
 20062c8:	96 07 bf d8 	add  %fp, -40, %o3                             
 20062cc:	98 10 20 00 	clr  %o4                                       
 20062d0:	7f ff fb 0a 	call  2004ef8 <rtems_filesystem_evaluate_path> 
 20062d4:	b0 10 20 1a 	mov  0x1a, %i0                                 
  if (rv != 0)                                                        
 20062d8:	80 a2 20 00 	cmp  %o0, 0                                    
 20062dc:	12 80 00 32 	bne  20063a4 <rtems_libio_set_private_env+0xf8><== NEVER TAKEN
 20062e0:	90 17 20 58 	or  %i4, 0x58, %o0                             
    goto error_0;                                                     
                                                                      
  rv = rtems_filesystem_evaluate_path("/", 1, 0, ¤t_loc, 0);    
 20062e4:	92 10 20 01 	mov  1, %o1                                    
 20062e8:	94 10 20 00 	clr  %o2                                       
 20062ec:	96 07 bf ec 	add  %fp, -20, %o3                             
 20062f0:	7f ff fb 02 	call  2004ef8 <rtems_filesystem_evaluate_path> 
 20062f4:	98 10 20 00 	clr  %o4                                       
  if (rv != 0)                                                        
 20062f8:	80 a2 20 00 	cmp  %o0, 0                                    
 20062fc:	12 80 00 30 	bne  20063bc <rtems_libio_set_private_env+0x110><== NEVER TAKEN
 2006300:	03 00 80 83 	sethi  %hi(0x2020c00), %g1                     
   * Bharath: I'm not sure if the check can be reduced to             
   * if( rtems_current_user_env->task_id != task_id ) {               
   */                                                                 
                                                                      
  if (                                                                
    rtems_current_user_env == &rtems_global_user_env                  
 2006304:	c2 00 63 dc 	ld  [ %g1 + 0x3dc ], %g1	! 2020fdc <rtems_current_user_env>
  /*                                                                  
   * Bharath: I'm not sure if the check can be reduced to             
   * if( rtems_current_user_env->task_id != task_id ) {               
   */                                                                 
                                                                      
  if (                                                                
 2006308:	05 00 80 86 	sethi  %hi(0x2021800), %g2                     
 200630c:	84 10 a1 1c 	or  %g2, 0x11c, %g2	! 202191c <rtems_global_user_env>
 2006310:	80 a0 40 02 	cmp  %g1, %g2                                  
 2006314:	02 80 00 06 	be  200632c <rtems_libio_set_private_env+0x80> 
 2006318:	01 00 00 00 	nop                                            
    rtems_current_user_env == &rtems_global_user_env                  
      || rtems_current_user_env->task_id != task_id                   
 200631c:	c2 00 40 00 	ld  [ %g1 ], %g1                               
 2006320:	80 a0 40 1d 	cmp  %g1, %i5                                  
 2006324:	02 80 00 10 	be  2006364 <rtems_libio_set_private_env+0xb8> 
 2006328:	03 00 80 83 	sethi  %hi(0x2020c00), %g1                     
  ) {                                                                 
    new_env = malloc(sizeof(rtems_user_env_t));                       
 200632c:	7f ff fd 27 	call  20057c8 <malloc>                         
 2006330:	90 10 20 48 	mov  0x48, %o0                                 
    if (new_env == NULL)                                              
 2006334:	b8 92 20 00 	orcc  %o0, 0, %i4                              
 2006338:	02 80 00 1f 	be  20063b4 <rtems_libio_set_private_env+0x108>
 200633c:	90 10 20 00 	clr  %o0                                       
                                                                      
    #ifdef HAVE_USERENV_REFCNT                                        
      new_env->refcnt = 1;                                            
    #endif                                                            
                                                                      
    sc = rtems_task_variable_add(                                     
 2006340:	37 00 80 83 	sethi  %hi(0x2020c00), %i3                     
 2006344:	15 00 80 18 	sethi  %hi(0x2006000), %o2                     
 2006348:	92 16 e3 dc 	or  %i3, 0x3dc, %o1                            
 200634c:	40 00 0c aa 	call  20095f4 <rtems_task_variable_add>        
 2006350:	94 12 a2 74 	or  %o2, 0x274, %o2                            
      RTEMS_SELF,                                                     
      (void*)&rtems_current_user_env,                                 
      (void(*)(void *))free_user_env                                  
    );                                                                
    if (sc != RTEMS_SUCCESSFUL)                                       
 2006354:	80 a2 20 00 	cmp  %o0, 0                                    
 2006358:	12 80 00 15 	bne  20063ac <rtems_libio_set_private_env+0x100>
 200635c:	03 00 80 83 	sethi  %hi(0x2020c00), %g1                     
      goto error_3;                                                   
                                                                      
    rtems_current_user_env = new_env;                                 
 2006360:	f8 26 e3 dc 	st  %i4, [ %i3 + 0x3dc ]                       
  }                                                                   
                                                                      
  /* Inherit the global values */                                     
  *rtems_current_user_env = rtems_global_user_env;                    
 2006364:	f8 00 63 dc 	ld  [ %g1 + 0x3dc ], %i4                       
 2006368:	94 10 20 48 	mov  0x48, %o2                                 
 200636c:	90 10 00 1c 	mov  %i4, %o0                                  
 2006370:	13 00 80 86 	sethi  %hi(0x2021800), %o1                     
 2006374:	40 00 2b 1b 	call  2010fe0 <memcpy>                         
 2006378:	92 12 61 1c 	or  %o1, 0x11c, %o1	! 202191c <rtems_global_user_env>
   * Clone the pathlocs. In contrast to most other code we must _not_ free the
   * original locs because what we are trying to do here is forking off clones.
   * The reason is a pathloc can be allocated by the file system and needs to
   * be freed when deleting the environment.                          
   */                                                                 
  rtems_filesystem_root = root_loc;                                   
 200637c:	92 07 bf d8 	add  %fp, -40, %o1                             
 2006380:	94 10 20 14 	mov  0x14, %o2                                 
  }                                                                   
                                                                      
  /* Inherit the global values */                                     
  *rtems_current_user_env = rtems_global_user_env;                    
                                                                      
  rtems_current_user_env->task_id = task_id;                          
 2006384:	fa 27 00 00 	st  %i5, [ %i4 ]                               
   * Clone the pathlocs. In contrast to most other code we must _not_ free the
   * original locs because what we are trying to do here is forking off clones.
   * The reason is a pathloc can be allocated by the file system and needs to
   * be freed when deleting the environment.                          
   */                                                                 
  rtems_filesystem_root = root_loc;                                   
 2006388:	40 00 2b 16 	call  2010fe0 <memcpy>                         
 200638c:	90 07 20 18 	add  %i4, 0x18, %o0                            
  rtems_filesystem_current = current_loc;                             
 2006390:	90 07 20 04 	add  %i4, 4, %o0                               
 2006394:	92 07 bf ec 	add  %fp, -20, %o1                             
 2006398:	94 10 20 14 	mov  0x14, %o2                                 
 200639c:	40 00 2b 11 	call  2010fe0 <memcpy>                         
 20063a0:	b0 10 20 00 	clr  %i0                                       
                                                                      
  return RTEMS_SUCCESSFUL;                                            
 20063a4:	81 c7 e0 08 	ret                                            
 20063a8:	81 e8 00 00 	restore                                        
                                                                      
error_3:                                                              
  free(new_env);                                                      
 20063ac:	7f ff fb 4c 	call  20050dc <free>                           
 20063b0:	90 10 00 1c 	mov  %i4, %o0                                  
                                                                      
error_2:                                                              
  rtems_filesystem_freenode(¤t_loc);                            
 20063b4:	7f ff fb 43 	call  20050c0 <rtems_filesystem_freenode>      
 20063b8:	90 07 bf ec 	add  %fp, -20, %o0                             
                                                                      
error_1:                                                              
  rtems_filesystem_freenode(&root_loc);                               
 20063bc:	90 07 bf d8 	add  %fp, -40, %o0                             
 20063c0:	7f ff fb 40 	call  20050c0 <rtems_filesystem_freenode>      
 20063c4:	b0 10 20 1a 	mov  0x1a, %i0                                 
                                                                      
error_0:                                                              
  return RTEMS_NO_MEMORY;                                             
}                                                                     
 20063c8:	81 c7 e0 08 	ret                                            
 20063cc:	81 e8 00 00 	restore                                        
                                                                      

020063d0 <rtems_libio_share_private_env>: * b) mutex access to rtems_filesystem_current, rtems_filesytem_root * while changing any of those (chdir(), chroot()). */ rtems_status_code rtems_libio_share_private_env(rtems_id task_id) {
 20063d0:	9d e3 bf 98 	save  %sp, -104, %sp                           
  rtems_id           current_task_id;                                 
                                                                      
  /*                                                                  
   * get current task id                                              
   */                                                                 
  current_task_id = rtems_task_self();                                
 20063d4:	40 00 0c 69 	call  2009578 <rtems_task_self>                
 20063d8:	b6 10 20 00 	clr  %i3                                       
  /*                                                                  
   * If this was an attempt to share the task with self,              
   * if somebody wanted to do it... Lets tell them, its shared        
   */                                                                 
                                                                      
  if( task_id == current_task_id )                                    
 20063dc:	80 a6 00 08 	cmp  %i0, %o0                                  
 20063e0:	02 80 00 13 	be  200642c <rtems_libio_share_private_env+0x5c><== NEVER TAKEN
 20063e4:	ba 10 00 08 	mov  %o0, %i5                                  
    return RTEMS_SUCCESSFUL;                                          
  /*                                                                  
   * Try to get the requested user environment                        
   */                                                                 
  sc = rtems_task_variable_get(                                       
 20063e8:	90 10 00 18 	mov  %i0, %o0                                  
 20063ec:	39 00 80 83 	sethi  %hi(0x2020c00), %i4                     
 20063f0:	94 07 bf fc 	add  %fp, -4, %o2                              
 20063f4:	40 00 0c a9 	call  2009698 <rtems_task_variable_get>        
 20063f8:	92 17 23 dc 	or  %i4, 0x3dc, %o1                            
	 (void*)&shared_user_env );                                          
                                                                      
  /*                                                                  
   * If it was not successful, return the error code                  
   */                                                                 
    if (sc != RTEMS_SUCCESSFUL)                                       
 20063fc:	b6 92 20 00 	orcc  %o0, 0, %i3                              
 2006400:	12 80 00 0b 	bne  200642c <rtems_libio_share_private_env+0x5c>
 2006404:	d0 07 23 dc 	ld  [ %i4 + 0x3dc ], %o0                       
     * If we have a current environment in place, we need to          
     * free it, since we will be sharing the variable with the        
     * shared_user_env                                                
     */                                                               
                                                                      
  if (rtems_current_user_env->task_id==current_task_id) {             
 2006408:	c2 02 00 00 	ld  [ %o0 ], %g1                               
 200640c:	80 a0 40 1d 	cmp  %g1, %i5                                  
 2006410:	12 80 00 05 	bne  2006424 <rtems_libio_share_private_env+0x54>
 2006414:	c4 07 bf fc 	ld  [ %fp + -4 ], %g2                          
    rtems_user_env_t  *tmp = rtems_current_user_env;                  
    free_user_env( tmp );                                             
 2006418:	7f ff ff 97 	call  2006274 <free_user_env>                  
 200641c:	01 00 00 00 	nop                                            
  }                                                                   
                                                                      
  /* the current_user_env is the same pointer that remote env */      
  rtems_current_user_env = shared_user_env;                           
 2006420:	c4 07 bf fc 	ld  [ %fp + -4 ], %g2                          
 2006424:	03 00 80 83 	sethi  %hi(0x2020c00), %g1                     
 2006428:	c4 20 63 dc 	st  %g2, [ %g1 + 0x3dc ]	! 2020fdc <rtems_current_user_env>
#ifdef HAVE_USERENV_REFCNT                                            
  rtems_current_user_env->refcnt++;                                   
#endif                                                                
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
 200642c:	81 c7 e0 08 	ret                                            
 2006430:	91 e8 00 1b 	restore  %g0, %i3, %o0                         
                                                                      

0200b354 <rtems_libio_to_fcntl_flags>: uint32_t flags ) { uint32_t fcntl_flags = 0; if ( (flags & LIBIO_FLAGS_READ_WRITE) == LIBIO_FLAGS_READ_WRITE ) {
 200b354:	84 0a 20 06 	and  %o0, 6, %g2                               
 200b358:	80 a0 a0 06 	cmp  %g2, 6                                    
 200b35c:	02 80 00 08 	be  200b37c <rtems_libio_to_fcntl_flags+0x28>  <== NEVER TAKEN
 200b360:	82 10 20 02 	mov  2, %g1                                    
    fcntl_flags |= O_RDWR;                                            
  } else if ( (flags & LIBIO_FLAGS_READ) == LIBIO_FLAGS_READ) {       
 200b364:	80 8a 20 02 	btst  2, %o0                                   
 200b368:	12 80 00 05 	bne  200b37c <rtems_libio_to_fcntl_flags+0x28> <== ALWAYS TAKEN
 200b36c:	82 10 20 00 	clr  %g1                                       
    fcntl_flags |= O_RDONLY;                                          
  } else if ( (flags & LIBIO_FLAGS_WRITE) == LIBIO_FLAGS_WRITE) {     
 200b370:	82 0a 20 04 	and  %o0, 4, %g1                               <== NOT EXECUTED
)                                                                     
{                                                                     
  uint32_t   fcntl_flags = 0;                                         
                                                                      
  if ( (flags & LIBIO_FLAGS_READ_WRITE) == LIBIO_FLAGS_READ_WRITE ) { 
    fcntl_flags |= O_RDWR;                                            
 200b374:	80 a0 00 01 	cmp  %g0, %g1                                  <== NOT EXECUTED
 200b378:	82 40 20 00 	addx  %g0, 0, %g1                              <== NOT EXECUTED
    fcntl_flags |= O_RDONLY;                                          
  } else if ( (flags & LIBIO_FLAGS_WRITE) == LIBIO_FLAGS_WRITE) {     
    fcntl_flags |= O_WRONLY;                                          
  }                                                                   
                                                                      
  if ( (flags & LIBIO_FLAGS_NO_DELAY) == LIBIO_FLAGS_NO_DELAY ) {     
 200b37c:	80 8a 20 01 	btst  1, %o0                                   
 200b380:	02 80 00 04 	be  200b390 <rtems_libio_to_fcntl_flags+0x3c>  
 200b384:	80 8a 22 00 	btst  0x200, %o0                               
    fcntl_flags |= O_NONBLOCK;                                        
 200b388:	05 00 00 10 	sethi  %hi(0x4000), %g2                        
 200b38c:	82 10 40 02 	or  %g1, %g2, %g1                              
  }                                                                   
                                                                      
  if ( (flags & LIBIO_FLAGS_APPEND) == LIBIO_FLAGS_APPEND ) {         
 200b390:	32 80 00 02 	bne,a   200b398 <rtems_libio_to_fcntl_flags+0x44>
 200b394:	82 10 60 08 	or  %g1, 8, %g1                                
    fcntl_flags |= O_APPEND;                                          
  }                                                                   
                                                                      
  if ( (flags & LIBIO_FLAGS_CREATE) == LIBIO_FLAGS_CREATE ) {         
 200b398:	80 8a 24 00 	btst  0x400, %o0                               
 200b39c:	32 80 00 02 	bne,a   200b3a4 <rtems_libio_to_fcntl_flags+0x50>
 200b3a0:	82 10 62 00 	or  %g1, 0x200, %g1                            
    fcntl_flags |= O_CREAT;                                           
  }                                                                   
                                                                      
  return fcntl_flags;                                                 
}                                                                     
 200b3a4:	81 c3 e0 08 	retl                                           
 200b3a8:	90 10 00 01 	mov  %g1, %o0                                  
                                                                      

020066d8 <rtems_malloc_statistics_at_free>: * size and thus we skip updating the statistics. */ static void rtems_malloc_statistics_at_free( void *pointer ) {
 20066d8:	9d e3 bf 98 	save  %sp, -104, %sp                           
  uintptr_t size;                                                     
                                                                      
  if (_Protected_heap_Get_block_size(RTEMS_Malloc_Heap, pointer, &size) ) {
 20066dc:	03 00 80 82 	sethi  %hi(0x2020800), %g1                     
 20066e0:	d0 00 61 74 	ld  [ %g1 + 0x174 ], %o0	! 2020974 <RTEMS_Malloc_Heap>
 20066e4:	92 10 00 18 	mov  %i0, %o1                                  
 20066e8:	40 00 17 f8 	call  200c6c8 <_Protected_heap_Get_block_size> 
 20066ec:	94 07 bf fc 	add  %fp, -4, %o2                              
 20066f0:	80 8a 20 ff 	btst  0xff, %o0                                
 20066f4:	02 80 00 08 	be  2006714 <rtems_malloc_statistics_at_free+0x3c><== NEVER TAKEN
 20066f8:	c4 07 bf fc 	ld  [ %fp + -4 ], %g2                          
    MSBUMP(lifetime_freed, size);                                     
 20066fc:	03 00 80 87 	sethi  %hi(0x2021c00), %g1                     
 2006700:	82 10 60 b0 	or  %g1, 0xb0, %g1	! 2021cb0 <rtems_malloc_statistics>
 2006704:	d8 18 60 28 	ldd  [ %g1 + 0x28 ], %o4                       
 2006708:	86 83 40 02 	addcc  %o5, %g2, %g3                           
 200670c:	84 43 20 00 	addx  %o4, 0, %g2                              
 2006710:	c4 38 60 28 	std  %g2, [ %g1 + 0x28 ]                       
 2006714:	81 c7 e0 08 	ret                                            
 2006718:	81 e8 00 00 	restore                                        
                                                                      

0200671c <rtems_malloc_statistics_at_malloc>: } static void rtems_malloc_statistics_at_malloc( void *pointer ) {
 200671c:	9d e3 bf 98 	save  %sp, -104, %sp                           
  uintptr_t actual_size = 0;                                          
 2006720:	c0 27 bf fc 	clr  [ %fp + -4 ]                              
  uint32_t current_depth;                                             
  rtems_malloc_statistics_t *s = &rtems_malloc_statistics;            
                                                                      
  if ( !pointer )                                                     
 2006724:	80 a6 20 00 	cmp  %i0, 0                                    
 2006728:	02 80 00 13 	be  2006774 <rtems_malloc_statistics_at_malloc+0x58><== NEVER TAKEN
 200672c:	92 10 00 18 	mov  %i0, %o1                                  
    return;                                                           
                                                                      
  _Protected_heap_Get_block_size(RTEMS_Malloc_Heap, pointer, &actual_size);
 2006730:	03 00 80 82 	sethi  %hi(0x2020800), %g1                     
 2006734:	d0 00 61 74 	ld  [ %g1 + 0x174 ], %o0	! 2020974 <RTEMS_Malloc_Heap>
 2006738:	40 00 17 e4 	call  200c6c8 <_Protected_heap_Get_block_size> 
 200673c:	94 07 bf fc 	add  %fp, -4, %o2                              
                                                                      
  MSBUMP(lifetime_allocated, actual_size);                            
 2006740:	c4 07 bf fc 	ld  [ %fp + -4 ], %g2                          
 2006744:	03 00 80 87 	sethi  %hi(0x2021c00), %g1                     
 2006748:	82 10 60 b0 	or  %g1, 0xb0, %g1	! 2021cb0 <rtems_malloc_statistics>
 200674c:	d8 18 60 20 	ldd  [ %g1 + 0x20 ], %o4                       
 2006750:	86 83 40 02 	addcc  %o5, %g2, %g3                           
 2006754:	84 43 20 00 	addx  %o4, 0, %g2                              
 2006758:	c4 38 60 20 	std  %g2, [ %g1 + 0x20 ]                       
                                                                      
  current_depth = (uint32_t) (s->lifetime_allocated - s->lifetime_freed);
 200675c:	c4 00 60 2c 	ld  [ %g1 + 0x2c ], %g2                        
 2006760:	84 20 c0 02 	sub  %g3, %g2, %g2                             
  if (current_depth > s->max_depth)                                   
 2006764:	c6 00 60 18 	ld  [ %g1 + 0x18 ], %g3                        
 2006768:	80 a0 80 03 	cmp  %g2, %g3                                  
 200676c:	38 80 00 02 	bgu,a   2006774 <rtems_malloc_statistics_at_malloc+0x58>
 2006770:	c4 20 60 18 	st  %g2, [ %g1 + 0x18 ]                        
 2006774:	81 c7 e0 08 	ret                                            
 2006778:	81 e8 00 00 	restore                                        
                                                                      

0200ee98 <rtems_memalign>: int rtems_memalign( void **pointer, size_t alignment, size_t size ) {
 200ee98:	9d e3 bf a0 	save  %sp, -96, %sp                            
 200ee9c:	ba 10 00 18 	mov  %i0, %i5                                  
  void *return_this;                                                  
                                                                      
  /*                                                                  
   *  Parameter error checks                                          
   */                                                                 
  if ( !pointer )                                                     
 200eea0:	80 a7 60 00 	cmp  %i5, 0                                    
 200eea4:	02 80 00 21 	be  200ef28 <rtems_memalign+0x90>              
 200eea8:	b0 10 20 16 	mov  0x16, %i0                                 
  *pointer = NULL;                                                    
                                                                      
  /*                                                                  
   *  Do not attempt to allocate memory if not in correct system state.
   */                                                                 
  if ( _System_state_Is_up(_System_state_Get()) &&                    
 200eeac:	03 00 80 63 	sethi  %hi(0x2018c00), %g1                     
 200eeb0:	c2 00 60 f4 	ld  [ %g1 + 0xf4 ], %g1	! 2018cf4 <_System_state_Current>
 200eeb4:	80 a0 60 03 	cmp  %g1, 3                                    
 200eeb8:	12 80 00 07 	bne  200eed4 <rtems_memalign+0x3c>             <== NEVER TAKEN
 200eebc:	c0 27 40 00 	clr  [ %i5 ]                                   
       !malloc_is_system_state_OK() )                                 
 200eec0:	7f ff d3 1f 	call  2003b3c <malloc_is_system_state_OK>      
 200eec4:	01 00 00 00 	nop                                            
  *pointer = NULL;                                                    
                                                                      
  /*                                                                  
   *  Do not attempt to allocate memory if not in correct system state.
   */                                                                 
  if ( _System_state_Is_up(_System_state_Get()) &&                    
 200eec8:	80 8a 20 ff 	btst  0xff, %o0                                
 200eecc:	02 80 00 17 	be  200ef28 <rtems_memalign+0x90>              <== NEVER TAKEN
 200eed0:	01 00 00 00 	nop                                            
    return EINVAL;                                                    
                                                                      
  /*                                                                  
   *  If some free's have been deferred, then do them now.            
   */                                                                 
  malloc_deferred_frees_process();                                    
 200eed4:	7f ff d3 2c 	call  2003b84 <malloc_deferred_frees_process>  
 200eed8:	b0 10 20 0c 	mov  0xc, %i0	! c <PROM_START+0xc>             
  Heap_Control *heap,                                                 
  uintptr_t size,                                                     
  uintptr_t alignment                                                 
)                                                                     
{                                                                     
  return                                                              
 200eedc:	03 00 80 5f 	sethi  %hi(0x2017c00), %g1                     
 200eee0:	d0 00 62 e8 	ld  [ %g1 + 0x2e8 ], %o0	! 2017ee8 <RTEMS_Malloc_Heap>
 200eee4:	94 10 00 19 	mov  %i1, %o2                                  
 200eee8:	92 10 00 1a 	mov  %i2, %o1                                  
 200eeec:	7f ff e7 b0 	call  2008dac <_Protected_heap_Allocate_aligned_with_boundary>
 200eef0:	96 10 20 00 	clr  %o3                                       
  return_this = _Protected_heap_Allocate_aligned(                     
    RTEMS_Malloc_Heap,                                                
    size,                                                             
    alignment                                                         
  );                                                                  
  if ( !return_this )                                                 
 200eef4:	80 a2 20 00 	cmp  %o0, 0                                    
 200eef8:	02 80 00 0c 	be  200ef28 <rtems_memalign+0x90>              
 200eefc:	b2 10 00 08 	mov  %o0, %i1                                  
    return ENOMEM;                                                    
                                                                      
  /*                                                                  
   *  If configured, update the more involved statistics              
   */                                                                 
  if ( rtems_malloc_statistics_helpers )                              
 200ef00:	03 00 80 61 	sethi  %hi(0x2018400), %g1                     
 200ef04:	c2 00 62 98 	ld  [ %g1 + 0x298 ], %g1	! 2018698 <rtems_malloc_statistics_helpers>
 200ef08:	80 a0 60 00 	cmp  %g1, 0                                    
 200ef0c:	22 80 00 06 	be,a   200ef24 <rtems_memalign+0x8c>           
 200ef10:	f2 27 40 00 	st  %i1, [ %i5 ]                               
    (*rtems_malloc_statistics_helpers->at_malloc)(pointer);           
 200ef14:	c2 00 60 04 	ld  [ %g1 + 4 ], %g1                           
 200ef18:	9f c0 40 00 	call  %g1                                      
 200ef1c:	90 10 00 1d 	mov  %i5, %o0                                  
                                                                      
  *pointer = return_this;                                             
 200ef20:	f2 27 40 00 	st  %i1, [ %i5 ]                               
  return 0;                                                           
 200ef24:	b0 10 20 00 	clr  %i0                                       
}                                                                     
 200ef28:	81 c7 e0 08 	ret                                            
 200ef2c:	81 e8 00 00 	restore                                        
                                                                      

0200d40c <rtems_mkdir>: return (retval); } int rtems_mkdir(const char *path, mode_t mode) {
 200d40c:	9d e3 bf 58 	save  %sp, -168, %sp                           
  int success = 0;                                                    
  char *dup_path = strdup(path);                                      
 200d410:	90 10 00 18 	mov  %i0, %o0                                  
 200d414:	40 00 09 db 	call  200fb80 <strdup>                         
 200d418:	b0 10 3f ff 	mov  -1, %i0                                   
                                                                      
  if (dup_path != NULL) {                                             
 200d41c:	80 a2 20 00 	cmp  %o0, 0                                    
 200d420:	02 80 00 6b 	be  200d5cc <rtems_mkdir+0x1c0>                <== NEVER TAKEN
 200d424:	b6 10 00 08 	mov  %o0, %i3                                  
  char *p;                                                            
                                                                      
  p = path;                                                           
  oumask = 0;                                                         
  retval = 1;                                                         
  if (p[0] == '/')    /* Skip leading '/'. */                         
 200d428:	c2 4a 00 00 	ldsb  [ %o0 ], %g1                             
 200d42c:	b8 10 20 01 	mov  1, %i4                                    
    ++p;                                                              
 200d430:	82 18 60 2f 	xor  %g1, 0x2f, %g1                            
  char *p;                                                            
                                                                      
  p = path;                                                           
  oumask = 0;                                                         
  retval = 1;                                                         
  if (p[0] == '/')    /* Skip leading '/'. */                         
 200d434:	b0 10 20 00 	clr  %i0                                       
    ++p;                                                              
 200d438:	80 a0 00 01 	cmp  %g0, %g1                                  
        retval = 0;                                                   
        break;                                                        
      }                                                               
    }                                                                 
    if (!last)                                                        
        *p = '/';                                                     
 200d43c:	a4 10 20 2f 	mov  0x2f, %l2                                 
                                                                      
  p = path;                                                           
  oumask = 0;                                                         
  retval = 1;                                                         
  if (p[0] == '/')    /* Skip leading '/'. */                         
    ++p;                                                              
 200d440:	b4 62 3f ff 	subx  %o0, -1, %i2                             
  char *p;                                                            
                                                                      
  p = path;                                                           
  oumask = 0;                                                         
  retval = 1;                                                         
  if (p[0] == '/')    /* Skip leading '/'. */                         
 200d444:	82 10 20 01 	mov  1, %g1                                    
    if (mkdir(path, last ? omode : S_IRWXU | S_IRWXG | S_IRWXO) < 0) {
      if (errno == EEXIST || errno == EISDIR) {                       
        if (stat(path, &sb) < 0) {                                    
          retval = 0;                                                 
          break;                                                      
        } else if (!S_ISDIR(sb.st_mode)) {                            
 200d448:	23 00 00 3c 	sethi  %hi(0xf000), %l1                        
 200d44c:	21 00 00 10 	sethi  %hi(0x4000), %l0                        
  oumask = 0;                                                         
  retval = 1;                                                         
  if (p[0] == '/')    /* Skip leading '/'. */                         
    ++p;                                                              
  for (first = 1, last = 0; !last ; ++p) {                            
    if (p[0] == '\0')                                                 
 200d450:	c6 4e 80 00 	ldsb  [ %i2 ], %g3                             
 200d454:	80 a0 e0 00 	cmp  %g3, 0                                    
 200d458:	02 80 00 05 	be  200d46c <rtems_mkdir+0x60>                 
 200d45c:	84 10 20 01 	mov  1, %g2                                    
      last = 1;                                                       
    else if (p[0] != '/')                                             
 200d460:	80 a0 e0 2f 	cmp  %g3, 0x2f                                 
 200d464:	12 80 00 4a 	bne  200d58c <rtems_mkdir+0x180>               
 200d468:	84 10 20 00 	clr  %g2                                       
      continue;                                                       
    *p = '\0';                                                        
 200d46c:	c0 2e 80 00 	clrb  [ %i2 ]                                  
    if (!last && p[1] == '\0')                                        
 200d470:	80 a0 a0 00 	cmp  %g2, 0                                    
 200d474:	12 80 00 05 	bne  200d488 <rtems_mkdir+0x7c>                
 200d478:	ba 10 20 01 	mov  1, %i5                                    
 200d47c:	c4 4e a0 01 	ldsb  [ %i2 + 1 ], %g2                         
 200d480:	80 a0 00 02 	cmp  %g0, %g2                                  
 200d484:	ba 60 3f ff 	subx  %g0, -1, %i5                             
      last = 1;                                                       
    if (first) {                                                      
 200d488:	80 a0 60 00 	cmp  %g1, 0                                    
 200d48c:	02 80 00 08 	be  200d4ac <rtems_mkdir+0xa0>                 
 200d490:	80 a7 60 00 	cmp  %i5, 0                                    
       *    mkdir [-m mode] dir                                       
       *                                                              
       * We change the user's umask and then restore it,              
       * instead of doing chmod's.                                    
       */                                                             
      oumask = umask(0);                                              
 200d494:	40 00 00 84 	call  200d6a4 <umask>                          
 200d498:	90 10 20 00 	clr  %o0                                       
 200d49c:	b0 10 00 08 	mov  %o0, %i0                                  
      numask = oumask & ~(S_IWUSR | S_IXUSR);                         
      (void)umask(numask);                                            
 200d4a0:	40 00 00 81 	call  200d6a4 <umask>                          
 200d4a4:	90 0a 3f 3f 	and  %o0, -193, %o0                            
      first = 0;                                                      
    }                                                                 
    if (last)                                                         
 200d4a8:	80 a7 60 00 	cmp  %i5, 0                                    
 200d4ac:	02 80 00 05 	be  200d4c0 <rtems_mkdir+0xb4>                 
 200d4b0:	92 10 21 ff 	mov  0x1ff, %o1                                
      (void)umask(oumask);                                            
 200d4b4:	40 00 00 7c 	call  200d6a4 <umask>                          
 200d4b8:	90 10 00 18 	mov  %i0, %o0                                  
    if (mkdir(path, last ? omode : S_IRWXU | S_IRWXG | S_IRWXO) < 0) {
 200d4bc:	92 10 00 19 	mov  %i1, %o1                                  
 200d4c0:	7f ff db b6 	call  2004398 <mkdir>                          
 200d4c4:	90 10 00 1b 	mov  %i3, %o0                                  
 200d4c8:	80 a2 20 00 	cmp  %o0, 0                                    
 200d4cc:	16 80 00 28 	bge  200d56c <rtems_mkdir+0x160>               
 200d4d0:	84 10 20 01 	mov  1, %g2                                    
      if (errno == EEXIST || errno == EISDIR) {                       
 200d4d4:	40 00 06 1d 	call  200ed48 <__errno>                        
 200d4d8:	01 00 00 00 	nop                                            
 200d4dc:	c2 02 00 00 	ld  [ %o0 ], %g1                               
 200d4e0:	80 a0 60 11 	cmp  %g1, 0x11                                 
 200d4e4:	02 80 00 08 	be  200d504 <rtems_mkdir+0xf8>                 
 200d4e8:	90 10 00 1b 	mov  %i3, %o0                                  
 200d4ec:	40 00 06 17 	call  200ed48 <__errno>                        
 200d4f0:	01 00 00 00 	nop                                            
 200d4f4:	c2 02 00 00 	ld  [ %o0 ], %g1                               
 200d4f8:	80 a0 60 15 	cmp  %g1, 0x15                                 
 200d4fc:	12 80 00 29 	bne  200d5a0 <rtems_mkdir+0x194>               <== ALWAYS TAKEN
 200d500:	90 10 00 1b 	mov  %i3, %o0                                  
        if (stat(path, &sb) < 0) {                                    
 200d504:	40 00 00 34 	call  200d5d4 <stat>                           
 200d508:	92 07 bf b8 	add  %fp, -72, %o1                             
 200d50c:	80 a2 20 00 	cmp  %o0, 0                                    
 200d510:	06 80 00 24 	bl  200d5a0 <rtems_mkdir+0x194>                <== NEVER TAKEN
 200d514:	c2 07 bf c4 	ld  [ %fp + -60 ], %g1                         
          retval = 0;                                                 
          break;                                                      
        } else if (!S_ISDIR(sb.st_mode)) {                            
 200d518:	82 08 40 11 	and  %g1, %l1, %g1                             
 200d51c:	80 a0 40 10 	cmp  %g1, %l0                                  
 200d520:	02 80 00 0f 	be  200d55c <rtems_mkdir+0x150>                
 200d524:	80 a7 60 00 	cmp  %i5, 0                                    
          if (last)                                                   
 200d528:	02 80 00 08 	be  200d548 <rtems_mkdir+0x13c>                
 200d52c:	01 00 00 00 	nop                                            
            errno = EEXIST;                                           
 200d530:	40 00 06 06 	call  200ed48 <__errno>                        
 200d534:	b8 10 20 00 	clr  %i4	! 0 <PROM_START>                      
 200d538:	82 10 20 11 	mov  0x11, %g1                                 
 200d53c:	c2 22 00 00 	st  %g1, [ %o0 ]                               
 200d540:	10 80 00 19 	b  200d5a4 <rtems_mkdir+0x198>                 
 200d544:	ba 10 20 01 	mov  1, %i5                                    
          else                                                        
            errno = ENOTDIR;                                          
 200d548:	40 00 06 00 	call  200ed48 <__errno>                        
 200d54c:	b8 10 20 00 	clr  %i4                                       
 200d550:	82 10 20 14 	mov  0x14, %g1                                 
 200d554:	10 80 00 14 	b  200d5a4 <rtems_mkdir+0x198>                 
 200d558:	c2 22 00 00 	st  %g1, [ %o0 ]                               
          retval = 0;                                                 
          break;                                                      
        }                                                             
        if (last)                                                     
 200d55c:	32 80 00 0a 	bne,a   200d584 <rtems_mkdir+0x178>            
 200d560:	b8 10 20 02 	mov  2, %i4                                    
        retval = 0;                                                   
        break;                                                        
      }                                                               
    }                                                                 
    if (!last)                                                        
        *p = '/';                                                     
 200d564:	10 80 00 06 	b  200d57c <rtems_mkdir+0x170>                 
 200d568:	e4 2e 80 00 	stb  %l2, [ %i2 ]                              
      } else {                                                        
        retval = 0;                                                   
        break;                                                        
      }                                                               
    }                                                                 
    if (!last)                                                        
 200d56c:	80 a7 60 00 	cmp  %i5, 0                                    
 200d570:	12 80 00 07 	bne  200d58c <rtems_mkdir+0x180>               
 200d574:	82 10 20 00 	clr  %g1                                       
        *p = '/';                                                     
 200d578:	e4 2e 80 00 	stb  %l2, [ %i2 ]                              
 200d57c:	10 80 00 03 	b  200d588 <rtems_mkdir+0x17c>                 
 200d580:	84 10 20 00 	clr  %g2                                       
          else                                                        
            errno = ENOTDIR;                                          
          retval = 0;                                                 
          break;                                                      
        }                                                             
        if (last)                                                     
 200d584:	84 10 20 01 	mov  1, %g2                                    
 200d588:	82 10 20 00 	clr  %g1                                       
  p = path;                                                           
  oumask = 0;                                                         
  retval = 1;                                                         
  if (p[0] == '/')    /* Skip leading '/'. */                         
    ++p;                                                              
  for (first = 1, last = 0; !last ; ++p) {                            
 200d58c:	80 a0 a0 00 	cmp  %g2, 0                                    
 200d590:	02 bf ff b0 	be  200d450 <rtems_mkdir+0x44>                 
 200d594:	b4 06 a0 01 	inc  %i2                                       
 200d598:	10 80 00 04 	b  200d5a8 <rtems_mkdir+0x19c>                 
 200d59c:	ba 10 20 01 	mov  1, %i5                                    
    if (last)                                                         
      (void)umask(oumask);                                            
    if (mkdir(path, last ? omode : S_IRWXU | S_IRWXG | S_IRWXO) < 0) {
      if (errno == EEXIST || errno == EISDIR) {                       
        if (stat(path, &sb) < 0) {                                    
          retval = 0;                                                 
 200d5a0:	b8 10 20 00 	clr  %i4                                       
    }                                                                 
    if (last)                                                         
      (void)umask(oumask);                                            
    if (mkdir(path, last ? omode : S_IRWXU | S_IRWXG | S_IRWXO) < 0) {
      if (errno == EEXIST || errno == EISDIR) {                       
        if (stat(path, &sb) < 0) {                                    
 200d5a4:	82 10 20 00 	clr  %g1                                       
      }                                                               
    }                                                                 
    if (!last)                                                        
        *p = '/';                                                     
  }                                                                   
  if (!first && !last)                                                
 200d5a8:	80 97 40 01 	orcc  %i5, %g1, %g0                            
 200d5ac:	12 80 00 04 	bne  200d5bc <rtems_mkdir+0x1b0>               
 200d5b0:	01 00 00 00 	nop                                            
    (void)umask(oumask);                                              
 200d5b4:	40 00 00 3c 	call  200d6a4 <umask>                          
 200d5b8:	90 10 00 18 	mov  %i0, %o0                                  
  int success = 0;                                                    
  char *dup_path = strdup(path);                                      
                                                                      
  if (dup_path != NULL) {                                             
    success = build(dup_path, mode);                                  
    free(dup_path);                                                   
 200d5bc:	7f ff d9 b9 	call  2003ca0 <free>                           
 200d5c0:	90 10 00 1b 	mov  %i3, %o0                                  
  }                                                                   
                                                                      
  return success != 0 ? 0 : -1;                                       
 200d5c4:	80 a0 00 1c 	cmp  %g0, %i4                                  
 200d5c8:	b0 40 3f ff 	addx  %g0, -1, %i0                             
}                                                                     
 200d5cc:	81 c7 e0 08 	ret                                            
 200d5d0:	81 e8 00 00 	restore                                        
                                                                      

02014b6c <rtems_partition_create>: uint32_t length, uint32_t buffer_size, rtems_attribute attribute_set, rtems_id *id ) {
 2014b6c:	9d e3 bf a0 	save  %sp, -96, %sp                            
  register Partition_Control *the_partition;                          
                                                                      
  if ( !rtems_is_name_valid( name ) )                                 
 2014b70:	80 a6 20 00 	cmp  %i0, 0                                    
 2014b74:	02 80 00 39 	be  2014c58 <rtems_partition_create+0xec>      
 2014b78:	82 10 20 03 	mov  3, %g1                                    
    return RTEMS_INVALID_NAME;                                        
                                                                      
  if ( !starting_address )                                            
 2014b7c:	80 a6 60 00 	cmp  %i1, 0                                    
 2014b80:	02 80 00 36 	be  2014c58 <rtems_partition_create+0xec>      
 2014b84:	82 10 20 09 	mov  9, %g1                                    
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  if ( !id )                                                          
 2014b88:	80 a7 60 00 	cmp  %i5, 0                                    
 2014b8c:	02 80 00 33 	be  2014c58 <rtems_partition_create+0xec>      <== NEVER TAKEN
 2014b90:	80 a6 e0 00 	cmp  %i3, 0                                    
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  if ( length == 0 || buffer_size == 0 || length < buffer_size ||     
 2014b94:	02 80 00 31 	be  2014c58 <rtems_partition_create+0xec>      
 2014b98:	82 10 20 08 	mov  8, %g1                                    
 2014b9c:	80 a6 a0 00 	cmp  %i2, 0                                    
 2014ba0:	02 80 00 2e 	be  2014c58 <rtems_partition_create+0xec>      
 2014ba4:	80 a6 80 1b 	cmp  %i2, %i3                                  
 2014ba8:	0a 80 00 2c 	bcs  2014c58 <rtems_partition_create+0xec>     
 2014bac:	80 8e e0 07 	btst  7, %i3                                   
 2014bb0:	12 80 00 2a 	bne  2014c58 <rtems_partition_create+0xec>     
 2014bb4:	80 8e 60 07 	btst  7, %i1                                   
         !_Partition_Is_buffer_size_aligned( buffer_size ) )          
    return RTEMS_INVALID_SIZE;                                        
                                                                      
  if ( !_Addresses_Is_aligned( starting_address ) )                   
 2014bb8:	12 80 00 28 	bne  2014c58 <rtems_partition_create+0xec>     
 2014bbc:	82 10 20 09 	mov  9, %g1                                    
   *                                                                  
   * This rountine increments the thread dispatch level               
   */                                                                 
  RTEMS_INLINE_ROUTINE uint32_t _Thread_Dispatch_increment_disable_level(void)
  {                                                                   
    _Thread_Dispatch_disable_level++;                                 
 2014bc0:	03 00 80 e8 	sethi  %hi(0x203a000), %g1                     
 2014bc4:	c4 00 60 70 	ld  [ %g1 + 0x70 ], %g2	! 203a070 <_Thread_Dispatch_disable_level>
 2014bc8:	84 00 a0 01 	inc  %g2                                       
 2014bcc:	c4 20 60 70 	st  %g2, [ %g1 + 0x70 ]                        
    return _Thread_Dispatch_disable_level;                            
 2014bd0:	c2 00 60 70 	ld  [ %g1 + 0x70 ], %g1                        
 *  This function allocates a partition control block from            
 *  the inactive chain of free partition control blocks.              
 */                                                                   
RTEMS_INLINE_ROUTINE Partition_Control *_Partition_Allocate ( void )  
{                                                                     
  return (Partition_Control *) _Objects_Allocate( &_Partition_Information );
 2014bd4:	23 00 80 e7 	sethi  %hi(0x2039c00), %l1                     
 2014bd8:	40 00 12 4b 	call  2019504 <_Objects_Allocate>              
 2014bdc:	90 14 62 84 	or  %l1, 0x284, %o0	! 2039e84 <_Partition_Information>
                                                                      
  _Thread_Disable_dispatch();               /* prevents deletion */   
                                                                      
  the_partition = _Partition_Allocate();                              
                                                                      
  if ( !the_partition ) {                                             
 2014be0:	a0 92 20 00 	orcc  %o0, 0, %l0                              
 2014be4:	32 80 00 06 	bne,a   2014bfc <rtems_partition_create+0x90>  
 2014be8:	f8 24 20 1c 	st  %i4, [ %l0 + 0x1c ]                        
    _Thread_Enable_dispatch();                                        
 2014bec:	40 00 17 45 	call  201a900 <_Thread_Enable_dispatch>        
 2014bf0:	01 00 00 00 	nop                                            
    return RTEMS_TOO_MANY;                                            
 2014bf4:	10 80 00 19 	b  2014c58 <rtems_partition_create+0xec>       
 2014bf8:	82 10 20 05 	mov  5, %g1	! 5 <PROM_START+0x5>               
  the_partition->buffer_size           = buffer_size;                 
  the_partition->attribute_set         = attribute_set;               
  the_partition->number_of_used_blocks = 0;                           
                                                                      
  _Chain_Initialize( &the_partition->Memory, starting_address,        
                        length / buffer_size, buffer_size );          
 2014bfc:	92 10 00 1b 	mov  %i3, %o1                                  
    _Thread_Enable_dispatch();                                        
    return RTEMS_TOO_MANY;                                            
  }                                                                   
#endif                                                                
                                                                      
  the_partition->starting_address      = starting_address;            
 2014c00:	f2 24 20 10 	st  %i1, [ %l0 + 0x10 ]                        
  the_partition->length                = length;                      
 2014c04:	f4 24 20 14 	st  %i2, [ %l0 + 0x14 ]                        
  the_partition->buffer_size           = buffer_size;                 
 2014c08:	f6 24 20 18 	st  %i3, [ %l0 + 0x18 ]                        
  the_partition->attribute_set         = attribute_set;               
  the_partition->number_of_used_blocks = 0;                           
 2014c0c:	c0 24 20 20 	clr  [ %l0 + 0x20 ]                            
                                                                      
  _Chain_Initialize( &the_partition->Memory, starting_address,        
                        length / buffer_size, buffer_size );          
 2014c10:	40 00 55 2a 	call  202a0b8 <.udiv>                          
 2014c14:	90 10 00 1a 	mov  %i2, %o0                                  
  the_partition->length                = length;                      
  the_partition->buffer_size           = buffer_size;                 
  the_partition->attribute_set         = attribute_set;               
  the_partition->number_of_used_blocks = 0;                           
                                                                      
  _Chain_Initialize( &the_partition->Memory, starting_address,        
 2014c18:	92 10 00 19 	mov  %i1, %o1                                  
                        length / buffer_size, buffer_size );          
 2014c1c:	94 10 00 08 	mov  %o0, %o2                                  
  the_partition->length                = length;                      
  the_partition->buffer_size           = buffer_size;                 
  the_partition->attribute_set         = attribute_set;               
  the_partition->number_of_used_blocks = 0;                           
                                                                      
  _Chain_Initialize( &the_partition->Memory, starting_address,        
 2014c20:	96 10 00 1b 	mov  %i3, %o3                                  
 2014c24:	b8 04 20 24 	add  %l0, 0x24, %i4                            
 2014c28:	40 00 0c 64 	call  2017db8 <_Chain_Initialize>              
 2014c2c:	90 10 00 1c 	mov  %i4, %o0                                  
  Objects_Information *information,                                   
  Objects_Control     *the_object,                                    
  Objects_Name         name                                           
)                                                                     
{                                                                     
  _Objects_Set_local_object(                                          
 2014c30:	c4 14 20 0a 	lduh  [ %l0 + 0xa ], %g2                       
    );                                                                
#endif                                                                
                                                                      
  _Thread_Enable_dispatch();                                          
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
 2014c34:	a2 14 62 84 	or  %l1, 0x284, %l1                            
  #if defined(RTEMS_DEBUG)                                            
    if ( index > information->maximum )                               
      return;                                                         
  #endif                                                              
                                                                      
  information->local_table[ index ] = the_object;                     
 2014c38:	c6 04 60 1c 	ld  [ %l1 + 0x1c ], %g3                        
  Objects_Information *information,                                   
  Objects_Control     *the_object,                                    
  Objects_Name         name                                           
)                                                                     
{                                                                     
  _Objects_Set_local_object(                                          
 2014c3c:	c2 04 20 08 	ld  [ %l0 + 8 ], %g1                           
  #if defined(RTEMS_DEBUG)                                            
    if ( index > information->maximum )                               
      return;                                                         
  #endif                                                              
                                                                      
  information->local_table[ index ] = the_object;                     
 2014c40:	85 28 a0 02 	sll  %g2, 2, %g2                               
 2014c44:	e0 20 c0 02 	st  %l0, [ %g3 + %g2 ]                         
    information,                                                      
    _Objects_Get_index( the_object->id ),                             
    the_object                                                        
  );                                                                  
                                                                      
  the_object->name = name;                                            
 2014c48:	f0 24 20 0c 	st  %i0, [ %l0 + 0xc ]                         
      name,                                                           
      0                  /* Not used */                               
    );                                                                
#endif                                                                
                                                                      
  _Thread_Enable_dispatch();                                          
 2014c4c:	40 00 17 2d 	call  201a900 <_Thread_Enable_dispatch>        
 2014c50:	c2 27 40 00 	st  %g1, [ %i5 ]                               
  return RTEMS_SUCCESSFUL;                                            
 2014c54:	82 10 20 00 	clr  %g1                                       
}                                                                     
 2014c58:	81 c7 e0 08 	ret                                            
 2014c5c:	91 e8 00 01 	restore  %g0, %g1, %o0                         
                                                                      

02007270 <rtems_rate_monotonic_period>: rtems_status_code rtems_rate_monotonic_period( rtems_id id, rtems_interval length ) {
 2007270:	9d e3 bf 98 	save  %sp, -104, %sp                           
RTEMS_INLINE_ROUTINE Rate_monotonic_Control *_Rate_monotonic_Get (    
  Objects_Id         id,                                              
  Objects_Locations *location                                         
)                                                                     
{                                                                     
  return (Rate_monotonic_Control *)                                   
 2007274:	11 00 80 74 	sethi  %hi(0x201d000), %o0                     
 2007278:	92 10 00 18 	mov  %i0, %o1                                  
 200727c:	90 12 22 64 	or  %o0, 0x264, %o0                            
 2007280:	40 00 08 e5 	call  2009614 <_Objects_Get>                   
 2007284:	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 ) {                                               
 2007288:	c2 07 bf fc 	ld  [ %fp + -4 ], %g1                          
 200728c:	80 a0 60 00 	cmp  %g1, 0                                    
 2007290:	12 80 00 6a 	bne  2007438 <rtems_rate_monotonic_period+0x1c8>
 2007294:	ba 10 00 08 	mov  %o0, %i5                                  
                                                                      
RTEMS_INLINE_ROUTINE bool _Thread_Is_executing (                      
  const Thread_Control *the_thread                                    
)                                                                     
{                                                                     
  return ( the_thread == _Thread_Executing );                         
 2007298:	37 00 80 75 	sethi  %hi(0x201d400), %i3                     
    case OBJECTS_LOCAL:                                               
      if ( !_Thread_Is_executing( the_period->owner ) ) {             
 200729c:	c4 02 20 40 	ld  [ %o0 + 0x40 ], %g2                        
 20072a0:	b6 16 e2 00 	or  %i3, 0x200, %i3                            
 20072a4:	c2 06 e0 0c 	ld  [ %i3 + 0xc ], %g1                         
 20072a8:	80 a0 80 01 	cmp  %g2, %g1                                  
 20072ac:	02 80 00 06 	be  20072c4 <rtems_rate_monotonic_period+0x54> 
 20072b0:	80 a6 60 00 	cmp  %i1, 0                                    
        _Thread_Enable_dispatch();                                    
 20072b4:	40 00 0c 8c 	call  200a4e4 <_Thread_Enable_dispatch>        
 20072b8:	b0 10 20 17 	mov  0x17, %i0                                 
        return RTEMS_NOT_OWNER_OF_RESOURCE;                           
 20072bc:	81 c7 e0 08 	ret                                            
 20072c0:	81 e8 00 00 	restore                                        
      }                                                               
                                                                      
      if ( length == RTEMS_PERIOD_STATUS ) {                          
 20072c4:	12 80 00 0d 	bne  20072f8 <rtems_rate_monotonic_period+0x88>
 20072c8:	01 00 00 00 	nop                                            
        switch ( the_period->state ) {                                
 20072cc:	c2 02 20 38 	ld  [ %o0 + 0x38 ], %g1                        
 20072d0:	80 a0 60 04 	cmp  %g1, 4                                    
 20072d4:	18 80 00 05 	bgu  20072e8 <rtems_rate_monotonic_period+0x78><== NEVER TAKEN
 20072d8:	b0 10 20 00 	clr  %i0                                       
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
 20072dc:	05 00 80 6c 	sethi  %hi(0x201b000), %g2                     
 20072e0:	84 10 a2 a8 	or  %g2, 0x2a8, %g2	! 201b2a8 <CSWTCH.2>       
 20072e4:	f0 08 80 01 	ldub  [ %g2 + %g1 ], %i0                       
          case RATE_MONOTONIC_ACTIVE:                                 
          default:              /* unreached -- only to remove warnings */
            return_value = RTEMS_SUCCESSFUL;                          
            break;                                                    
        }                                                             
        _Thread_Enable_dispatch();                                    
 20072e8:	40 00 0c 7f 	call  200a4e4 <_Thread_Enable_dispatch>        
 20072ec:	01 00 00 00 	nop                                            
        return( return_value );                                       
 20072f0:	81 c7 e0 08 	ret                                            
 20072f4:	81 e8 00 00 	restore                                        
      }                                                               
                                                                      
      _ISR_Disable( level );                                          
 20072f8:	7f ff ee e9 	call  2002e9c <sparc_disable_interrupts>       
 20072fc:	01 00 00 00 	nop                                            
 2007300:	b4 10 00 08 	mov  %o0, %i2                                  
      if ( the_period->state == RATE_MONOTONIC_INACTIVE ) {           
 2007304:	f8 07 60 38 	ld  [ %i5 + 0x38 ], %i4                        
 2007308:	80 a7 20 00 	cmp  %i4, 0                                    
 200730c:	12 80 00 15 	bne  2007360 <rtems_rate_monotonic_period+0xf0>
 2007310:	80 a7 20 02 	cmp  %i4, 2                                    
        _ISR_Enable( level );                                         
 2007314:	7f ff ee e6 	call  2002eac <sparc_enable_interrupts>        
 2007318:	01 00 00 00 	nop                                            
        the_period->next_length = length;                             
                                                                      
        /*                                                            
         *  Baseline statistics information for the beginning of a period.
         */                                                           
        _Rate_monotonic_Initiate_statistics( the_period );            
 200731c:	90 10 00 1d 	mov  %i5, %o0                                  
 2007320:	7f ff ff 78 	call  2007100 <_Rate_monotonic_Initiate_statistics>
 2007324:	f2 27 60 3c 	st  %i1, [ %i5 + 0x3c ]                        
                                                                      
        the_period->state = RATE_MONOTONIC_ACTIVE;                    
 2007328:	82 10 20 02 	mov  2, %g1                                    
 200732c:	c2 27 60 38 	st  %g1, [ %i5 + 0x38 ]                        
  Objects_Id                      id,                                 
  void                           *user_data                           
)                                                                     
{                                                                     
  the_watchdog->state     = WATCHDOG_INACTIVE;                        
  the_watchdog->routine   = routine;                                  
 2007330:	03 00 80 1d 	sethi  %hi(0x2007400), %g1                     
 2007334:	82 10 62 f4 	or  %g1, 0x2f4, %g1	! 20076f4 <_Rate_monotonic_Timeout>
  Watchdog_Service_routine_entry  routine,                            
  Objects_Id                      id,                                 
  void                           *user_data                           
)                                                                     
{                                                                     
  the_watchdog->state     = WATCHDOG_INACTIVE;                        
 2007338:	c0 27 60 18 	clr  [ %i5 + 0x18 ]                            
  the_watchdog->routine   = routine;                                  
 200733c:	c2 27 60 2c 	st  %g1, [ %i5 + 0x2c ]                        
  the_watchdog->id        = id;                                       
 2007340:	f0 27 60 30 	st  %i0, [ %i5 + 0x30 ]                        
  the_watchdog->user_data = user_data;                                
 2007344:	c0 27 60 34 	clr  [ %i5 + 0x34 ]                            
  Watchdog_Control      *the_watchdog,                                
  Watchdog_Interval      units                                        
)                                                                     
{                                                                     
                                                                      
  the_watchdog->initial = units;                                      
 2007348:	f2 27 60 1c 	st  %i1, [ %i5 + 0x1c ]                        
                                                                      
  _Watchdog_Insert( &_Watchdog_Ticks_chain, the_watchdog );           
 200734c:	11 00 80 75 	sethi  %hi(0x201d400), %o0                     
 2007350:	92 07 60 10 	add  %i5, 0x10, %o1                            
 2007354:	40 00 10 2a 	call  200b3fc <_Watchdog_Insert>               
 2007358:	90 12 20 8c 	or  %o0, 0x8c, %o0                             
 200735c:	30 80 00 1b 	b,a   20073c8 <rtems_rate_monotonic_period+0x158>
        _Watchdog_Insert_ticks( &the_period->Timer, length );         
        _Thread_Enable_dispatch();                                    
        return RTEMS_SUCCESSFUL;                                      
      }                                                               
                                                                      
      if ( the_period->state == RATE_MONOTONIC_ACTIVE ) {             
 2007360:	12 80 00 1e 	bne  20073d8 <rtems_rate_monotonic_period+0x168>
 2007364:	80 a7 20 04 	cmp  %i4, 4                                    
        /*                                                            
         *  Update statistics from the concluding period.             
         */                                                           
        _Rate_monotonic_Update_statistics( the_period );              
 2007368:	7f ff ff 86 	call  2007180 <_Rate_monotonic_Update_statistics>
 200736c:	90 10 00 1d 	mov  %i5, %o0                                  
        /*                                                            
         *  This tells the _Rate_monotonic_Timeout that this task is  
         *  in the process of blocking on the period and that we      
         *  may be changing the length of the next period.            
         */                                                           
        the_period->state = RATE_MONOTONIC_OWNER_IS_BLOCKING;         
 2007370:	82 10 20 01 	mov  1, %g1                                    
        the_period->next_length = length;                             
 2007374:	f2 27 60 3c 	st  %i1, [ %i5 + 0x3c ]                        
        /*                                                            
         *  This tells the _Rate_monotonic_Timeout that this task is  
         *  in the process of blocking on the period and that we      
         *  may be changing the length of the next period.            
         */                                                           
        the_period->state = RATE_MONOTONIC_OWNER_IS_BLOCKING;         
 2007378:	c2 27 60 38 	st  %g1, [ %i5 + 0x38 ]                        
        the_period->next_length = length;                             
                                                                      
        _ISR_Enable( level );                                         
 200737c:	7f ff ee cc 	call  2002eac <sparc_enable_interrupts>        
 2007380:	90 10 00 1a 	mov  %i2, %o0                                  
                                                                      
        _Thread_Executing->Wait.id = the_period->Object.id;           
 2007384:	d0 06 e0 0c 	ld  [ %i3 + 0xc ], %o0                         
 2007388:	c2 07 60 08 	ld  [ %i5 + 8 ], %g1                           
        _Thread_Set_state( _Thread_Executing, STATES_WAITING_FOR_PERIOD );
 200738c:	13 00 00 10 	sethi  %hi(0x4000), %o1                        
 2007390:	40 00 0e 78 	call  200ad70 <_Thread_Set_state>              
 2007394:	c2 22 20 20 	st  %g1, [ %o0 + 0x20 ]                        
                                                                      
        /*                                                            
         *  Did the watchdog timer expire while we were actually blocking
         *  on it?                                                    
         */                                                           
        _ISR_Disable( level );                                        
 2007398:	7f ff ee c1 	call  2002e9c <sparc_disable_interrupts>       
 200739c:	01 00 00 00 	nop                                            
          local_state = the_period->state;                            
 20073a0:	f4 07 60 38 	ld  [ %i5 + 0x38 ], %i2                        
          the_period->state = RATE_MONOTONIC_ACTIVE;                  
 20073a4:	f8 27 60 38 	st  %i4, [ %i5 + 0x38 ]                        
        _ISR_Enable( level );                                         
 20073a8:	7f ff ee c1 	call  2002eac <sparc_enable_interrupts>        
 20073ac:	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 )   
 20073b0:	80 a6 a0 03 	cmp  %i2, 3                                    
 20073b4:	12 80 00 05 	bne  20073c8 <rtems_rate_monotonic_period+0x158>
 20073b8:	01 00 00 00 	nop                                            
          _Thread_Clear_state( _Thread_Executing, STATES_WAITING_FOR_PERIOD );
 20073bc:	d0 06 e0 0c 	ld  [ %i3 + 0xc ], %o0                         
 20073c0:	40 00 0b 68 	call  200a160 <_Thread_Clear_state>            
 20073c4:	13 00 00 10 	sethi  %hi(0x4000), %o1                        
                                                                      
        _Thread_Enable_dispatch();                                    
 20073c8:	40 00 0c 47 	call  200a4e4 <_Thread_Enable_dispatch>        
 20073cc:	b0 10 20 00 	clr  %i0                                       
        return RTEMS_SUCCESSFUL;                                      
 20073d0:	81 c7 e0 08 	ret                                            
 20073d4:	81 e8 00 00 	restore                                        
      }                                                               
                                                                      
      if ( the_period->state == RATE_MONOTONIC_EXPIRED ) {            
 20073d8:	12 bf ff b9 	bne  20072bc <rtems_rate_monotonic_period+0x4c><== NEVER TAKEN
 20073dc:	b0 10 20 04 	mov  4, %i0                                    
        /*                                                            
         *  Update statistics from the concluding period              
         */                                                           
        _Rate_monotonic_Update_statistics( the_period );              
 20073e0:	7f ff ff 68 	call  2007180 <_Rate_monotonic_Update_statistics>
 20073e4:	90 10 00 1d 	mov  %i5, %o0                                  
                                                                      
        _ISR_Enable( level );                                         
 20073e8:	7f ff ee b1 	call  2002eac <sparc_enable_interrupts>        
 20073ec:	90 10 00 1a 	mov  %i2, %o0                                  
                                                                      
        the_period->state = RATE_MONOTONIC_ACTIVE;                    
 20073f0:	82 10 20 02 	mov  2, %g1                                    
 20073f4:	92 07 60 10 	add  %i5, 0x10, %o1                            
 20073f8:	c2 27 60 38 	st  %g1, [ %i5 + 0x38 ]                        
        the_period->next_length = length;                             
 20073fc:	f2 27 60 3c 	st  %i1, [ %i5 + 0x3c ]                        
  Watchdog_Control      *the_watchdog,                                
  Watchdog_Interval      units                                        
)                                                                     
{                                                                     
                                                                      
  the_watchdog->initial = units;                                      
 2007400:	f2 27 60 1c 	st  %i1, [ %i5 + 0x1c ]                        
                                                                      
  _Watchdog_Insert( &_Watchdog_Ticks_chain, the_watchdog );           
 2007404:	11 00 80 75 	sethi  %hi(0x201d400), %o0                     
 2007408:	40 00 0f fd 	call  200b3fc <_Watchdog_Insert>               
 200740c:	90 12 20 8c 	or  %o0, 0x8c, %o0	! 201d48c <_Watchdog_Ticks_chain>
 2007410:	d0 07 60 40 	ld  [ %i5 + 0x40 ], %o0                        
 2007414:	d2 07 60 3c 	ld  [ %i5 + 0x3c ], %o1                        
 2007418:	03 00 80 71 	sethi  %hi(0x201c400), %g1                     
 200741c:	c2 00 63 18 	ld  [ %g1 + 0x318 ], %g1	! 201c718 <_Scheduler+0x34>
 2007420:	9f c0 40 00 	call  %g1                                      
 2007424:	b0 10 20 06 	mov  6, %i0                                    
                                                                      
        _Watchdog_Insert_ticks( &the_period->Timer, length );         
        _Scheduler_Release_job(the_period->owner, the_period->next_length);
        _Thread_Enable_dispatch();                                    
 2007428:	40 00 0c 2f 	call  200a4e4 <_Thread_Enable_dispatch>        
 200742c:	01 00 00 00 	nop                                            
        return RTEMS_TIMEOUT;                                         
 2007430:	81 c7 e0 08 	ret                                            
 2007434:	81 e8 00 00 	restore                                        
#endif                                                                
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
 2007438:	b0 10 20 04 	mov  4, %i0                                    
}                                                                     
 200743c:	81 c7 e0 08 	ret                                            
 2007440:	81 e8 00 00 	restore                                        
                                                                      

02007444 <rtems_rate_monotonic_report_statistics_with_plugin>: */ void rtems_rate_monotonic_report_statistics_with_plugin( void *context, rtems_printk_plugin_t print ) {
 2007444:	9d e3 bf 38 	save  %sp, -200, %sp                           
  rtems_id                               id;                          
  rtems_rate_monotonic_period_statistics the_stats;                   
  rtems_rate_monotonic_period_status     the_status;                  
  char                                   name[5];                     
                                                                      
  if ( !print )                                                       
 2007448:	80 a6 60 00 	cmp  %i1, 0                                    
 200744c:	02 80 00 75 	be  2007620 <rtems_rate_monotonic_report_statistics_with_plugin+0x1dc><== NEVER TAKEN
 2007450:	90 10 00 18 	mov  %i0, %o0                                  
    return;                                                           
                                                                      
  (*print)( context, "Period information by period\n" );              
 2007454:	13 00 80 6c 	sethi  %hi(0x201b000), %o1                     
 2007458:	9f c6 40 00 	call  %i1                                      
 200745c:	92 12 62 b0 	or  %o1, 0x2b0, %o1	! 201b2b0 <CSWTCH.2+0x8>   
  #ifndef __RTEMS_USE_TICKS_FOR_STATISTICS__                          
    (*print)( context, "--- CPU times are in seconds ---\n" );        
 2007460:	90 10 00 18 	mov  %i0, %o0                                  
 2007464:	13 00 80 6c 	sethi  %hi(0x201b000), %o1                     
 2007468:	9f c6 40 00 	call  %i1                                      
 200746c:	92 12 62 d0 	or  %o1, 0x2d0, %o1	! 201b2d0 <CSWTCH.2+0x28>  
    (*print)( context, "--- Wall times are in seconds ---\n" );       
 2007470:	90 10 00 18 	mov  %i0, %o0                                  
 2007474:	13 00 80 6c 	sethi  %hi(0x201b000), %o1                     
 2007478:	9f c6 40 00 	call  %i1                                      
 200747c:	92 12 62 f8 	or  %o1, 0x2f8, %o1	! 201b2f8 <CSWTCH.2+0x50>  
  Be sure to test the various cases.                                  
  (*print)( context,"\                                                
1234567890123456789012345678901234567890123456789012345678901234567890123456789\
\n");                                                                 
*/                                                                    
  (*print)( context, "   ID     OWNER COUNT MISSED     "              
 2007480:	90 10 00 18 	mov  %i0, %o0                                  
 2007484:	13 00 80 6c 	sethi  %hi(0x201b000), %o1                     
 2007488:	9f c6 40 00 	call  %i1                                      
 200748c:	92 12 63 20 	or  %o1, 0x320, %o1	! 201b320 <CSWTCH.2+0x78>  
       #ifndef __RTEMS_USE_TICKS_FOR_STATISTICS__                     
          "          "                                                
       #endif                                                         
          "   WALL TIME\n"                                            
  );                                                                  
  (*print)( context, "                               "                
 2007490:	90 10 00 18 	mov  %i0, %o0                                  
 2007494:	13 00 80 6c 	sethi  %hi(0x201b000), %o1                     
 2007498:	9f c6 40 00 	call  %i1                                      
 200749c:	92 12 63 70 	or  %o1, 0x370, %o1	! 201b370 <CSWTCH.2+0xc8>  
                                                                      
  /*                                                                  
   * 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 ;                   
 20074a0:	03 00 80 74 	sethi  %hi(0x201d000), %g1                     
    rtems_object_get_name( the_status.owner, sizeof(name), name );    
                                                                      
    /*                                                                
     *  Print part of report line that is not dependent on granularity
     */                                                               
    (*print)( context,                                                
 20074a4:	21 00 80 6c 	sethi  %hi(0x201b000), %l0                     
      struct timespec *min_cpu = &the_stats.min_cpu_time;             
      struct timespec *max_cpu = &the_stats.max_cpu_time;             
      struct timespec *total_cpu = &the_stats.total_cpu_time;         
                                                                      
      _Timespec_Divide_by_integer( total_cpu, the_stats.count, &cpu_average );
      (*print)( context,                                              
 20074a8:	35 00 80 6c 	sethi  %hi(0x201b000), %i2                     
      struct timespec *min_wall = &the_stats.min_wall_time;           
      struct timespec *max_wall = &the_stats.max_wall_time;           
      struct timespec *total_wall = &the_stats.total_wall_time;       
                                                                      
      _Timespec_Divide_by_integer(total_wall, the_stats.count, &wall_average);
      (*print)( context,                                              
 20074ac:	37 00 80 6c 	sethi  %hi(0x201b000), %i3                     
                                                                      
    /*                                                                
     *  If the count is zero, don't print statistics                  
     */                                                               
    if (the_stats.count == 0) {                                       
      (*print)( context, "\n" );                                      
 20074b0:	39 00 80 69 	sethi  %hi(0x201a400), %i4                     
                                                                      
  /*                                                                  
   * Cycle through all possible ids and try to report on each one.  If it
   * is a period that is inactive, we just get an error back.  No big deal.
   */                                                                 
  for ( id=_Rate_monotonic_Information.minimum_id ;                   
 20074b4:	fa 00 62 6c 	ld  [ %g1 + 0x26c ], %i5                       
    rtems_object_get_name( the_status.owner, sizeof(name), name );    
                                                                      
    /*                                                                
     *  Print part of report line that is not dependent on granularity
     */                                                               
    (*print)( context,                                                
 20074b8:	a0 14 23 c0 	or  %l0, 0x3c0, %l0                            
      struct timespec *min_cpu = &the_stats.min_cpu_time;             
      struct timespec *max_cpu = &the_stats.max_cpu_time;             
      struct timespec *total_cpu = &the_stats.total_cpu_time;         
                                                                      
      _Timespec_Divide_by_integer( total_cpu, the_stats.count, &cpu_average );
      (*print)( context,                                              
 20074bc:	b4 16 a3 d8 	or  %i2, 0x3d8, %i2                            
      struct timespec *min_wall = &the_stats.min_wall_time;           
      struct timespec *max_wall = &the_stats.max_wall_time;           
      struct timespec *total_wall = &the_stats.total_wall_time;       
                                                                      
      _Timespec_Divide_by_integer(total_wall, the_stats.count, &wall_average);
      (*print)( context,                                              
 20074c0:	b6 16 e3 f8 	or  %i3, 0x3f8, %i3                            
                                                                      
  /*                                                                  
   * Cycle through all possible ids and try to report on each one.  If it
   * is a period that is inactive, we just get an error back.  No big deal.
   */                                                                 
  for ( id=_Rate_monotonic_Information.minimum_id ;                   
 20074c4:	10 80 00 52 	b  200760c <rtems_rate_monotonic_report_statistics_with_plugin+0x1c8>
 20074c8:	b8 17 21 38 	or  %i4, 0x138, %i4                            
        id <= _Rate_monotonic_Information.maximum_id ;                
        id++ ) {                                                      
    status = rtems_rate_monotonic_get_statistics( id, &the_stats );   
 20074cc:	40 00 17 a5 	call  200d360 <rtems_rate_monotonic_get_statistics>
 20074d0:	92 07 bf a0 	add  %fp, -96, %o1                             
    if ( status != RTEMS_SUCCESSFUL )                                 
 20074d4:	80 a2 20 00 	cmp  %o0, 0                                    
 20074d8:	32 80 00 4d 	bne,a   200760c <rtems_rate_monotonic_report_statistics_with_plugin+0x1c8>
 20074dc:	ba 07 60 01 	inc  %i5                                       
    #if defined(RTEMS_DEBUG)                                          
      status = rtems_rate_monotonic_get_status( id, &the_status );    
      if ( status != RTEMS_SUCCESSFUL )                               
        continue;                                                     
    #else                                                             
      (void) rtems_rate_monotonic_get_status( id, &the_status );      
 20074e0:	92 07 bf d8 	add  %fp, -40, %o1                             
 20074e4:	40 00 17 cc 	call  200d414 <rtems_rate_monotonic_get_status>
 20074e8:	90 10 00 1d 	mov  %i5, %o0                                  
    #endif                                                            
                                                                      
    rtems_object_get_name( the_status.owner, sizeof(name), name );    
 20074ec:	d0 07 bf d8 	ld  [ %fp + -40 ], %o0                         
 20074f0:	92 10 20 05 	mov  5, %o1                                    
 20074f4:	40 00 00 af 	call  20077b0 <rtems_object_get_name>          
 20074f8:	94 07 bf f8 	add  %fp, -8, %o2                              
                                                                      
    /*                                                                
     *  Print part of report line that is not dependent on granularity
     */                                                               
    (*print)( context,                                                
 20074fc:	d8 1f bf a0 	ldd  [ %fp + -96 ], %o4                        
 2007500:	92 10 00 10 	mov  %l0, %o1                                  
 2007504:	90 10 00 18 	mov  %i0, %o0                                  
 2007508:	94 10 00 1d 	mov  %i5, %o2                                  
 200750c:	9f c6 40 00 	call  %i1                                      
 2007510:	96 07 bf f8 	add  %fp, -8, %o3                              
    );                                                                
                                                                      
    /*                                                                
     *  If the count is zero, don't print statistics                  
     */                                                               
    if (the_stats.count == 0) {                                       
 2007514:	d2 07 bf a0 	ld  [ %fp + -96 ], %o1                         
 2007518:	80 a2 60 00 	cmp  %o1, 0                                    
 200751c:	12 80 00 07 	bne  2007538 <rtems_rate_monotonic_report_statistics_with_plugin+0xf4>
 2007520:	94 07 bf f0 	add  %fp, -16, %o2                             
      (*print)( context, "\n" );                                      
 2007524:	90 10 00 18 	mov  %i0, %o0                                  
 2007528:	9f c6 40 00 	call  %i1                                      
 200752c:	92 10 00 1c 	mov  %i4, %o1                                  
      continue;                                                       
 2007530:	10 80 00 37 	b  200760c <rtems_rate_monotonic_report_statistics_with_plugin+0x1c8>
 2007534:	ba 07 60 01 	inc  %i5                                       
      struct timespec  cpu_average;                                   
      struct timespec *min_cpu = &the_stats.min_cpu_time;             
      struct timespec *max_cpu = &the_stats.max_cpu_time;             
      struct timespec *total_cpu = &the_stats.total_cpu_time;         
                                                                      
      _Timespec_Divide_by_integer( total_cpu, the_stats.count, &cpu_average );
 2007538:	40 00 0e 92 	call  200af80 <_Timespec_Divide_by_integer>    
 200753c:	90 07 bf b8 	add  %fp, -72, %o0                             
      (*print)( context,                                              
 2007540:	d0 07 bf ac 	ld  [ %fp + -84 ], %o0                         
 2007544:	40 00 43 ce 	call  201847c <.div>                           
 2007548:	92 10 23 e8 	mov  0x3e8, %o1                                
 200754c:	a6 10 00 08 	mov  %o0, %l3                                  
 2007550:	d0 07 bf b4 	ld  [ %fp + -76 ], %o0                         
 2007554:	40 00 43 ca 	call  201847c <.div>                           
 2007558:	92 10 23 e8 	mov  0x3e8, %o1                                
 200755c:	c2 07 bf f0 	ld  [ %fp + -16 ], %g1                         
 2007560:	a2 10 00 08 	mov  %o0, %l1                                  
 2007564:	d0 07 bf f4 	ld  [ %fp + -12 ], %o0                         
 2007568:	e8 07 bf a8 	ld  [ %fp + -88 ], %l4                         
 200756c:	e4 07 bf b0 	ld  [ %fp + -80 ], %l2                         
 2007570:	c2 23 a0 5c 	st  %g1, [ %sp + 0x5c ]                        
 2007574:	40 00 43 c2 	call  201847c <.div>                           
 2007578:	92 10 23 e8 	mov  0x3e8, %o1                                
 200757c:	96 10 00 13 	mov  %l3, %o3                                  
 2007580:	98 10 00 12 	mov  %l2, %o4                                  
 2007584:	9a 10 00 11 	mov  %l1, %o5                                  
 2007588:	94 10 00 14 	mov  %l4, %o2                                  
 200758c:	d0 23 a0 60 	st  %o0, [ %sp + 0x60 ]                        
 2007590:	92 10 00 1a 	mov  %i2, %o1                                  
 2007594:	9f c6 40 00 	call  %i1                                      
 2007598:	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);
 200759c:	d2 07 bf a0 	ld  [ %fp + -96 ], %o1                         
 20075a0:	94 07 bf f0 	add  %fp, -16, %o2                             
 20075a4:	40 00 0e 77 	call  200af80 <_Timespec_Divide_by_integer>    
 20075a8:	90 07 bf d0 	add  %fp, -48, %o0                             
      (*print)( context,                                              
 20075ac:	d0 07 bf c4 	ld  [ %fp + -60 ], %o0                         
 20075b0:	40 00 43 b3 	call  201847c <.div>                           
 20075b4:	92 10 23 e8 	mov  0x3e8, %o1                                
 20075b8:	a6 10 00 08 	mov  %o0, %l3                                  
 20075bc:	d0 07 bf cc 	ld  [ %fp + -52 ], %o0                         
 20075c0:	40 00 43 af 	call  201847c <.div>                           
 20075c4:	92 10 23 e8 	mov  0x3e8, %o1                                
 20075c8:	c2 07 bf f0 	ld  [ %fp + -16 ], %g1                         
 20075cc:	a2 10 00 08 	mov  %o0, %l1                                  
 20075d0:	d0 07 bf f4 	ld  [ %fp + -12 ], %o0                         
 20075d4:	e8 07 bf c0 	ld  [ %fp + -64 ], %l4                         
 20075d8:	e4 07 bf c8 	ld  [ %fp + -56 ], %l2                         
 20075dc:	92 10 23 e8 	mov  0x3e8, %o1                                
 20075e0:	40 00 43 a7 	call  201847c <.div>                           
 20075e4:	c2 23 a0 5c 	st  %g1, [ %sp + 0x5c ]                        
 20075e8:	92 10 00 1b 	mov  %i3, %o1                                  
 20075ec:	d0 23 a0 60 	st  %o0, [ %sp + 0x60 ]                        
 20075f0:	94 10 00 14 	mov  %l4, %o2                                  
 20075f4:	90 10 00 18 	mov  %i0, %o0                                  
 20075f8:	96 10 00 13 	mov  %l3, %o3                                  
 20075fc:	98 10 00 12 	mov  %l2, %o4                                  
 2007600:	9f c6 40 00 	call  %i1                                      
 2007604:	9a 10 00 11 	mov  %l1, %o5                                  
   * Cycle through all possible ids and try to report on each one.  If it
   * is a period that is inactive, we just get an error back.  No big deal.
   */                                                                 
  for ( id=_Rate_monotonic_Information.minimum_id ;                   
        id <= _Rate_monotonic_Information.maximum_id ;                
        id++ ) {                                                      
 2007608:	ba 07 60 01 	inc  %i5                                       
  /*                                                                  
   * Cycle through all possible ids and try to report on each one.  If it
   * is a period that is inactive, we just get an error back.  No big deal.
   */                                                                 
  for ( id=_Rate_monotonic_Information.minimum_id ;                   
        id <= _Rate_monotonic_Information.maximum_id ;                
 200760c:	03 00 80 74 	sethi  %hi(0x201d000), %g1                     
                                                                      
  /*                                                                  
   * Cycle through all possible ids and try to report on each one.  If it
   * is a period that is inactive, we just get an error back.  No big deal.
   */                                                                 
  for ( id=_Rate_monotonic_Information.minimum_id ;                   
 2007610:	c2 00 62 70 	ld  [ %g1 + 0x270 ], %g1	! 201d270 <_Rate_monotonic_Information+0xc>
 2007614:	80 a7 40 01 	cmp  %i5, %g1                                  
 2007618:	08 bf ff ad 	bleu  20074cc <rtems_rate_monotonic_report_statistics_with_plugin+0x88>
 200761c:	90 10 00 1d 	mov  %i5, %o0                                  
 2007620:	81 c7 e0 08 	ret                                            
 2007624:	81 e8 00 00 	restore                                        
                                                                      

02017dc8 <rtems_rfs_bitmap_create_search>: int rtems_rfs_bitmap_create_search (rtems_rfs_bitmap_control* control) {
 2017dc8:	9d e3 bf 98 	save  %sp, -104, %sp                           
  rtems_rfs_bitmap_map map;                                           
  size_t               size;                                          
  rtems_rfs_bitmap_bit bit;                                           
  int                  rc;                                            
                                                                      
  rc = rtems_rfs_bitmap_load_map (control, &map);                     
 2017dcc:	90 10 00 18 	mov  %i0, %o0                                  
  return 0;                                                           
}                                                                     
                                                                      
int                                                                   
rtems_rfs_bitmap_create_search (rtems_rfs_bitmap_control* control)    
{                                                                     
 2017dd0:	b8 10 00 18 	mov  %i0, %i4                                  
  rtems_rfs_bitmap_map map;                                           
  size_t               size;                                          
  rtems_rfs_bitmap_bit bit;                                           
  int                  rc;                                            
                                                                      
  rc = rtems_rfs_bitmap_load_map (control, &map);                     
 2017dd4:	7f ff fe 56 	call  201772c <rtems_rfs_bitmap_load_map>      
 2017dd8:	92 07 bf fc 	add  %fp, -4, %o1                              
  if (rc > 0)                                                         
 2017ddc:	b0 92 20 00 	orcc  %o0, 0, %i0                              
 2017de0:	14 80 00 30 	bg  2017ea0 <rtems_rfs_bitmap_create_search+0xd8><== NEVER TAKEN
 2017de4:	82 10 3f ff 	mov  -1, %g1                                   
    return rc;                                                        
                                                                      
  control->free = 0;                                                  
  search_map = control->search_bits;                                  
 2017de8:	f2 07 20 14 	ld  [ %i4 + 0x14 ], %i1                        
                                                                      
  rc = rtems_rfs_bitmap_load_map (control, &map);                     
  if (rc > 0)                                                         
    return rc;                                                        
                                                                      
  control->free = 0;                                                  
 2017dec:	c0 27 20 10 	clr  [ %i4 + 0x10 ]                            
  search_map = control->search_bits;                                  
  size = control->size;                                               
 2017df0:	fa 07 20 0c 	ld  [ %i4 + 0xc ], %i5                         
  bit = 0;                                                            
                                                                      
  *search_map = RTEMS_RFS_BITMAP_ELEMENT_CLEAR;                       
 2017df4:	f4 07 bf fc 	ld  [ %fp + -4 ], %i2                          
 2017df8:	c2 26 40 00 	st  %g1, [ %i1 ]                               
    return rc;                                                        
                                                                      
  control->free = 0;                                                  
  search_map = control->search_bits;                                  
  size = control->size;                                               
  bit = 0;                                                            
 2017dfc:	b6 10 20 00 	clr  %i3                                       
 */                                                                   
static bool                                                           
rtems_rfs_bitmap_test (rtems_rfs_bitmap_element target,               
                       rtems_rfs_bitmap_bit     bit)                  
{                                                                     
  return RTEMS_RFS_BITMAP_TEST_BIT (target, bit);                     
 2017e00:	a0 10 20 01 	mov  1, %l0                                    
  search_map = control->search_bits;                                  
  size = control->size;                                               
  bit = 0;                                                            
                                                                      
  *search_map = RTEMS_RFS_BITMAP_ELEMENT_CLEAR;                       
  while (size)                                                        
 2017e04:	10 80 00 23 	b  2017e90 <rtems_rfs_bitmap_create_search+0xc8>
 2017e08:	b0 10 3f ff 	mov  -1, %i0                                   
  {                                                                   
    rtems_rfs_bitmap_element bits;                                    
    int                      available;                               
    if (size < rtems_rfs_bitmap_element_bits ())                      
 2017e0c:	38 80 00 09 	bgu,a   2017e30 <rtems_rfs_bitmap_create_search+0x68>
 2017e10:	c2 06 80 00 	ld  [ %i2 ], %g1                               
    {                                                                 
      bits = rtems_rfs_bitmap_merge (*map,                            
 2017e14:	90 10 20 00 	clr  %o0                                       
 2017e18:	7f ff fe fb 	call  2017a04 <rtems_rfs_bitmap_mask_section>  
 2017e1c:	92 10 00 1d 	mov  %i5, %o1                                  
{                                                                     
  /*                                                                  
   * Use the normal bit operators because we do not change the bits just merge
   * the 2 separate parts.                                            
   */                                                                 
  bits1 &= mask;                                                      
 2017e20:	c2 06 80 00 	ld  [ %i2 ], %g1                               
    if (size < rtems_rfs_bitmap_element_bits ())                      
    {                                                                 
      bits = rtems_rfs_bitmap_merge (*map,                            
                                     RTEMS_RFS_BITMAP_ELEMENT_SET,    
                                     rtems_rfs_bitmap_mask_section (0, size));
      available = size;                                               
 2017e24:	86 10 00 1d 	mov  %i5, %g3                                  
{                                                                     
  /*                                                                  
   * Use the normal bit operators because we do not change the bits just merge
   * the 2 separate parts.                                            
   */                                                                 
  bits1 &= mask;                                                      
 2017e28:	10 80 00 03 	b  2017e34 <rtems_rfs_bitmap_create_search+0x6c>
 2017e2c:	82 0a 00 01 	and  %o0, %g1, %g1                             
      available = size;                                               
    }                                                                 
    else                                                              
    {                                                                 
      bits      = *map;                                               
      available = rtems_rfs_bitmap_element_bits ();                   
 2017e30:	86 10 20 20 	mov  0x20, %g3                                 
    }                                                                 
                                                                      
    if (rtems_rfs_bitmap_match (bits, RTEMS_RFS_BITMAP_ELEMENT_SET))  
 2017e34:	80 a0 60 00 	cmp  %g1, 0                                    
 2017e38:	02 80 00 0e 	be  2017e70 <rtems_rfs_bitmap_create_search+0xa8>
 2017e3c:	80 a6 e0 20 	cmp  %i3, 0x20                                 
 2017e40:	84 10 20 00 	clr  %g2                                       
 */                                                                   
static bool                                                           
rtems_rfs_bitmap_test (rtems_rfs_bitmap_element target,               
                       rtems_rfs_bitmap_bit     bit)                  
{                                                                     
  return RTEMS_RFS_BITMAP_TEST_BIT (target, bit);                     
 2017e44:	89 2c 00 02 	sll  %l0, %g2, %g4                             
      rtems_rfs_bitmap_set (*search_map, bit);                        
    else                                                              
    {                                                                 
      int b;                                                          
      for (b = 0; b < available; b++)                                 
        if (!rtems_rfs_bitmap_test (bits, b))                         
 2017e48:	80 89 00 01 	btst  %g4, %g1                                 
 2017e4c:	02 80 00 05 	be  2017e60 <rtems_rfs_bitmap_create_search+0x98>
 2017e50:	84 00 a0 01 	inc  %g2                                       
          control->free++;                                            
 2017e54:	c8 07 20 10 	ld  [ %i4 + 0x10 ], %g4                        
 2017e58:	88 01 20 01 	inc  %g4                                       
 2017e5c:	c8 27 20 10 	st  %g4, [ %i4 + 0x10 ]                        
    if (rtems_rfs_bitmap_match (bits, RTEMS_RFS_BITMAP_ELEMENT_SET))  
      rtems_rfs_bitmap_set (*search_map, bit);                        
    else                                                              
    {                                                                 
      int b;                                                          
      for (b = 0; b < available; b++)                                 
 2017e60:	80 a0 80 03 	cmp  %g2, %g3                                  
 2017e64:	06 bf ff f9 	bl  2017e48 <rtems_rfs_bitmap_create_search+0x80>
 2017e68:	89 2c 00 02 	sll  %l0, %g2, %g4                             
          control->free++;                                            
    }                                                                 
                                                                      
    size -= available;                                                
                                                                      
    if (bit == rtems_rfs_bitmap_element_bits ())                      
 2017e6c:	80 a6 e0 20 	cmp  %i3, 0x20                                 
 2017e70:	12 80 00 06 	bne  2017e88 <rtems_rfs_bitmap_create_search+0xc0><== ALWAYS TAKEN
 2017e74:	ba 27 40 03 	sub  %i5, %g3, %i5                             
    {                                                                 
      bit = 0;                                                        
      search_map++;                                                   
      *search_map = RTEMS_RFS_BITMAP_ELEMENT_CLEAR;                   
 2017e78:	f0 26 60 04 	st  %i0, [ %i1 + 4 ]                           <== NOT EXECUTED
                                                                      
    size -= available;                                                
                                                                      
    if (bit == rtems_rfs_bitmap_element_bits ())                      
    {                                                                 
      bit = 0;                                                        
 2017e7c:	b6 10 20 00 	clr  %i3                                       <== NOT EXECUTED
      search_map++;                                                   
 2017e80:	10 80 00 03 	b  2017e8c <rtems_rfs_bitmap_create_search+0xc4><== NOT EXECUTED
 2017e84:	b2 06 60 04 	add  %i1, 4, %i1                               <== NOT EXECUTED
      *search_map = RTEMS_RFS_BITMAP_ELEMENT_CLEAR;                   
    }                                                                 
    else                                                              
      bit++;                                                          
 2017e88:	b6 06 e0 01 	inc  %i3                                       
 2017e8c:	b4 06 a0 04 	add  %i2, 4, %i2                               
  search_map = control->search_bits;                                  
  size = control->size;                                               
  bit = 0;                                                            
                                                                      
  *search_map = RTEMS_RFS_BITMAP_ELEMENT_CLEAR;                       
  while (size)                                                        
 2017e90:	80 a7 60 00 	cmp  %i5, 0                                    
 2017e94:	12 bf ff de 	bne  2017e0c <rtems_rfs_bitmap_create_search+0x44>
 2017e98:	80 a7 60 1f 	cmp  %i5, 0x1f                                 
    else                                                              
      bit++;                                                          
    map++;                                                            
  }                                                                   
                                                                      
  return 0;                                                           
 2017e9c:	b0 10 20 00 	clr  %i0                                       
}                                                                     
 2017ea0:	81 c7 e0 08 	ret                                            
 2017ea4:	81 e8 00 00 	restore                                        
                                                                      

0201772c <rtems_rfs_bitmap_load_map>: * @return int The error number (errno). No error if 0. */ static int rtems_rfs_bitmap_load_map (rtems_rfs_bitmap_control* control, rtems_rfs_bitmap_map* map) {
 201772c:	9d e3 bf a0 	save  %sp, -96, %sp                            
  int rc;                                                             
                                                                      
  if (!control->buffer)                                               
 2017730:	c2 06 00 00 	ld  [ %i0 ], %g1                               
 2017734:	80 a0 60 00 	cmp  %g1, 0                                    
 2017738:	02 80 00 0f 	be  2017774 <rtems_rfs_bitmap_load_map+0x48>   <== NEVER TAKEN
 201773c:	90 10 20 06 	mov  6, %o0                                    
    return ENXIO;                                                     
                                                                      
  *map = NULL;                                                        
 2017740:	c0 26 40 00 	clr  [ %i1 ]                                   
                                                                      
  rc = rtems_rfs_buffer_handle_request (control->fs,                  
 2017744:	d4 06 20 08 	ld  [ %i0 + 8 ], %o2                           
 2017748:	d0 06 20 04 	ld  [ %i0 + 4 ], %o0                           
 201774c:	d2 06 00 00 	ld  [ %i0 ], %o1                               
 2017750:	40 00 06 da 	call  20192b8 <rtems_rfs_buffer_handle_request>
 2017754:	96 10 20 01 	mov  1, %o3                                    
                                        control->buffer,              
                                        control->block,               
                                        true);                        
  if (rc)                                                             
 2017758:	80 a2 20 00 	cmp  %o0, 0                                    
 201775c:	12 80 00 06 	bne  2017774 <rtems_rfs_bitmap_load_map+0x48>  <== NEVER TAKEN
 2017760:	01 00 00 00 	nop                                            
    return rc;                                                        
                                                                      
  *map = rtems_rfs_buffer_data (control->buffer);                     
 2017764:	c2 06 00 00 	ld  [ %i0 ], %g1                               
 2017768:	c2 00 60 08 	ld  [ %g1 + 8 ], %g1                           
 201776c:	c2 00 60 24 	ld  [ %g1 + 0x24 ], %g1                        
 2017770:	c2 26 40 00 	st  %g1, [ %i1 ]                               
  return 0;                                                           
}                                                                     
 2017774:	81 c7 e0 08 	ret                                            
 2017778:	91 e8 00 08 	restore  %g0, %o0, %o0                         
                                                                      

02017ce8 <rtems_rfs_bitmap_map_alloc>: int rtems_rfs_bitmap_map_alloc (rtems_rfs_bitmap_control* control, rtems_rfs_bitmap_bit seed, bool* allocated, rtems_rfs_bitmap_bit* bit) {
 2017ce8:	9d e3 bf a0 	save  %sp, -96, %sp                            
  int                  rc = 0;                                        
                                                                      
  /*                                                                  
   * By default we assume the allocation failed.                      
   */                                                                 
  *allocated = false;                                                 
 2017cec:	c0 2e 80 00 	clrb  [ %i2 ]                                  
   * we have searched all of the map. The seed may not be aligned to a window
   * boundary so we may need to search a partial window and this may also not
   * be balanced for the upper or lower seeds. We move to the limits, search
   * then return false if no clear bits are found.                    
   */                                                                 
  while (((upper_seed >= 0) && (upper_seed < control->size))          
 2017cf0:	10 80 00 26 	b  2017d88 <rtems_rfs_bitmap_map_alloc+0xa0>   
 2017cf4:	ba 10 00 19 	mov  %i1, %i5                                  
         || ((lower_seed >= 0) && (lower_seed < control->size)))      
  {                                                                   
    /*                                                                
     * Search up first so bits allocated in succession are grouped together.
     */                                                               
    if (upper_seed < control->size)                                   
 2017cf8:	1a 80 00 0f 	bcc  2017d34 <rtems_rfs_bitmap_map_alloc+0x4c> <== NEVER TAKEN
 2017cfc:	80 a6 60 00 	cmp  %i1, 0                                    
    {                                                                 
      *bit = upper_seed;                                              
 2017d00:	fa 26 c0 00 	st  %i5, [ %i3 ]                               
      rc = rtems_rfs_search_map_for_clear_bit (control, bit, allocated,
 2017d04:	90 10 00 18 	mov  %i0, %o0                                  
 2017d08:	92 10 00 1b 	mov  %i3, %o1                                  
 2017d0c:	94 10 00 1a 	mov  %i2, %o2                                  
 2017d10:	7f ff fe 9b 	call  201777c <rtems_rfs_search_map_for_clear_bit.constprop.1>
 2017d14:	96 10 20 01 	mov  1, %o3                                    
                                               window, 1);            
      if ((rc > 0) || *allocated)                                     
 2017d18:	80 a2 20 00 	cmp  %o0, 0                                    
 2017d1c:	14 80 00 29 	bg  2017dc0 <rtems_rfs_bitmap_map_alloc+0xd8>  <== NEVER TAKEN
 2017d20:	01 00 00 00 	nop                                            
 2017d24:	c2 0e 80 00 	ldub  [ %i2 ], %g1                             
 2017d28:	80 a0 60 00 	cmp  %g1, 0                                    
 2017d2c:	12 80 00 25 	bne  2017dc0 <rtems_rfs_bitmap_map_alloc+0xd8> <== ALWAYS TAKEN
 2017d30:	80 a6 60 00 	cmp  %i1, 0                                    
        break;                                                        
    }                                                                 
                                                                      
    if (lower_seed >= 0)                                              
 2017d34:	06 80 00 0e 	bl  2017d6c <rtems_rfs_bitmap_map_alloc+0x84>  <== NOT EXECUTED
 2017d38:	90 10 00 18 	mov  %i0, %o0                                  <== NOT EXECUTED
    {                                                                 
      *bit = lower_seed;                                              
 2017d3c:	f2 26 c0 00 	st  %i1, [ %i3 ]                               <== NOT EXECUTED
      rc = rtems_rfs_search_map_for_clear_bit (control, bit, allocated,
 2017d40:	92 10 00 1b 	mov  %i3, %o1                                  <== NOT EXECUTED
 2017d44:	94 10 00 1a 	mov  %i2, %o2                                  <== NOT EXECUTED
 2017d48:	7f ff fe 8d 	call  201777c <rtems_rfs_search_map_for_clear_bit.constprop.1><== NOT EXECUTED
 2017d4c:	96 10 3f ff 	mov  -1, %o3                                   <== NOT EXECUTED
                                               window, -1);           
      if ((rc > 0) || *allocated)                                     
 2017d50:	80 a2 20 00 	cmp  %o0, 0                                    <== NOT EXECUTED
 2017d54:	14 80 00 1b 	bg  2017dc0 <rtems_rfs_bitmap_map_alloc+0xd8>  <== NOT EXECUTED
 2017d58:	01 00 00 00 	nop                                            <== NOT EXECUTED
 2017d5c:	c2 0e 80 00 	ldub  [ %i2 ], %g1                             <== NOT EXECUTED
 2017d60:	80 a0 60 00 	cmp  %g1, 0                                    <== NOT EXECUTED
 2017d64:	12 80 00 17 	bne  2017dc0 <rtems_rfs_bitmap_map_alloc+0xd8> <== NOT EXECUTED
 2017d68:	01 00 00 00 	nop                                            <== NOT EXECUTED
                                                                      
    /*                                                                
     * Do not bound the limits at the edges of the map. Do not update if an
     * edge has been passed.                                          
     */                                                               
    if (upper_seed < control->size)                                   
 2017d6c:	c2 06 20 0c 	ld  [ %i0 + 0xc ], %g1                         <== NOT EXECUTED
 2017d70:	80 a7 40 01 	cmp  %i5, %g1                                  <== NOT EXECUTED
 2017d74:	2a 80 00 02 	bcs,a   2017d7c <rtems_rfs_bitmap_map_alloc+0x94><== NOT EXECUTED
 2017d78:	ba 07 68 00 	add  %i5, 0x800, %i5                           <== NOT EXECUTED
      upper_seed += window;                                           
    if (lower_seed >= 0)                                              
 2017d7c:	80 a6 60 00 	cmp  %i1, 0                                    <== NOT EXECUTED
 2017d80:	36 80 00 02 	bge,a   2017d88 <rtems_rfs_bitmap_map_alloc+0xa0><== NOT EXECUTED
 2017d84:	b2 06 78 00 	add  %i1, -2048, %i1                           <== NOT EXECUTED
   * we have searched all of the map. The seed may not be aligned to a window
   * boundary so we may need to search a partial window and this may also not
   * be balanced for the upper or lower seeds. We move to the limits, search
   * then return false if no clear bits are found.                    
   */                                                                 
  while (((upper_seed >= 0) && (upper_seed < control->size))          
 2017d88:	80 a7 60 00 	cmp  %i5, 0                                    
 2017d8c:	06 80 00 07 	bl  2017da8 <rtems_rfs_bitmap_map_alloc+0xc0>  <== NEVER TAKEN
 2017d90:	80 a6 60 00 	cmp  %i1, 0                                    
 2017d94:	c2 06 20 0c 	ld  [ %i0 + 0xc ], %g1                         
 2017d98:	80 a7 40 01 	cmp  %i5, %g1                                  
 2017d9c:	0a bf ff d7 	bcs  2017cf8 <rtems_rfs_bitmap_map_alloc+0x10> <== ALWAYS TAKEN
 2017da0:	01 00 00 00 	nop                                            
         || ((lower_seed >= 0) && (lower_seed < control->size)))      
 2017da4:	80 a6 60 00 	cmp  %i1, 0                                    <== NOT EXECUTED
 2017da8:	06 80 00 06 	bl  2017dc0 <rtems_rfs_bitmap_map_alloc+0xd8>  <== NOT EXECUTED
 2017dac:	01 00 00 00 	nop                                            <== NOT EXECUTED
 2017db0:	c2 06 20 0c 	ld  [ %i0 + 0xc ], %g1                         <== NOT EXECUTED
 2017db4:	80 a6 40 01 	cmp  %i1, %g1                                  <== NOT EXECUTED
 2017db8:	0a bf ff d0 	bcs  2017cf8 <rtems_rfs_bitmap_map_alloc+0x10> <== NOT EXECUTED
 2017dbc:	80 a7 40 01 	cmp  %i5, %g1                                  <== NOT EXECUTED
    if (lower_seed >= 0)                                              
      lower_seed -= window;                                           
  }                                                                   
                                                                      
  return 0;                                                           
}                                                                     
 2017dc0:	81 c7 e0 08 	ret                                            
 2017dc4:	91 e8 20 00 	restore  %g0, 0, %o0                           
                                                                      

02017abc <rtems_rfs_bitmap_map_clear>: int rtems_rfs_bitmap_map_clear (rtems_rfs_bitmap_control* control, rtems_rfs_bitmap_bit bit) {
 2017abc:	9d e3 bf 98 	save  %sp, -104, %sp                           
  rtems_rfs_bitmap_map map;                                           
  rtems_rfs_bitmap_map search_map;                                    
  int                  index;                                         
  int                  offset;                                        
  int                  rc;                                            
  rc = rtems_rfs_bitmap_load_map (control, &map);                     
 2017ac0:	90 10 00 18 	mov  %i0, %o0                                  
 2017ac4:	7f ff ff 1a 	call  201772c <rtems_rfs_bitmap_load_map>      
 2017ac8:	92 07 bf fc 	add  %fp, -4, %o1                              
  if (rc > 0)                                                         
 2017acc:	80 a2 20 00 	cmp  %o0, 0                                    
 2017ad0:	14 80 00 1b 	bg  2017b3c <rtems_rfs_bitmap_map_clear+0x80>  <== NEVER TAKEN
 2017ad4:	01 00 00 00 	nop                                            
    return rc;                                                        
  if (bit >= control->size)                                           
 2017ad8:	c2 06 20 0c 	ld  [ %i0 + 0xc ], %g1                         
 2017adc:	80 a6 40 01 	cmp  %i1, %g1                                  
 2017ae0:	1a 80 00 17 	bcc  2017b3c <rtems_rfs_bitmap_map_clear+0x80> <== NEVER TAKEN
 2017ae4:	90 10 20 16 	mov  0x16, %o0                                 
    return EINVAL;                                                    
  search_map        = control->search_bits;                           
  index             = rtems_rfs_bitmap_map_index (bit);               
  offset            = rtems_rfs_bitmap_map_offset (bit);              
  map[index]        = rtems_rfs_bitmap_clear (map[index], 1 << offset);
 2017ae8:	de 07 bf fc 	ld  [ %fp + -4 ], %o7                          
  rc = rtems_rfs_bitmap_load_map (control, &map);                     
  if (rc > 0)                                                         
    return rc;                                                        
  if (bit >= control->size)                                           
    return EINVAL;                                                    
  search_map        = control->search_bits;                           
 2017aec:	c4 06 20 14 	ld  [ %i0 + 0x14 ], %g2                        
  index             = rtems_rfs_bitmap_map_index (bit);               
 2017af0:	87 3e 60 05 	sra  %i1, 5, %g3                               
  offset            = rtems_rfs_bitmap_map_offset (bit);              
  map[index]        = rtems_rfs_bitmap_clear (map[index], 1 << offset);
 2017af4:	89 28 e0 02 	sll  %g3, 2, %g4                               
 */                                                                   
static rtems_rfs_bitmap_element                                       
rtems_rfs_bitmap_clear (rtems_rfs_bitmap_element target,              
                        rtems_rfs_bitmap_element bits)                
{                                                                     
  return RTEMS_RFS_BITMAP_CLEAR_BITS (target, bits);                  
 2017af8:	d8 03 c0 04 	ld  [ %o7 + %g4 ], %o4                         
  if (bit >= control->size)                                           
    return EINVAL;                                                    
  search_map        = control->search_bits;                           
  index             = rtems_rfs_bitmap_map_index (bit);               
  offset            = rtems_rfs_bitmap_map_offset (bit);              
  map[index]        = rtems_rfs_bitmap_clear (map[index], 1 << offset);
 2017afc:	82 10 20 01 	mov  1, %g1                                    
 2017b00:	9b 28 40 19 	sll  %g1, %i1, %o5                             
  bit               = index;                                          
  index             = rtems_rfs_bitmap_map_index (bit);               
 2017b04:	b3 3e 60 0a 	sra  %i1, 0xa, %i1                             
 */                                                                   
static rtems_rfs_bitmap_element                                       
rtems_rfs_bitmap_clear (rtems_rfs_bitmap_element target,              
                        rtems_rfs_bitmap_element bits)                
{                                                                     
  return RTEMS_RFS_BITMAP_CLEAR_BITS (target, bits);                  
 2017b08:	9a 13 00 0d 	or  %o4, %o5, %o5                              
  offset            = rtems_rfs_bitmap_map_offset (bit);              
  map[index]        = rtems_rfs_bitmap_clear (map[index], 1 << offset);
  bit               = index;                                          
  index             = rtems_rfs_bitmap_map_index (bit);               
  offset            = rtems_rfs_bitmap_map_offset(bit);               
  search_map[index] = rtems_rfs_bitmap_clear (search_map[index], 1 << offset);
 2017b0c:	b3 2e 60 02 	sll  %i1, 2, %i1                               
  if (bit >= control->size)                                           
    return EINVAL;                                                    
  search_map        = control->search_bits;                           
  index             = rtems_rfs_bitmap_map_index (bit);               
  offset            = rtems_rfs_bitmap_map_offset (bit);              
  map[index]        = rtems_rfs_bitmap_clear (map[index], 1 << offset);
 2017b10:	da 23 c0 04 	st  %o5, [ %o7 + %g4 ]                         
 */                                                                   
static rtems_rfs_bitmap_element                                       
rtems_rfs_bitmap_clear (rtems_rfs_bitmap_element target,              
                        rtems_rfs_bitmap_element bits)                
{                                                                     
  return RTEMS_RFS_BITMAP_CLEAR_BITS (target, bits);                  
 2017b14:	c8 00 80 19 	ld  [ %g2 + %i1 ], %g4                         
  offset            = rtems_rfs_bitmap_map_offset (bit);              
  map[index]        = rtems_rfs_bitmap_clear (map[index], 1 << offset);
  bit               = index;                                          
  index             = rtems_rfs_bitmap_map_index (bit);               
  offset            = rtems_rfs_bitmap_map_offset(bit);               
  search_map[index] = rtems_rfs_bitmap_clear (search_map[index], 1 << offset);
 2017b18:	87 28 40 03 	sll  %g1, %g3, %g3                             
 */                                                                   
static rtems_rfs_bitmap_element                                       
rtems_rfs_bitmap_clear (rtems_rfs_bitmap_element target,              
                        rtems_rfs_bitmap_element bits)                
{                                                                     
  return RTEMS_RFS_BITMAP_CLEAR_BITS (target, bits);                  
 2017b1c:	86 11 00 03 	or  %g4, %g3, %g3                              
  offset            = rtems_rfs_bitmap_map_offset (bit);              
  map[index]        = rtems_rfs_bitmap_clear (map[index], 1 << offset);
  bit               = index;                                          
  index             = rtems_rfs_bitmap_map_index (bit);               
  offset            = rtems_rfs_bitmap_map_offset(bit);               
  search_map[index] = rtems_rfs_bitmap_clear (search_map[index], 1 << offset);
 2017b20:	c6 20 80 19 	st  %g3, [ %g2 + %i1 ]                         
  rtems_rfs_buffer_mark_dirty (control->buffer);                      
 2017b24:	c4 06 00 00 	ld  [ %i0 ], %g2                               
  control->free++;                                                    
  return 0;                                                           
 2017b28:	90 10 20 00 	clr  %o0                                       
  map[index]        = rtems_rfs_bitmap_clear (map[index], 1 << offset);
  bit               = index;                                          
  index             = rtems_rfs_bitmap_map_index (bit);               
  offset            = rtems_rfs_bitmap_map_offset(bit);               
  search_map[index] = rtems_rfs_bitmap_clear (search_map[index], 1 << offset);
  rtems_rfs_buffer_mark_dirty (control->buffer);                      
 2017b2c:	c2 28 80 00 	stb  %g1, [ %g2 ]                              
  control->free++;                                                    
 2017b30:	c2 06 20 10 	ld  [ %i0 + 0x10 ], %g1                        
 2017b34:	82 00 60 01 	inc  %g1                                       
 2017b38:	c2 26 20 10 	st  %g1, [ %i0 + 0x10 ]                        
  return 0;                                                           
}                                                                     
 2017b3c:	81 c7 e0 08 	ret                                            
 2017b40:	91 e8 00 08 	restore  %g0, %o0, %o0                         
                                                                      

02017c34 <rtems_rfs_bitmap_map_clear_all>: int rtems_rfs_bitmap_map_clear_all (rtems_rfs_bitmap_control* control) {
 2017c34:	9d e3 bf 98 	save  %sp, -104, %sp                           
  rtems_rfs_bitmap_bit last_search_bit;                               
  size_t               elements;                                      
  int                  e;                                             
  int                  rc;                                            
                                                                      
  rc = rtems_rfs_bitmap_load_map (control, &map);                     
 2017c38:	90 10 00 18 	mov  %i0, %o0                                  
 2017c3c:	92 07 bf fc 	add  %fp, -4, %o1                              
 2017c40:	7f ff fe bb 	call  201772c <rtems_rfs_bitmap_load_map>      
 2017c44:	ba 10 00 18 	mov  %i0, %i5                                  
  if (rc > 0)                                                         
 2017c48:	80 a2 20 00 	cmp  %o0, 0                                    
 2017c4c:	14 80 00 25 	bg  2017ce0 <rtems_rfs_bitmap_map_clear_all+0xac><== NEVER TAKEN
 2017c50:	de 07 bf fc 	ld  [ %fp + -4 ], %o7                          
    return rc;                                                        
                                                                      
  elements = rtems_rfs_bitmap_elements (control->size);               
 2017c54:	c8 06 20 0c 	ld  [ %i0 + 0xc ], %g4                         
 2017c58:	88 01 3f ff 	add  %g4, -1, %g4                              
                                                                      
  control->free = elements;                                           
                                                                      
  for (e = 0; e < elements; e++)                                      
 2017c5c:	84 10 20 00 	clr  %g2                                       
                                                                      
  rc = rtems_rfs_bitmap_load_map (control, &map);                     
  if (rc > 0)                                                         
    return rc;                                                        
                                                                      
  elements = rtems_rfs_bitmap_elements (control->size);               
 2017c60:	89 31 20 05 	srl  %g4, 5, %g4                               
                                                                      
  control->free = elements;                                           
                                                                      
  for (e = 0; e < elements; e++)                                      
    map[e] = RTEMS_RFS_BITMAP_ELEMENT_CLEAR;                          
 2017c64:	86 10 3f ff 	mov  -1, %g3                                   
                                                                      
  rc = rtems_rfs_bitmap_load_map (control, &map);                     
  if (rc > 0)                                                         
    return rc;                                                        
                                                                      
  elements = rtems_rfs_bitmap_elements (control->size);               
 2017c68:	82 01 20 01 	add  %g4, 1, %g1                               
                                                                      
  control->free = elements;                                           
                                                                      
  for (e = 0; e < elements; e++)                                      
 2017c6c:	10 80 00 04 	b  2017c7c <rtems_rfs_bitmap_map_clear_all+0x48>
 2017c70:	c2 26 20 10 	st  %g1, [ %i0 + 0x10 ]                        
 2017c74:	84 00 a0 01 	inc  %g2                                       
    map[e] = RTEMS_RFS_BITMAP_ELEMENT_CLEAR;                          
 2017c78:	c6 23 c0 0d 	st  %g3, [ %o7 + %o5 ]                         
                                                                      
  elements = rtems_rfs_bitmap_elements (control->size);               
                                                                      
  control->free = elements;                                           
                                                                      
  for (e = 0; e < elements; e++)                                      
 2017c7c:	80 a0 80 01 	cmp  %g2, %g1                                  
 2017c80:	0a bf ff fd 	bcs  2017c74 <rtems_rfs_bitmap_map_clear_all+0x40>
 2017c84:	9b 28 a0 02 	sll  %g2, 2, %o5                               
   * Set the un-mapped bits in the last search element so the available logic
   * works.                                                           
   */                                                                 
  last_search_bit = rtems_rfs_bitmap_map_offset (elements);           
                                                                      
  if (last_search_bit == 0)                                           
 2017c88:	86 88 60 1f 	andcc  %g1, 0x1f, %g3                          
 2017c8c:	22 80 00 02 	be,a   2017c94 <rtems_rfs_bitmap_map_clear_all+0x60><== ALWAYS TAKEN
 2017c90:	86 10 20 20 	mov  0x20, %g3                                 
    last_search_bit = rtems_rfs_bitmap_element_bits ();               
                                                                      
  elements = rtems_rfs_bitmap_elements (elements);                    
 2017c94:	89 31 20 05 	srl  %g4, 5, %g4                               
                                                                      
  for (e = 0; e < (elements - 1); e++)                                
 2017c98:	82 10 20 00 	clr  %g1                                       
 2017c9c:	10 80 00 05 	b  2017cb0 <rtems_rfs_bitmap_map_clear_all+0x7c>
 2017ca0:	9e 10 3f ff 	mov  -1, %o7                                   
    control->search_bits[e] = RTEMS_RFS_BITMAP_ELEMENT_CLEAR;         
 2017ca4:	9b 28 60 02 	sll  %g1, 2, %o5                               <== NOT EXECUTED
  if (last_search_bit == 0)                                           
    last_search_bit = rtems_rfs_bitmap_element_bits ();               
                                                                      
  elements = rtems_rfs_bitmap_elements (elements);                    
                                                                      
  for (e = 0; e < (elements - 1); e++)                                
 2017ca8:	82 00 60 01 	inc  %g1                                       <== NOT EXECUTED
    control->search_bits[e] = RTEMS_RFS_BITMAP_ELEMENT_CLEAR;         
 2017cac:	de 20 80 0d 	st  %o7, [ %g2 + %o5 ]                         <== NOT EXECUTED
  if (last_search_bit == 0)                                           
    last_search_bit = rtems_rfs_bitmap_element_bits ();               
                                                                      
  elements = rtems_rfs_bitmap_elements (elements);                    
                                                                      
  for (e = 0; e < (elements - 1); e++)                                
 2017cb0:	80 a0 40 04 	cmp  %g1, %g4                                  
 2017cb4:	12 bf ff fc 	bne  2017ca4 <rtems_rfs_bitmap_map_clear_all+0x70><== NEVER TAKEN
 2017cb8:	c4 07 60 14 	ld  [ %i5 + 0x14 ], %g2                        
    control->search_bits[e] = RTEMS_RFS_BITMAP_ELEMENT_CLEAR;         
                                                                      
  control->search_bits[elements - 1] =                                
 2017cbc:	83 28 60 02 	sll  %g1, 2, %g1                               
                                                                      
rtems_rfs_bitmap_element                                              
rtems_rfs_bitmap_mask (unsigned int size)                             
{                                                                     
  rtems_rfs_bitmap_element mask = RTEMS_RFS_BITMAP_ELEMENT_FULL_MASK; 
  mask >>= (rtems_rfs_bitmap_element_bits () - size);                 
 2017cc0:	86 20 00 03 	neg  %g3                                       
 2017cc4:	88 10 3f ff 	mov  -1, %g4                                   
 2017cc8:	87 31 00 03 	srl  %g4, %g3, %g3                             
  elements = rtems_rfs_bitmap_elements (elements);                    
                                                                      
  for (e = 0; e < (elements - 1); e++)                                
    control->search_bits[e] = RTEMS_RFS_BITMAP_ELEMENT_CLEAR;         
                                                                      
  control->search_bits[elements - 1] =                                
 2017ccc:	c6 20 80 01 	st  %g3, [ %g2 + %g1 ]                         
    rtems_rfs_bitmap_merge (RTEMS_RFS_BITMAP_ELEMENT_CLEAR,           
                            RTEMS_RFS_BITMAP_ELEMENT_SET,             
                            rtems_rfs_bitmap_mask (last_search_bit)); 
                                                                      
  rtems_rfs_buffer_mark_dirty (control->buffer);                      
 2017cd0:	c2 07 40 00 	ld  [ %i5 ], %g1                               
 2017cd4:	84 10 20 01 	mov  1, %g2                                    
                                                                      
  return 0;                                                           
 2017cd8:	90 10 20 00 	clr  %o0                                       
  control->search_bits[elements - 1] =                                
    rtems_rfs_bitmap_merge (RTEMS_RFS_BITMAP_ELEMENT_CLEAR,           
                            RTEMS_RFS_BITMAP_ELEMENT_SET,             
                            rtems_rfs_bitmap_mask (last_search_bit)); 
                                                                      
  rtems_rfs_buffer_mark_dirty (control->buffer);                      
 2017cdc:	c4 28 40 00 	stb  %g2, [ %g1 ]                              
                                                                      
  return 0;                                                           
}                                                                     
 2017ce0:	81 c7 e0 08 	ret                                            
 2017ce4:	91 e8 00 08 	restore  %g0, %o0, %o0                         
                                                                      

02017a2c <rtems_rfs_bitmap_map_set>: int rtems_rfs_bitmap_map_set (rtems_rfs_bitmap_control* control, rtems_rfs_bitmap_bit bit) {
 2017a2c:	9d e3 bf 98 	save  %sp, -104, %sp                           
  rtems_rfs_bitmap_map map;                                           
  rtems_rfs_bitmap_map search_map;                                    
  int                  index;                                         
  int                  offset;                                        
  int                 rc;                                             
  rc = rtems_rfs_bitmap_load_map (control, &map);                     
 2017a30:	90 10 00 18 	mov  %i0, %o0                                  
 2017a34:	7f ff ff 3e 	call  201772c <rtems_rfs_bitmap_load_map>      
 2017a38:	92 07 bf fc 	add  %fp, -4, %o1                              
  if (rc > 0)                                                         
 2017a3c:	80 a2 20 00 	cmp  %o0, 0                                    
 2017a40:	14 80 00 1d 	bg  2017ab4 <rtems_rfs_bitmap_map_set+0x88>    <== NEVER TAKEN
 2017a44:	01 00 00 00 	nop                                            
    return rc;                                                        
  if (bit >= control->size)                                           
 2017a48:	c2 06 20 0c 	ld  [ %i0 + 0xc ], %g1                         
 2017a4c:	80 a6 40 01 	cmp  %i1, %g1                                  
 2017a50:	1a 80 00 19 	bcc  2017ab4 <rtems_rfs_bitmap_map_set+0x88>   <== NEVER TAKEN
 2017a54:	90 10 20 16 	mov  0x16, %o0                                 
    return EINVAL;                                                    
  search_map = control->search_bits;                                  
  index      = rtems_rfs_bitmap_map_index (bit);                      
  offset     = rtems_rfs_bitmap_map_offset (bit);                     
  map[index] = rtems_rfs_bitmap_set (map[index], 1 << offset);        
 2017a58:	da 07 bf fc 	ld  [ %fp + -4 ], %o5                          
  if (rc > 0)                                                         
    return rc;                                                        
  if (bit >= control->size)                                           
    return EINVAL;                                                    
  search_map = control->search_bits;                                  
  index      = rtems_rfs_bitmap_map_index (bit);                      
 2017a5c:	87 3e 60 05 	sra  %i1, 5, %g3                               
  offset     = rtems_rfs_bitmap_map_offset (bit);                     
  map[index] = rtems_rfs_bitmap_set (map[index], 1 << offset);        
 2017a60:	9f 28 e0 02 	sll  %g3, 2, %o7                               
 */                                                                   
static rtems_rfs_bitmap_element                                       
rtems_rfs_bitmap_set (rtems_rfs_bitmap_element target,                
                      rtems_rfs_bitmap_element bits)                  
{                                                                     
  return RTEMS_RFS_BITMAP_SET_BITS (target, bits);                    
 2017a64:	c8 03 40 0f 	ld  [ %o5 + %o7 ], %g4                         
  rc = rtems_rfs_bitmap_load_map (control, &map);                     
  if (rc > 0)                                                         
    return rc;                                                        
  if (bit >= control->size)                                           
    return EINVAL;                                                    
  search_map = control->search_bits;                                  
 2017a68:	c4 06 20 14 	ld  [ %i0 + 0x14 ], %g2                        
  index      = rtems_rfs_bitmap_map_index (bit);                      
  offset     = rtems_rfs_bitmap_map_offset (bit);                     
  map[index] = rtems_rfs_bitmap_set (map[index], 1 << offset);        
 2017a6c:	82 10 20 01 	mov  1, %g1                                    
 2017a70:	99 28 40 19 	sll  %g1, %i1, %o4                             
 */                                                                   
static rtems_rfs_bitmap_element                                       
rtems_rfs_bitmap_set (rtems_rfs_bitmap_element target,                
                      rtems_rfs_bitmap_element bits)                  
{                                                                     
  return RTEMS_RFS_BITMAP_SET_BITS (target, bits);                    
 2017a74:	88 29 00 0c 	andn  %g4, %o4, %g4                            
  if (bit >= control->size)                                           
    return EINVAL;                                                    
  search_map = control->search_bits;                                  
  index      = rtems_rfs_bitmap_map_index (bit);                      
  offset     = rtems_rfs_bitmap_map_offset (bit);                     
  map[index] = rtems_rfs_bitmap_set (map[index], 1 << offset);        
 2017a78:	c8 23 40 0f 	st  %g4, [ %o5 + %o7 ]                         
  if (rtems_rfs_bitmap_match(map[index], RTEMS_RFS_BITMAP_ELEMENT_SET))
 2017a7c:	80 a1 20 00 	cmp  %g4, 0                                    
 2017a80:	12 80 00 0d 	bne  2017ab4 <rtems_rfs_bitmap_map_set+0x88>   <== ALWAYS TAKEN
 2017a84:	90 10 20 00 	clr  %o0                                       
  {                                                                   
    bit = index;                                                      
    index  = rtems_rfs_bitmap_map_index (bit);                        
 2017a88:	b3 3e 60 0a 	sra  %i1, 0xa, %i1                             <== NOT EXECUTED
    offset = rtems_rfs_bitmap_map_offset (bit);                       
    search_map[index] = rtems_rfs_bitmap_set (search_map[index], 1 << offset);
 2017a8c:	b3 2e 60 02 	sll  %i1, 2, %i1                               <== NOT EXECUTED
 */                                                                   
static rtems_rfs_bitmap_element                                       
rtems_rfs_bitmap_set (rtems_rfs_bitmap_element target,                
                      rtems_rfs_bitmap_element bits)                  
{                                                                     
  return RTEMS_RFS_BITMAP_SET_BITS (target, bits);                    
 2017a90:	c8 00 80 19 	ld  [ %g2 + %i1 ], %g4                         <== NOT EXECUTED
  if (rtems_rfs_bitmap_match(map[index], RTEMS_RFS_BITMAP_ELEMENT_SET))
  {                                                                   
    bit = index;                                                      
    index  = rtems_rfs_bitmap_map_index (bit);                        
    offset = rtems_rfs_bitmap_map_offset (bit);                       
    search_map[index] = rtems_rfs_bitmap_set (search_map[index], 1 << offset);
 2017a94:	87 28 40 03 	sll  %g1, %g3, %g3                             <== NOT EXECUTED
 */                                                                   
static rtems_rfs_bitmap_element                                       
rtems_rfs_bitmap_set (rtems_rfs_bitmap_element target,                
                      rtems_rfs_bitmap_element bits)                  
{                                                                     
  return RTEMS_RFS_BITMAP_SET_BITS (target, bits);                    
 2017a98:	86 29 00 03 	andn  %g4, %g3, %g3                            <== NOT EXECUTED
  if (rtems_rfs_bitmap_match(map[index], RTEMS_RFS_BITMAP_ELEMENT_SET))
  {                                                                   
    bit = index;                                                      
    index  = rtems_rfs_bitmap_map_index (bit);                        
    offset = rtems_rfs_bitmap_map_offset (bit);                       
    search_map[index] = rtems_rfs_bitmap_set (search_map[index], 1 << offset);
 2017a9c:	c6 20 80 19 	st  %g3, [ %g2 + %i1 ]                         <== NOT EXECUTED
    control->free--;                                                  
 2017aa0:	c4 06 20 10 	ld  [ %i0 + 0x10 ], %g2                        <== NOT EXECUTED
 2017aa4:	84 00 bf ff 	add  %g2, -1, %g2                              <== NOT EXECUTED
 2017aa8:	c4 26 20 10 	st  %g2, [ %i0 + 0x10 ]                        <== NOT EXECUTED
    rtems_rfs_buffer_mark_dirty (control->buffer);                    
 2017aac:	c4 06 00 00 	ld  [ %i0 ], %g2                               <== NOT EXECUTED
 2017ab0:	c2 28 80 00 	stb  %g1, [ %g2 ]                              <== NOT EXECUTED
  }                                                                   
  return 0;                                                           
}                                                                     
 2017ab4:	81 c7 e0 08 	ret                                            
 2017ab8:	91 e8 00 08 	restore  %g0, %o0, %o0                         
                                                                      

02017ba4 <rtems_rfs_bitmap_map_set_all>: int rtems_rfs_bitmap_map_set_all (rtems_rfs_bitmap_control* control) {
 2017ba4:	9d e3 bf 98 	save  %sp, -104, %sp                           <== NOT EXECUTED
  rtems_rfs_bitmap_map map;                                           
  size_t               elements;                                      
  int                  e;                                             
  int                  rc;                                            
                                                                      
  rc = rtems_rfs_bitmap_load_map (control, &map);                     
 2017ba8:	90 10 00 18 	mov  %i0, %o0                                  <== NOT EXECUTED
 2017bac:	92 07 bf fc 	add  %fp, -4, %o1                              <== NOT EXECUTED
 2017bb0:	7f ff fe df 	call  201772c <rtems_rfs_bitmap_load_map>      <== NOT EXECUTED
 2017bb4:	ba 10 00 18 	mov  %i0, %i5                                  <== NOT EXECUTED
  if (rc > 0)                                                         
 2017bb8:	80 a2 20 00 	cmp  %o0, 0                                    <== NOT EXECUTED
 2017bbc:	14 80 00 1c 	bg  2017c2c <rtems_rfs_bitmap_map_set_all+0x88><== NOT EXECUTED
 2017bc0:	82 10 20 00 	clr  %g1                                       <== NOT EXECUTED
    return rc;                                                        
                                                                      
  elements = rtems_rfs_bitmap_elements (control->size);               
 2017bc4:	c4 06 20 0c 	ld  [ %i0 + 0xc ], %g2                         <== NOT EXECUTED
                                                                      
  control->free = 0;                                                  
 2017bc8:	c0 26 20 10 	clr  [ %i0 + 0x10 ]                            <== NOT EXECUTED
                                                                      
  rc = rtems_rfs_bitmap_load_map (control, &map);                     
  if (rc > 0)                                                         
    return rc;                                                        
                                                                      
  elements = rtems_rfs_bitmap_elements (control->size);               
 2017bcc:	84 00 bf ff 	add  %g2, -1, %g2                              <== NOT EXECUTED
                                                                      
  control->free = 0;                                                  
                                                                      
  for (e = 0; e < elements; e++)                                      
    map[e] = RTEMS_RFS_BITMAP_ELEMENT_SET;                            
 2017bd0:	c6 07 bf fc 	ld  [ %fp + -4 ], %g3                          <== NOT EXECUTED
                                                                      
  rc = rtems_rfs_bitmap_load_map (control, &map);                     
  if (rc > 0)                                                         
    return rc;                                                        
                                                                      
  elements = rtems_rfs_bitmap_elements (control->size);               
 2017bd4:	85 30 a0 05 	srl  %g2, 5, %g2                               <== NOT EXECUTED
                                                                      
  control->free = 0;                                                  
                                                                      
  for (e = 0; e < elements; e++)                                      
 2017bd8:	10 80 00 04 	b  2017be8 <rtems_rfs_bitmap_map_set_all+0x44> <== NOT EXECUTED
 2017bdc:	88 00 a0 01 	add  %g2, 1, %g4                               <== NOT EXECUTED
 2017be0:	82 00 60 01 	inc  %g1                                       <== NOT EXECUTED
    map[e] = RTEMS_RFS_BITMAP_ELEMENT_SET;                            
 2017be4:	c0 20 c0 0f 	clr  [ %g3 + %o7 ]                             <== NOT EXECUTED
                                                                      
  elements = rtems_rfs_bitmap_elements (control->size);               
                                                                      
  control->free = 0;                                                  
                                                                      
  for (e = 0; e < elements; e++)                                      
 2017be8:	80 a0 40 04 	cmp  %g1, %g4                                  <== NOT EXECUTED
 2017bec:	0a bf ff fd 	bcs  2017be0 <rtems_rfs_bitmap_map_set_all+0x3c><== NOT EXECUTED
 2017bf0:	9f 28 60 02 	sll  %g1, 2, %o7                               <== NOT EXECUTED
    map[e] = RTEMS_RFS_BITMAP_ELEMENT_SET;                            
                                                                      
  elements = rtems_rfs_bitmap_elements (elements);                    
 2017bf4:	85 30 a0 05 	srl  %g2, 5, %g2                               <== NOT EXECUTED
                                                                      
  for (e = 0; e < elements; e++)                                      
 2017bf8:	82 10 20 00 	clr  %g1                                       <== NOT EXECUTED
 2017bfc:	10 80 00 05 	b  2017c10 <rtems_rfs_bitmap_map_set_all+0x6c> <== NOT EXECUTED
 2017c00:	84 00 a0 01 	inc  %g2                                       <== NOT EXECUTED
    control->search_bits[e] = RTEMS_RFS_BITMAP_ELEMENT_SET;           
 2017c04:	87 28 60 02 	sll  %g1, 2, %g3                               <== NOT EXECUTED
  for (e = 0; e < elements; e++)                                      
    map[e] = RTEMS_RFS_BITMAP_ELEMENT_SET;                            
                                                                      
  elements = rtems_rfs_bitmap_elements (elements);                    
                                                                      
  for (e = 0; e < elements; e++)                                      
 2017c08:	82 00 60 01 	inc  %g1                                       <== NOT EXECUTED
    control->search_bits[e] = RTEMS_RFS_BITMAP_ELEMENT_SET;           
 2017c0c:	c0 21 00 03 	clr  [ %g4 + %g3 ]                             <== NOT EXECUTED
  for (e = 0; e < elements; e++)                                      
    map[e] = RTEMS_RFS_BITMAP_ELEMENT_SET;                            
                                                                      
  elements = rtems_rfs_bitmap_elements (elements);                    
                                                                      
  for (e = 0; e < elements; e++)                                      
 2017c10:	80 a0 40 02 	cmp  %g1, %g2                                  <== NOT EXECUTED
 2017c14:	2a bf ff fc 	bcs,a   2017c04 <rtems_rfs_bitmap_map_set_all+0x60><== NOT EXECUTED
 2017c18:	c8 07 60 14 	ld  [ %i5 + 0x14 ], %g4                        <== NOT EXECUTED
    control->search_bits[e] = RTEMS_RFS_BITMAP_ELEMENT_SET;           
                                                                      
  rtems_rfs_buffer_mark_dirty (control->buffer);                      
 2017c1c:	c2 07 40 00 	ld  [ %i5 ], %g1                               <== NOT EXECUTED
 2017c20:	84 10 20 01 	mov  1, %g2                                    <== NOT EXECUTED
                                                                      
  return 0;                                                           
 2017c24:	90 10 20 00 	clr  %o0                                       <== NOT EXECUTED
  elements = rtems_rfs_bitmap_elements (elements);                    
                                                                      
  for (e = 0; e < elements; e++)                                      
    control->search_bits[e] = RTEMS_RFS_BITMAP_ELEMENT_SET;           
                                                                      
  rtems_rfs_buffer_mark_dirty (control->buffer);                      
 2017c28:	c4 28 40 00 	stb  %g2, [ %g1 ]                              <== NOT EXECUTED
                                                                      
  return 0;                                                           
}                                                                     
 2017c2c:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2017c30:	91 e8 00 08 	restore  %g0, %o0, %o0                         <== NOT EXECUTED
                                                                      

02017b44 <rtems_rfs_bitmap_map_test>: int rtems_rfs_bitmap_map_test (rtems_rfs_bitmap_control* control, rtems_rfs_bitmap_bit bit, bool* state) {
 2017b44:	9d e3 bf 98 	save  %sp, -104, %sp                           <== NOT EXECUTED
  rtems_rfs_bitmap_map map;                                           
  int                  index;                                         
  int                  rc;                                            
  rc = rtems_rfs_bitmap_load_map (control, &map);                     
 2017b48:	90 10 00 18 	mov  %i0, %o0                                  <== NOT EXECUTED
 2017b4c:	7f ff fe f8 	call  201772c <rtems_rfs_bitmap_load_map>      <== NOT EXECUTED
 2017b50:	92 07 bf fc 	add  %fp, -4, %o1                              <== NOT EXECUTED
  if (rc > 0)                                                         
 2017b54:	80 a2 20 00 	cmp  %o0, 0                                    <== NOT EXECUTED
 2017b58:	14 80 00 11 	bg  2017b9c <rtems_rfs_bitmap_map_test+0x58>   <== NOT EXECUTED
 2017b5c:	01 00 00 00 	nop                                            <== NOT EXECUTED
    return rc;                                                        
  if (bit >= control->size)                                           
 2017b60:	c2 06 20 0c 	ld  [ %i0 + 0xc ], %g1                         <== NOT EXECUTED
 2017b64:	80 a6 40 01 	cmp  %i1, %g1                                  <== NOT EXECUTED
 2017b68:	1a 80 00 0d 	bcc  2017b9c <rtems_rfs_bitmap_map_test+0x58>  <== NOT EXECUTED
 2017b6c:	90 10 20 16 	mov  0x16, %o0                                 <== NOT EXECUTED
 */                                                                   
static bool                                                           
rtems_rfs_bitmap_test (rtems_rfs_bitmap_element target,               
                       rtems_rfs_bitmap_bit     bit)                  
{                                                                     
  return RTEMS_RFS_BITMAP_TEST_BIT (target, bit);                     
 2017b70:	84 10 20 01 	mov  1, %g2                                    <== NOT EXECUTED
  rc = rtems_rfs_bitmap_load_map (control, &map);                     
  if (rc > 0)                                                         
    return rc;                                                        
  if (bit >= control->size)                                           
    return EINVAL;                                                    
  index = rtems_rfs_bitmap_map_index (bit);                           
 2017b74:	83 3e 60 05 	sra  %i1, 5, %g1                               <== NOT EXECUTED
 */                                                                   
static bool                                                           
rtems_rfs_bitmap_test (rtems_rfs_bitmap_element target,               
                       rtems_rfs_bitmap_bit     bit)                  
{                                                                     
  return RTEMS_RFS_BITMAP_TEST_BIT (target, bit);                     
 2017b78:	b3 28 80 19 	sll  %g2, %i1, %i1                             <== NOT EXECUTED
 2017b7c:	c4 07 bf fc 	ld  [ %fp + -4 ], %g2                          <== NOT EXECUTED
  if (rc > 0)                                                         
    return rc;                                                        
  if (bit >= control->size)                                           
    return EINVAL;                                                    
  index = rtems_rfs_bitmap_map_index (bit);                           
  *state = rtems_rfs_bitmap_test (map[index], bit);                   
 2017b80:	83 28 60 02 	sll  %g1, 2, %g1                               <== NOT EXECUTED
 */                                                                   
static bool                                                           
rtems_rfs_bitmap_test (rtems_rfs_bitmap_element target,               
                       rtems_rfs_bitmap_bit     bit)                  
{                                                                     
  return RTEMS_RFS_BITMAP_TEST_BIT (target, bit);                     
 2017b84:	c2 00 80 01 	ld  [ %g2 + %g1 ], %g1                         <== NOT EXECUTED
    return rc;                                                        
  if (bit >= control->size)                                           
    return EINVAL;                                                    
  index = rtems_rfs_bitmap_map_index (bit);                           
  *state = rtems_rfs_bitmap_test (map[index], bit);                   
  return 0;                                                           
 2017b88:	90 10 20 00 	clr  %o0                                       <== NOT EXECUTED
 */                                                                   
static bool                                                           
rtems_rfs_bitmap_test (rtems_rfs_bitmap_element target,               
                       rtems_rfs_bitmap_bit     bit)                  
{                                                                     
  return RTEMS_RFS_BITMAP_TEST_BIT (target, bit);                     
 2017b8c:	b2 0e 40 01 	and  %i1, %g1, %i1                             <== NOT EXECUTED
 2017b90:	80 a0 00 19 	cmp  %g0, %i1                                  <== NOT EXECUTED
 2017b94:	82 60 3f ff 	subx  %g0, -1, %g1                             <== NOT EXECUTED
 2017b98:	c2 2e 80 00 	stb  %g1, [ %i2 ]                              <== NOT EXECUTED
  if (bit >= control->size)                                           
    return EINVAL;                                                    
  index = rtems_rfs_bitmap_map_index (bit);                           
  *state = rtems_rfs_bitmap_test (map[index], bit);                   
  return 0;                                                           
}                                                                     
 2017b9c:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2017ba0:	91 e8 00 08 	restore  %g0, %o0, %o0                         <== NOT EXECUTED
                                                                      

020179f4 <rtems_rfs_bitmap_mask>: rtems_rfs_bitmap_mask (unsigned int size) { rtems_rfs_bitmap_element mask = RTEMS_RFS_BITMAP_ELEMENT_FULL_MASK; mask >>= (rtems_rfs_bitmap_element_bits () - size); return mask; }
 20179f4:	82 10 3f ff 	mov  -1, %g1                                   <== NOT EXECUTED
                                                                      
rtems_rfs_bitmap_element                                              
rtems_rfs_bitmap_mask (unsigned int size)                             
{                                                                     
  rtems_rfs_bitmap_element mask = RTEMS_RFS_BITMAP_ELEMENT_FULL_MASK; 
  mask >>= (rtems_rfs_bitmap_element_bits () - size);                 
 20179f8:	90 20 00 08 	neg  %o0                                       <== NOT EXECUTED
  return mask;                                                        
}                                                                     
 20179fc:	81 c3 e0 08 	retl                                           <== NOT EXECUTED
 2017a00:	91 30 40 08 	srl  %g1, %o0, %o0                             <== NOT EXECUTED
                                                                      

02017a04 <rtems_rfs_bitmap_mask_section>: rtems_rfs_bitmap_element rtems_rfs_bitmap_mask_section (unsigned int start, unsigned int end) {
 2017a04:	82 10 00 08 	mov  %o0, %g1                                  
  rtems_rfs_bitmap_element mask = 0;                                  
  if (end > start)                                                    
 2017a08:	80 a2 40 01 	cmp  %o1, %g1                                  
 2017a0c:	08 80 00 06 	bleu  2017a24 <rtems_rfs_bitmap_mask_section+0x20><== NEVER TAKEN
 2017a10:	90 10 20 00 	clr  %o0                                       
                                                                      
rtems_rfs_bitmap_element                                              
rtems_rfs_bitmap_mask (unsigned int size)                             
{                                                                     
  rtems_rfs_bitmap_element mask = RTEMS_RFS_BITMAP_ELEMENT_FULL_MASK; 
  mask >>= (rtems_rfs_bitmap_element_bits () - size);                 
 2017a14:	92 20 40 09 	sub  %g1, %o1, %o1                             
 2017a18:	90 10 3f ff 	mov  -1, %o0                                   
 2017a1c:	91 32 00 09 	srl  %o0, %o1, %o0                             
rtems_rfs_bitmap_element                                              
rtems_rfs_bitmap_mask_section (unsigned int start, unsigned int end)  
{                                                                     
  rtems_rfs_bitmap_element mask = 0;                                  
  if (end > start)                                                    
    mask = rtems_rfs_bitmap_mask (end - start) << start;              
 2017a20:	91 2a 00 01 	sll  %o0, %g1, %o0                             
  return mask;                                                        
}                                                                     
 2017a24:	81 c3 e0 08 	retl                                           
                                                                      

02017ea8 <rtems_rfs_bitmap_open>: rtems_rfs_bitmap_open (rtems_rfs_bitmap_control* control, rtems_rfs_file_system* fs, rtems_rfs_buffer_handle* buffer, size_t size, rtems_rfs_buffer_block block) {
 2017ea8:	9d e3 bf a0 	save  %sp, -96, %sp                            
  size_t elements = rtems_rfs_bitmap_elements (size);                 
                                                                      
  control->buffer = buffer;                                           
 2017eac:	f4 26 00 00 	st  %i2, [ %i0 ]                               
  control->fs = fs;                                                   
 2017eb0:	f2 26 20 04 	st  %i1, [ %i0 + 4 ]                           
  control->block = block;                                             
 2017eb4:	f8 26 20 08 	st  %i4, [ %i0 + 8 ]                           
  control->size = size;                                               
 2017eb8:	f6 26 20 0c 	st  %i3, [ %i0 + 0xc ]                         
                       rtems_rfs_file_system*    fs,                  
                       rtems_rfs_buffer_handle*  buffer,              
                       size_t                    size,                
                       rtems_rfs_buffer_block    block)               
{                                                                     
  size_t elements = rtems_rfs_bitmap_elements (size);                 
 2017ebc:	90 06 ff ff 	add  %i3, -1, %o0                              
  control->buffer = buffer;                                           
  control->fs = fs;                                                   
  control->block = block;                                             
  control->size = size;                                               
                                                                      
  elements = rtems_rfs_bitmap_elements (elements);                    
 2017ec0:	91 32 20 0a 	srl  %o0, 0xa, %o0                             
 2017ec4:	90 02 20 01 	inc  %o0                                       
  control->search_bits = malloc (elements * sizeof (rtems_rfs_bitmap_element));
 2017ec8:	7f ff b9 24 	call  2006358 <malloc>                         
 2017ecc:	91 2a 20 02 	sll  %o0, 2, %o0                               
                                                                      
  if (!control->search_bits)                                          
 2017ed0:	80 a2 20 00 	cmp  %o0, 0                                    
 2017ed4:	02 80 00 04 	be  2017ee4 <rtems_rfs_bitmap_open+0x3c>       <== NEVER TAKEN
 2017ed8:	d0 26 20 14 	st  %o0, [ %i0 + 0x14 ]                        
    return ENOMEM;                                                    
                                                                      
  return rtems_rfs_bitmap_create_search (control);                    
 2017edc:	7f ff ff bb 	call  2017dc8 <rtems_rfs_bitmap_create_search> 
 2017ee0:	81 e8 00 00 	restore                                        
}                                                                     
 2017ee4:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2017ee8:	91 e8 20 0c 	restore  %g0, 0xc, %o0                         <== NOT EXECUTED
                                                                      

02018044 <rtems_rfs_block_find_indirect>: rtems_rfs_block_find_indirect (rtems_rfs_file_system* fs, rtems_rfs_buffer_handle* buffer, rtems_rfs_block_no block, int offset, rtems_rfs_block_no* result) {
 2018044:	9d e3 bf a0 	save  %sp, -96, %sp                            <== NOT EXECUTED
                                                                      
  /*                                                                  
   * If the handle has a buffer and this request is a different block the current
   * buffer is released.                                              
   */                                                                 
  rc = rtems_rfs_buffer_handle_request (fs, buffer, block, true);     
 2018048:	96 10 20 01 	mov  1, %o3                                    <== NOT EXECUTED
 201804c:	90 10 00 18 	mov  %i0, %o0                                  <== NOT EXECUTED
 2018050:	92 10 00 19 	mov  %i1, %o1                                  <== NOT EXECUTED
 2018054:	40 00 04 99 	call  20192b8 <rtems_rfs_buffer_handle_request><== NOT EXECUTED
 2018058:	94 10 00 1a 	mov  %i2, %o2                                  <== NOT EXECUTED
  if (rc > 0)                                                         
 201805c:	80 a2 20 00 	cmp  %o0, 0                                    <== NOT EXECUTED
 2018060:	14 80 00 26 	bg  20180f8 <rtems_rfs_block_find_indirect+0xb4><== NOT EXECUTED
 2018064:	87 2e e0 02 	sll  %i3, 2, %g3                               <== NOT EXECUTED
    return rc;                                                        
                                                                      
  *result = rtems_rfs_block_get_number (buffer, offset);              
 2018068:	c2 06 60 08 	ld  [ %i1 + 8 ], %g1                           <== NOT EXECUTED
 201806c:	c8 00 60 24 	ld  [ %g1 + 0x24 ], %g4                        <== NOT EXECUTED
  if ((*result + 1) == 0)                                             
    *result = 0;                                                      
                                                                      
  if (*result >= rtems_rfs_fs_blocks (fs))                            
 2018070:	90 10 20 00 	clr  %o0                                       <== NOT EXECUTED
   */                                                                 
  rc = rtems_rfs_buffer_handle_request (fs, buffer, block, true);     
  if (rc > 0)                                                         
    return rc;                                                        
                                                                      
  *result = rtems_rfs_block_get_number (buffer, offset);              
 2018074:	84 01 00 03 	add  %g4, %g3, %g2                             <== NOT EXECUTED
 2018078:	c2 09 00 03 	ldub  [ %g4 + %g3 ], %g1                       <== NOT EXECUTED
 201807c:	f2 08 a0 03 	ldub  [ %g2 + 3 ], %i1                         <== NOT EXECUTED
 2018080:	c6 08 a0 01 	ldub  [ %g2 + 1 ], %g3                         <== NOT EXECUTED
 2018084:	c4 08 a0 02 	ldub  [ %g2 + 2 ], %g2                         <== NOT EXECUTED
 2018088:	83 28 60 18 	sll  %g1, 0x18, %g1                            <== NOT EXECUTED
 201808c:	85 28 a0 08 	sll  %g2, 8, %g2                               <== NOT EXECUTED
 2018090:	82 16 40 01 	or  %i1, %g1, %g1                              <== NOT EXECUTED
 2018094:	87 28 e0 10 	sll  %g3, 0x10, %g3                            <== NOT EXECUTED
 2018098:	82 10 40 03 	or  %g1, %g3, %g1                              <== NOT EXECUTED
 201809c:	82 10 40 02 	or  %g1, %g2, %g1                              <== NOT EXECUTED
  if ((*result + 1) == 0)                                             
    *result = 0;                                                      
 20180a0:	84 38 00 01 	xnor  %g0, %g1, %g2                            <== NOT EXECUTED
 20180a4:	80 a0 00 02 	cmp  %g0, %g2                                  <== NOT EXECUTED
 20180a8:	84 60 20 00 	subx  %g0, 0, %g2                              <== NOT EXECUTED
 20180ac:	82 08 40 02 	and  %g1, %g2, %g1                             <== NOT EXECUTED
                                                                      
  if (*result >= rtems_rfs_fs_blocks (fs))                            
 20180b0:	c4 06 20 04 	ld  [ %i0 + 4 ], %g2                           <== NOT EXECUTED
 20180b4:	80 a0 40 02 	cmp  %g1, %g2                                  <== NOT EXECUTED
 20180b8:	0a 80 00 10 	bcs  20180f8 <rtems_rfs_block_find_indirect+0xb4><== NOT EXECUTED
 20180bc:	c2 27 00 00 	st  %g1, [ %i4 ]                               <== NOT EXECUTED
  {                                                                   
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_BLOCK_FIND))                 
 20180c0:	90 10 20 00 	clr  %o0                                       <== NOT EXECUTED
 20180c4:	7f ff e4 5d 	call  2011238 <rtems_rfs_trace>                <== NOT EXECUTED
 20180c8:	13 00 00 04 	sethi  %hi(0x1000), %o1                        <== NOT EXECUTED
 20180cc:	80 8a 20 ff 	btst  0xff, %o0                                <== NOT EXECUTED
 20180d0:	22 80 00 09 	be,a   20180f4 <rtems_rfs_block_find_indirect+0xb0><== NOT EXECUTED
 20180d4:	c0 27 00 00 	clr  [ %i4 ]                                   <== NOT EXECUTED
      printf ("rtems-rfs: block-find: invalid block in table:"        
 20180d8:	d2 07 00 00 	ld  [ %i4 ], %o1                               <== NOT EXECUTED
 20180dc:	11 00 80 bd 	sethi  %hi(0x202f400), %o0                     <== NOT EXECUTED
 20180e0:	94 10 00 1a 	mov  %i2, %o2                                  <== NOT EXECUTED
 20180e4:	90 12 20 40 	or  %o0, 0x40, %o0                             <== NOT EXECUTED
 20180e8:	40 00 1c 38 	call  201f1c8 <printf>                         <== NOT EXECUTED
 20180ec:	96 10 00 1b 	mov  %i3, %o3                                  <== NOT EXECUTED
              " block=%" PRId32 ", indirect=%" PRId32 "/%d\n", *result, block, offset);
    *result = 0;                                                      
 20180f0:	c0 27 00 00 	clr  [ %i4 ]                                   <== NOT EXECUTED
 20180f4:	90 10 20 00 	clr  %o0                                       <== NOT EXECUTED
    rc = EIO;                                                         
  }                                                                   
                                                                      
  return 0;                                                           
}                                                                     
 20180f8:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 20180fc:	91 e8 00 08 	restore  %g0, %o0, %o0                         <== NOT EXECUTED
                                                                      

02018240 <rtems_rfs_block_get_block_size>: void rtems_rfs_block_get_block_size (rtems_rfs_file_system* fs, rtems_rfs_pos pos, rtems_rfs_block_size* size) {
 2018240:	9d e3 bf a0 	save  %sp, -96, %sp                            <== NOT EXECUTED
  if (pos == 0)                                                       
 2018244:	80 96 40 1a 	orcc  %i1, %i2, %g0                            <== NOT EXECUTED
 2018248:	32 80 00 06 	bne,a   2018260 <rtems_rfs_block_get_block_size+0x20><== NOT EXECUTED
 201824c:	fa 06 20 08 	ld  [ %i0 + 8 ], %i5                           <== NOT EXECUTED
 * @param size A pointer to the block size.                           
 */                                                                   
static inline void                                                    
rtems_rfs_block_set_size_zero (rtems_rfs_block_size* size)            
{                                                                     
  size->count = 0;                                                    
 2018250:	c0 26 c0 00 	clr  [ %i3 ]                                   <== NOT EXECUTED
  size->offset = 0;                                                   
 2018254:	c0 26 e0 04 	clr  [ %i3 + 4 ]                               <== NOT EXECUTED
 2018258:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 201825c:	81 e8 00 00 	restore                                        <== NOT EXECUTED
    rtems_rfs_block_set_size_zero (size);                             
  else                                                                
  {                                                                   
    size->count  = pos / rtems_rfs_fs_block_size (fs) + 1;            
 2018260:	94 10 20 00 	clr  %o2                                       <== NOT EXECUTED
 2018264:	96 10 00 1d 	mov  %i5, %o3                                  <== NOT EXECUTED
 2018268:	90 10 00 19 	mov  %i1, %o0                                  <== NOT EXECUTED
 201826c:	40 00 4f 0c 	call  202be9c <__udivdi3>                      <== NOT EXECUTED
 2018270:	92 10 00 1a 	mov  %i2, %o1                                  <== NOT EXECUTED
 2018274:	92 02 60 01 	inc  %o1                                       <== NOT EXECUTED
    size->offset = pos % rtems_rfs_fs_block_size (fs);                
 2018278:	90 10 00 19 	mov  %i1, %o0                                  <== NOT EXECUTED
{                                                                     
  if (pos == 0)                                                       
    rtems_rfs_block_set_size_zero (size);                             
  else                                                                
  {                                                                   
    size->count  = pos / rtems_rfs_fs_block_size (fs) + 1;            
 201827c:	d2 26 c0 00 	st  %o1, [ %i3 ]                               <== NOT EXECUTED
    size->offset = pos % rtems_rfs_fs_block_size (fs);                
 2018280:	94 10 20 00 	clr  %o2                                       <== NOT EXECUTED
 2018284:	92 10 00 1a 	mov  %i2, %o1                                  <== NOT EXECUTED
 2018288:	40 00 4f da 	call  202c1f0 <__umoddi3>                      <== NOT EXECUTED
 201828c:	96 10 00 1d 	mov  %i5, %o3                                  <== NOT EXECUTED
 2018290:	d2 26 e0 04 	st  %o1, [ %i3 + 4 ]                           <== NOT EXECUTED
 2018294:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2018298:	81 e8 00 00 	restore                                        <== NOT EXECUTED
                                                                      

0201847c <rtems_rfs_block_map_close>: } int rtems_rfs_block_map_close (rtems_rfs_file_system* fs, rtems_rfs_block_map* map) {
 201847c:	9d e3 bf a0 	save  %sp, -96, %sp                            
  int rc = 0;                                                         
  int brc;                                                            
                                                                      
  if (map->dirty && map->inode)                                       
 2018480:	c2 0e 40 00 	ldub  [ %i1 ], %g1                             
}                                                                     
                                                                      
int                                                                   
rtems_rfs_block_map_close (rtems_rfs_file_system* fs,                 
                           rtems_rfs_block_map*   map)                
{                                                                     
 2018484:	ba 10 00 18 	mov  %i0, %i5                                  
  int rc = 0;                                                         
  int brc;                                                            
                                                                      
  if (map->dirty && map->inode)                                       
 2018488:	80 a0 60 00 	cmp  %g1, 0                                    
 201848c:	02 80 00 62 	be  2018614 <rtems_rfs_block_map_close+0x198>  
 2018490:	b0 10 20 00 	clr  %i0                                       
 2018494:	d2 06 60 04 	ld  [ %i1 + 4 ], %o1                           
 2018498:	80 a2 60 00 	cmp  %o1, 0                                    
 201849c:	22 80 00 5f 	be,a   2018618 <rtems_rfs_block_map_close+0x19c><== NEVER TAKEN
 20184a0:	92 06 60 38 	add  %i1, 0x38, %o1                            <== NOT EXECUTED
  {                                                                   
    brc = rtems_rfs_inode_load (fs, map->inode);                      
 20184a4:	7f ff db 81 	call  200f2a8 <rtems_rfs_inode_load>           
 20184a8:	90 10 00 1d 	mov  %i5, %o0                                  
    if (brc > 0)                                                      
 20184ac:	b0 92 20 00 	orcc  %o0, 0, %i0                              
 20184b0:	14 80 00 5a 	bg  2018618 <rtems_rfs_block_map_close+0x19c>  <== NEVER TAKEN
 20184b4:	92 06 60 38 	add  %i1, 0x38, %o1                            
 20184b8:	82 10 20 01 	mov  1, %g1                                    
 20184bc:	88 10 20 00 	clr  %g4                                       
 */                                                                   
static inline void                                                    
rtems_rfs_inode_set_block (rtems_rfs_inode_handle* handle, int block, uint32_t bno)
{                                                                     
  rtems_rfs_write_u32 (&handle->node->data.blocks[block], bno);       
  rtems_rfs_buffer_mark_dirty (&handle->buffer);                      
 20184c0:	b0 10 20 01 	mov  1, %i0                                    
    if (rc == 0)                                                      
    {                                                                 
      int b;                                                          
                                                                      
      for (b = 0; b < RTEMS_RFS_INODE_BLOCKS; b++)                    
        rtems_rfs_inode_set_block (map->inode, b, map->blocks[b]);    
 20184c4:	c4 06 60 04 	ld  [ %i1 + 4 ], %g2                           
                                                                      
  return rc;                                                          
}                                                                     
                                                                      
int                                                                   
rtems_rfs_block_map_close (rtems_rfs_file_system* fs,                 
 20184c8:	86 06 40 01 	add  %i1, %g1, %g3                             
 * @param bno The block number.                                       
 */                                                                   
static inline void                                                    
rtems_rfs_inode_set_block (rtems_rfs_inode_handle* handle, int block, uint32_t bno)
{                                                                     
  rtems_rfs_write_u32 (&handle->node->data.blocks[block], bno);       
 20184cc:	da 00 a0 0c 	ld  [ %g2 + 0xc ], %o5                         
    if (rc == 0)                                                      
    {                                                                 
      int b;                                                          
                                                                      
      for (b = 0; b < RTEMS_RFS_INODE_BLOCKS; b++)                    
        rtems_rfs_inode_set_block (map->inode, b, map->blocks[b]);    
 20184d0:	c6 00 e0 23 	ld  [ %g3 + 0x23 ], %g3                        
 20184d4:	9e 01 20 06 	add  %g4, 6, %o7                               
 20184d8:	9f 2b e0 02 	sll  %o7, 2, %o7                               
 20184dc:	9e 03 40 0f 	add  %o5, %o7, %o7                             
 20184e0:	9b 30 e0 18 	srl  %g3, 0x18, %o5                            
 20184e4:	da 2b e0 04 	stb  %o5, [ %o7 + 4 ]                          
 20184e8:	de 00 a0 0c 	ld  [ %g2 + 0xc ], %o7                         
 20184ec:	9b 30 e0 10 	srl  %g3, 0x10, %o5                            
 20184f0:	9e 03 c0 01 	add  %o7, %g1, %o7                             
 20184f4:	da 2b e0 1c 	stb  %o5, [ %o7 + 0x1c ]                       
 20184f8:	de 00 a0 0c 	ld  [ %g2 + 0xc ], %o7                         
 20184fc:	9b 30 e0 08 	srl  %g3, 8, %o5                               
 2018500:	9e 03 c0 01 	add  %o7, %g1, %o7                             
 2018504:	da 2b e0 1d 	stb  %o5, [ %o7 + 0x1d ]                       
 2018508:	de 00 a0 0c 	ld  [ %g2 + 0xc ], %o7                         
                                                                      
    if (rc == 0)                                                      
    {                                                                 
      int b;                                                          
                                                                      
      for (b = 0; b < RTEMS_RFS_INODE_BLOCKS; b++)                    
 201850c:	88 01 20 01 	inc  %g4                                       
 2018510:	9e 03 c0 01 	add  %o7, %g1, %o7                             
 2018514:	c6 2b e0 1e 	stb  %g3, [ %o7 + 0x1e ]                       
  rtems_rfs_buffer_mark_dirty (&handle->buffer);                      
 2018518:	f0 28 a0 10 	stb  %i0, [ %g2 + 0x10 ]                       
 201851c:	86 10 20 01 	mov  1, %g3                                    
 2018520:	80 a1 20 05 	cmp  %g4, 5                                    
 2018524:	12 bf ff e8 	bne  20184c4 <rtems_rfs_block_map_close+0x48>  
 2018528:	82 00 60 04 	add  %g1, 4, %g1                               
        rtems_rfs_inode_set_block (map->inode, b, map->blocks[b]);    
      rtems_rfs_inode_set_block_count (map->inode, map->size.count);  
 201852c:	c2 06 60 04 	ld  [ %i1 + 4 ], %g1                           
 2018530:	c4 06 60 08 	ld  [ %i1 + 8 ], %g2                           
 * @param block_count The block count.                                
 */                                                                   
static inline void                                                    
rtems_rfs_inode_set_block_count (rtems_rfs_inode_handle* handle, uint32_t block_count)
{                                                                     
  rtems_rfs_write_u32 (&handle->node->block_count, block_count);      
 2018534:	c8 00 60 0c 	ld  [ %g1 + 0xc ], %g4                         
 2018538:	b1 30 a0 18 	srl  %g2, 0x18, %i0                            
 201853c:	f0 29 20 0c 	stb  %i0, [ %g4 + 0xc ]                        
 2018540:	c8 00 60 0c 	ld  [ %g1 + 0xc ], %g4                         
 2018544:	b1 30 a0 10 	srl  %g2, 0x10, %i0                            
 2018548:	f0 29 20 0d 	stb  %i0, [ %g4 + 0xd ]                        
 201854c:	c8 00 60 0c 	ld  [ %g1 + 0xc ], %g4                         
 2018550:	b1 30 a0 08 	srl  %g2, 8, %i0                               
 2018554:	f0 29 20 0e 	stb  %i0, [ %g4 + 0xe ]                        
 2018558:	c8 00 60 0c 	ld  [ %g1 + 0xc ], %g4                         
      rtems_rfs_inode_set_block_offset (map->inode, map->size.offset);
      rtems_rfs_inode_set_last_map_block (map->inode, map->last_map_block);
      rtems_rfs_inode_set_last_data_block (map->inode, map->last_data_block);
                                                                      
      brc = rtems_rfs_inode_unload (fs, map->inode, true);            
 201855c:	90 10 00 1d 	mov  %i5, %o0                                  
 2018560:	c4 29 20 0f 	stb  %g2, [ %g4 + 0xf ]                        
  rtems_rfs_buffer_mark_dirty (&handle->buffer);                      
 2018564:	c6 28 60 10 	stb  %g3, [ %g1 + 0x10 ]                       
      int b;                                                          
                                                                      
      for (b = 0; b < RTEMS_RFS_INODE_BLOCKS; b++)                    
        rtems_rfs_inode_set_block (map->inode, b, map->blocks[b]);    
      rtems_rfs_inode_set_block_count (map->inode, map->size.count);  
      rtems_rfs_inode_set_block_offset (map->inode, map->size.offset);
 2018568:	c2 06 60 04 	ld  [ %i1 + 4 ], %g1                           
 201856c:	c4 06 60 0c 	ld  [ %i1 + 0xc ], %g2                         
 */                                                                   
static inline void                                                    
rtems_rfs_inode_set_block_offset (rtems_rfs_inode_handle* handle,     
                                  uint16_t                block_offset)
{                                                                     
  rtems_rfs_write_u16 (&handle->node->block_offset, block_offset);    
 2018570:	c8 00 60 0c 	ld  [ %g1 + 0xc ], %g4                         
 2018574:	b1 30 a0 08 	srl  %g2, 8, %i0                               
 2018578:	f0 29 20 0a 	stb  %i0, [ %g4 + 0xa ]                        
 201857c:	c8 00 60 0c 	ld  [ %g1 + 0xc ], %g4                         
      rtems_rfs_inode_set_last_map_block (map->inode, map->last_map_block);
      rtems_rfs_inode_set_last_data_block (map->inode, map->last_data_block);
                                                                      
      brc = rtems_rfs_inode_unload (fs, map->inode, true);            
 2018580:	94 10 20 01 	mov  1, %o2                                    
 2018584:	c4 29 20 0b 	stb  %g2, [ %g4 + 0xb ]                        
  rtems_rfs_buffer_mark_dirty (&handle->buffer);                      
 2018588:	c6 28 60 10 	stb  %g3, [ %g1 + 0x10 ]                       
                                                                      
      for (b = 0; b < RTEMS_RFS_INODE_BLOCKS; b++)                    
        rtems_rfs_inode_set_block (map->inode, b, map->blocks[b]);    
      rtems_rfs_inode_set_block_count (map->inode, map->size.count);  
      rtems_rfs_inode_set_block_offset (map->inode, map->size.offset);
      rtems_rfs_inode_set_last_map_block (map->inode, map->last_map_block);
 201858c:	c2 06 60 04 	ld  [ %i1 + 4 ], %g1                           
 2018590:	c4 06 60 1c 	ld  [ %i1 + 0x1c ], %g2                        
 * @param block_count The last map block number.                      
 */                                                                   
static inline void                                                    
rtems_rfs_inode_set_last_map_block (rtems_rfs_inode_handle* handle, uint32_t last_map_block)
{                                                                     
  rtems_rfs_write_u32 (&handle->node->last_map_block, last_map_block);
 2018594:	c8 00 60 0c 	ld  [ %g1 + 0xc ], %g4                         
 2018598:	b1 30 a0 18 	srl  %g2, 0x18, %i0                            
 201859c:	f0 29 20 30 	stb  %i0, [ %g4 + 0x30 ]                       
 20185a0:	c8 00 60 0c 	ld  [ %g1 + 0xc ], %g4                         
 20185a4:	b1 30 a0 10 	srl  %g2, 0x10, %i0                            
 20185a8:	f0 29 20 31 	stb  %i0, [ %g4 + 0x31 ]                       
 20185ac:	c8 00 60 0c 	ld  [ %g1 + 0xc ], %g4                         
 20185b0:	b1 30 a0 08 	srl  %g2, 8, %i0                               
 20185b4:	f0 29 20 32 	stb  %i0, [ %g4 + 0x32 ]                       
 20185b8:	c8 00 60 0c 	ld  [ %g1 + 0xc ], %g4                         
 20185bc:	c4 29 20 33 	stb  %g2, [ %g4 + 0x33 ]                       
  rtems_rfs_buffer_mark_dirty (&handle->buffer);                      
 20185c0:	c6 28 60 10 	stb  %g3, [ %g1 + 0x10 ]                       
      rtems_rfs_inode_set_last_data_block (map->inode, map->last_data_block);
 20185c4:	c2 06 60 04 	ld  [ %i1 + 4 ], %g1                           
 20185c8:	c4 06 60 20 	ld  [ %i1 + 0x20 ], %g2                        
 * @param block_count The last data block number.                     
 */                                                                   
static inline void                                                    
rtems_rfs_inode_set_last_data_block (rtems_rfs_inode_handle* handle, uint32_t last_data_block)
{                                                                     
  rtems_rfs_write_u32 (&handle->node->last_data_block, last_data_block);
 20185cc:	c8 00 60 0c 	ld  [ %g1 + 0xc ], %g4                         
 20185d0:	b1 30 a0 18 	srl  %g2, 0x18, %i0                            
 20185d4:	f0 29 20 34 	stb  %i0, [ %g4 + 0x34 ]                       
 20185d8:	c8 00 60 0c 	ld  [ %g1 + 0xc ], %g4                         
 20185dc:	b1 30 a0 10 	srl  %g2, 0x10, %i0                            
 20185e0:	f0 29 20 35 	stb  %i0, [ %g4 + 0x35 ]                       
 20185e4:	c8 00 60 0c 	ld  [ %g1 + 0xc ], %g4                         
 20185e8:	b1 30 a0 08 	srl  %g2, 8, %i0                               
 20185ec:	f0 29 20 36 	stb  %i0, [ %g4 + 0x36 ]                       
 20185f0:	c8 00 60 0c 	ld  [ %g1 + 0xc ], %g4                         
 20185f4:	c4 29 20 37 	stb  %g2, [ %g4 + 0x37 ]                       
                                                                      
      brc = rtems_rfs_inode_unload (fs, map->inode, true);            
 20185f8:	d2 06 60 04 	ld  [ %i1 + 4 ], %o1                           
 20185fc:	7f ff db 8d 	call  200f430 <rtems_rfs_inode_unload>         
 2018600:	c6 28 60 10 	stb  %g3, [ %g1 + 0x10 ]                       
      if (brc > 0)                                                    
        rc = brc;                                                     
                                                                      
      map->dirty = false;                                             
 2018604:	c0 2e 40 00 	clrb  [ %i1 ]                                  
      rtems_rfs_inode_set_block_count (map->inode, map->size.count);  
      rtems_rfs_inode_set_block_offset (map->inode, map->size.offset);
      rtems_rfs_inode_set_last_map_block (map->inode, map->last_map_block);
      rtems_rfs_inode_set_last_data_block (map->inode, map->last_data_block);
                                                                      
      brc = rtems_rfs_inode_unload (fs, map->inode, true);            
 2018608:	82 38 00 08 	xnor  %g0, %o0, %g1                            
 201860c:	83 38 60 1f 	sra  %g1, 0x1f, %g1                            
 2018610:	b0 0a 00 01 	and  %o0, %g1, %i0                             
 */                                                                   
static inline int                                                     
rtems_rfs_buffer_handle_close (rtems_rfs_file_system*   fs,           
                               rtems_rfs_buffer_handle* handle)       
{                                                                     
  rtems_rfs_buffer_handle_release (fs, handle);                       
 2018614:	92 06 60 38 	add  %i1, 0x38, %o1                            
                                                                      
      map->dirty = false;                                             
    }                                                                 
  }                                                                   
                                                                      
  map->inode = NULL;                                                  
 2018618:	c0 26 60 04 	clr  [ %i1 + 4 ]                               
 201861c:	40 00 02 b5 	call  20190f0 <rtems_rfs_buffer_handle_release>
 2018620:	90 10 00 1d 	mov  %i5, %o0                                  
 2018624:	90 10 00 1d 	mov  %i5, %o0                                  
  handle->dirty = false;                                              
 2018628:	c0 2e 60 38 	clrb  [ %i1 + 0x38 ]                           
  handle->bnum  = 0;                                                  
 201862c:	c0 26 60 3c 	clr  [ %i1 + 0x3c ]                            
  handle->buffer = NULL;                                              
 2018630:	c0 26 60 40 	clr  [ %i1 + 0x40 ]                            
 */                                                                   
static inline int                                                     
rtems_rfs_buffer_handle_close (rtems_rfs_file_system*   fs,           
                               rtems_rfs_buffer_handle* handle)       
{                                                                     
  rtems_rfs_buffer_handle_release (fs, handle);                       
 2018634:	40 00 02 af 	call  20190f0 <rtems_rfs_buffer_handle_release>
 2018638:	92 06 60 44 	add  %i1, 0x44, %o1                            
  handle->dirty = false;                                              
 201863c:	c0 2e 60 44 	clrb  [ %i1 + 0x44 ]                           
  handle->bnum  = 0;                                                  
 2018640:	c0 26 60 48 	clr  [ %i1 + 0x48 ]                            
  handle->buffer = NULL;                                              
 2018644:	c0 26 60 4c 	clr  [ %i1 + 0x4c ]                            
    rc = brc;                                                         
  brc = rtems_rfs_buffer_handle_close (fs, &map->doubly_buffer);      
  if ((brc > 0) && (rc == 0))                                         
    rc = brc;                                                         
  return rc;                                                          
}                                                                     
 2018648:	81 c7 e0 08 	ret                                            
 201864c:	81 e8 00 00 	restore                                        
                                                                      

02018650 <rtems_rfs_block_map_find>: int rtems_rfs_block_map_find (rtems_rfs_file_system* fs, rtems_rfs_block_map* map, rtems_rfs_block_pos* bpos, rtems_rfs_block_no* block) {
 2018650:	9d e3 bf 98 	save  %sp, -104, %sp                           
  int rc = 0;                                                         
                                                                      
  *block = 0;                                                         
 2018654:	c0 26 c0 00 	clr  [ %i3 ]                                   
                                                                      
  /*                                                                  
   * Range checking here makes the remaining logic simpler.           
   */                                                                 
  if (rtems_rfs_block_pos_block_past_end (bpos, &map->size))          
 2018658:	e0 06 80 00 	ld  [ %i2 ], %l0                               
int                                                                   
rtems_rfs_block_map_find (rtems_rfs_file_system* fs,                  
                          rtems_rfs_block_map*   map,                 
                          rtems_rfs_block_pos*   bpos,                
                          rtems_rfs_block_no*    block)               
{                                                                     
 201865c:	ba 10 00 18 	mov  %i0, %i5                                  
  *block = 0;                                                         
                                                                      
  /*                                                                  
   * Range checking here makes the remaining logic simpler.           
   */                                                                 
  if (rtems_rfs_block_pos_block_past_end (bpos, &map->size))          
 2018660:	80 a4 20 00 	cmp  %l0, 0                                    
 2018664:	02 80 00 05 	be  2018678 <rtems_rfs_block_map_find+0x28>    
 2018668:	e2 06 60 08 	ld  [ %i1 + 8 ], %l1                           
 201866c:	80 a4 60 00 	cmp  %l1, 0                                    
 2018670:	02 80 00 52 	be  20187b8 <rtems_rfs_block_map_find+0x168>   <== NEVER TAKEN
 2018674:	90 10 20 06 	mov  6, %o0                                    
 2018678:	80 a4 00 11 	cmp  %l0, %l1                                  
 201867c:	1a 80 00 4f 	bcc  20187b8 <rtems_rfs_block_map_find+0x168>  
 2018680:	90 10 20 06 	mov  6, %o0                                    
    return ENXIO;                                                     
                                                                      
  /*                                                                  
   * If the block position is the same and we have found the block just return it.
   */                                                                 
  if ((bpos->bno == map->bpos.bno) && (map->bpos.block != 0))         
 2018684:	c2 06 60 10 	ld  [ %i1 + 0x10 ], %g1                        
 2018688:	80 a4 00 01 	cmp  %l0, %g1                                  
 201868c:	12 80 00 07 	bne  20186a8 <rtems_rfs_block_map_find+0x58>   <== NEVER TAKEN
 2018690:	80 a4 60 05 	cmp  %l1, 5                                    
 2018694:	c2 06 60 18 	ld  [ %i1 + 0x18 ], %g1                        
 2018698:	80 a0 60 00 	cmp  %g1, 0                                    
 201869c:	32 80 00 3e 	bne,a   2018794 <rtems_rfs_block_map_find+0x144><== NEVER TAKEN
 20186a0:	c2 26 c0 00 	st  %g1, [ %i3 ]                               <== NOT EXECUTED
    /*                                                                
     * Determine the type of access we need to perform. If the number of blocks
     * is less than or equal to the number of slots in the inode the blocks are
     * directly accessed.                                             
     */                                                               
    if (map->size.count <= RTEMS_RFS_INODE_BLOCKS)                    
 20186a4:	80 a4 60 05 	cmp  %l1, 5                                    
 20186a8:	38 80 00 08 	bgu,a   20186c8 <rtems_rfs_block_map_find+0x78><== NEVER TAKEN
 20186ac:	e4 07 60 30 	ld  [ %i5 + 0x30 ], %l2                        <== NOT EXECUTED
    {                                                                 
      *block = map->blocks[bpos->bno];                                
 20186b0:	a0 04 20 08 	add  %l0, 8, %l0                               
 20186b4:	a1 2c 20 02 	sll  %l0, 2, %l0                               
 20186b8:	a0 06 40 10 	add  %i1, %l0, %l0                             
 20186bc:	c2 04 20 04 	ld  [ %l0 + 4 ], %g1                           
 20186c0:	10 80 00 35 	b  2018794 <rtems_rfs_block_map_find+0x144>    
 20186c4:	c2 26 c0 00 	st  %g1, [ %i3 ]                               
       * The map is either singly or doubly indirect.                 
       */                                                             
      rtems_rfs_block_no direct;                                      
      rtems_rfs_block_no singly;                                      
                                                                      
      direct = bpos->bno % fs->blocks_per_block;                      
 20186c8:	90 10 00 10 	mov  %l0, %o0                                  <== NOT EXECUTED
 20186cc:	40 00 4b 3c 	call  202b3bc <.urem>                          <== NOT EXECUTED
 20186d0:	92 10 00 12 	mov  %l2, %o1                                  <== NOT EXECUTED
      singly = bpos->bno / fs->blocks_per_block;                      
 20186d4:	92 10 00 12 	mov  %l2, %o1                                  <== NOT EXECUTED
       * The map is either singly or doubly indirect.                 
       */                                                             
      rtems_rfs_block_no direct;                                      
      rtems_rfs_block_no singly;                                      
                                                                      
      direct = bpos->bno % fs->blocks_per_block;                      
 20186d8:	b8 10 00 08 	mov  %o0, %i4                                  <== NOT EXECUTED
      singly = bpos->bno / fs->blocks_per_block;                      
 20186dc:	40 00 4a 8c 	call  202b10c <.udiv>                          <== NOT EXECUTED
 20186e0:	90 10 00 10 	mov  %l0, %o0                                  <== NOT EXECUTED
                                                                      
      if (map->size.count <= fs->block_map_singly_blocks)             
 20186e4:	c2 07 60 34 	ld  [ %i5 + 0x34 ], %g1                        <== NOT EXECUTED
       */                                                             
      rtems_rfs_block_no direct;                                      
      rtems_rfs_block_no singly;                                      
                                                                      
      direct = bpos->bno % fs->blocks_per_block;                      
      singly = bpos->bno / fs->blocks_per_block;                      
 20186e8:	d0 27 bf fc 	st  %o0, [ %fp + -4 ]                          <== NOT EXECUTED
                                                                      
      if (map->size.count <= fs->block_map_singly_blocks)             
 20186ec:	80 a4 40 01 	cmp  %l1, %g1                                  <== NOT EXECUTED
 20186f0:	18 80 00 09 	bgu  2018714 <rtems_rfs_block_map_find+0xc4>   <== NOT EXECUTED
 20186f4:	a6 10 00 08 	mov  %o0, %l3                                  <== NOT EXECUTED
      {                                                               
        /*                                                            
         * This is a single indirect table of blocks anchored off a slot in the
         * inode.                                                     
         */                                                           
        rc = rtems_rfs_block_find_indirect (fs,                       
 20186f8:	a6 02 20 08 	add  %o0, 8, %l3                               <== NOT EXECUTED
 20186fc:	92 06 60 38 	add  %i1, 0x38, %o1                            <== NOT EXECUTED
 2018700:	a7 2c e0 02 	sll  %l3, 2, %l3                               <== NOT EXECUTED
 2018704:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
 2018708:	a6 06 40 13 	add  %i1, %l3, %l3                             <== NOT EXECUTED
 201870c:	10 80 00 1c 	b  201877c <rtems_rfs_block_map_find+0x12c>    <== NOT EXECUTED
 2018710:	d4 04 e0 04 	ld  [ %l3 + 4 ], %o2                           <== NOT EXECUTED
         * The map is doubly indirect.                                
         */                                                           
        rtems_rfs_block_no doubly;                                    
                                                                      
        doubly  = singly / fs->blocks_per_block;                      
        singly %= fs->blocks_per_block;                               
 2018714:	40 00 4b 2a 	call  202b3bc <.urem>                          <== NOT EXECUTED
 2018718:	92 10 00 12 	mov  %l2, %o1                                  <== NOT EXECUTED
                                                                      
        if (map->size.count < fs->block_map_doubly_blocks)            
 201871c:	c2 07 60 38 	ld  [ %i5 + 0x38 ], %g1                        <== NOT EXECUTED
         * The map is doubly indirect.                                
         */                                                           
        rtems_rfs_block_no doubly;                                    
                                                                      
        doubly  = singly / fs->blocks_per_block;                      
        singly %= fs->blocks_per_block;                               
 2018720:	d0 27 bf fc 	st  %o0, [ %fp + -4 ]                          <== NOT EXECUTED
 2018724:	a0 10 00 08 	mov  %o0, %l0                                  <== NOT EXECUTED
                                                                      
        if (map->size.count < fs->block_map_doubly_blocks)            
 2018728:	80 a4 40 01 	cmp  %l1, %g1                                  <== NOT EXECUTED
 201872c:	1a 80 00 23 	bcc  20187b8 <rtems_rfs_block_map_find+0x168>  <== NOT EXECUTED
 2018730:	90 10 20 06 	mov  6, %o0                                    <== NOT EXECUTED
        /*                                                            
         * The map is doubly indirect.                                
         */                                                           
        rtems_rfs_block_no doubly;                                    
                                                                      
        doubly  = singly / fs->blocks_per_block;                      
 2018734:	92 10 00 12 	mov  %l2, %o1                                  <== NOT EXECUTED
 2018738:	40 00 4a 75 	call  202b10c <.udiv>                          <== NOT EXECUTED
 201873c:	90 10 00 13 	mov  %l3, %o0                                  <== NOT EXECUTED
        singly %= fs->blocks_per_block;                               
                                                                      
        if (map->size.count < fs->block_map_doubly_blocks)            
        {                                                             
          rc = rtems_rfs_block_find_indirect (fs,                     
 2018740:	82 02 20 08 	add  %o0, 8, %g1                               <== NOT EXECUTED
 2018744:	83 28 60 02 	sll  %g1, 2, %g1                               <== NOT EXECUTED
 2018748:	82 06 40 01 	add  %i1, %g1, %g1                             <== NOT EXECUTED
 201874c:	d4 00 60 04 	ld  [ %g1 + 4 ], %o2                           <== NOT EXECUTED
 2018750:	a2 06 60 44 	add  %i1, 0x44, %l1                            <== NOT EXECUTED
 2018754:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
 2018758:	92 10 00 11 	mov  %l1, %o1                                  <== NOT EXECUTED
 201875c:	96 10 00 10 	mov  %l0, %o3                                  <== NOT EXECUTED
 2018760:	7f ff fe 39 	call  2018044 <rtems_rfs_block_find_indirect>  <== NOT EXECUTED
 2018764:	98 07 bf fc 	add  %fp, -4, %o4                              <== NOT EXECUTED
                                              &map->doubly_buffer,    
                                              map->blocks[doubly],    
                                              singly, &singly);       
          if (rc == 0)                                                
 2018768:	80 a2 20 00 	cmp  %o0, 0                                    <== NOT EXECUTED
 201876c:	12 80 00 13 	bne  20187b8 <rtems_rfs_block_map_find+0x168>  <== NOT EXECUTED
 2018770:	d4 07 bf fc 	ld  [ %fp + -4 ], %o2                          <== NOT EXECUTED
          {                                                           
            rc = rtems_rfs_block_find_indirect (fs,                   
 2018774:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
 2018778:	92 06 60 38 	add  %i1, 0x38, %o1                            <== NOT EXECUTED
 201877c:	96 10 00 1c 	mov  %i4, %o3                                  <== NOT EXECUTED
 2018780:	7f ff fe 31 	call  2018044 <rtems_rfs_block_find_indirect>  <== NOT EXECUTED
 2018784:	98 10 00 1b 	mov  %i3, %o4                                  <== NOT EXECUTED
        }                                                             
      }                                                               
    }                                                                 
  }                                                                   
                                                                      
  if (rc == 0)                                                        
 2018788:	80 a2 20 00 	cmp  %o0, 0                                    <== NOT EXECUTED
 201878c:	12 80 00 0b 	bne  20187b8 <rtems_rfs_block_map_find+0x168>  <== NOT EXECUTED
 2018790:	01 00 00 00 	nop                                            <== NOT EXECUTED
  {                                                                   
    rtems_rfs_block_copy_bpos (&map->bpos, bpos);                     
 2018794:	c2 06 80 00 	ld  [ %i2 ], %g1                               
    map->bpos.block = *block;                                         
 2018798:	90 10 20 00 	clr  %o0                                       
    }                                                                 
  }                                                                   
                                                                      
  if (rc == 0)                                                        
  {                                                                   
    rtems_rfs_block_copy_bpos (&map->bpos, bpos);                     
 201879c:	c2 26 60 10 	st  %g1, [ %i1 + 0x10 ]                        
 20187a0:	c2 06 a0 04 	ld  [ %i2 + 4 ], %g1                           
 20187a4:	c2 26 60 14 	st  %g1, [ %i1 + 0x14 ]                        
 20187a8:	c2 06 a0 08 	ld  [ %i2 + 8 ], %g1                           
 20187ac:	c2 26 60 18 	st  %g1, [ %i1 + 0x18 ]                        
    map->bpos.block = *block;                                         
 20187b0:	c2 06 c0 00 	ld  [ %i3 ], %g1                               
 20187b4:	c2 26 60 18 	st  %g1, [ %i1 + 0x18 ]                        
  }                                                                   
                                                                      
  return rc;                                                          
}                                                                     
 20187b8:	81 c7 e0 08 	ret                                            
 20187bc:	91 e8 00 08 	restore  %g0, %o0, %o0                         
                                                                      

02018868 <rtems_rfs_block_map_grow>: int rtems_rfs_block_map_grow (rtems_rfs_file_system* fs, rtems_rfs_block_map* map, size_t blocks, rtems_rfs_block_no* new_block) {
 2018868:	9d e3 bf 98 	save  %sp, -104, %sp                           
  int b;                                                              
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_BLOCK_MAP_GROW))               
 201886c:	90 10 20 00 	clr  %o0                                       
 2018870:	13 00 00 08 	sethi  %hi(0x2000), %o1                        
 2018874:	7f ff e2 71 	call  2011238 <rtems_rfs_trace>                
 2018878:	ba 10 00 18 	mov  %i0, %i5                                  
 201887c:	80 8a 20 ff 	btst  0xff, %o0                                
 2018880:	22 80 00 08 	be,a   20188a0 <rtems_rfs_block_map_grow+0x38> <== ALWAYS TAKEN
 2018884:	c4 06 60 08 	ld  [ %i1 + 8 ], %g2                           
    printf ("rtems-rfs: block-map-grow: entry: blocks=%zd count=%" PRIu32 "\n",
 2018888:	d4 06 60 08 	ld  [ %i1 + 8 ], %o2                           <== NOT EXECUTED
 201888c:	11 00 80 bd 	sethi  %hi(0x202f400), %o0                     <== NOT EXECUTED
 2018890:	92 10 00 1a 	mov  %i2, %o1                                  <== NOT EXECUTED
 2018894:	40 00 1a 4d 	call  201f1c8 <printf>                         <== NOT EXECUTED
 2018898:	90 12 20 90 	or  %o0, 0x90, %o0                             <== NOT EXECUTED
            blocks, map->size.count);                                 
                                                                      
  if ((map->size.count + blocks) >= rtems_rfs_fs_max_block_map_blocks (fs))
 201889c:	c4 06 60 08 	ld  [ %i1 + 8 ], %g2                           <== NOT EXECUTED
 20188a0:	c2 07 60 38 	ld  [ %i5 + 0x38 ], %g1                        
 20188a4:	84 06 80 02 	add  %i2, %g2, %g2                             
 20188a8:	80 a0 80 01 	cmp  %g2, %g1                                  
 20188ac:	1a 80 00 b3 	bcc  2018b78 <rtems_rfs_block_map_grow+0x310>  <== NEVER TAKEN
 20188b0:	b0 10 20 1b 	mov  0x1b, %i0                                 
  map->last_map_block = new_block;                                    
  return 0;                                                           
}                                                                     
                                                                      
int                                                                   
rtems_rfs_block_map_grow (rtems_rfs_file_system* fs,                  
 20188b4:	a0 10 20 00 	clr  %l0                                       
            return rc;                                                
          }                                                           
        }                                                             
      }                                                               
                                                                      
      rtems_rfs_block_set_number (&map->singly_buffer, direct, block);
 20188b8:	aa 10 20 01 	mov  1, %l5                                    
                                      singly,                         
                                      singly_block);                  
        }                                                             
        else                                                          
        {                                                             
          rc = rtems_rfs_buffer_handle_request (fs,                   
 20188bc:	a8 06 60 44 	add  %i1, 0x44, %l4                            
          }                                                           
                                                                      
          singly_block = rtems_rfs_block_get_number (&map->doubly_buffer,
                                                     singly);         
                                                                      
          rc = rtems_rfs_buffer_handle_request (fs, &map->singly_buffer,
 20188c0:	10 80 00 d1 	b  2018c04 <rtems_rfs_block_map_grow+0x39c>    
 20188c4:	b8 06 60 38 	add  %i1, 0x38, %i4                            
    /*                                                                
     * Allocate the block. If an indirect block is needed and cannot be
     * allocated free this block.                                     
     */                                                               
                                                                      
    rc = rtems_rfs_group_bitmap_alloc (fs, map->last_data_block,      
 20188c8:	90 10 00 1d 	mov  %i5, %o0                                  
 20188cc:	94 10 20 00 	clr  %o2                                       
 20188d0:	7f ff d9 53 	call  200ee1c <rtems_rfs_group_bitmap_alloc>   
 20188d4:	96 07 bf f8 	add  %fp, -8, %o3                              
                                       false, &block);                
    if (rc > 0)                                                       
 20188d8:	b0 92 20 00 	orcc  %o0, 0, %i0                              
 20188dc:	14 80 00 ce 	bg  2018c14 <rtems_rfs_block_map_grow+0x3ac>   <== NEVER TAKEN
 20188e0:	01 00 00 00 	nop                                            
      return rc;                                                      
                                                                      
    if (map->size.count < RTEMS_RFS_INODE_BLOCKS)                     
 20188e4:	f0 06 60 08 	ld  [ %i1 + 8 ], %i0                           
 20188e8:	80 a6 20 04 	cmp  %i0, 4                                    
 20188ec:	38 80 00 08 	bgu,a   201890c <rtems_rfs_block_map_grow+0xa4><== NEVER TAKEN
 20188f0:	e4 07 60 30 	ld  [ %i5 + 0x30 ], %l2                        <== NOT EXECUTED
      map->blocks[map->size.count] = block;                           
 20188f4:	c2 07 bf f8 	ld  [ %fp + -8 ], %g1                          
 20188f8:	b0 06 20 08 	add  %i0, 8, %i0                               
 20188fc:	b1 2e 20 02 	sll  %i0, 2, %i0                               
 2018900:	b0 06 40 18 	add  %i1, %i0, %i0                             
 2018904:	10 80 00 b5 	b  2018bd8 <rtems_rfs_block_map_grow+0x370>    
 2018908:	c2 26 20 04 	st  %g1, [ %i0 + 4 ]                           
       * Single indirect access is occuring. It could still be doubly indirect.
       */                                                             
      rtems_rfs_block_no direct;                                      
      rtems_rfs_block_no singly;                                      
                                                                      
      direct = map->size.count % fs->blocks_per_block;                
 201890c:	90 10 00 18 	mov  %i0, %o0                                  <== NOT EXECUTED
 2018910:	40 00 4a ab 	call  202b3bc <.urem>                          <== NOT EXECUTED
 2018914:	92 10 00 12 	mov  %l2, %o1                                  <== NOT EXECUTED
      singly = map->size.count / fs->blocks_per_block;                
 2018918:	92 10 00 12 	mov  %l2, %o1                                  <== NOT EXECUTED
       * Single indirect access is occuring. It could still be doubly indirect.
       */                                                             
      rtems_rfs_block_no direct;                                      
      rtems_rfs_block_no singly;                                      
                                                                      
      direct = map->size.count % fs->blocks_per_block;                
 201891c:	a2 10 00 08 	mov  %o0, %l1                                  <== NOT EXECUTED
      singly = map->size.count / fs->blocks_per_block;                
 2018920:	40 00 49 fb 	call  202b10c <.udiv>                          <== NOT EXECUTED
 2018924:	90 10 00 18 	mov  %i0, %o0                                  <== NOT EXECUTED
                                                                      
      if (map->size.count < fs->block_map_singly_blocks)              
 2018928:	c2 07 60 34 	ld  [ %i5 + 0x34 ], %g1                        <== NOT EXECUTED
 201892c:	80 a6 00 01 	cmp  %i0, %g1                                  <== NOT EXECUTED
 2018930:	1a 80 00 1d 	bcc  20189a4 <rtems_rfs_block_map_grow+0x13c>  <== NOT EXECUTED
 2018934:	ac 10 00 08 	mov  %o0, %l6                                  <== NOT EXECUTED
         * Singly indirect tables are being used. Allocate a new block for a
         * mapping table if direct is 0 or we are moving up (upping). If upping
         * move the direct blocks into the table and if not this is the first
         * entry of a new block.                                      
         */                                                           
        if ((direct == 0) ||                                          
 2018938:	80 a4 60 00 	cmp  %l1, 0                                    <== NOT EXECUTED
 201893c:	22 80 00 07 	be,a   2018958 <rtems_rfs_block_map_grow+0xf0> <== NOT EXECUTED
 2018940:	82 1e 20 05 	xor  %i0, 5, %g1                               <== NOT EXECUTED
 2018944:	80 a4 60 05 	cmp  %l1, 5                                    <== NOT EXECUTED
 2018948:	12 80 00 10 	bne  2018988 <rtems_rfs_block_map_grow+0x120>  <== NOT EXECUTED
 201894c:	80 a2 20 00 	cmp  %o0, 0                                    <== NOT EXECUTED
 2018950:	12 80 00 0e 	bne  2018988 <rtems_rfs_block_map_grow+0x120>  <== NOT EXECUTED
 2018954:	82 1e 20 05 	xor  %i0, 5, %g1                               <== NOT EXECUTED
          /*                                                          
           * Upping is when we move from direct to singly indirect.   
           */                                                         
          bool upping;                                                
          upping = map->size.count == RTEMS_RFS_INODE_BLOCKS;         
          rc = rtems_rfs_block_map_indirect_alloc (fs, map,           
 2018958:	80 a0 00 01 	cmp  %g0, %g1                                  <== NOT EXECUTED
 201895c:	96 05 a0 08 	add  %l6, 8, %o3                               <== NOT EXECUTED
 2018960:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
 2018964:	97 2a e0 02 	sll  %o3, 2, %o3                               <== NOT EXECUTED
 2018968:	92 10 00 19 	mov  %i1, %o1                                  <== NOT EXECUTED
 201896c:	96 06 40 0b 	add  %i1, %o3, %o3                             <== NOT EXECUTED
 2018970:	94 10 00 1c 	mov  %i4, %o2                                  <== NOT EXECUTED
 2018974:	96 02 e0 04 	add  %o3, 4, %o3                               <== NOT EXECUTED
 2018978:	7f ff fd 63 	call  2017f04 <rtems_rfs_block_map_indirect_alloc><== NOT EXECUTED
 201897c:	98 60 3f ff 	subx  %g0, -1, %o4                             <== NOT EXECUTED
          singly_block = rtems_rfs_block_get_number (&map->doubly_buffer,
                                                     singly);         
                                                                      
          rc = rtems_rfs_buffer_handle_request (fs, &map->singly_buffer,
                                                singly_block, true);  
          if (rc > 0)                                                 
 2018980:	10 80 00 78 	b  2018b60 <rtems_rfs_block_map_grow+0x2f8>    <== NOT EXECUTED
 2018984:	b0 92 20 00 	orcc  %o0, 0, %i0                              <== NOT EXECUTED
                                                   &map->blocks[singly],
                                                   upping);           
        }                                                             
        else                                                          
        {                                                             
          rc = rtems_rfs_buffer_handle_request (fs,  &map->singly_buffer,
 2018988:	ac 05 a0 08 	add  %l6, 8, %l6                               <== NOT EXECUTED
 201898c:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
 2018990:	ad 2d a0 02 	sll  %l6, 2, %l6                               <== NOT EXECUTED
 2018994:	92 10 00 1c 	mov  %i4, %o1                                  <== NOT EXECUTED
 2018998:	ac 06 40 16 	add  %i1, %l6, %l6                             <== NOT EXECUTED
 201899c:	10 80 00 6e 	b  2018b54 <rtems_rfs_block_map_grow+0x2ec>    <== NOT EXECUTED
 20189a0:	d4 05 a0 04 	ld  [ %l6 + 4 ], %o2                           <== NOT EXECUTED
         * Doubly indirect tables are being used.                     
         */                                                           
        rtems_rfs_block_no doubly;                                    
        rtems_rfs_block_no singly_block;                              
                                                                      
        doubly  = singly / fs->blocks_per_block;                      
 20189a4:	40 00 49 da 	call  202b10c <.udiv>                          <== NOT EXECUTED
 20189a8:	92 10 00 12 	mov  %l2, %o1                                  <== NOT EXECUTED
        singly %= fs->blocks_per_block;                               
 20189ac:	92 10 00 12 	mov  %l2, %o1                                  <== NOT EXECUTED
         * Doubly indirect tables are being used.                     
         */                                                           
        rtems_rfs_block_no doubly;                                    
        rtems_rfs_block_no singly_block;                              
                                                                      
        doubly  = singly / fs->blocks_per_block;                      
 20189b0:	a6 10 00 08 	mov  %o0, %l3                                  <== NOT EXECUTED
        singly %= fs->blocks_per_block;                               
 20189b4:	40 00 4a 82 	call  202b3bc <.urem>                          <== NOT EXECUTED
 20189b8:	90 10 00 16 	mov  %l6, %o0                                  <== NOT EXECUTED
         * Allocate a new block for a singly indirect table if direct is 0 as
         * it is the first entry of a new block. We may also need to allocate a
         * doubly indirect block as well. Both always occur when direct is 0
         * and the doubly indirect block when singly is 0.            
         */                                                           
        if (direct == 0)                                              
 20189bc:	80 a4 60 00 	cmp  %l1, 0                                    <== NOT EXECUTED
 20189c0:	12 80 00 49 	bne  2018ae4 <rtems_rfs_block_map_grow+0x27c>  <== NOT EXECUTED
 20189c4:	a4 10 00 08 	mov  %o0, %l2                                  <== NOT EXECUTED
        {                                                             
          rc = rtems_rfs_block_map_indirect_alloc (fs, map,           
 20189c8:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
 20189cc:	92 10 00 19 	mov  %i1, %o1                                  <== NOT EXECUTED
 20189d0:	94 10 00 1c 	mov  %i4, %o2                                  <== NOT EXECUTED
 20189d4:	96 07 bf fc 	add  %fp, -4, %o3                              <== NOT EXECUTED
 20189d8:	7f ff fd 4b 	call  2017f04 <rtems_rfs_block_map_indirect_alloc><== NOT EXECUTED
 20189dc:	98 10 20 00 	clr  %o4                                       <== NOT EXECUTED
                                                   &map->singly_buffer,
                                                   &singly_block,     
                                                   false);            
          if (rc > 0)                                                 
 20189e0:	b0 92 20 00 	orcc  %o0, 0, %i0                              <== NOT EXECUTED
 20189e4:	14 80 00 62 	bg  2018b6c <rtems_rfs_block_map_grow+0x304>   <== NOT EXECUTED
 20189e8:	d4 07 bf f8 	ld  [ %fp + -8 ], %o2                          <== NOT EXECUTED
                                                                      
          /*                                                          
           * Allocate a new block for a doubly indirect table if singly is 0 as
           * it is the first entry of a new singly indirect block.    
           */                                                         
          if ((singly == 0) ||                                        
 20189ec:	80 a4 a0 00 	cmp  %l2, 0                                    <== NOT EXECUTED
 20189f0:	22 80 00 08 	be,a   2018a10 <rtems_rfs_block_map_grow+0x1a8><== NOT EXECUTED
 20189f4:	c4 06 60 08 	ld  [ %i1 + 8 ], %g2                           <== NOT EXECUTED
 20189f8:	80 a4 a0 05 	cmp  %l2, 5                                    <== NOT EXECUTED
 20189fc:	12 80 00 13 	bne  2018a48 <rtems_rfs_block_map_grow+0x1e0>  <== NOT EXECUTED
 2018a00:	80 a4 e0 00 	cmp  %l3, 0                                    <== NOT EXECUTED
 2018a04:	32 80 00 12 	bne,a   2018a4c <rtems_rfs_block_map_grow+0x1e4><== NOT EXECUTED
 2018a08:	a6 04 e0 08 	add  %l3, 8, %l3                               <== NOT EXECUTED
              ((doubly == 0) && (singly == RTEMS_RFS_INODE_BLOCKS)))  
          {                                                           
            bool upping;                                              
            upping = map->size.count == fs->block_map_singly_blocks;  
 2018a0c:	c4 06 60 08 	ld  [ %i1 + 8 ], %g2                           <== NOT EXECUTED
 2018a10:	c2 07 60 34 	ld  [ %i5 + 0x34 ], %g1                        <== NOT EXECUTED
            rc = rtems_rfs_block_map_indirect_alloc (fs, map,         
 2018a14:	96 04 e0 08 	add  %l3, 8, %o3                               <== NOT EXECUTED
           */                                                         
          if ((singly == 0) ||                                        
              ((doubly == 0) && (singly == RTEMS_RFS_INODE_BLOCKS)))  
          {                                                           
            bool upping;                                              
            upping = map->size.count == fs->block_map_singly_blocks;  
 2018a18:	82 18 80 01 	xor  %g2, %g1, %g1                             <== NOT EXECUTED
            rc = rtems_rfs_block_map_indirect_alloc (fs, map,         
 2018a1c:	80 a0 00 01 	cmp  %g0, %g1                                  <== NOT EXECUTED
 2018a20:	97 2a e0 02 	sll  %o3, 2, %o3                               <== NOT EXECUTED
 2018a24:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
 2018a28:	96 06 40 0b 	add  %i1, %o3, %o3                             <== NOT EXECUTED
 2018a2c:	92 10 00 19 	mov  %i1, %o1                                  <== NOT EXECUTED
 2018a30:	94 10 00 14 	mov  %l4, %o2                                  <== NOT EXECUTED
 2018a34:	96 02 e0 04 	add  %o3, 4, %o3                               <== NOT EXECUTED
 2018a38:	7f ff fd 33 	call  2017f04 <rtems_rfs_block_map_indirect_alloc><== NOT EXECUTED
 2018a3c:	98 60 3f ff 	subx  %g0, -1, %o4                             <== NOT EXECUTED
          }                                                           
          else                                                        
          {                                                           
            rc = rtems_rfs_buffer_handle_request (fs, &map->doubly_buffer,
                                                  map->blocks[doubly], true);
            if (rc > 0)                                               
 2018a40:	10 80 00 0b 	b  2018a6c <rtems_rfs_block_map_grow+0x204>    <== NOT EXECUTED
 2018a44:	b0 92 20 00 	orcc  %o0, 0, %i0                              <== NOT EXECUTED
              return rc;                                              
            }                                                         
          }                                                           
          else                                                        
          {                                                           
            rc = rtems_rfs_buffer_handle_request (fs, &map->doubly_buffer,
 2018a48:	a6 04 e0 08 	add  %l3, 8, %l3                               <== NOT EXECUTED
 2018a4c:	a7 2c e0 02 	sll  %l3, 2, %l3                               <== NOT EXECUTED
 2018a50:	a6 06 40 13 	add  %i1, %l3, %l3                             <== NOT EXECUTED
 2018a54:	d4 04 e0 04 	ld  [ %l3 + 4 ], %o2                           <== NOT EXECUTED
 2018a58:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
 2018a5c:	92 10 00 14 	mov  %l4, %o1                                  <== NOT EXECUTED
 2018a60:	40 00 02 16 	call  20192b8 <rtems_rfs_buffer_handle_request><== NOT EXECUTED
 2018a64:	96 10 20 01 	mov  1, %o3                                    <== NOT EXECUTED
                                                  map->blocks[doubly], true);
            if (rc > 0)                                               
 2018a68:	b0 92 20 00 	orcc  %o0, 0, %i0                              <== NOT EXECUTED
 2018a6c:	24 80 00 08 	ble,a   2018a8c <rtems_rfs_block_map_grow+0x224><== NOT EXECUTED
 2018a70:	c2 06 60 4c 	ld  [ %i1 + 0x4c ], %g1                        <== NOT EXECUTED
            {                                                         
              rtems_rfs_group_bitmap_free (fs, false, singly_block);  
 2018a74:	d4 07 bf fc 	ld  [ %fp + -4 ], %o2                          <== NOT EXECUTED
 2018a78:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
 2018a7c:	7f ff d9 68 	call  200f01c <rtems_rfs_group_bitmap_free>    <== NOT EXECUTED
 2018a80:	92 10 20 00 	clr  %o1                                       <== NOT EXECUTED
                                                                      
          rc = rtems_rfs_buffer_handle_request (fs, &map->singly_buffer,
                                                singly_block, true);  
          if (rc > 0)                                                 
          {                                                           
            rtems_rfs_group_bitmap_free (fs, false, block);           
 2018a84:	10 80 00 3a 	b  2018b6c <rtems_rfs_block_map_grow+0x304>    <== NOT EXECUTED
 2018a88:	d4 07 bf f8 	ld  [ %fp + -8 ], %o2                          <== NOT EXECUTED
              rtems_rfs_group_bitmap_free (fs, false, block);         
              return rc;                                              
            }                                                         
          }                                                           
                                                                      
          rtems_rfs_block_set_number (&map->doubly_buffer,            
 2018a8c:	c4 0f bf fc 	ldub  [ %fp + -4 ], %g2                        <== NOT EXECUTED
 2018a90:	c2 00 60 24 	ld  [ %g1 + 0x24 ], %g1                        <== NOT EXECUTED
 2018a94:	a5 2c a0 02 	sll  %l2, 2, %l2                               <== NOT EXECUTED
 2018a98:	c4 28 40 12 	stb  %g2, [ %g1 + %l2 ]                        <== NOT EXECUTED
 2018a9c:	c2 06 60 4c 	ld  [ %i1 + 0x4c ], %g1                        <== NOT EXECUTED
 2018aa0:	c4 17 bf fc 	lduh  [ %fp + -4 ], %g2                        <== NOT EXECUTED
 2018aa4:	c2 00 60 24 	ld  [ %g1 + 0x24 ], %g1                        <== NOT EXECUTED
 2018aa8:	82 00 40 12 	add  %g1, %l2, %g1                             <== NOT EXECUTED
 2018aac:	c4 28 60 01 	stb  %g2, [ %g1 + 1 ]                          <== NOT EXECUTED
 2018ab0:	c2 06 60 4c 	ld  [ %i1 + 0x4c ], %g1                        <== NOT EXECUTED
 2018ab4:	c4 07 bf fc 	ld  [ %fp + -4 ], %g2                          <== NOT EXECUTED
 2018ab8:	c2 00 60 24 	ld  [ %g1 + 0x24 ], %g1                        <== NOT EXECUTED
 2018abc:	85 30 a0 08 	srl  %g2, 8, %g2                               <== NOT EXECUTED
 2018ac0:	82 00 40 12 	add  %g1, %l2, %g1                             <== NOT EXECUTED
 2018ac4:	c4 28 60 02 	stb  %g2, [ %g1 + 2 ]                          <== NOT EXECUTED
 2018ac8:	c2 06 60 4c 	ld  [ %i1 + 0x4c ], %g1                        <== NOT EXECUTED
 2018acc:	c2 00 60 24 	ld  [ %g1 + 0x24 ], %g1                        <== NOT EXECUTED
 2018ad0:	a4 00 40 12 	add  %g1, %l2, %l2                             <== NOT EXECUTED
 2018ad4:	c2 07 bf fc 	ld  [ %fp + -4 ], %g1                          <== NOT EXECUTED
 2018ad8:	c2 2c a0 03 	stb  %g1, [ %l2 + 3 ]                          <== NOT EXECUTED
 2018adc:	10 80 00 29 	b  2018b80 <rtems_rfs_block_map_grow+0x318>    <== NOT EXECUTED
 2018ae0:	ea 2e 60 44 	stb  %l5, [ %i1 + 0x44 ]                       <== NOT EXECUTED
                                      singly,                         
                                      singly_block);                  
        }                                                             
        else                                                          
        {                                                             
          rc = rtems_rfs_buffer_handle_request (fs,                   
 2018ae4:	a6 04 e0 08 	add  %l3, 8, %l3                               <== NOT EXECUTED
 2018ae8:	a7 2c e0 02 	sll  %l3, 2, %l3                               <== NOT EXECUTED
 2018aec:	a6 06 40 13 	add  %i1, %l3, %l3                             <== NOT EXECUTED
 2018af0:	d4 04 e0 04 	ld  [ %l3 + 4 ], %o2                           <== NOT EXECUTED
 2018af4:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
 2018af8:	92 10 00 14 	mov  %l4, %o1                                  <== NOT EXECUTED
 2018afc:	40 00 01 ef 	call  20192b8 <rtems_rfs_buffer_handle_request><== NOT EXECUTED
 2018b00:	96 10 20 01 	mov  1, %o3                                    <== NOT EXECUTED
                                                &map->doubly_buffer,  
                                                map->blocks[doubly],  
                                                true);                
          if (rc > 0)                                                 
 2018b04:	b0 92 20 00 	orcc  %o0, 0, %i0                              <== NOT EXECUTED
 2018b08:	14 80 00 19 	bg  2018b6c <rtems_rfs_block_map_grow+0x304>   <== NOT EXECUTED
 2018b0c:	d4 07 bf f8 	ld  [ %fp + -8 ], %o2                          <== NOT EXECUTED
          {                                                           
            rtems_rfs_group_bitmap_free (fs, false, block);           
            return rc;                                                
          }                                                           
                                                                      
          singly_block = rtems_rfs_block_get_number (&map->doubly_buffer,
 2018b10:	c2 06 60 4c 	ld  [ %i1 + 0x4c ], %g1                        <== NOT EXECUTED
 2018b14:	a5 2c a0 02 	sll  %l2, 2, %l2                               <== NOT EXECUTED
 2018b18:	c4 00 60 24 	ld  [ %g1 + 0x24 ], %g2                        <== NOT EXECUTED
                                                     singly);         
                                                                      
          rc = rtems_rfs_buffer_handle_request (fs, &map->singly_buffer,
 2018b1c:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
          {                                                           
            rtems_rfs_group_bitmap_free (fs, false, block);           
            return rc;                                                
          }                                                           
                                                                      
          singly_block = rtems_rfs_block_get_number (&map->doubly_buffer,
 2018b20:	82 00 80 12 	add  %g2, %l2, %g1                             <== NOT EXECUTED
 2018b24:	d4 08 80 12 	ldub  [ %g2 + %l2 ], %o2                       <== NOT EXECUTED
 2018b28:	c6 08 60 03 	ldub  [ %g1 + 3 ], %g3                         <== NOT EXECUTED
 2018b2c:	c4 08 60 01 	ldub  [ %g1 + 1 ], %g2                         <== NOT EXECUTED
 2018b30:	c2 08 60 02 	ldub  [ %g1 + 2 ], %g1                         <== NOT EXECUTED
 2018b34:	95 2a a0 18 	sll  %o2, 0x18, %o2                            <== NOT EXECUTED
 2018b38:	85 28 a0 10 	sll  %g2, 0x10, %g2                            <== NOT EXECUTED
 2018b3c:	94 10 c0 0a 	or  %g3, %o2, %o2                              <== NOT EXECUTED
 2018b40:	83 28 60 08 	sll  %g1, 8, %g1                               <== NOT EXECUTED
 2018b44:	94 12 80 02 	or  %o2, %g2, %o2                              <== NOT EXECUTED
                                                     singly);         
                                                                      
          rc = rtems_rfs_buffer_handle_request (fs, &map->singly_buffer,
 2018b48:	92 10 00 1c 	mov  %i4, %o1                                  <== NOT EXECUTED
          {                                                           
            rtems_rfs_group_bitmap_free (fs, false, block);           
            return rc;                                                
          }                                                           
                                                                      
          singly_block = rtems_rfs_block_get_number (&map->doubly_buffer,
 2018b4c:	94 12 80 01 	or  %o2, %g1, %o2                              <== NOT EXECUTED
 2018b50:	d4 27 bf fc 	st  %o2, [ %fp + -4 ]                          <== NOT EXECUTED
                                                     singly);         
                                                                      
          rc = rtems_rfs_buffer_handle_request (fs, &map->singly_buffer,
 2018b54:	40 00 01 d9 	call  20192b8 <rtems_rfs_buffer_handle_request><== NOT EXECUTED
 2018b58:	96 10 20 01 	mov  1, %o3                                    <== NOT EXECUTED
                                                singly_block, true);  
          if (rc > 0)                                                 
 2018b5c:	b0 92 20 00 	orcc  %o0, 0, %i0                              <== NOT EXECUTED
 2018b60:	24 80 00 09 	ble,a   2018b84 <rtems_rfs_block_map_grow+0x31c><== NOT EXECUTED
 2018b64:	c2 06 60 40 	ld  [ %i1 + 0x40 ], %g1                        <== NOT EXECUTED
          {                                                           
            rtems_rfs_group_bitmap_free (fs, false, block);           
 2018b68:	d4 07 bf f8 	ld  [ %fp + -8 ], %o2                          <== NOT EXECUTED
 2018b6c:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
 2018b70:	7f ff d9 2b 	call  200f01c <rtems_rfs_group_bitmap_free>    <== NOT EXECUTED
 2018b74:	92 10 20 00 	clr  %o1                                       <== NOT EXECUTED
            return rc;                                                
 2018b78:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2018b7c:	81 e8 00 00 	restore                                        <== NOT EXECUTED
          }                                                           
        }                                                             
      }                                                               
                                                                      
      rtems_rfs_block_set_number (&map->singly_buffer, direct, block);
 2018b80:	c2 06 60 40 	ld  [ %i1 + 0x40 ], %g1                        <== NOT EXECUTED
 2018b84:	c4 0f bf f8 	ldub  [ %fp + -8 ], %g2                        <== NOT EXECUTED
 2018b88:	c2 00 60 24 	ld  [ %g1 + 0x24 ], %g1                        <== NOT EXECUTED
 2018b8c:	a3 2c 60 02 	sll  %l1, 2, %l1                               <== NOT EXECUTED
 2018b90:	c4 28 40 11 	stb  %g2, [ %g1 + %l1 ]                        <== NOT EXECUTED
 2018b94:	c2 06 60 40 	ld  [ %i1 + 0x40 ], %g1                        <== NOT EXECUTED
 2018b98:	c4 17 bf f8 	lduh  [ %fp + -8 ], %g2                        <== NOT EXECUTED
 2018b9c:	c2 00 60 24 	ld  [ %g1 + 0x24 ], %g1                        <== NOT EXECUTED
 2018ba0:	82 00 40 11 	add  %g1, %l1, %g1                             <== NOT EXECUTED
 2018ba4:	c4 28 60 01 	stb  %g2, [ %g1 + 1 ]                          <== NOT EXECUTED
 2018ba8:	c2 06 60 40 	ld  [ %i1 + 0x40 ], %g1                        <== NOT EXECUTED
 2018bac:	c4 07 bf f8 	ld  [ %fp + -8 ], %g2                          <== NOT EXECUTED
 2018bb0:	c2 00 60 24 	ld  [ %g1 + 0x24 ], %g1                        <== NOT EXECUTED
 2018bb4:	85 30 a0 08 	srl  %g2, 8, %g2                               <== NOT EXECUTED
 2018bb8:	82 00 40 11 	add  %g1, %l1, %g1                             <== NOT EXECUTED
 2018bbc:	c4 28 60 02 	stb  %g2, [ %g1 + 2 ]                          <== NOT EXECUTED
 2018bc0:	c2 06 60 40 	ld  [ %i1 + 0x40 ], %g1                        <== NOT EXECUTED
 2018bc4:	c2 00 60 24 	ld  [ %g1 + 0x24 ], %g1                        <== NOT EXECUTED
 2018bc8:	a2 00 40 11 	add  %g1, %l1, %l1                             <== NOT EXECUTED
 2018bcc:	c2 07 bf f8 	ld  [ %fp + -8 ], %g1                          <== NOT EXECUTED
 2018bd0:	c2 2c 60 03 	stb  %g1, [ %l1 + 3 ]                          <== NOT EXECUTED
 2018bd4:	ea 2e 60 38 	stb  %l5, [ %i1 + 0x38 ]                       <== NOT EXECUTED
    }                                                                 
                                                                      
    map->size.count++;                                                
 2018bd8:	c2 06 60 08 	ld  [ %i1 + 8 ], %g1                           
    map->size.offset = 0;                                             
 2018bdc:	c0 26 60 0c 	clr  [ %i1 + 0xc ]                             
      }                                                               
                                                                      
      rtems_rfs_block_set_number (&map->singly_buffer, direct, block);
    }                                                                 
                                                                      
    map->size.count++;                                                
 2018be0:	82 00 60 01 	inc  %g1                                       
 2018be4:	c2 26 60 08 	st  %g1, [ %i1 + 8 ]                           
    map->size.offset = 0;                                             
                                                                      
    if (b == 0)                                                       
 2018be8:	80 a4 20 00 	cmp  %l0, 0                                    
 2018bec:	12 80 00 03 	bne  2018bf8 <rtems_rfs_block_map_grow+0x390>  <== NEVER TAKEN
 2018bf0:	c2 07 bf f8 	ld  [ %fp + -8 ], %g1                          
      *new_block = block;                                             
 2018bf4:	c2 26 c0 00 	st  %g1, [ %i3 ]                               
    map->last_data_block = block;                                     
 2018bf8:	c2 26 60 20 	st  %g1, [ %i1 + 0x20 ]                        
    map->dirty = true;                                                
 2018bfc:	ea 2e 40 00 	stb  %l5, [ %i1 ]                              
                                                                      
  /*                                                                  
   * Allocate a block at a time. The buffer handles hold the blocks so adding
   * this way does not thrash the cache with lots of requests.        
   */                                                                 
  for (b = 0; b < blocks; b++)                                        
 2018c00:	a0 04 20 01 	inc  %l0                                       
 2018c04:	80 a4 00 1a 	cmp  %l0, %i2                                  
 2018c08:	32 bf ff 30 	bne,a   20188c8 <rtems_rfs_block_map_grow+0x60>
 2018c0c:	d2 06 60 20 	ld  [ %i1 + 0x20 ], %o1                        
      *new_block = block;                                             
    map->last_data_block = block;                                     
    map->dirty = true;                                                
  }                                                                   
                                                                      
  return 0;                                                           
 2018c10:	b0 10 20 00 	clr  %i0                                       
}                                                                     
 2018c14:	81 c7 e0 08 	ret                                            
 2018c18:	81 e8 00 00 	restore                                        
                                                                      

02017f04 <rtems_rfs_block_map_indirect_alloc>: rtems_rfs_block_map_indirect_alloc (rtems_rfs_file_system* fs, rtems_rfs_block_map* map, rtems_rfs_buffer_handle* buffer, rtems_rfs_block_no* block, bool upping) {
 2017f04:	9d e3 bf 98 	save  %sp, -104, %sp                           <== NOT EXECUTED
  int                  rc;                                            
  /*                                                                  
   * Save the new block locally because upping can have *block pointing to the
   * slots which are cleared when upping.                             
   */                                                                 
  rc = rtems_rfs_group_bitmap_alloc (fs, map->last_map_block, false, &new_block);
 2017f08:	d2 06 60 1c 	ld  [ %i1 + 0x1c ], %o1                        <== NOT EXECUTED
 2017f0c:	90 10 00 18 	mov  %i0, %o0                                  <== NOT EXECUTED
rtems_rfs_block_map_indirect_alloc (rtems_rfs_file_system*   fs,      
                                    rtems_rfs_block_map*     map,     
                                    rtems_rfs_buffer_handle* buffer,  
                                    rtems_rfs_block_no*      block,   
                                    bool                     upping)  
{                                                                     
 2017f10:	ba 10 00 18 	mov  %i0, %i5                                  <== NOT EXECUTED
  int                  rc;                                            
  /*                                                                  
   * Save the new block locally because upping can have *block pointing to the
   * slots which are cleared when upping.                             
   */                                                                 
  rc = rtems_rfs_group_bitmap_alloc (fs, map->last_map_block, false, &new_block);
 2017f14:	94 10 20 00 	clr  %o2                                       <== NOT EXECUTED
 2017f18:	7f ff db c1 	call  200ee1c <rtems_rfs_group_bitmap_alloc>   <== NOT EXECUTED
 2017f1c:	96 07 bf fc 	add  %fp, -4, %o3                              <== NOT EXECUTED
  if (rc > 0)                                                         
 2017f20:	b0 92 20 00 	orcc  %o0, 0, %i0                              <== NOT EXECUTED
 2017f24:	14 80 00 0c 	bg  2017f54 <rtems_rfs_block_map_indirect_alloc+0x50><== NOT EXECUTED
 2017f28:	d4 07 bf fc 	ld  [ %fp + -4 ], %o2                          <== NOT EXECUTED
    return rc;                                                        
  rc = rtems_rfs_buffer_handle_request (fs, buffer, new_block, false);
 2017f2c:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
 2017f30:	92 10 00 1a 	mov  %i2, %o1                                  <== NOT EXECUTED
 2017f34:	40 00 04 e1 	call  20192b8 <rtems_rfs_buffer_handle_request><== NOT EXECUTED
 2017f38:	96 10 20 00 	clr  %o3                                       <== NOT EXECUTED
  if (rc > 0)                                                         
 2017f3c:	b0 92 20 00 	orcc  %o0, 0, %i0                              <== NOT EXECUTED
 2017f40:	04 80 00 07 	ble  2017f5c <rtems_rfs_block_map_indirect_alloc+0x58><== NOT EXECUTED
 2017f44:	d4 07 bf fc 	ld  [ %fp + -4 ], %o2                          <== NOT EXECUTED
  {                                                                   
    rtems_rfs_group_bitmap_free (fs, false, new_block);               
 2017f48:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
 2017f4c:	7f ff dc 34 	call  200f01c <rtems_rfs_group_bitmap_free>    <== NOT EXECUTED
 2017f50:	92 10 20 00 	clr  %o1                                       <== NOT EXECUTED
    return rc;                                                        
 2017f54:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2017f58:	81 e8 00 00 	restore                                        <== NOT EXECUTED
  }                                                                   
  memset (rtems_rfs_buffer_data (buffer), 0xff, rtems_rfs_fs_block_size (fs));
 2017f5c:	c2 06 a0 08 	ld  [ %i2 + 8 ], %g1                           <== NOT EXECUTED
 2017f60:	d4 07 60 08 	ld  [ %i5 + 8 ], %o2                           <== NOT EXECUTED
 2017f64:	d0 00 60 24 	ld  [ %g1 + 0x24 ], %o0                        <== NOT EXECUTED
 2017f68:	40 00 1c 46 	call  201f080 <memset>                         <== NOT EXECUTED
 2017f6c:	92 10 20 ff 	mov  0xff, %o1                                 <== NOT EXECUTED
  if (upping)                                                         
 2017f70:	80 a7 20 00 	cmp  %i4, 0                                    <== NOT EXECUTED
 2017f74:	02 80 00 2d 	be  2018028 <rtems_rfs_block_map_indirect_alloc+0x124><== NOT EXECUTED
 2017f78:	82 10 20 01 	mov  1, %g1                                    <== NOT EXECUTED
  {                                                                   
    int b;                                                            
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_BLOCK_MAP_GROW))             
 2017f7c:	90 10 20 00 	clr  %o0                                       <== NOT EXECUTED
 2017f80:	7f ff e4 ae 	call  2011238 <rtems_rfs_trace>                <== NOT EXECUTED
 2017f84:	13 00 00 08 	sethi  %hi(0x2000), %o1                        <== NOT EXECUTED
 2017f88:	80 8a 20 ff 	btst  0xff, %o0                                <== NOT EXECUTED
 2017f8c:	02 80 00 07 	be  2017fa8 <rtems_rfs_block_map_indirect_alloc+0xa4><== NOT EXECUTED
 2017f90:	84 10 00 19 	mov  %i1, %g2                                  <== NOT EXECUTED
      printf ("rtems-rfs: block-map-grow: upping: block-count=%" PRId32 "\n",
 2017f94:	d2 06 60 08 	ld  [ %i1 + 8 ], %o1                           <== NOT EXECUTED
 2017f98:	11 00 80 bd 	sethi  %hi(0x202f400), %o0                     <== NOT EXECUTED
 2017f9c:	40 00 1c 8b 	call  201f1c8 <printf>                         <== NOT EXECUTED
 2017fa0:	90 12 20 08 	or  %o0, 8, %o0	! 202f408 <CSWTCH.1+0x8>       <== NOT EXECUTED
 2017fa4:	84 10 00 19 	mov  %i1, %g2                                  <== NOT EXECUTED
rtems_rfs_block_map_indirect_alloc (rtems_rfs_file_system*   fs,      
                                    rtems_rfs_block_map*     map,     
                                    rtems_rfs_buffer_handle* buffer,  
                                    rtems_rfs_block_no*      block,   
                                    bool                     upping)  
{                                                                     
 2017fa8:	82 10 20 00 	clr  %g1                                       <== NOT EXECUTED
    int b;                                                            
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_BLOCK_MAP_GROW))             
      printf ("rtems-rfs: block-map-grow: upping: block-count=%" PRId32 "\n",
              map->size.count);                                       
    for (b = 0; b < RTEMS_RFS_INODE_BLOCKS; b++)                      
      rtems_rfs_block_set_number (buffer, b, map->blocks[b]);         
 2017fac:	86 10 20 01 	mov  1, %g3                                    <== NOT EXECUTED
 2017fb0:	c8 06 a0 08 	ld  [ %i2 + 8 ], %g4                           <== NOT EXECUTED
 2017fb4:	fa 08 a0 24 	ldub  [ %g2 + 0x24 ], %i5                      <== NOT EXECUTED
 2017fb8:	c8 01 20 24 	ld  [ %g4 + 0x24 ], %g4                        <== NOT EXECUTED
 2017fbc:	fa 29 00 01 	stb  %i5, [ %g4 + %g1 ]                        <== NOT EXECUTED
 2017fc0:	c8 06 a0 08 	ld  [ %i2 + 8 ], %g4                           <== NOT EXECUTED
 2017fc4:	fa 10 a0 24 	lduh  [ %g2 + 0x24 ], %i5                      <== NOT EXECUTED
 2017fc8:	c8 01 20 24 	ld  [ %g4 + 0x24 ], %g4                        <== NOT EXECUTED
 2017fcc:	88 01 00 01 	add  %g4, %g1, %g4                             <== NOT EXECUTED
 2017fd0:	fa 29 20 01 	stb  %i5, [ %g4 + 1 ]                          <== NOT EXECUTED
 2017fd4:	c8 06 a0 08 	ld  [ %i2 + 8 ], %g4                           <== NOT EXECUTED
 2017fd8:	fa 00 a0 24 	ld  [ %g2 + 0x24 ], %i5                        <== NOT EXECUTED
 2017fdc:	c8 01 20 24 	ld  [ %g4 + 0x24 ], %g4                        <== NOT EXECUTED
 2017fe0:	bb 37 60 08 	srl  %i5, 8, %i5                               <== NOT EXECUTED
 2017fe4:	88 01 00 01 	add  %g4, %g1, %g4                             <== NOT EXECUTED
 2017fe8:	fa 29 20 02 	stb  %i5, [ %g4 + 2 ]                          <== NOT EXECUTED
 2017fec:	c8 06 a0 08 	ld  [ %i2 + 8 ], %g4                           <== NOT EXECUTED
 2017ff0:	fa 00 a0 24 	ld  [ %g2 + 0x24 ], %i5                        <== NOT EXECUTED
 2017ff4:	c8 01 20 24 	ld  [ %g4 + 0x24 ], %g4                        <== NOT EXECUTED
 2017ff8:	84 00 a0 04 	add  %g2, 4, %g2                               <== NOT EXECUTED
 2017ffc:	88 01 00 01 	add  %g4, %g1, %g4                             <== NOT EXECUTED
 2018000:	fa 29 20 03 	stb  %i5, [ %g4 + 3 ]                          <== NOT EXECUTED
 2018004:	82 00 60 04 	add  %g1, 4, %g1                               <== NOT EXECUTED
  {                                                                   
    int b;                                                            
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_BLOCK_MAP_GROW))             
      printf ("rtems-rfs: block-map-grow: upping: block-count=%" PRId32 "\n",
              map->size.count);                                       
    for (b = 0; b < RTEMS_RFS_INODE_BLOCKS; b++)                      
 2018008:	80 a0 60 14 	cmp  %g1, 0x14                                 <== NOT EXECUTED
 201800c:	12 bf ff e9 	bne  2017fb0 <rtems_rfs_block_map_indirect_alloc+0xac><== NOT EXECUTED
 2018010:	c6 2e 80 00 	stb  %g3, [ %i2 ]                              <== NOT EXECUTED
      rtems_rfs_block_set_number (buffer, b, map->blocks[b]);         
    memset (map->blocks, 0, sizeof (map->blocks));                    
 2018014:	90 06 60 24 	add  %i1, 0x24, %o0                            <== NOT EXECUTED
 2018018:	92 10 20 00 	clr  %o1                                       <== NOT EXECUTED
 201801c:	40 00 1c 19 	call  201f080 <memset>                         <== NOT EXECUTED
 2018020:	94 10 20 14 	mov  0x14, %o2                                 <== NOT EXECUTED
  }                                                                   
  rtems_rfs_buffer_mark_dirty (buffer);                               
 2018024:	82 10 20 01 	mov  1, %g1                                    <== NOT EXECUTED
 2018028:	c2 2e 80 00 	stb  %g1, [ %i2 ]                              <== NOT EXECUTED
  *block = new_block;                                                 
 201802c:	c2 07 bf fc 	ld  [ %fp + -4 ], %g1                          <== NOT EXECUTED
  map->last_map_block = new_block;                                    
  return 0;                                                           
 2018030:	b0 10 20 00 	clr  %i0                                       <== NOT EXECUTED
    for (b = 0; b < RTEMS_RFS_INODE_BLOCKS; b++)                      
      rtems_rfs_block_set_number (buffer, b, map->blocks[b]);         
    memset (map->blocks, 0, sizeof (map->blocks));                    
  }                                                                   
  rtems_rfs_buffer_mark_dirty (buffer);                               
  *block = new_block;                                                 
 2018034:	c2 26 c0 00 	st  %g1, [ %i3 ]                               <== NOT EXECUTED
  map->last_map_block = new_block;                                    
 2018038:	c2 26 60 1c 	st  %g1, [ %i1 + 0x1c ]                        <== NOT EXECUTED
  return 0;                                                           
}                                                                     
 201803c:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2018040:	81 e8 00 00 	restore                                        <== NOT EXECUTED
                                                                      

02018100 <rtems_rfs_block_map_indirect_shrink.isra.7>: * @param indirect The index index in the inode's block table. * @param index The index in the indirect table of the block. * @return int The error number (errno). No error if 0. */ static int rtems_rfs_block_map_indirect_shrink (rtems_rfs_file_system* fs,
 2018100:	9d e3 bf a0 	save  %sp, -96, %sp                            <== NOT EXECUTED
   * block to be freed and the indirect block is now also free, or we have only
   * one indirect table and we can fit the remaining blocks into the inode,
   * then either move to the next indirect block or move the remaining blocks
   * into the inode and free the indirect table's block.              
   */                                                                 
  if ((index == 0) ||                                                 
 2018104:	80 a7 20 00 	cmp  %i4, 0                                    <== NOT EXECUTED
 2018108:	02 80 00 08 	be  2018128 <rtems_rfs_block_map_indirect_shrink.isra.7+0x28><== NOT EXECUTED
 201810c:	90 10 00 18 	mov  %i0, %o0                                  <== NOT EXECUTED
 2018110:	80 a7 20 05 	cmp  %i4, 5                                    <== NOT EXECUTED
 2018114:	32 80 00 2f 	bne,a   20181d0 <rtems_rfs_block_map_indirect_shrink.isra.7+0xd0><== NOT EXECUTED
 2018118:	90 10 20 00 	clr  %o0                                       <== NOT EXECUTED
 201811c:	80 a6 e0 00 	cmp  %i3, 0                                    <== NOT EXECUTED
 2018120:	32 80 00 2c 	bne,a   20181d0 <rtems_rfs_block_map_indirect_shrink.isra.7+0xd0><== NOT EXECUTED
 2018124:	90 10 20 00 	clr  %o0                                       <== NOT EXECUTED
      ((indirect == 0) && (index == RTEMS_RFS_INODE_BLOCKS)))         
  {                                                                   
    rtems_rfs_block_no block_to_free = map->blocks[indirect];         
 2018128:	82 06 e0 08 	add  %i3, 8, %g1                               <== NOT EXECUTED
                                                                      
    if ((indirect == 0) && (index == RTEMS_RFS_INODE_BLOCKS))         
 201812c:	80 a7 20 05 	cmp  %i4, 5                                    <== NOT EXECUTED
   * into the inode and free the indirect table's block.              
   */                                                                 
  if ((index == 0) ||                                                 
      ((indirect == 0) && (index == RTEMS_RFS_INODE_BLOCKS)))         
  {                                                                   
    rtems_rfs_block_no block_to_free = map->blocks[indirect];         
 2018130:	83 28 60 02 	sll  %g1, 2, %g1                               <== NOT EXECUTED
 2018134:	82 06 40 01 	add  %i1, %g1, %g1                             <== NOT EXECUTED
                                                                      
    if ((indirect == 0) && (index == RTEMS_RFS_INODE_BLOCKS))         
 2018138:	12 80 00 1a 	bne  20181a0 <rtems_rfs_block_map_indirect_shrink.isra.7+0xa0><== NOT EXECUTED
 201813c:	fa 00 60 04 	ld  [ %g1 + 4 ], %i5                           <== NOT EXECUTED
 2018140:	80 a6 e0 00 	cmp  %i3, 0                                    <== NOT EXECUTED
 2018144:	32 80 00 18 	bne,a   20181a4 <rtems_rfs_block_map_indirect_shrink.isra.7+0xa4><== NOT EXECUTED
 2018148:	b6 06 e0 08 	add  %i3, 8, %i3                               <== NOT EXECUTED
      /*                                                              
       * Move to direct inode access.                                 
       */                                                             
      int b;                                                          
      for (b = 0; b < RTEMS_RFS_INODE_BLOCKS; b++)                    
        map->blocks[b] = rtems_rfs_block_get_number (buffer, b);      
 201814c:	c2 06 80 00 	ld  [ %i2 ], %g1                               <== NOT EXECUTED
 2018150:	84 10 20 00 	clr  %g2                                       <== NOT EXECUTED
  if ((index == 0) ||                                                 
      ((indirect == 0) && (index == RTEMS_RFS_INODE_BLOCKS)))         
  {                                                                   
    rtems_rfs_block_no block_to_free = map->blocks[indirect];         
                                                                      
    if ((indirect == 0) && (index == RTEMS_RFS_INODE_BLOCKS))         
 2018154:	c2 00 60 24 	ld  [ %g1 + 0x24 ], %g1                        <== NOT EXECUTED
      /*                                                              
       * Move to direct inode access.                                 
       */                                                             
      int b;                                                          
      for (b = 0; b < RTEMS_RFS_INODE_BLOCKS; b++)                    
        map->blocks[b] = rtems_rfs_block_get_number (buffer, b);      
 2018158:	f8 08 40 00 	ldub  [ %g1 ], %i4                             <== NOT EXECUTED
 201815c:	c8 08 60 01 	ldub  [ %g1 + 1 ], %g4                         <== NOT EXECUTED
 2018160:	b9 2f 20 18 	sll  %i4, 0x18, %i4                            <== NOT EXECUTED
 2018164:	89 29 20 10 	sll  %g4, 0x10, %g4                            <== NOT EXECUTED
 2018168:	88 17 00 04 	or  %i4, %g4, %g4                              <== NOT EXECUTED
 201816c:	f8 08 60 03 	ldub  [ %g1 + 3 ], %i4                         <== NOT EXECUTED
 * @param indirect The index index in the inode's block table.        
 * @param index The index in the indirect table of the block.         
 * @return int The error number (errno). No error if 0.               
 */                                                                   
static int                                                            
rtems_rfs_block_map_indirect_shrink (rtems_rfs_file_system*   fs,     
 2018170:	86 06 40 02 	add  %i1, %g2, %g3                             <== NOT EXECUTED
      /*                                                              
       * Move to direct inode access.                                 
       */                                                             
      int b;                                                          
      for (b = 0; b < RTEMS_RFS_INODE_BLOCKS; b++)                    
        map->blocks[b] = rtems_rfs_block_get_number (buffer, b);      
 2018174:	88 11 00 1c 	or  %g4, %i4, %g4                              <== NOT EXECUTED
 2018178:	f8 08 60 02 	ldub  [ %g1 + 2 ], %i4                         <== NOT EXECUTED
 201817c:	84 00 a0 04 	add  %g2, 4, %g2                               <== NOT EXECUTED
 2018180:	b9 2f 20 08 	sll  %i4, 8, %i4                               <== NOT EXECUTED
 2018184:	88 11 00 1c 	or  %g4, %i4, %g4                              <== NOT EXECUTED
 2018188:	c8 20 e0 24 	st  %g4, [ %g3 + 0x24 ]                        <== NOT EXECUTED
    {                                                                 
      /*                                                              
       * Move to direct inode access.                                 
       */                                                             
      int b;                                                          
      for (b = 0; b < RTEMS_RFS_INODE_BLOCKS; b++)                    
 201818c:	80 a0 a0 14 	cmp  %g2, 0x14                                 <== NOT EXECUTED
 2018190:	12 bf ff f2 	bne  2018158 <rtems_rfs_block_map_indirect_shrink.isra.7+0x58><== NOT EXECUTED
 2018194:	82 00 60 04 	add  %g1, 4, %g1                               <== NOT EXECUTED
       * One less singly indirect block in the inode.                 
       */                                                             
      map->blocks[indirect] = 0;                                      
    }                                                                 
                                                                      
    rc = rtems_rfs_group_bitmap_free (fs, false, block_to_free);      
 2018198:	10 80 00 07 	b  20181b4 <rtems_rfs_block_map_indirect_shrink.isra.7+0xb4><== NOT EXECUTED
 201819c:	92 10 20 00 	clr  %o1                                       <== NOT EXECUTED
    else                                                              
    {                                                                 
      /*                                                              
       * One less singly indirect block in the inode.                 
       */                                                             
      map->blocks[indirect] = 0;                                      
 20181a0:	b6 06 e0 08 	add  %i3, 8, %i3                               <== NOT EXECUTED
 20181a4:	b7 2e e0 02 	sll  %i3, 2, %i3                               <== NOT EXECUTED
 20181a8:	b6 06 40 1b 	add  %i1, %i3, %i3                             <== NOT EXECUTED
 20181ac:	c0 26 e0 04 	clr  [ %i3 + 4 ]                               <== NOT EXECUTED
    }                                                                 
                                                                      
    rc = rtems_rfs_group_bitmap_free (fs, false, block_to_free);      
 20181b0:	92 10 20 00 	clr  %o1                                       <== NOT EXECUTED
 20181b4:	7f ff db 9a 	call  200f01c <rtems_rfs_group_bitmap_free>    <== NOT EXECUTED
 20181b8:	94 10 00 1d 	mov  %i5, %o2                                  <== NOT EXECUTED
    if (rc > 0)                                                       
 20181bc:	80 a2 20 00 	cmp  %o0, 0                                    <== NOT EXECUTED
 20181c0:	24 80 00 04 	ble,a   20181d0 <rtems_rfs_block_map_indirect_shrink.isra.7+0xd0><== NOT EXECUTED
 20181c4:	fa 26 60 1c 	st  %i5, [ %i1 + 0x1c ]                        <== NOT EXECUTED
                                                                      
    map->last_map_block = block_to_free;                              
  }                                                                   
                                                                      
  return rc;                                                          
}                                                                     
 20181c8:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 20181cc:	91 e8 00 08 	restore  %g0, %o0, %o0                         <== NOT EXECUTED
 20181d0:	b0 10 00 08 	mov  %o0, %i0                                  <== NOT EXECUTED
 20181d4:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 20181d8:	81 e8 00 00 	restore                                        <== NOT EXECUTED
                                                                      

020182f4 <rtems_rfs_block_map_open>: int rtems_rfs_block_map_open (rtems_rfs_file_system* fs, rtems_rfs_inode_handle* inode, rtems_rfs_block_map* map) {
 20182f4:	9d e3 bf a0 	save  %sp, -96, %sp                            
   * Set the count to 0 so at least find fails, then open the handle and make
   * sure the inode has been loaded into memory. If we did not load the inode
   * do not unload it. The caller may assume it is still loaded when we return.
   */                                                                 
                                                                      
  map->dirty = false;                                                 
 20182f8:	c0 2e 80 00 	clrb  [ %i2 ]                                  
  map->inode = NULL;                                                  
 20182fc:	c0 26 a0 04 	clr  [ %i2 + 4 ]                               
 * @param size A pointer to the block size.                           
 */                                                                   
static inline void                                                    
rtems_rfs_block_set_size_zero (rtems_rfs_block_size* size)            
{                                                                     
  size->count = 0;                                                    
 2018300:	c0 26 a0 08 	clr  [ %i2 + 8 ]                               
  size->offset = 0;                                                   
 2018304:	c0 26 a0 0c 	clr  [ %i2 + 0xc ]                             
 * @param bpos A pointer to the block position.                       
 */                                                                   
static inline void                                                    
rtems_rfs_block_set_bpos_zero (rtems_rfs_block_pos* bpos)             
{                                                                     
  bpos->bno = 0;                                                      
 2018308:	c0 26 a0 10 	clr  [ %i2 + 0x10 ]                            
  bpos->boff = 0;                                                     
 201830c:	c0 26 a0 14 	clr  [ %i2 + 0x14 ]                            
  bpos->block = 0;                                                    
 2018310:	c0 26 a0 18 	clr  [ %i2 + 0x18 ]                            
 */                                                                   
static inline int                                                     
rtems_rfs_buffer_handle_open (rtems_rfs_file_system*   fs,            
                              rtems_rfs_buffer_handle* handle)        
{                                                                     
  handle->dirty = false;                                              
 2018314:	c0 2e a0 38 	clrb  [ %i2 + 0x38 ]                           
  handle->bnum  = 0;                                                  
 2018318:	c0 26 a0 3c 	clr  [ %i2 + 0x3c ]                            
  handle->buffer = NULL;                                              
 201831c:	c0 26 a0 40 	clr  [ %i2 + 0x40 ]                            
 */                                                                   
static inline int                                                     
rtems_rfs_buffer_handle_open (rtems_rfs_file_system*   fs,            
                              rtems_rfs_buffer_handle* handle)        
{                                                                     
  handle->dirty = false;                                              
 2018320:	c0 2e a0 44 	clrb  [ %i2 + 0x44 ]                           
  handle->bnum  = 0;                                                  
 2018324:	c0 26 a0 48 	clr  [ %i2 + 0x48 ]                            
  handle->buffer = NULL;                                              
 2018328:	c0 26 a0 4c 	clr  [ %i2 + 0x4c ]                            
    return rc;                                                        
  rc = rtems_rfs_buffer_handle_open (fs, &map->doubly_buffer);        
  if (rc > 0)                                                         
    return rc;                                                        
                                                                      
  rc = rtems_rfs_inode_load (fs, inode);                              
 201832c:	90 10 00 18 	mov  %i0, %o0                                  
 2018330:	7f ff db de 	call  200f2a8 <rtems_rfs_inode_load>           
 2018334:	92 10 00 19 	mov  %i1, %o1                                  
  if (rc > 0)                                                         
 2018338:	ba 92 20 00 	orcc  %o0, 0, %i5                              
 201833c:	24 80 00 11 	ble,a   2018380 <rtems_rfs_block_map_open+0x8c><== ALWAYS TAKEN
 2018340:	c2 06 60 0c 	ld  [ %i1 + 0xc ], %g1                         
 */                                                                   
static inline int                                                     
rtems_rfs_buffer_handle_close (rtems_rfs_file_system*   fs,           
                               rtems_rfs_buffer_handle* handle)       
{                                                                     
  rtems_rfs_buffer_handle_release (fs, handle);                       
 2018344:	92 06 a0 38 	add  %i2, 0x38, %o1                            <== NOT EXECUTED
 2018348:	40 00 03 6a 	call  20190f0 <rtems_rfs_buffer_handle_release><== NOT EXECUTED
 201834c:	90 10 00 18 	mov  %i0, %o0                                  <== NOT EXECUTED
 2018350:	90 10 00 18 	mov  %i0, %o0                                  <== NOT EXECUTED
  handle->dirty = false;                                              
 2018354:	c0 2e a0 38 	clrb  [ %i2 + 0x38 ]                           <== NOT EXECUTED
  handle->bnum  = 0;                                                  
 2018358:	c0 26 a0 3c 	clr  [ %i2 + 0x3c ]                            <== NOT EXECUTED
  handle->buffer = NULL;                                              
 201835c:	c0 26 a0 40 	clr  [ %i2 + 0x40 ]                            <== NOT EXECUTED
 */                                                                   
static inline int                                                     
rtems_rfs_buffer_handle_close (rtems_rfs_file_system*   fs,           
                               rtems_rfs_buffer_handle* handle)       
{                                                                     
  rtems_rfs_buffer_handle_release (fs, handle);                       
 2018360:	92 06 a0 44 	add  %i2, 0x44, %o1                            <== NOT EXECUTED
 2018364:	40 00 03 63 	call  20190f0 <rtems_rfs_buffer_handle_release><== NOT EXECUTED
 2018368:	b0 10 00 1d 	mov  %i5, %i0                                  <== NOT EXECUTED
  handle->dirty = false;                                              
 201836c:	c0 2e a0 44 	clrb  [ %i2 + 0x44 ]                           <== NOT EXECUTED
  handle->bnum  = 0;                                                  
 2018370:	c0 26 a0 48 	clr  [ %i2 + 0x48 ]                            <== NOT EXECUTED
  handle->buffer = NULL;                                              
 2018374:	c0 26 a0 4c 	clr  [ %i2 + 0x4c ]                            <== NOT EXECUTED
  map->last_data_block = rtems_rfs_inode_get_last_data_block (inode); 
                                                                      
  rc = rtems_rfs_inode_unload (fs, inode, false);                     
                                                                      
  return rc;                                                          
}                                                                     
 2018378:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 201837c:	81 e8 00 00 	restore                                        <== NOT EXECUTED
                                                                      
  /*                                                                  
   * Extract the block and block count data from the inode into the targets
   * byte order.                                                      
   */                                                                 
  map->inode = inode;                                                 
 2018380:	f2 26 a0 04 	st  %i1, [ %i2 + 4 ]                           
 * @return uint32_t The block number.                                 
 */                                                                   
static inline uint32_t                                                
rtems_rfs_inode_get_block (rtems_rfs_inode_handle* handle, int block) 
{                                                                     
  return rtems_rfs_read_u32 (&handle->node->data.blocks[block]);      
 2018384:	84 00 60 1c 	add  %g1, 0x1c, %g2                            
int                                                                   
rtems_rfs_block_map_free_all (rtems_rfs_file_system* fs,              
                              rtems_rfs_block_map*   map)             
{                                                                     
  return rtems_rfs_block_map_shrink (fs, map, map->size.count);       
}                                                                     
 2018388:	88 10 00 1a 	mov  %i2, %g4                                  
  /*                                                                  
   * Extract the block and block count data from the inode into the targets
   * byte order.                                                      
   */                                                                 
  map->inode = inode;                                                 
  for (b = 0; b < RTEMS_RFS_INODE_BLOCKS; b++)                        
 201838c:	86 10 20 00 	clr  %g3                                       
 2018390:	de 08 a0 03 	ldub  [ %g2 + 3 ], %o7                         
 2018394:	ba 00 e0 06 	add  %g3, 6, %i5                               
 2018398:	bb 2f 60 02 	sll  %i5, 2, %i5                               
 201839c:	ba 00 40 1d 	add  %g1, %i5, %i5                             
 20183a0:	fa 0f 60 04 	ldub  [ %i5 + 4 ], %i5                         
 20183a4:	86 00 e0 01 	inc  %g3                                       
 20183a8:	bb 2f 60 18 	sll  %i5, 0x18, %i5                            
 20183ac:	ba 13 c0 1d 	or  %o7, %i5, %i5                              
 20183b0:	de 08 a0 01 	ldub  [ %g2 + 1 ], %o7                         
 20183b4:	80 a0 e0 05 	cmp  %g3, 5                                    
 20183b8:	9f 2b e0 10 	sll  %o7, 0x10, %o7                            
 20183bc:	ba 17 40 0f 	or  %i5, %o7, %i5                              
 20183c0:	de 08 a0 02 	ldub  [ %g2 + 2 ], %o7                         
 20183c4:	84 00 a0 04 	add  %g2, 4, %g2                               
 20183c8:	9f 2b e0 08 	sll  %o7, 8, %o7                               
 20183cc:	ba 17 40 0f 	or  %i5, %o7, %i5                              
    map->blocks[b] = rtems_rfs_inode_get_block (inode, b);            
 20183d0:	fa 21 20 24 	st  %i5, [ %g4 + 0x24 ]                        
  /*                                                                  
   * Extract the block and block count data from the inode into the targets
   * byte order.                                                      
   */                                                                 
  map->inode = inode;                                                 
  for (b = 0; b < RTEMS_RFS_INODE_BLOCKS; b++)                        
 20183d4:	12 bf ff ef 	bne  2018390 <rtems_rfs_block_map_open+0x9c>   
 20183d8:	88 01 20 04 	add  %g4, 4, %g4                               
 * @return uint32_t The block count.                                  
 */                                                                   
static inline uint32_t                                                
rtems_rfs_inode_get_block_count (rtems_rfs_inode_handle* handle)      
{                                                                     
  return rtems_rfs_read_u32 (&handle->node->block_count);             
 20183dc:	c6 08 60 0c 	ldub  [ %g1 + 0xc ], %g3                       
 20183e0:	c4 08 60 0d 	ldub  [ %g1 + 0xd ], %g2                       
 20183e4:	87 28 e0 18 	sll  %g3, 0x18, %g3                            
 20183e8:	85 28 a0 10 	sll  %g2, 0x10, %g2                            
 20183ec:	84 10 c0 02 	or  %g3, %g2, %g2                              
 20183f0:	c6 08 60 0f 	ldub  [ %g1 + 0xf ], %g3                       
 20183f4:	84 10 80 03 	or  %g2, %g3, %g2                              
 20183f8:	c6 08 60 0e 	ldub  [ %g1 + 0xe ], %g3                       
 20183fc:	87 28 e0 08 	sll  %g3, 8, %g3                               
 2018400:	84 10 80 03 	or  %g2, %g3, %g2                              
    map->blocks[b] = rtems_rfs_inode_get_block (inode, b);            
  map->size.count = rtems_rfs_inode_get_block_count (inode);          
 2018404:	c4 26 a0 08 	st  %g2, [ %i2 + 8 ]                           
  map->size.offset = rtems_rfs_inode_get_block_offset (inode);        
 2018408:	c6 08 60 0b 	ldub  [ %g1 + 0xb ], %g3                       
 * @return uint32_t The block offset.                                 
 */                                                                   
static inline uint16_t                                                
rtems_rfs_inode_get_block_offset (rtems_rfs_inode_handle* handle)     
{                                                                     
  return rtems_rfs_read_u16 (&handle->node->block_offset);            
 201840c:	c4 08 60 0a 	ldub  [ %g1 + 0xa ], %g2                       
 2018410:	85 28 a0 08 	sll  %g2, 8, %g2                               
 2018414:	84 10 c0 02 	or  %g3, %g2, %g2                              
 2018418:	c4 26 a0 0c 	st  %g2, [ %i2 + 0xc ]                         
 * @return uint32_t The last map block number.                        
 */                                                                   
static inline uint32_t                                                
rtems_rfs_inode_get_last_map_block (rtems_rfs_inode_handle* handle)   
{                                                                     
  return rtems_rfs_read_u32 (&handle->node->last_map_block);          
 201841c:	c6 08 60 30 	ldub  [ %g1 + 0x30 ], %g3                      
 2018420:	c4 08 60 31 	ldub  [ %g1 + 0x31 ], %g2                      
 2018424:	87 28 e0 18 	sll  %g3, 0x18, %g3                            
 2018428:	85 28 a0 10 	sll  %g2, 0x10, %g2                            
 201842c:	84 10 c0 02 	or  %g3, %g2, %g2                              
 2018430:	c6 08 60 33 	ldub  [ %g1 + 0x33 ], %g3                      
 2018434:	84 10 80 03 	or  %g2, %g3, %g2                              
 2018438:	c6 08 60 32 	ldub  [ %g1 + 0x32 ], %g3                      
 201843c:	87 28 e0 08 	sll  %g3, 8, %g3                               
 2018440:	84 10 80 03 	or  %g2, %g3, %g2                              
  map->last_map_block = rtems_rfs_inode_get_last_map_block (inode);   
 2018444:	c4 26 a0 1c 	st  %g2, [ %i2 + 0x1c ]                        
 * @return uint32_t The last data block number.                       
 */                                                                   
static inline uint32_t                                                
rtems_rfs_inode_get_last_data_block (rtems_rfs_inode_handle* handle)  
{                                                                     
  return rtems_rfs_read_u32 (&handle->node->last_data_block);         
 2018448:	c4 08 60 35 	ldub  [ %g1 + 0x35 ], %g2                      
 201844c:	c6 08 60 34 	ldub  [ %g1 + 0x34 ], %g3                      
 2018450:	85 28 a0 10 	sll  %g2, 0x10, %g2                            
 2018454:	87 28 e0 18 	sll  %g3, 0x18, %g3                            
 2018458:	86 10 c0 02 	or  %g3, %g2, %g3                              
 201845c:	c4 08 60 37 	ldub  [ %g1 + 0x37 ], %g2                      
 2018460:	86 10 c0 02 	or  %g3, %g2, %g3                              
 2018464:	c4 08 60 36 	ldub  [ %g1 + 0x36 ], %g2                      
 2018468:	85 28 a0 08 	sll  %g2, 8, %g2                               
 201846c:	82 10 c0 02 	or  %g3, %g2, %g1                              
  map->last_data_block = rtems_rfs_inode_get_last_data_block (inode); 
 2018470:	c2 26 a0 20 	st  %g1, [ %i2 + 0x20 ]                        
                                                                      
  rc = rtems_rfs_inode_unload (fs, inode, false);                     
 2018474:	7f ff db ef 	call  200f430 <rtems_rfs_inode_unload>         
 2018478:	95 e8 20 00 	restore  %g0, 0, %o2                           
                                                                      

02018c1c <rtems_rfs_block_map_shrink>: int rtems_rfs_block_map_shrink (rtems_rfs_file_system* fs, rtems_rfs_block_map* map, size_t blocks) {
 2018c1c:	9d e3 bf a0 	save  %sp, -96, %sp                            
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_BLOCK_MAP_SHRINK))             
 2018c20:	90 10 20 00 	clr  %o0                                       
 2018c24:	13 00 00 10 	sethi  %hi(0x4000), %o1                        
 2018c28:	7f ff e1 84 	call  2011238 <rtems_rfs_trace>                
 2018c2c:	ba 10 00 18 	mov  %i0, %i5                                  
 2018c30:	80 8a 20 ff 	btst  0xff, %o0                                
 2018c34:	22 80 00 08 	be,a   2018c54 <rtems_rfs_block_map_shrink+0x38><== ALWAYS TAKEN
 2018c38:	c2 06 60 08 	ld  [ %i1 + 8 ], %g1                           
    printf ("rtems-rfs: block-map-shrink: entry: blocks=%zd count=%" PRIu32 "\n",
 2018c3c:	d4 06 60 08 	ld  [ %i1 + 8 ], %o2                           <== NOT EXECUTED
 2018c40:	11 00 80 bd 	sethi  %hi(0x202f400), %o0                     <== NOT EXECUTED
 2018c44:	92 10 00 1a 	mov  %i2, %o1                                  <== NOT EXECUTED
 2018c48:	40 00 19 60 	call  201f1c8 <printf>                         <== NOT EXECUTED
 2018c4c:	90 12 20 c8 	or  %o0, 0xc8, %o0                             <== NOT EXECUTED
            blocks, map->size.count);                                 
                                                                      
  if (map->size.count == 0)                                           
 2018c50:	c2 06 60 08 	ld  [ %i1 + 8 ], %g1                           <== NOT EXECUTED
 2018c54:	80 a0 60 00 	cmp  %g1, 0                                    
 2018c58:	02 80 00 c0 	be  2018f58 <rtems_rfs_block_map_shrink+0x33c> <== ALWAYS TAKEN
 2018c5c:	90 10 20 00 	clr  %o0                                       
 2018c60:	80 a6 80 01 	cmp  %i2, %g1                                  <== NOT EXECUTED
 2018c64:	38 80 00 95 	bgu,a   2018eb8 <rtems_rfs_block_map_shrink+0x29c><== NOT EXECUTED
 2018c68:	b4 10 00 01 	mov  %g1, %i2                                  <== NOT EXECUTED
        rtems_rfs_block_no doubly_singly;                             
                                                                      
        doubly        = singly / fs->blocks_per_block;                
        doubly_singly = singly % fs->blocks_per_block;                
                                                                      
        rc = rtems_rfs_buffer_handle_request (fs, &map->doubly_buffer,
 2018c6c:	10 80 00 94 	b  2018ebc <rtems_rfs_block_map_shrink+0x2a0>  <== NOT EXECUTED
 2018c70:	a6 06 60 44 	add  %i1, 0x44, %l3                            <== NOT EXECUTED
  {                                                                   
    rtems_rfs_block_no block;                                         
    rtems_rfs_block_no block_to_free;                                 
    int                rc;                                            
                                                                      
    block = map->size.count - 1;                                      
 2018c74:	a8 00 7f ff 	add  %g1, -1, %l4                              <== NOT EXECUTED
                                                                      
    if (block < RTEMS_RFS_INODE_BLOCKS)                               
 2018c78:	80 a5 20 04 	cmp  %l4, 4                                    <== NOT EXECUTED
 2018c7c:	38 80 00 08 	bgu,a   2018c9c <rtems_rfs_block_map_shrink+0x80><== NOT EXECUTED
 2018c80:	f8 07 60 30 	ld  [ %i5 + 0x30 ], %i4                        <== NOT EXECUTED
    {                                                                 
      /*                                                              
       * We have less than RTEMS_RFS_INODE_BLOCKS so they are held in the
       * inode.                                                       
       */                                                             
      block_to_free = map->blocks[block];                             
 2018c84:	82 00 60 07 	add  %g1, 7, %g1                               <== NOT EXECUTED
 2018c88:	83 28 60 02 	sll  %g1, 2, %g1                               <== NOT EXECUTED
 2018c8c:	82 06 40 01 	add  %i1, %g1, %g1                             <== NOT EXECUTED
 2018c90:	f8 00 60 04 	ld  [ %g1 + 4 ], %i4                           <== NOT EXECUTED
      map->blocks[block] = 0;                                         
 2018c94:	10 80 00 7b 	b  2018e80 <rtems_rfs_block_map_shrink+0x264>  <== NOT EXECUTED
 2018c98:	c0 20 60 04 	clr  [ %g1 + 4 ]                               <== NOT EXECUTED
       * table of block numbers.                                      
       */                                                             
      rtems_rfs_block_no direct;                                      
      rtems_rfs_block_no singly;                                      
                                                                      
      direct = block % fs->blocks_per_block;                          
 2018c9c:	90 10 00 14 	mov  %l4, %o0                                  <== NOT EXECUTED
 2018ca0:	40 00 49 c7 	call  202b3bc <.urem>                          <== NOT EXECUTED
 2018ca4:	92 10 00 1c 	mov  %i4, %o1                                  <== NOT EXECUTED
      singly = block / fs->blocks_per_block;                          
 2018ca8:	92 10 00 1c 	mov  %i4, %o1                                  <== NOT EXECUTED
       * table of block numbers.                                      
       */                                                             
      rtems_rfs_block_no direct;                                      
      rtems_rfs_block_no singly;                                      
                                                                      
      direct = block % fs->blocks_per_block;                          
 2018cac:	ae 10 00 08 	mov  %o0, %l7                                  <== NOT EXECUTED
      singly = block / fs->blocks_per_block;                          
 2018cb0:	40 00 49 17 	call  202b10c <.udiv>                          <== NOT EXECUTED
 2018cb4:	90 10 00 14 	mov  %l4, %o0                                  <== NOT EXECUTED
                                                                      
      if (block < fs->block_map_singly_blocks)                        
 2018cb8:	c2 07 60 34 	ld  [ %i5 + 0x34 ], %g1                        <== NOT EXECUTED
 2018cbc:	80 a5 00 01 	cmp  %l4, %g1                                  <== NOT EXECUTED
 2018cc0:	1a 80 00 26 	bcc  2018d58 <rtems_rfs_block_map_shrink+0x13c><== NOT EXECUTED
 2018cc4:	b0 10 00 08 	mov  %o0, %i0                                  <== NOT EXECUTED
      {                                                               
        /*                                                            
         * Request the indirect block and then obtain the block number from the
         * indirect block.                                            
         */                                                           
        rc = rtems_rfs_buffer_handle_request (fs, &map->singly_buffer,
 2018cc8:	82 02 20 08 	add  %o0, 8, %g1                               <== NOT EXECUTED
 2018ccc:	83 28 60 02 	sll  %g1, 2, %g1                               <== NOT EXECUTED
 2018cd0:	82 06 40 01 	add  %i1, %g1, %g1                             <== NOT EXECUTED
 2018cd4:	d4 00 60 04 	ld  [ %g1 + 4 ], %o2                           <== NOT EXECUTED
 2018cd8:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
 2018cdc:	92 10 00 1b 	mov  %i3, %o1                                  <== NOT EXECUTED
 2018ce0:	40 00 01 76 	call  20192b8 <rtems_rfs_buffer_handle_request><== NOT EXECUTED
 2018ce4:	96 10 20 01 	mov  1, %o3                                    <== NOT EXECUTED
                                              map->blocks[singly], true);
        if (rc > 0)                                                   
 2018ce8:	80 a2 20 00 	cmp  %o0, 0                                    <== NOT EXECUTED
 2018cec:	14 80 00 9b 	bg  2018f58 <rtems_rfs_block_map_shrink+0x33c> <== NOT EXECUTED
 2018cf0:	92 10 00 19 	mov  %i1, %o1                                  <== NOT EXECUTED
          return rc;                                                  
                                                                      
        block_to_free = rtems_rfs_block_get_number (&map->singly_buffer,
 2018cf4:	c2 06 60 40 	ld  [ %i1 + 0x40 ], %g1                        <== NOT EXECUTED
                                                    direct);          
                                                                      
        rc = rtems_rfs_block_map_indirect_shrink (fs, map, &map->singly_buffer,
 2018cf8:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
        rc = rtems_rfs_buffer_handle_request (fs, &map->singly_buffer,
                                              map->blocks[singly], true);
        if (rc > 0)                                                   
          return rc;                                                  
                                                                      
        block_to_free = rtems_rfs_block_get_number (&map->singly_buffer,
 2018cfc:	c4 00 60 24 	ld  [ %g1 + 0x24 ], %g2                        <== NOT EXECUTED
 2018d00:	83 2d e0 02 	sll  %l7, 2, %g1                               <== NOT EXECUTED
 2018d04:	ec 08 80 01 	ldub  [ %g2 + %g1 ], %l6                       <== NOT EXECUTED
 2018d08:	82 00 80 01 	add  %g2, %g1, %g1                             <== NOT EXECUTED
 2018d0c:	ea 08 60 01 	ldub  [ %g1 + 1 ], %l5                         <== NOT EXECUTED
 2018d10:	e8 08 60 02 	ldub  [ %g1 + 2 ], %l4                         <== NOT EXECUTED
 2018d14:	f8 08 60 03 	ldub  [ %g1 + 3 ], %i4                         <== NOT EXECUTED
                                                    direct);          
                                                                      
        rc = rtems_rfs_block_map_indirect_shrink (fs, map, &map->singly_buffer,
 2018d18:	94 10 00 11 	mov  %l1, %o2                                  <== NOT EXECUTED
 2018d1c:	96 10 00 18 	mov  %i0, %o3                                  <== NOT EXECUTED
 2018d20:	7f ff fc f8 	call  2018100 <rtems_rfs_block_map_indirect_shrink.isra.7><== NOT EXECUTED
 2018d24:	98 10 00 17 	mov  %l7, %o4                                  <== NOT EXECUTED
                                                  singly, direct);    
        if (rc)                                                       
 2018d28:	80 a2 20 00 	cmp  %o0, 0                                    <== NOT EXECUTED
 2018d2c:	12 80 00 8b 	bne  2018f58 <rtems_rfs_block_map_shrink+0x33c><== NOT EXECUTED
 2018d30:	b8 0f 20 ff 	and  %i4, 0xff, %i4                            <== NOT EXECUTED
        rc = rtems_rfs_buffer_handle_request (fs, &map->singly_buffer,
                                              map->blocks[singly], true);
        if (rc > 0)                                                   
          return rc;                                                  
                                                                      
        block_to_free = rtems_rfs_block_get_number (&map->singly_buffer,
 2018d34:	ad 2d a0 18 	sll  %l6, 0x18, %l6                            <== NOT EXECUTED
 2018d38:	aa 0d 60 ff 	and  %l5, 0xff, %l5                            <== NOT EXECUTED
 2018d3c:	b8 17 00 16 	or  %i4, %l6, %i4                              <== NOT EXECUTED
 2018d40:	ab 2d 60 10 	sll  %l5, 0x10, %l5                            <== NOT EXECUTED
 2018d44:	a8 0d 20 ff 	and  %l4, 0xff, %l4                            <== NOT EXECUTED
 2018d48:	b8 17 00 15 	or  %i4, %l5, %i4                              <== NOT EXECUTED
 2018d4c:	a9 2d 20 08 	sll  %l4, 8, %l4                               <== NOT EXECUTED
 2018d50:	10 80 00 4c 	b  2018e80 <rtems_rfs_block_map_shrink+0x264>  <== NOT EXECUTED
 2018d54:	b8 17 00 14 	or  %i4, %l4, %i4                              <== NOT EXECUTED
        rc = rtems_rfs_block_map_indirect_shrink (fs, map, &map->singly_buffer,
                                                  singly, direct);    
        if (rc)                                                       
          return rc;                                                  
      }                                                               
      else if (block < fs->block_map_doubly_blocks)                   
 2018d58:	c2 07 60 38 	ld  [ %i5 + 0x38 ], %g1                        <== NOT EXECUTED
 2018d5c:	80 a5 00 01 	cmp  %l4, %g1                                  <== NOT EXECUTED
 2018d60:	3a 80 00 5e 	bcc,a   2018ed8 <rtems_rfs_block_map_shrink+0x2bc><== NOT EXECUTED
 2018d64:	c2 06 60 08 	ld  [ %i1 + 8 ], %g1                           <== NOT EXECUTED
         * value is still valid for doubly indirect tables.           
         */                                                           
        rtems_rfs_block_no doubly;                                    
        rtems_rfs_block_no doubly_singly;                             
                                                                      
        doubly        = singly / fs->blocks_per_block;                
 2018d68:	40 00 48 e9 	call  202b10c <.udiv>                          <== NOT EXECUTED
 2018d6c:	92 10 00 1c 	mov  %i4, %o1                                  <== NOT EXECUTED
        doubly_singly = singly % fs->blocks_per_block;                
                                                                      
        rc = rtems_rfs_buffer_handle_request (fs, &map->doubly_buffer,
 2018d70:	82 02 20 08 	add  %o0, 8, %g1                               <== NOT EXECUTED
 2018d74:	83 28 60 02 	sll  %g1, 2, %g1                               <== NOT EXECUTED
 2018d78:	82 06 40 01 	add  %i1, %g1, %g1                             <== NOT EXECUTED
 2018d7c:	d4 00 60 04 	ld  [ %g1 + 4 ], %o2                           <== NOT EXECUTED
         * value is still valid for doubly indirect tables.           
         */                                                           
        rtems_rfs_block_no doubly;                                    
        rtems_rfs_block_no doubly_singly;                             
                                                                      
        doubly        = singly / fs->blocks_per_block;                
 2018d80:	ac 10 00 08 	mov  %o0, %l6                                  <== NOT EXECUTED
        doubly_singly = singly % fs->blocks_per_block;                
                                                                      
        rc = rtems_rfs_buffer_handle_request (fs, &map->doubly_buffer,
 2018d84:	92 10 00 13 	mov  %l3, %o1                                  <== NOT EXECUTED
 2018d88:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
 2018d8c:	40 00 01 4b 	call  20192b8 <rtems_rfs_buffer_handle_request><== NOT EXECUTED
 2018d90:	96 10 20 01 	mov  1, %o3                                    <== NOT EXECUTED
                                              map->blocks[doubly], true);
        if (rc > 0)                                                   
 2018d94:	80 a2 20 00 	cmp  %o0, 0                                    <== NOT EXECUTED
 2018d98:	14 80 00 70 	bg  2018f58 <rtems_rfs_block_map_shrink+0x33c> <== NOT EXECUTED
 2018d9c:	92 10 00 1c 	mov  %i4, %o1                                  <== NOT EXECUTED
         */                                                           
        rtems_rfs_block_no doubly;                                    
        rtems_rfs_block_no doubly_singly;                             
                                                                      
        doubly        = singly / fs->blocks_per_block;                
        doubly_singly = singly % fs->blocks_per_block;                
 2018da0:	40 00 49 87 	call  202b3bc <.urem>                          <== NOT EXECUTED
 2018da4:	90 10 00 18 	mov  %i0, %o0                                  <== NOT EXECUTED
        rc = rtems_rfs_buffer_handle_request (fs, &map->doubly_buffer,
                                              map->blocks[doubly], true);
        if (rc > 0)                                                   
          return rc;                                                  
                                                                      
        singly = rtems_rfs_block_get_number (&map->doubly_buffer,     
 2018da8:	c2 06 60 4c 	ld  [ %i1 + 0x4c ], %g1                        <== NOT EXECUTED
 2018dac:	85 2a 20 02 	sll  %o0, 2, %g2                               <== NOT EXECUTED
 2018db0:	c6 00 60 24 	ld  [ %g1 + 0x24 ], %g3                        <== NOT EXECUTED
         */                                                           
        rtems_rfs_block_no doubly;                                    
        rtems_rfs_block_no doubly_singly;                             
                                                                      
        doubly        = singly / fs->blocks_per_block;                
        doubly_singly = singly % fs->blocks_per_block;                
 2018db4:	aa 10 00 08 	mov  %o0, %l5                                  <== NOT EXECUTED
        rc = rtems_rfs_buffer_handle_request (fs, &map->doubly_buffer,
                                              map->blocks[doubly], true);
        if (rc > 0)                                                   
          return rc;                                                  
                                                                      
        singly = rtems_rfs_block_get_number (&map->doubly_buffer,     
 2018db8:	82 00 c0 02 	add  %g3, %g2, %g1                             <== NOT EXECUTED
 2018dbc:	e8 08 c0 02 	ldub  [ %g3 + %g2 ], %l4                       <== NOT EXECUTED
 2018dc0:	c8 08 60 03 	ldub  [ %g1 + 3 ], %g4                         <== NOT EXECUTED
 2018dc4:	c4 08 60 01 	ldub  [ %g1 + 1 ], %g2                         <== NOT EXECUTED
 2018dc8:	c2 08 60 02 	ldub  [ %g1 + 2 ], %g1                         <== NOT EXECUTED
 2018dcc:	85 28 a0 10 	sll  %g2, 0x10, %g2                            <== NOT EXECUTED
 2018dd0:	83 28 60 08 	sll  %g1, 8, %g1                               <== NOT EXECUTED
 2018dd4:	a9 2d 20 18 	sll  %l4, 0x18, %l4                            <== NOT EXECUTED
                                             doubly_singly);          
                                                                      
        /*                                                            
         * Read the singly indirect table and get the block number.   
         */                                                           
        rc = rtems_rfs_buffer_handle_request (fs, &map->singly_buffer,
 2018dd8:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
        rc = rtems_rfs_buffer_handle_request (fs, &map->doubly_buffer,
                                              map->blocks[doubly], true);
        if (rc > 0)                                                   
          return rc;                                                  
                                                                      
        singly = rtems_rfs_block_get_number (&map->doubly_buffer,     
 2018ddc:	a8 11 00 14 	or  %g4, %l4, %l4                              <== NOT EXECUTED
                                             doubly_singly);          
                                                                      
        /*                                                            
         * Read the singly indirect table and get the block number.   
         */                                                           
        rc = rtems_rfs_buffer_handle_request (fs, &map->singly_buffer,
 2018de0:	92 10 00 1b 	mov  %i3, %o1                                  <== NOT EXECUTED
        rc = rtems_rfs_buffer_handle_request (fs, &map->doubly_buffer,
                                              map->blocks[doubly], true);
        if (rc > 0)                                                   
          return rc;                                                  
                                                                      
        singly = rtems_rfs_block_get_number (&map->doubly_buffer,     
 2018de4:	a8 15 00 02 	or  %l4, %g2, %l4                              <== NOT EXECUTED
                                             doubly_singly);          
                                                                      
        /*                                                            
         * Read the singly indirect table and get the block number.   
         */                                                           
        rc = rtems_rfs_buffer_handle_request (fs, &map->singly_buffer,
 2018de8:	96 10 20 01 	mov  1, %o3                                    <== NOT EXECUTED
        rc = rtems_rfs_buffer_handle_request (fs, &map->doubly_buffer,
                                              map->blocks[doubly], true);
        if (rc > 0)                                                   
          return rc;                                                  
                                                                      
        singly = rtems_rfs_block_get_number (&map->doubly_buffer,     
 2018dec:	a8 15 00 01 	or  %l4, %g1, %l4                              <== NOT EXECUTED
                                             doubly_singly);          
                                                                      
        /*                                                            
         * Read the singly indirect table and get the block number.   
         */                                                           
        rc = rtems_rfs_buffer_handle_request (fs, &map->singly_buffer,
 2018df0:	40 00 01 32 	call  20192b8 <rtems_rfs_buffer_handle_request><== NOT EXECUTED
 2018df4:	94 10 00 14 	mov  %l4, %o2                                  <== NOT EXECUTED
                                              singly, true);          
        if (rc > 0)                                                   
 2018df8:	80 a2 20 00 	cmp  %o0, 0                                    <== NOT EXECUTED
 2018dfc:	14 80 00 57 	bg  2018f58 <rtems_rfs_block_map_shrink+0x33c> <== NOT EXECUTED
 2018e00:	85 2d e0 02 	sll  %l7, 2, %g2                               <== NOT EXECUTED
          return rc;                                                  
                                                                      
        block_to_free = rtems_rfs_block_get_number (&map->singly_buffer,
 2018e04:	c2 06 60 40 	ld  [ %i1 + 0x40 ], %g1                        <== NOT EXECUTED
 2018e08:	c6 00 60 24 	ld  [ %g1 + 0x24 ], %g3                        <== NOT EXECUTED
                                                    direct);          
                                                                      
        if (direct == 0)                                              
 2018e0c:	80 a5 e0 00 	cmp  %l7, 0                                    <== NOT EXECUTED
        rc = rtems_rfs_buffer_handle_request (fs, &map->singly_buffer,
                                              singly, true);          
        if (rc > 0)                                                   
          return rc;                                                  
                                                                      
        block_to_free = rtems_rfs_block_get_number (&map->singly_buffer,
 2018e10:	82 00 c0 02 	add  %g3, %g2, %g1                             <== NOT EXECUTED
 2018e14:	f8 08 c0 02 	ldub  [ %g3 + %g2 ], %i4                       <== NOT EXECUTED
 2018e18:	c8 08 60 03 	ldub  [ %g1 + 3 ], %g4                         <== NOT EXECUTED
 2018e1c:	c4 08 60 01 	ldub  [ %g1 + 1 ], %g2                         <== NOT EXECUTED
 2018e20:	c2 08 60 02 	ldub  [ %g1 + 2 ], %g1                         <== NOT EXECUTED
 2018e24:	b9 2f 20 18 	sll  %i4, 0x18, %i4                            <== NOT EXECUTED
 2018e28:	85 28 a0 10 	sll  %g2, 0x10, %g2                            <== NOT EXECUTED
 2018e2c:	b8 11 00 1c 	or  %g4, %i4, %i4                              <== NOT EXECUTED
 2018e30:	83 28 60 08 	sll  %g1, 8, %g1                               <== NOT EXECUTED
 2018e34:	b8 17 00 02 	or  %i4, %g2, %i4                              <== NOT EXECUTED
                                                    direct);          
                                                                      
        if (direct == 0)                                              
 2018e38:	12 80 00 12 	bne  2018e80 <rtems_rfs_block_map_shrink+0x264><== NOT EXECUTED
 2018e3c:	b8 17 00 01 	or  %i4, %g1, %i4                              <== NOT EXECUTED
        {                                                             
          rc = rtems_rfs_group_bitmap_free (fs, false, singly);       
 2018e40:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
 2018e44:	92 10 20 00 	clr  %o1                                       <== NOT EXECUTED
 2018e48:	7f ff d8 75 	call  200f01c <rtems_rfs_group_bitmap_free>    <== NOT EXECUTED
 2018e4c:	94 10 00 14 	mov  %l4, %o2                                  <== NOT EXECUTED
          if (rc > 0)                                                 
 2018e50:	80 a2 20 00 	cmp  %o0, 0                                    <== NOT EXECUTED
 2018e54:	14 80 00 41 	bg  2018f58 <rtems_rfs_block_map_shrink+0x33c> <== NOT EXECUTED
 2018e58:	92 10 00 19 	mov  %i1, %o1                                  <== NOT EXECUTED
            return rc;                                                
                                                                      
          map->last_map_block = singly;                               
 2018e5c:	e8 26 60 1c 	st  %l4, [ %i1 + 0x1c ]                        <== NOT EXECUTED
                                                                      
          rc = rtems_rfs_block_map_indirect_shrink (fs, map, &map->doubly_buffer,
 2018e60:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
 2018e64:	94 10 00 12 	mov  %l2, %o2                                  <== NOT EXECUTED
 2018e68:	96 10 00 16 	mov  %l6, %o3                                  <== NOT EXECUTED
 2018e6c:	7f ff fc a5 	call  2018100 <rtems_rfs_block_map_indirect_shrink.isra.7><== NOT EXECUTED
 2018e70:	98 10 00 15 	mov  %l5, %o4                                  <== NOT EXECUTED
                                                    doubly, doubly_singly);
          if (rc)                                                     
 2018e74:	80 a2 20 00 	cmp  %o0, 0                                    <== NOT EXECUTED
 2018e78:	12 80 00 38 	bne  2018f58 <rtems_rfs_block_map_shrink+0x33c><== NOT EXECUTED
 2018e7c:	01 00 00 00 	nop                                            <== NOT EXECUTED
      {                                                               
        rc = EIO;                                                     
        break;                                                        
      }                                                               
    }                                                                 
    rc = rtems_rfs_group_bitmap_free (fs, false, block_to_free);      
 2018e80:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
 2018e84:	92 10 20 00 	clr  %o1                                       <== NOT EXECUTED
 2018e88:	7f ff d8 65 	call  200f01c <rtems_rfs_group_bitmap_free>    <== NOT EXECUTED
 2018e8c:	94 10 00 1c 	mov  %i4, %o2                                  <== NOT EXECUTED
    if (rc > 0)                                                       
 2018e90:	80 a2 20 00 	cmp  %o0, 0                                    <== NOT EXECUTED
 2018e94:	14 80 00 31 	bg  2018f58 <rtems_rfs_block_map_shrink+0x33c> <== NOT EXECUTED
 2018e98:	b4 06 bf ff 	add  %i2, -1, %i2                              <== NOT EXECUTED
      return rc;                                                      
    map->size.count--;                                                
 2018e9c:	c2 06 60 08 	ld  [ %i1 + 8 ], %g1                           <== NOT EXECUTED
    map->size.offset = 0;                                             
 2018ea0:	c0 26 60 0c 	clr  [ %i1 + 0xc ]                             <== NOT EXECUTED
      }                                                               
    }                                                                 
    rc = rtems_rfs_group_bitmap_free (fs, false, block_to_free);      
    if (rc > 0)                                                       
      return rc;                                                      
    map->size.count--;                                                
 2018ea4:	82 00 7f ff 	add  %g1, -1, %g1                              <== NOT EXECUTED
    map->size.offset = 0;                                             
    map->last_data_block = block_to_free;                             
 2018ea8:	f8 26 60 20 	st  %i4, [ %i1 + 0x20 ]                        <== NOT EXECUTED
      }                                                               
    }                                                                 
    rc = rtems_rfs_group_bitmap_free (fs, false, block_to_free);      
    if (rc > 0)                                                       
      return rc;                                                      
    map->size.count--;                                                
 2018eac:	c2 26 60 08 	st  %g1, [ %i1 + 8 ]                           <== NOT EXECUTED
    map->size.offset = 0;                                             
    map->last_data_block = block_to_free;                             
    map->dirty = true;                                                
 2018eb0:	10 80 00 07 	b  2018ecc <rtems_rfs_block_map_shrink+0x2b0>  <== NOT EXECUTED
 2018eb4:	e0 2e 40 00 	stb  %l0, [ %i1 ]                              <== NOT EXECUTED
        rtems_rfs_block_no doubly_singly;                             
                                                                      
        doubly        = singly / fs->blocks_per_block;                
        doubly_singly = singly % fs->blocks_per_block;                
                                                                      
        rc = rtems_rfs_buffer_handle_request (fs, &map->doubly_buffer,
 2018eb8:	a6 06 60 44 	add  %i1, 0x44, %l3                            <== NOT EXECUTED
                                             doubly_singly);          
                                                                      
        /*                                                            
         * Read the singly indirect table and get the block number.   
         */                                                           
        rc = rtems_rfs_buffer_handle_request (fs, &map->singly_buffer,
 2018ebc:	b6 06 60 38 	add  %i1, 0x38, %i3                            <== NOT EXECUTED
int                                                                   
rtems_rfs_block_map_free_all (rtems_rfs_file_system* fs,              
                              rtems_rfs_block_map*   map)             
{                                                                     
  return rtems_rfs_block_map_shrink (fs, map, map->size.count);       
}                                                                     
 2018ec0:	a4 06 60 4c 	add  %i1, 0x4c, %l2                            <== NOT EXECUTED
 2018ec4:	a2 06 60 40 	add  %i1, 0x40, %l1                            <== NOT EXECUTED
    if (rc > 0)                                                       
      return rc;                                                      
    map->size.count--;                                                
    map->size.offset = 0;                                             
    map->last_data_block = block_to_free;                             
    map->dirty = true;                                                
 2018ec8:	a0 10 20 01 	mov  1, %l0                                    <== NOT EXECUTED
    return 0;                                                         
                                                                      
  if (blocks > map->size.count)                                       
    blocks = map->size.count;                                         
                                                                      
  while (blocks)                                                      
 2018ecc:	80 a6 a0 00 	cmp  %i2, 0                                    <== NOT EXECUTED
 2018ed0:	12 bf ff 69 	bne  2018c74 <rtems_rfs_block_map_shrink+0x58> <== NOT EXECUTED
 2018ed4:	c2 06 60 08 	ld  [ %i1 + 8 ], %g1                           <== NOT EXECUTED
    map->last_data_block = block_to_free;                             
    map->dirty = true;                                                
    blocks--;                                                         
  }                                                                   
                                                                      
  if (map->size.count == 0)                                           
 2018ed8:	80 a0 60 00 	cmp  %g1, 0                                    <== NOT EXECUTED
 2018edc:	32 80 00 05 	bne,a   2018ef0 <rtems_rfs_block_map_shrink+0x2d4><== NOT EXECUTED
 2018ee0:	c4 06 60 10 	ld  [ %i1 + 0x10 ], %g2                        <== NOT EXECUTED
  {                                                                   
    map->last_map_block = 0;                                          
 2018ee4:	c0 26 60 1c 	clr  [ %i1 + 0x1c ]                            <== NOT EXECUTED
    map->last_data_block = 0;                                         
 2018ee8:	c0 26 60 20 	clr  [ %i1 + 0x20 ]                            <== NOT EXECUTED
  }                                                                   
                                                                      
  /*                                                                  
   * Keep the position inside the map.                                
   */                                                                 
  if (rtems_rfs_block_pos_past_end (&map->bpos, &map->size))          
 2018eec:	c4 06 60 10 	ld  [ %i1 + 0x10 ], %g2                        <== NOT EXECUTED
 2018ef0:	80 a0 a0 00 	cmp  %g2, 0                                    <== NOT EXECUTED
 2018ef4:	02 80 00 06 	be  2018f0c <rtems_rfs_block_map_shrink+0x2f0> <== NOT EXECUTED
 2018ef8:	80 a0 80 01 	cmp  %g2, %g1                                  <== NOT EXECUTED
 2018efc:	80 a0 60 00 	cmp  %g1, 0                                    <== NOT EXECUTED
 2018f00:	22 80 00 0e 	be,a   2018f38 <rtems_rfs_block_map_shrink+0x31c><== NOT EXECUTED
 2018f04:	c4 06 60 0c 	ld  [ %i1 + 0xc ], %g2                         <== NOT EXECUTED
 2018f08:	80 a0 80 01 	cmp  %g2, %g1                                  <== NOT EXECUTED
 2018f0c:	3a 80 00 0b 	bcc,a   2018f38 <rtems_rfs_block_map_shrink+0x31c><== NOT EXECUTED
 2018f10:	c4 06 60 0c 	ld  [ %i1 + 0xc ], %g2                         <== NOT EXECUTED
 2018f14:	86 00 7f ff 	add  %g1, -1, %g3                              <== NOT EXECUTED
 2018f18:	80 a0 80 03 	cmp  %g2, %g3                                  <== NOT EXECUTED
 2018f1c:	12 80 00 0f 	bne  2018f58 <rtems_rfs_block_map_shrink+0x33c><== NOT EXECUTED
 2018f20:	90 10 20 00 	clr  %o0                                       <== NOT EXECUTED
 2018f24:	c6 06 60 14 	ld  [ %i1 + 0x14 ], %g3                        <== NOT EXECUTED
 2018f28:	c4 06 60 0c 	ld  [ %i1 + 0xc ], %g2                         <== NOT EXECUTED
 2018f2c:	80 a0 c0 02 	cmp  %g3, %g2                                  <== NOT EXECUTED
 2018f30:	08 80 00 0a 	bleu  2018f58 <rtems_rfs_block_map_shrink+0x33c><== NOT EXECUTED
 2018f34:	01 00 00 00 	nop                                            <== NOT EXECUTED
    rtems_rfs_block_size_get_bpos (&map->size, &map->bpos);           
 2018f38:	c2 26 60 10 	st  %g1, [ %i1 + 0x10 ]                        <== NOT EXECUTED
 2018f3c:	c4 26 60 14 	st  %g2, [ %i1 + 0x14 ]                        <== NOT EXECUTED
 2018f40:	c0 26 60 18 	clr  [ %i1 + 0x18 ]                            <== NOT EXECUTED
 2018f44:	80 a0 a0 00 	cmp  %g2, 0                                    <== NOT EXECUTED
 2018f48:	02 80 00 04 	be  2018f58 <rtems_rfs_block_map_shrink+0x33c> <== NOT EXECUTED
 2018f4c:	90 10 20 00 	clr  %o0                                       <== NOT EXECUTED
 2018f50:	82 00 7f ff 	add  %g1, -1, %g1                              <== NOT EXECUTED
 2018f54:	c2 26 60 10 	st  %g1, [ %i1 + 0x10 ]                        <== NOT EXECUTED
                                                                      
  return 0;                                                           
}                                                                     
 2018f58:	81 c7 e0 08 	ret                                            
 2018f5c:	91 e8 00 08 	restore  %g0, %o0, %o0                         
                                                                      

0201e0ac <rtems_rfs_buffer_bdbuf_release>: int rtems_rfs_buffer_bdbuf_release (rtems_rfs_buffer* buffer, bool modified) {
 201e0ac:	9d e3 bf a0 	save  %sp, -96, %sp                            
  rtems_status_code sc;                                               
  int               rc = 0;                                           
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_RELEASE))               
 201e0b0:	90 10 20 00 	clr  %o0                                       
 201e0b4:	7f ff cc 61 	call  2011238 <rtems_rfs_trace>                
 201e0b8:	92 10 20 40 	mov  0x40, %o1                                 
 201e0bc:	80 8a 20 ff 	btst  0xff, %o0                                
 201e0c0:	02 80 00 0d 	be  201e0f4 <rtems_rfs_buffer_bdbuf_release+0x48><== ALWAYS TAKEN
 201e0c4:	80 a6 60 00 	cmp  %i1, 0                                    
    printf ("rtems-rfs: bdbuf-release: block=%" PRIuPTR " bdbuf=%" PRIu32 " %s\n",
 201e0c8:	17 00 80 b6 	sethi  %hi(0x202d800), %o3                     <== NOT EXECUTED
 201e0cc:	d2 06 20 3c 	ld  [ %i0 + 0x3c ], %o1                        <== NOT EXECUTED
 201e0d0:	d4 06 20 20 	ld  [ %i0 + 0x20 ], %o2                        <== NOT EXECUTED
 201e0d4:	02 80 00 04 	be  201e0e4 <rtems_rfs_buffer_bdbuf_release+0x38><== NOT EXECUTED
 201e0d8:	96 12 e1 30 	or  %o3, 0x130, %o3                            <== NOT EXECUTED
 201e0dc:	17 00 80 c2 	sethi  %hi(0x2030800), %o3                     <== NOT EXECUTED
 201e0e0:	96 12 e3 f0 	or  %o3, 0x3f0, %o3	! 2030bf0 <status_code_to_errno+0x114><== NOT EXECUTED
 201e0e4:	11 00 80 c3 	sethi  %hi(0x2030c00), %o0                     <== NOT EXECUTED
 201e0e8:	40 00 04 38 	call  201f1c8 <printf>                         <== NOT EXECUTED
 201e0ec:	90 12 20 00 	mov  %o0, %o0	! 2030c00 <status_code_to_errno+0x124><== NOT EXECUTED
            ((intptr_t) buffer->user),                                
            buffer->block, modified ? "(modified)" : "");             
                                                                      
  if (modified)                                                       
 201e0f0:	80 a6 60 00 	cmp  %i1, 0                                    <== NOT EXECUTED
 201e0f4:	02 80 00 06 	be  201e10c <rtems_rfs_buffer_bdbuf_release+0x60>
 201e0f8:	90 10 00 18 	mov  %i0, %o0                                  
    sc = rtems_bdbuf_release_modified (buffer);                       
 201e0fc:	7f ff d5 a7 	call  2013798 <rtems_bdbuf_release_modified>   
 201e100:	01 00 00 00 	nop                                            
int                                                                   
rtems_rfs_buffer_bdbuf_release (rtems_rfs_buffer* buffer,             
                                bool              modified)           
{                                                                     
  rtems_status_code sc;                                               
  int               rc = 0;                                           
 201e104:	10 80 00 05 	b  201e118 <rtems_rfs_buffer_bdbuf_release+0x6c>
 201e108:	80 a0 00 08 	cmp  %g0, %o0                                  
            buffer->block, modified ? "(modified)" : "");             
                                                                      
  if (modified)                                                       
    sc = rtems_bdbuf_release_modified (buffer);                       
  else                                                                
    sc = rtems_bdbuf_release (buffer);                                
 201e10c:	7f ff d5 67 	call  20136a8 <rtems_bdbuf_release>            
 201e110:	01 00 00 00 	nop                                            
int                                                                   
rtems_rfs_buffer_bdbuf_release (rtems_rfs_buffer* buffer,             
                                bool              modified)           
{                                                                     
  rtems_status_code sc;                                               
  int               rc = 0;                                           
 201e114:	80 a0 00 08 	cmp  %g0, %o0                                  
 201e118:	b0 60 20 00 	subx  %g0, 0, %i0                              
#endif                                                                
    rc = EIO;                                                         
  }                                                                   
                                                                      
  return rc;                                                          
}                                                                     
 201e11c:	b0 0e 20 05 	and  %i0, 5, %i0                               
 201e120:	81 c7 e0 08 	ret                                            
 201e124:	81 e8 00 00 	restore                                        
                                                                      

02019898 <rtems_rfs_buffer_close>: return 0; } int rtems_rfs_buffer_close (rtems_rfs_file_system* fs) {
 2019898:	9d e3 bf a0 	save  %sp, -96, %sp                            
  int rc = 0;                                                         
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_CLOSE))                 
 201989c:	90 10 20 00 	clr  %o0                                       
 20198a0:	7f ff de 66 	call  2011238 <rtems_rfs_trace>                
 20198a4:	92 10 20 10 	mov  0x10, %o1                                 
 20198a8:	80 8a 20 ff 	btst  0xff, %o0                                
 20198ac:	22 80 00 06 	be,a   20198c4 <rtems_rfs_buffer_close+0x2c>   <== ALWAYS TAKEN
 20198b0:	c2 06 20 0c 	ld  [ %i0 + 0xc ], %g1                         
    printf ("rtems-rfs: buffer-close: closing\n");                    
 20198b4:	11 00 80 be 	sethi  %hi(0x202f800), %o0                     <== NOT EXECUTED
 20198b8:	40 00 16 85 	call  201f2cc <puts>                           <== NOT EXECUTED
 20198bc:	90 12 21 70 	or  %o0, 0x170, %o0	! 202f970 <CSWTCH.1+0x570> <== NOT EXECUTED
                                                                      
  /*                                                                  
   * Change the block size to the media device size. It will release and sync
   * all buffers.                                                     
   */                                                                 
  rc = rtems_rfs_buffer_setblksize (fs, rtems_rfs_fs_media_block_size (fs));
 20198c0:	c2 06 20 0c 	ld  [ %i0 + 0xc ], %g1                         <== NOT EXECUTED
 20198c4:	90 10 00 18 	mov  %i0, %o0                                  
 20198c8:	7f ff ff b9 	call  20197ac <rtems_rfs_buffer_setblksize>    
 20198cc:	d2 00 60 24 	ld  [ %g1 + 0x24 ], %o1                        
                                                                      
  if ((rc > 0) && rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_CLOSE))     
 20198d0:	ba 92 20 00 	orcc  %o0, 0, %i5                              
 20198d4:	04 80 00 0e 	ble  201990c <rtems_rfs_buffer_close+0x74>     <== ALWAYS TAKEN
 20198d8:	90 10 20 00 	clr  %o0                                       
 20198dc:	7f ff de 57 	call  2011238 <rtems_rfs_trace>                <== NOT EXECUTED
 20198e0:	92 10 20 10 	mov  0x10, %o1                                 <== NOT EXECUTED
 20198e4:	80 8a 20 ff 	btst  0xff, %o0                                <== NOT EXECUTED
 20198e8:	22 80 00 0a 	be,a   2019910 <rtems_rfs_buffer_close+0x78>   <== NOT EXECUTED
 20198ec:	d0 06 20 0c 	ld  [ %i0 + 0xc ], %o0                         <== NOT EXECUTED
    printf ("rtems-rfs: buffer-close: set media block size failed: %d: %s\n",
 20198f0:	40 00 19 69 	call  201fe94 <strerror>                       <== NOT EXECUTED
 20198f4:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
 20198f8:	92 10 00 1d 	mov  %i5, %o1                                  <== NOT EXECUTED
 20198fc:	94 10 00 08 	mov  %o0, %o2                                  <== NOT EXECUTED
 2019900:	11 00 80 be 	sethi  %hi(0x202f800), %o0                     <== NOT EXECUTED
 2019904:	40 00 16 31 	call  201f1c8 <printf>                         <== NOT EXECUTED
 2019908:	90 12 21 98 	or  %o0, 0x198, %o0	! 202f998 <CSWTCH.1+0x598> <== NOT EXECUTED
            rc, strerror (rc));                                       
                                                                      
#if RTEMS_RFS_USE_LIBBLOCK                                            
  rtems_disk_release (fs->disk);                                      
 201990c:	d0 06 20 0c 	ld  [ %i0 + 0xc ], %o0                         
 2019910:	7f ff ad 34 	call  2004de0 <rtems_disk_release>             
 2019914:	b0 10 00 1d 	mov  %i5, %i0                                  
              rc, strerror (rc));                                     
  }                                                                   
#endif                                                                
                                                                      
  return rc;                                                          
}                                                                     
 2019918:	81 c7 e0 08 	ret                                            
 201991c:	81 e8 00 00 	restore                                        
                                                                      

020190f0 <rtems_rfs_buffer_handle_release>: } int rtems_rfs_buffer_handle_release (rtems_rfs_file_system* fs, rtems_rfs_buffer_handle* handle) {
 20190f0:	9d e3 bf a0 	save  %sp, -96, %sp                            
  int rc = 0;                                                         
                                                                      
  if (rtems_rfs_buffer_handle_has_block (handle))                     
 20190f4:	c2 06 60 08 	ld  [ %i1 + 8 ], %g1                           
}                                                                     
                                                                      
int                                                                   
rtems_rfs_buffer_handle_release (rtems_rfs_file_system*   fs,         
                                 rtems_rfs_buffer_handle* handle)     
{                                                                     
 20190f8:	ba 10 00 18 	mov  %i0, %i5                                  
  int rc = 0;                                                         
                                                                      
  if (rtems_rfs_buffer_handle_has_block (handle))                     
 20190fc:	80 a0 60 00 	cmp  %g1, 0                                    
 2019100:	02 80 00 6c 	be  20192b0 <rtems_rfs_buffer_handle_release+0x1c0>
 2019104:	b0 10 20 00 	clr  %i0                                       
  {                                                                   
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_HANDLE_RELEASE))      
 2019108:	90 10 20 00 	clr  %o0                                       
 201910c:	7f ff e0 4b 	call  2011238 <rtems_rfs_trace>                
 2019110:	92 10 22 00 	mov  0x200, %o1                                
 2019114:	80 8a 20 ff 	btst  0xff, %o0                                
 2019118:	22 80 00 16 	be,a   2019170 <rtems_rfs_buffer_handle_release+0x80><== ALWAYS TAKEN
 201911c:	d0 06 60 08 	ld  [ %i1 + 8 ], %o0                           
      printf ("rtems-rfs: buffer-release: block=%" PRIu32 " %s refs=%d %s\n",
 2019120:	c2 0e 40 00 	ldub  [ %i1 ], %g1                             <== NOT EXECUTED
 2019124:	15 00 80 b6 	sethi  %hi(0x202d800), %o2                     <== NOT EXECUTED
 2019128:	d2 06 60 04 	ld  [ %i1 + 4 ], %o1                           <== NOT EXECUTED
 201912c:	80 a0 60 00 	cmp  %g1, 0                                    <== NOT EXECUTED
 2019130:	02 80 00 04 	be  2019140 <rtems_rfs_buffer_handle_release+0x50><== NOT EXECUTED
 2019134:	94 12 a1 30 	or  %o2, 0x130, %o2                            <== NOT EXECUTED
 2019138:	15 00 80 bd 	sethi  %hi(0x202f400), %o2                     <== NOT EXECUTED
 201913c:	94 12 a1 90 	or  %o2, 0x190, %o2	! 202f590 <CSWTCH.1+0x190> <== NOT EXECUTED
              rtems_rfs_buffer_bnum (handle),                         
              rtems_rfs_buffer_dirty (handle) ? "(dirty)" : "",       
              rtems_rfs_buffer_refs (handle),                         
              rtems_rfs_buffer_refs (handle) == 0 ? "BAD REF COUNT" : "");
 2019140:	c2 06 60 08 	ld  [ %i1 + 8 ], %g1                           <== NOT EXECUTED
  int rc = 0;                                                         
                                                                      
  if (rtems_rfs_buffer_handle_has_block (handle))                     
  {                                                                   
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_HANDLE_RELEASE))      
      printf ("rtems-rfs: buffer-release: block=%" PRIu32 " %s refs=%d %s\n",
 2019144:	19 00 80 b6 	sethi  %hi(0x202d800), %o4                     <== NOT EXECUTED
              rtems_rfs_buffer_bnum (handle),                         
              rtems_rfs_buffer_dirty (handle) ? "(dirty)" : "",       
              rtems_rfs_buffer_refs (handle),                         
              rtems_rfs_buffer_refs (handle) == 0 ? "BAD REF COUNT" : "");
 2019148:	d6 00 60 38 	ld  [ %g1 + 0x38 ], %o3                        <== NOT EXECUTED
  int rc = 0;                                                         
                                                                      
  if (rtems_rfs_buffer_handle_has_block (handle))                     
  {                                                                   
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_HANDLE_RELEASE))      
      printf ("rtems-rfs: buffer-release: block=%" PRIu32 " %s refs=%d %s\n",
 201914c:	80 a2 e0 00 	cmp  %o3, 0                                    <== NOT EXECUTED
 2019150:	12 80 00 04 	bne  2019160 <rtems_rfs_buffer_handle_release+0x70><== NOT EXECUTED
 2019154:	98 13 21 30 	or  %o4, 0x130, %o4                            <== NOT EXECUTED
 2019158:	19 00 80 bd 	sethi  %hi(0x202f400), %o4                     <== NOT EXECUTED
 201915c:	98 13 21 98 	or  %o4, 0x198, %o4	! 202f598 <CSWTCH.1+0x198> <== NOT EXECUTED
 2019160:	11 00 80 bd 	sethi  %hi(0x202f400), %o0                     <== NOT EXECUTED
 2019164:	40 00 18 19 	call  201f1c8 <printf>                         <== NOT EXECUTED
 2019168:	90 12 21 a8 	or  %o0, 0x1a8, %o0	! 202f5a8 <CSWTCH.1+0x1a8> <== NOT EXECUTED
              rtems_rfs_buffer_bnum (handle),                         
              rtems_rfs_buffer_dirty (handle) ? "(dirty)" : "",       
              rtems_rfs_buffer_refs (handle),                         
              rtems_rfs_buffer_refs (handle) == 0 ? "BAD REF COUNT" : "");
                                                                      
    if (rtems_rfs_buffer_refs (handle) > 0)                           
 201916c:	d0 06 60 08 	ld  [ %i1 + 8 ], %o0                           <== NOT EXECUTED
 2019170:	c2 02 20 38 	ld  [ %o0 + 0x38 ], %g1                        
 2019174:	80 a0 60 00 	cmp  %g1, 0                                    
 2019178:	04 80 00 03 	ble  2019184 <rtems_rfs_buffer_handle_release+0x94><== NEVER TAKEN
 201917c:	82 00 7f ff 	add  %g1, -1, %g1                              
      rtems_rfs_buffer_refs_down (handle);                            
 2019180:	c2 22 20 38 	st  %g1, [ %o0 + 0x38 ]                        
                                                                      
    if (rtems_rfs_buffer_refs (handle) == 0)                          
 2019184:	c2 02 20 38 	ld  [ %o0 + 0x38 ], %g1                        
 2019188:	80 a0 60 00 	cmp  %g1, 0                                    
 201918c:	12 80 00 48 	bne  20192ac <rtems_rfs_buffer_handle_release+0x1bc>
 2019190:	b0 10 20 00 	clr  %i0                                       
 2019194:	7f ff c6 51 	call  200aad8 <_Chain_Extract>                 
 2019198:	01 00 00 00 	nop                                            
    {                                                                 
      rtems_chain_extract (rtems_rfs_buffer_link (handle));           
      fs->buffers_count--;                                            
 201919c:	c2 07 60 4c 	ld  [ %i5 + 0x4c ], %g1                        
                                                                      
      if (rtems_rfs_fs_no_local_cache (fs))                           
 20191a0:	f0 07 40 00 	ld  [ %i5 ], %i0                               
      rtems_rfs_buffer_refs_down (handle);                            
                                                                      
    if (rtems_rfs_buffer_refs (handle) == 0)                          
    {                                                                 
      rtems_chain_extract (rtems_rfs_buffer_link (handle));           
      fs->buffers_count--;                                            
 20191a4:	82 00 7f ff 	add  %g1, -1, %g1                              
                                                                      
      if (rtems_rfs_fs_no_local_cache (fs))                           
 20191a8:	b0 8e 20 02 	andcc  %i0, 2, %i0                             
 20191ac:	02 80 00 08 	be  20191cc <rtems_rfs_buffer_handle_release+0xdc>
 20191b0:	c2 27 60 4c 	st  %g1, [ %i5 + 0x4c ]                        
      {                                                               
        handle->buffer->user = (void*) 0;                             
 20191b4:	d0 06 60 08 	ld  [ %i1 + 8 ], %o0                           
        rc = rtems_rfs_buffer_io_release (handle->buffer,             
 20191b8:	d2 0e 40 00 	ldub  [ %i1 ], %o1                             
 20191bc:	40 00 13 bc 	call  201e0ac <rtems_rfs_buffer_bdbuf_release> 
 20191c0:	c0 22 20 3c 	clr  [ %o0 + 0x3c ]                            
 20191c4:	10 80 00 3a 	b  20192ac <rtems_rfs_buffer_handle_release+0x1bc>
 20191c8:	b0 10 00 08 	mov  %o0, %i0                                  
         * head.                                                      
         *                                                            
         * This code stops a large series of transactions causing all the
         * buffers in the cache being held in queues of this file system.
         */                                                           
        if ((fs->release_count +                                      
 20191cc:	c2 07 60 5c 	ld  [ %i5 + 0x5c ], %g1                        
 20191d0:	c4 07 60 6c 	ld  [ %i5 + 0x6c ], %g2                        
 20191d4:	84 00 80 01 	add  %g2, %g1, %g2                             
 20191d8:	c2 07 60 3c 	ld  [ %i5 + 0x3c ], %g1                        
 20191dc:	80 a0 80 01 	cmp  %g2, %g1                                  
 20191e0:	2a 80 00 25 	bcs,a   2019274 <rtems_rfs_buffer_handle_release+0x184><== ALWAYS TAKEN
 20191e4:	c2 0e 40 00 	ldub  [ %i1 ], %g1                             
             fs->release_modified_count) >= fs->max_held_buffers)     
        {                                                             
          rtems_rfs_buffer* buffer;                                   
          bool              modified;                                 
                                                                      
          if (rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_HANDLE_RELEASE))
 20191e8:	90 10 20 00 	clr  %o0                                       <== NOT EXECUTED
 20191ec:	7f ff e0 13 	call  2011238 <rtems_rfs_trace>                <== NOT EXECUTED
 20191f0:	92 10 22 00 	mov  0x200, %o1                                <== NOT EXECUTED
 20191f4:	80 8a 20 ff 	btst  0xff, %o0                                <== NOT EXECUTED
 20191f8:	22 80 00 09 	be,a   201921c <rtems_rfs_buffer_handle_release+0x12c><== NOT EXECUTED
 20191fc:	c4 07 60 5c 	ld  [ %i5 + 0x5c ], %g2                        <== NOT EXECUTED
            printf ("rtems-rfs: buffer-release: local cache overflow:"
 2019200:	d2 07 60 6c 	ld  [ %i5 + 0x6c ], %o1                        <== NOT EXECUTED
 2019204:	c2 07 60 5c 	ld  [ %i5 + 0x5c ], %g1                        <== NOT EXECUTED
 2019208:	11 00 80 bd 	sethi  %hi(0x202f400), %o0                     <== NOT EXECUTED
 201920c:	92 02 40 01 	add  %o1, %g1, %o1                             <== NOT EXECUTED
 2019210:	40 00 17 ee 	call  201f1c8 <printf>                         <== NOT EXECUTED
 2019214:	90 12 21 e0 	or  %o0, 0x1e0, %o0                            <== NOT EXECUTED
                    " %" PRIu32 "\n", fs->release_count + fs->release_modified_count);
                                                                      
          if (fs->release_count > fs->release_modified_count)         
 2019218:	c4 07 60 5c 	ld  [ %i5 + 0x5c ], %g2                        <== NOT EXECUTED
 201921c:	c2 07 60 6c 	ld  [ %i5 + 0x6c ], %g1                        <== NOT EXECUTED
 2019220:	80 a0 80 01 	cmp  %g2, %g1                                  <== NOT EXECUTED
 2019224:	08 80 00 09 	bleu  2019248 <rtems_rfs_buffer_handle_release+0x158><== NOT EXECUTED
 2019228:	01 00 00 00 	nop                                            <== NOT EXECUTED
 */                                                                   
RTEMS_INLINE_ROUTINE rtems_chain_node *rtems_chain_get(               
  rtems_chain_control *the_chain                                      
)                                                                     
{                                                                     
  return _Chain_Get( the_chain );                                     
 201922c:	7f ff c6 34 	call  200aafc <_Chain_Get>                     <== NOT EXECUTED
 2019230:	90 07 60 50 	add  %i5, 0x50, %o0                            <== NOT EXECUTED
          {                                                           
            buffer = (rtems_rfs_buffer*) rtems_chain_get (&fs->release);
            fs->release_count--;                                      
 2019234:	c2 07 60 5c 	ld  [ %i5 + 0x5c ], %g1                        <== NOT EXECUTED
            modified = false;                                         
 2019238:	92 10 20 00 	clr  %o1                                       <== NOT EXECUTED
                    " %" PRIu32 "\n", fs->release_count + fs->release_modified_count);
                                                                      
          if (fs->release_count > fs->release_modified_count)         
          {                                                           
            buffer = (rtems_rfs_buffer*) rtems_chain_get (&fs->release);
            fs->release_count--;                                      
 201923c:	82 00 7f ff 	add  %g1, -1, %g1                              <== NOT EXECUTED
 2019240:	10 80 00 08 	b  2019260 <rtems_rfs_buffer_handle_release+0x170><== NOT EXECUTED
 2019244:	c2 27 60 5c 	st  %g1, [ %i5 + 0x5c ]                        <== NOT EXECUTED
 2019248:	7f ff c6 2d 	call  200aafc <_Chain_Get>                     <== NOT EXECUTED
 201924c:	90 07 60 60 	add  %i5, 0x60, %o0                            <== NOT EXECUTED
          }                                                           
          else                                                        
          {                                                           
            buffer =                                                  
              (rtems_rfs_buffer*) rtems_chain_get (&fs->release_modified);
            fs->release_modified_count--;                             
 2019250:	c2 07 60 6c 	ld  [ %i5 + 0x6c ], %g1                        <== NOT EXECUTED
            modified = true;                                          
 2019254:	92 10 20 01 	mov  1, %o1                                    <== NOT EXECUTED
          }                                                           
          else                                                        
          {                                                           
            buffer =                                                  
              (rtems_rfs_buffer*) rtems_chain_get (&fs->release_modified);
            fs->release_modified_count--;                             
 2019258:	82 00 7f ff 	add  %g1, -1, %g1                              <== NOT EXECUTED
 201925c:	c2 27 60 6c 	st  %g1, [ %i5 + 0x6c ]                        <== NOT EXECUTED
            modified = true;                                          
          }                                                           
          buffer->user = (void*) 0;                                   
 2019260:	c0 22 20 3c 	clr  [ %o0 + 0x3c ]                            <== NOT EXECUTED
          rc = rtems_rfs_buffer_io_release (buffer, modified);        
 2019264:	40 00 13 92 	call  201e0ac <rtems_rfs_buffer_bdbuf_release> <== NOT EXECUTED
 2019268:	92 0a 60 01 	and  %o1, 1, %o1                               <== NOT EXECUTED
 201926c:	b0 10 00 08 	mov  %o0, %i0                                  <== NOT EXECUTED
        }                                                             
                                                                      
        if (rtems_rfs_buffer_dirty (handle))                          
 2019270:	c2 0e 40 00 	ldub  [ %i1 ], %g1                             <== NOT EXECUTED
 2019274:	80 a0 60 00 	cmp  %g1, 0                                    
 2019278:	02 80 00 08 	be  2019298 <rtems_rfs_buffer_handle_release+0x1a8>
 201927c:	d2 06 60 08 	ld  [ %i1 + 8 ], %o1                           
RTEMS_INLINE_ROUTINE void rtems_chain_append(                         
  rtems_chain_control *the_chain,                                     
  rtems_chain_node    *the_node                                       
)                                                                     
{                                                                     
  _Chain_Append( the_chain, the_node );                               
 2019280:	7f ff c6 0b 	call  200aaac <_Chain_Append>                  
 2019284:	90 07 60 60 	add  %i5, 0x60, %o0                            
        {                                                             
          rtems_chain_append (&fs->release_modified,                  
                              rtems_rfs_buffer_link (handle));        
          fs->release_modified_count++;                               
 2019288:	c2 07 60 6c 	ld  [ %i5 + 0x6c ], %g1                        
 201928c:	82 00 60 01 	inc  %g1                                       
 2019290:	10 80 00 07 	b  20192ac <rtems_rfs_buffer_handle_release+0x1bc>
 2019294:	c2 27 60 6c 	st  %g1, [ %i5 + 0x6c ]                        
 2019298:	7f ff c6 05 	call  200aaac <_Chain_Append>                  
 201929c:	90 07 60 50 	add  %i5, 0x50, %o0                            
        }                                                             
        else                                                          
        {                                                             
          rtems_chain_append (&fs->release, rtems_rfs_buffer_link (handle));
          fs->release_count++;                                        
 20192a0:	c2 07 60 5c 	ld  [ %i5 + 0x5c ], %g1                        
 20192a4:	82 00 60 01 	inc  %g1                                       
 20192a8:	c2 27 60 5c 	st  %g1, [ %i5 + 0x5c ]                        
        }                                                             
      }                                                               
    }                                                                 
    handle->buffer = NULL;                                            
 20192ac:	c0 26 60 08 	clr  [ %i1 + 8 ]                               
  }                                                                   
                                                                      
  return rc;                                                          
}                                                                     
 20192b0:	81 c7 e0 08 	ret                                            
 20192b4:	81 e8 00 00 	restore                                        
                                                                      

020192b8 <rtems_rfs_buffer_handle_request>: int rtems_rfs_buffer_handle_request (rtems_rfs_file_system* fs, rtems_rfs_buffer_handle* handle, rtems_rfs_buffer_block block, bool read) {
 20192b8:	9d e3 bf a0 	save  %sp, -96, %sp                            
                                                                      
  /*                                                                  
   * If the handle has a buffer release it. This allows a handle to be reused
   * without needing to close then open it again.                     
   */                                                                 
  if (rtems_rfs_buffer_handle_has_block (handle))                     
 20192bc:	c2 06 60 08 	ld  [ %i1 + 8 ], %g1                           
 20192c0:	80 a0 60 00 	cmp  %g1, 0                                    
 20192c4:	02 80 00 1b 	be  2019330 <rtems_rfs_buffer_handle_request+0x78>
 20192c8:	ba 10 00 18 	mov  %i0, %i5                                  
  {                                                                   
    /*                                                                
     * Treat block 0 as special to handle the loading of the super block.
     */                                                               
    if (block && (rtems_rfs_buffer_bnum (handle) == block))           
 20192cc:	80 a6 a0 00 	cmp  %i2, 0                                    
 20192d0:	02 80 00 07 	be  20192ec <rtems_rfs_buffer_handle_request+0x34><== NEVER TAKEN
 20192d4:	90 10 20 00 	clr  %o0                                       
 20192d8:	c2 06 60 04 	ld  [ %i1 + 4 ], %g1                           
 20192dc:	80 a0 40 1a 	cmp  %g1, %i2                                  
 20192e0:	02 80 00 79 	be  20194c4 <rtems_rfs_buffer_handle_request+0x20c>
 20192e4:	b0 10 20 00 	clr  %i0                                       
      return 0;                                                       
                                                                      
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_HANDLE_REQUEST))      
 20192e8:	90 10 20 00 	clr  %o0                                       
 20192ec:	7f ff df d3 	call  2011238 <rtems_rfs_trace>                
 20192f0:	92 10 21 00 	mov  0x100, %o1                                
 20192f4:	80 8a 20 ff 	btst  0xff, %o0                                
 20192f8:	22 80 00 07 	be,a   2019314 <rtems_rfs_buffer_handle_request+0x5c><== ALWAYS TAKEN
 20192fc:	90 10 00 1d 	mov  %i5, %o0                                  
      printf ("rtems-rfs: buffer-request: handle has buffer: %" PRIu32 "\n",
 2019300:	d2 06 60 04 	ld  [ %i1 + 4 ], %o1                           <== NOT EXECUTED
 2019304:	11 00 80 bd 	sethi  %hi(0x202f400), %o0                     <== NOT EXECUTED
 2019308:	40 00 17 b0 	call  201f1c8 <printf>                         <== NOT EXECUTED
 201930c:	90 12 22 20 	or  %o0, 0x220, %o0	! 202f620 <CSWTCH.1+0x220> <== NOT EXECUTED
              rtems_rfs_buffer_bnum (handle));                        
                                                                      
    rc = rtems_rfs_buffer_handle_release (fs, handle);                
 2019310:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
 2019314:	7f ff ff 77 	call  20190f0 <rtems_rfs_buffer_handle_release>
 2019318:	92 10 00 19 	mov  %i1, %o1                                  
    if (rc > 0)                                                       
 201931c:	b0 92 20 00 	orcc  %o0, 0, %i0                              
 2019320:	14 80 00 8b 	bg  201954c <rtems_rfs_buffer_handle_request+0x294><== NEVER TAKEN
 2019324:	01 00 00 00 	nop                                            
      return rc;                                                      
    handle->dirty = false;                                            
 2019328:	c0 2e 40 00 	clrb  [ %i1 ]                                  
    handle->bnum = 0;                                                 
 201932c:	c0 26 60 04 	clr  [ %i1 + 4 ]                               
  }                                                                   
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_HANDLE_REQUEST))        
 2019330:	90 10 20 00 	clr  %o0                                       
 2019334:	7f ff df c1 	call  2011238 <rtems_rfs_trace>                
 2019338:	92 10 21 00 	mov  0x100, %o1                                
 201933c:	80 8a 20 ff 	btst  0xff, %o0                                
 2019340:	22 80 00 07 	be,a   201935c <rtems_rfs_buffer_handle_request+0xa4><== ALWAYS TAKEN
 2019344:	c2 07 60 4c 	ld  [ %i5 + 0x4c ], %g1                        
    printf ("rtems-rfs: buffer-request: block=%" PRIu32 "\n", block); 
 2019348:	11 00 80 bd 	sethi  %hi(0x202f400), %o0                     <== NOT EXECUTED
 201934c:	92 10 00 1a 	mov  %i2, %o1                                  <== NOT EXECUTED
 2019350:	40 00 17 9e 	call  201f1c8 <printf>                         <== NOT EXECUTED
 2019354:	90 12 22 58 	or  %o0, 0x258, %o0                            <== NOT EXECUTED
   * currently attached to a handle. If it is share the access. A buffer could
   * be shared where different parts of the block have separate functions. An
   * example is an inode block and the file system needs to handle 2 inodes in
   * the same block at the same time.                                 
   */                                                                 
  if (fs->buffers_count)                                              
 2019358:	c2 07 60 4c 	ld  [ %i5 + 0x4c ], %g1                        <== NOT EXECUTED
 201935c:	80 a0 60 00 	cmp  %g1, 0                                    
 2019360:	22 80 00 16 	be,a   20193b8 <rtems_rfs_buffer_handle_request+0x100>
 2019364:	c2 07 40 00 	ld  [ %i5 ], %g1                               
  {                                                                   
    /*                                                                
     * Check the active buffer list for shared buffers.               
     */                                                               
    handle->buffer = rtems_rfs_scan_chain (&fs->buffers,              
 2019368:	90 07 60 40 	add  %i5, 0x40, %o0                            
 201936c:	92 07 60 4c 	add  %i5, 0x4c, %o1                            
 2019370:	7f ff ff 23 	call  2018ffc <rtems_rfs_scan_chain>           
 2019374:	94 10 00 1a 	mov  %i2, %o2                                  
                                           &fs->buffers_count,        
                                           block);                    
    if (rtems_rfs_buffer_handle_has_block (handle) &&                 
 2019378:	80 a2 20 00 	cmp  %o0, 0                                    
 201937c:	02 80 00 0e 	be  20193b4 <rtems_rfs_buffer_handle_request+0xfc>
 2019380:	d0 26 60 08 	st  %o0, [ %i1 + 8 ]                           
        rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_HANDLE_REQUEST))      
 2019384:	90 10 20 00 	clr  %o0                                       
 2019388:	7f ff df ac 	call  2011238 <rtems_rfs_trace>                
 201938c:	92 10 21 00 	mov  0x100, %o1                                
     * Check the active buffer list for shared buffers.               
     */                                                               
    handle->buffer = rtems_rfs_scan_chain (&fs->buffers,              
                                           &fs->buffers_count,        
                                           block);                    
    if (rtems_rfs_buffer_handle_has_block (handle) &&                 
 2019390:	80 8a 20 ff 	btst  0xff, %o0                                
 2019394:	22 80 00 09 	be,a   20193b8 <rtems_rfs_buffer_handle_request+0x100><== ALWAYS TAKEN
 2019398:	c2 07 40 00 	ld  [ %i5 ], %g1                               
        rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_HANDLE_REQUEST))      
      printf ("rtems-rfs: buffer-request: buffer shared: refs: %d\n", 
              rtems_rfs_buffer_refs (handle) + 1);                    
 201939c:	c2 06 60 08 	ld  [ %i1 + 8 ], %g1                           <== NOT EXECUTED
    handle->buffer = rtems_rfs_scan_chain (&fs->buffers,              
                                           &fs->buffers_count,        
                                           block);                    
    if (rtems_rfs_buffer_handle_has_block (handle) &&                 
        rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_HANDLE_REQUEST))      
      printf ("rtems-rfs: buffer-request: buffer shared: refs: %d\n", 
 20193a0:	11 00 80 bd 	sethi  %hi(0x202f400), %o0                     <== NOT EXECUTED
 20193a4:	d2 00 60 38 	ld  [ %g1 + 0x38 ], %o1                        <== NOT EXECUTED
 20193a8:	90 12 22 80 	or  %o0, 0x280, %o0                            <== NOT EXECUTED
 20193ac:	40 00 17 87 	call  201f1c8 <printf>                         <== NOT EXECUTED
 20193b0:	92 02 60 01 	inc  %o1                                       <== NOT EXECUTED
  /*                                                                  
   * If the buffer has not been found check the local cache of released
   * buffers. There are release and released modified lists to preserve the
   * state.                                                           
   */                                                                 
  if (!rtems_rfs_fs_no_local_cache (fs) &&                            
 20193b4:	c2 07 40 00 	ld  [ %i5 ], %g1                               
 20193b8:	80 88 60 02 	btst  2, %g1                                   
 20193bc:	12 80 00 20 	bne  201943c <rtems_rfs_buffer_handle_request+0x184>
 20193c0:	c2 06 60 08 	ld  [ %i1 + 8 ], %g1                           
 20193c4:	80 a0 60 00 	cmp  %g1, 0                                    
 20193c8:	32 80 00 42 	bne,a   20194d0 <rtems_rfs_buffer_handle_request+0x218>
 20193cc:	d2 06 60 08 	ld  [ %i1 + 8 ], %o1                           
      !rtems_rfs_buffer_handle_has_block (handle))                    
  {                                                                   
    /*                                                                
     * Check the local cache of released buffers.                     
     */                                                               
    if (fs->release_count)                                            
 20193d0:	c2 07 60 5c 	ld  [ %i5 + 0x5c ], %g1                        
 20193d4:	80 a0 60 00 	cmp  %g1, 0                                    
 20193d8:	22 80 00 08 	be,a   20193f8 <rtems_rfs_buffer_handle_request+0x140>
 20193dc:	c2 06 60 08 	ld  [ %i1 + 8 ], %g1                           
      handle->buffer = rtems_rfs_scan_chain (&fs->release,            
 20193e0:	90 07 60 50 	add  %i5, 0x50, %o0                            
 20193e4:	92 07 60 5c 	add  %i5, 0x5c, %o1                            
 20193e8:	7f ff ff 05 	call  2018ffc <rtems_rfs_scan_chain>           
 20193ec:	94 10 00 1a 	mov  %i2, %o2                                  
 20193f0:	d0 26 60 08 	st  %o0, [ %i1 + 8 ]                           
                                             &fs->release_count,      
                                             block);                  
                                                                      
    if (!rtems_rfs_buffer_handle_has_block (handle) &&                
 20193f4:	c2 06 60 08 	ld  [ %i1 + 8 ], %g1                           
 20193f8:	80 a0 60 00 	cmp  %g1, 0                                    
 20193fc:	32 80 00 10 	bne,a   201943c <rtems_rfs_buffer_handle_request+0x184>
 2019400:	c2 06 60 08 	ld  [ %i1 + 8 ], %g1                           
 2019404:	c2 07 60 6c 	ld  [ %i5 + 0x6c ], %g1                        
 2019408:	80 a0 60 00 	cmp  %g1, 0                                    
 201940c:	22 80 00 0c 	be,a   201943c <rtems_rfs_buffer_handle_request+0x184>
 2019410:	c2 06 60 08 	ld  [ %i1 + 8 ], %g1                           
        fs->release_modified_count)                                   
    {                                                                 
      handle->buffer = rtems_rfs_scan_chain (&fs->release_modified,   
 2019414:	90 07 60 60 	add  %i5, 0x60, %o0                            
 2019418:	92 07 60 6c 	add  %i5, 0x6c, %o1                            
 201941c:	7f ff fe f8 	call  2018ffc <rtems_rfs_scan_chain>           
 2019420:	94 10 00 1a 	mov  %i2, %o2                                  
                                             &fs->release_modified_count,
                                             block);                  
      /*                                                              
       * If we found a buffer retain the dirty buffer state.          
       */                                                             
      if (rtems_rfs_buffer_handle_has_block (handle))                 
 2019424:	80 a2 20 00 	cmp  %o0, 0                                    
 2019428:	02 80 00 04 	be  2019438 <rtems_rfs_buffer_handle_request+0x180>
 201942c:	d0 26 60 08 	st  %o0, [ %i1 + 8 ]                           
        rtems_rfs_buffer_mark_dirty (handle);                         
 2019430:	82 10 20 01 	mov  1, %g1                                    
 2019434:	c2 2e 40 00 	stb  %g1, [ %i1 ]                              
  }                                                                   
                                                                      
  /*                                                                  
   * If not located we request the buffer from the I/O layer.         
   */                                                                 
  if (!rtems_rfs_buffer_handle_has_block (handle))                    
 2019438:	c2 06 60 08 	ld  [ %i1 + 8 ], %g1                           
 201943c:	80 a0 60 00 	cmp  %g1, 0                                    
 2019440:	32 80 00 24 	bne,a   20194d0 <rtems_rfs_buffer_handle_request+0x218>
 2019444:	d2 06 60 08 	ld  [ %i1 + 8 ], %o1                           
  {                                                                   
    rc = rtems_rfs_buffer_io_request (fs, block, read, &handle->buffer);
 2019448:	90 10 00 1d 	mov  %i5, %o0                                  
 201944c:	92 10 00 1a 	mov  %i2, %o1                                  
 2019450:	94 10 00 1b 	mov  %i3, %o2                                  
 2019454:	40 00 13 04 	call  201e064 <rtems_rfs_buffer_bdbuf_request> 
 2019458:	96 06 60 08 	add  %i1, 8, %o3                               
                                                                      
    rtems_chain_set_off_chain (rtems_rfs_buffer_link(handle));        
 201945c:	c2 06 60 08 	ld  [ %i1 + 8 ], %g1                           
  /*                                                                  
   * If not located we request the buffer from the I/O layer.         
   */                                                                 
  if (!rtems_rfs_buffer_handle_has_block (handle))                    
  {                                                                   
    rc = rtems_rfs_buffer_io_request (fs, block, read, &handle->buffer);
 2019460:	b0 10 00 08 	mov  %o0, %i0                                  
 2019464:	c0 20 60 04 	clr  [ %g1 + 4 ]                               
                                                                      
    rtems_chain_set_off_chain (rtems_rfs_buffer_link(handle));        
                                                                      
    if (rc > 0)                                                       
 2019468:	80 a2 20 00 	cmp  %o0, 0                                    
 201946c:	04 80 00 18 	ble  20194cc <rtems_rfs_buffer_handle_request+0x214><== ALWAYS TAKEN
 2019470:	c0 20 40 00 	clr  [ %g1 ]                                   
    {                                                                 
      if (rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_HANDLE_REQUEST))    
 2019474:	90 10 20 00 	clr  %o0                                       <== NOT EXECUTED
 2019478:	7f ff df 70 	call  2011238 <rtems_rfs_trace>                <== NOT EXECUTED
 201947c:	92 10 21 00 	mov  0x100, %o1                                <== NOT EXECUTED
 2019480:	80 8a 20 ff 	btst  0xff, %o0                                <== NOT EXECUTED
 2019484:	02 80 00 10 	be  20194c4 <rtems_rfs_buffer_handle_request+0x20c><== NOT EXECUTED
 2019488:	3b 00 80 bd 	sethi  %hi(0x202f400), %i5                     <== NOT EXECUTED
        printf ("rtems-rfs: buffer-request: block=%" PRIu32 ": bdbuf-%s: %d: %s\n",
 201948c:	80 a6 e0 00 	cmp  %i3, 0                                    <== NOT EXECUTED
 2019490:	02 80 00 04 	be  20194a0 <rtems_rfs_buffer_handle_request+0x1e8><== NOT EXECUTED
 2019494:	ba 17 62 18 	or  %i5, 0x218, %i5                            <== NOT EXECUTED
 2019498:	3b 00 80 bb 	sethi  %hi(0x202ec00), %i5                     <== NOT EXECUTED
 201949c:	ba 17 60 e8 	or  %i5, 0xe8, %i5	! 202ece8 <rtems_rfs_rtems_link_handlers+0x2f0><== NOT EXECUTED
 20194a0:	40 00 1a 7d 	call  201fe94 <strerror>                       <== NOT EXECUTED
 20194a4:	90 10 00 18 	mov  %i0, %o0                                  <== NOT EXECUTED
 20194a8:	92 10 00 1a 	mov  %i2, %o1                                  <== NOT EXECUTED
 20194ac:	98 10 00 08 	mov  %o0, %o4                                  <== NOT EXECUTED
 20194b0:	94 10 00 1d 	mov  %i5, %o2                                  <== NOT EXECUTED
 20194b4:	11 00 80 bd 	sethi  %hi(0x202f400), %o0                     <== NOT EXECUTED
 20194b8:	96 10 00 18 	mov  %i0, %o3                                  <== NOT EXECUTED
 20194bc:	40 00 17 43 	call  201f1c8 <printf>                         <== NOT EXECUTED
 20194c0:	90 12 22 b8 	or  %o0, 0x2b8, %o0                            <== NOT EXECUTED
 20194c4:	81 c7 e0 08 	ret                                            
 20194c8:	81 e8 00 00 	restore                                        
  }                                                                   
                                                                      
  /*                                                                  
   * Increase the reference count of the buffer.                      
   */                                                                 
  rtems_rfs_buffer_refs_up (handle);                                  
 20194cc:	d2 06 60 08 	ld  [ %i1 + 8 ], %o1                           
 20194d0:	90 07 60 40 	add  %i5, 0x40, %o0                            
 20194d4:	c2 02 60 38 	ld  [ %o1 + 0x38 ], %g1                        
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_HANDLE_REQUEST))        
    printf ("rtems-rfs: buffer-request: block=%" PRIu32 " bdbuf-%s=%" PRIu32 " refs=%d\n",
            block, read ? "read" : "get", handle->buffer->block,      
            handle->buffer->references);                              
                                                                      
  return 0;                                                           
 20194d8:	b0 10 20 00 	clr  %i0                                       
  }                                                                   
                                                                      
  /*                                                                  
   * Increase the reference count of the buffer.                      
   */                                                                 
  rtems_rfs_buffer_refs_up (handle);                                  
 20194dc:	82 00 60 01 	inc  %g1                                       
 20194e0:	7f ff c5 73 	call  200aaac <_Chain_Append>                  
 20194e4:	c2 22 60 38 	st  %g1, [ %o1 + 0x38 ]                        
  rtems_chain_append (&fs->buffers, rtems_rfs_buffer_link (handle));  
  fs->buffers_count++;                                                
 20194e8:	c2 07 60 4c 	ld  [ %i5 + 0x4c ], %g1                        
                                                                      
  handle->buffer->user = (void*) ((intptr_t) block);                  
  handle->bnum = block;                                               
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_HANDLE_REQUEST))        
 20194ec:	90 10 20 00 	clr  %o0                                       
  /*                                                                  
   * Increase the reference count of the buffer.                      
   */                                                                 
  rtems_rfs_buffer_refs_up (handle);                                  
  rtems_chain_append (&fs->buffers, rtems_rfs_buffer_link (handle));  
  fs->buffers_count++;                                                
 20194f0:	82 00 60 01 	inc  %g1                                       
 20194f4:	c2 27 60 4c 	st  %g1, [ %i5 + 0x4c ]                        
                                                                      
  handle->buffer->user = (void*) ((intptr_t) block);                  
 20194f8:	c2 06 60 08 	ld  [ %i1 + 8 ], %g1                           
  handle->bnum = block;                                               
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_HANDLE_REQUEST))        
 20194fc:	92 10 21 00 	mov  0x100, %o1                                
   */                                                                 
  rtems_rfs_buffer_refs_up (handle);                                  
  rtems_chain_append (&fs->buffers, rtems_rfs_buffer_link (handle));  
  fs->buffers_count++;                                                
                                                                      
  handle->buffer->user = (void*) ((intptr_t) block);                  
 2019500:	f4 20 60 3c 	st  %i2, [ %g1 + 0x3c ]                        
  handle->bnum = block;                                               
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_HANDLE_REQUEST))        
 2019504:	7f ff df 4d 	call  2011238 <rtems_rfs_trace>                
 2019508:	f4 26 60 04 	st  %i2, [ %i1 + 4 ]                           
 201950c:	80 8a 20 ff 	btst  0xff, %o0                                
 2019510:	02 bf ff ed 	be  20194c4 <rtems_rfs_buffer_handle_request+0x20c><== ALWAYS TAKEN
 2019514:	15 00 80 bd 	sethi  %hi(0x202f400), %o2                     
    printf ("rtems-rfs: buffer-request: block=%" PRIu32 " bdbuf-%s=%" PRIu32 " refs=%d\n",
 2019518:	80 a6 e0 00 	cmp  %i3, 0                                    <== NOT EXECUTED
 201951c:	02 80 00 04 	be  201952c <rtems_rfs_buffer_handle_request+0x274><== NOT EXECUTED
 2019520:	94 12 a2 18 	or  %o2, 0x218, %o2                            <== NOT EXECUTED
 2019524:	15 00 80 bb 	sethi  %hi(0x202ec00), %o2                     <== NOT EXECUTED
 2019528:	94 12 a0 e8 	or  %o2, 0xe8, %o2	! 202ece8 <rtems_rfs_rtems_link_handlers+0x2f0><== NOT EXECUTED
            block, read ? "read" : "get", handle->buffer->block,      
 201952c:	c2 06 60 08 	ld  [ %i1 + 8 ], %g1                           <== NOT EXECUTED
                                                                      
  handle->buffer->user = (void*) ((intptr_t) block);                  
  handle->bnum = block;                                               
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_HANDLE_REQUEST))        
    printf ("rtems-rfs: buffer-request: block=%" PRIu32 " bdbuf-%s=%" PRIu32 " refs=%d\n",
 2019530:	11 00 80 bd 	sethi  %hi(0x202f400), %o0                     <== NOT EXECUTED
 2019534:	d6 00 60 20 	ld  [ %g1 + 0x20 ], %o3                        <== NOT EXECUTED
 2019538:	d8 00 60 38 	ld  [ %g1 + 0x38 ], %o4                        <== NOT EXECUTED
 201953c:	90 12 22 f0 	or  %o0, 0x2f0, %o0                            <== NOT EXECUTED
 2019540:	92 10 00 1a 	mov  %i2, %o1                                  <== NOT EXECUTED
 2019544:	40 00 17 21 	call  201f1c8 <printf>                         <== NOT EXECUTED
 2019548:	b0 10 20 00 	clr  %i0                                       <== NOT EXECUTED
            block, read ? "read" : "get", handle->buffer->block,      
            handle->buffer->references);                              
                                                                      
  return 0;                                                           
}                                                                     
 201954c:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2019550:	81 e8 00 00 	restore                                        <== NOT EXECUTED
                                                                      

02019554 <rtems_rfs_buffer_open>: return rc; } int rtems_rfs_buffer_open (const char* name, rtems_rfs_file_system* fs) {
 2019554:	9d e3 bf 58 	save  %sp, -168, %sp                           
  struct stat st;                                                     
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_SYNC))                  
 2019558:	90 10 20 00 	clr  %o0                                       
 201955c:	7f ff df 37 	call  2011238 <rtems_rfs_trace>                
 2019560:	92 10 20 20 	mov  0x20, %o1                                 
 2019564:	80 8a 20 ff 	btst  0xff, %o0                                
 2019568:	22 80 00 07 	be,a   2019584 <rtems_rfs_buffer_open+0x30>    <== ALWAYS TAKEN
 201956c:	90 10 00 18 	mov  %i0, %o0                                  
    printf ("rtems-rfs: buffer-open: opening: %s\n", name);           
 2019570:	11 00 80 bd 	sethi  %hi(0x202f400), %o0                     <== NOT EXECUTED
 2019574:	92 10 00 18 	mov  %i0, %o1                                  <== NOT EXECUTED
 2019578:	40 00 17 14 	call  201f1c8 <printf>                         <== NOT EXECUTED
 201957c:	90 12 23 30 	or  %o0, 0x330, %o0                            <== NOT EXECUTED
                                                                      
  if (stat (name, &st) < 0)                                           
 2019580:	90 10 00 18 	mov  %i0, %o0                                  <== NOT EXECUTED
 2019584:	7f ff b7 65 	call  2007318 <stat>                           
 2019588:	92 07 bf b8 	add  %fp, -72, %o1                             
 201958c:	80 a2 20 00 	cmp  %o0, 0                                    
 2019590:	16 80 00 12 	bge  20195d8 <rtems_rfs_buffer_open+0x84>      <== ALWAYS TAKEN
 2019594:	c4 07 bf c4 	ld  [ %fp + -60 ], %g2                         
  {                                                                   
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_OPEN))                
 2019598:	90 10 20 00 	clr  %o0                                       <== NOT EXECUTED
 201959c:	92 10 20 08 	mov  8, %o1                                    <== NOT EXECUTED
 20195a0:	7f ff df 26 	call  2011238 <rtems_rfs_trace>                <== NOT EXECUTED
 20195a4:	ba 10 20 02 	mov  2, %i5                                    <== NOT EXECUTED
 20195a8:	80 8a 20 ff 	btst  0xff, %o0                                <== NOT EXECUTED
 20195ac:	22 80 00 3b 	be,a   2019698 <rtems_rfs_buffer_open+0x144>   <== NOT EXECUTED
 20195b0:	b0 10 00 1d 	mov  %i5, %i0                                  <== NOT EXECUTED
      printf ("rtems-rfs: buffer-open: stat '%s' failed: %s\n",       
              name, strerror (errno));                                
 20195b4:	40 00 13 9d 	call  201e428 <__errno>                        <== NOT EXECUTED
 20195b8:	01 00 00 00 	nop                                            <== NOT EXECUTED
    printf ("rtems-rfs: buffer-open: opening: %s\n", name);           
                                                                      
  if (stat (name, &st) < 0)                                           
  {                                                                   
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_OPEN))                
      printf ("rtems-rfs: buffer-open: stat '%s' failed: %s\n",       
 20195bc:	40 00 1a 36 	call  201fe94 <strerror>                       <== NOT EXECUTED
 20195c0:	d0 02 00 00 	ld  [ %o0 ], %o0                               <== NOT EXECUTED
 20195c4:	92 10 00 18 	mov  %i0, %o1                                  <== NOT EXECUTED
 20195c8:	94 10 00 08 	mov  %o0, %o2                                  <== NOT EXECUTED
 20195cc:	11 00 80 bd 	sethi  %hi(0x202f400), %o0                     <== NOT EXECUTED
 20195d0:	10 80 00 30 	b  2019690 <rtems_rfs_buffer_open+0x13c>       <== NOT EXECUTED
 20195d4:	90 12 23 58 	or  %o0, 0x358, %o0	! 202f758 <CSWTCH.1+0x358> <== NOT EXECUTED
                                                                      
#if RTEMS_RFS_USE_LIBBLOCK                                            
  /*                                                                  
   * Is the device a block device ?                                   
   */                                                                 
  if (!S_ISBLK (st.st_mode))                                          
 20195d8:	03 00 00 3c 	sethi  %hi(0xf000), %g1                        
 20195dc:	84 08 80 01 	and  %g2, %g1, %g2                             
 20195e0:	03 00 00 18 	sethi  %hi(0x6000), %g1                        
 20195e4:	80 a0 80 01 	cmp  %g2, %g1                                  
 20195e8:	02 80 00 0e 	be  2019620 <rtems_rfs_buffer_open+0xcc>       <== ALWAYS TAKEN
 20195ec:	92 10 20 08 	mov  8, %o1                                    
  {                                                                   
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_OPEN))                
 20195f0:	90 10 20 00 	clr  %o0                                       <== NOT EXECUTED
 20195f4:	7f ff df 11 	call  2011238 <rtems_rfs_trace>                <== NOT EXECUTED
 20195f8:	ba 10 20 05 	mov  5, %i5                                    <== NOT EXECUTED
 20195fc:	80 8a 20 ff 	btst  0xff, %o0                                <== NOT EXECUTED
 2019600:	22 80 00 26 	be,a   2019698 <rtems_rfs_buffer_open+0x144>   <== NOT EXECUTED
 2019604:	b0 10 00 1d 	mov  %i5, %i0                                  <== NOT EXECUTED
      printf ("rtems-rfs: buffer-open: '%s' is not a block device\n", name);
 2019608:	11 00 80 bd 	sethi  %hi(0x202f400), %o0                     <== NOT EXECUTED
 201960c:	92 10 00 18 	mov  %i0, %o1                                  <== NOT EXECUTED
 2019610:	40 00 16 ee 	call  201f1c8 <printf>                         <== NOT EXECUTED
 2019614:	90 12 23 88 	or  %o0, 0x388, %o0                            <== NOT EXECUTED
    printf ("rtems-rfs: buffer-open: blks=%" PRId32 ", blk-size=%" PRId32 "\n",
            rtems_rfs_fs_media_blocks (fs),                           
            rtems_rfs_fs_media_block_size (fs));                      
                                                                      
  return 0;                                                           
}                                                                     
 2019618:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 201961c:	91 e8 00 1d 	restore  %g0, %i5, %o0                         <== NOT EXECUTED
  }                                                                   
                                                                      
  /*                                                                  
   * Check that device is registred as a block device and lock it.    
   */                                                                 
  fs->disk = rtems_disk_obtain (st.st_rdev);                          
 2019620:	7f ff ad d1 	call  2004d64 <rtems_disk_obtain>              
 2019624:	d0 1f bf d0 	ldd  [ %fp + -48 ], %o0                        
 2019628:	d0 26 60 0c 	st  %o0, [ %i1 + 0xc ]                         
  if (!fs->disk)                                                      
 201962c:	80 a2 20 00 	cmp  %o0, 0                                    
 2019630:	12 80 00 0d 	bne  2019664 <rtems_rfs_buffer_open+0x110>     <== ALWAYS TAKEN
 2019634:	90 10 20 00 	clr  %o0                                       
  {                                                                   
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_OPEN))                
 2019638:	92 10 20 08 	mov  8, %o1                                    <== NOT EXECUTED
 201963c:	7f ff de ff 	call  2011238 <rtems_rfs_trace>                <== NOT EXECUTED
 2019640:	ba 10 20 05 	mov  5, %i5                                    <== NOT EXECUTED
 2019644:	80 8a 20 ff 	btst  0xff, %o0                                <== NOT EXECUTED
 2019648:	22 80 00 14 	be,a   2019698 <rtems_rfs_buffer_open+0x144>   <== NOT EXECUTED
 201964c:	b0 10 00 1d 	mov  %i5, %i0                                  <== NOT EXECUTED
      printf ("rtems-rfs: buffer-open: cannot obtain the disk\n");    
 2019650:	11 00 80 bd 	sethi  %hi(0x202f400), %o0                     <== NOT EXECUTED
 2019654:	40 00 17 1e 	call  201f2cc <puts>                           <== NOT EXECUTED
 2019658:	90 12 23 c0 	or  %o0, 0x3c0, %o0	! 202f7c0 <CSWTCH.1+0x3c0> <== NOT EXECUTED
    printf ("rtems-rfs: buffer-open: blks=%" PRId32 ", blk-size=%" PRId32 "\n",
            rtems_rfs_fs_media_blocks (fs),                           
            rtems_rfs_fs_media_block_size (fs));                      
                                                                      
  return 0;                                                           
}                                                                     
 201965c:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2019660:	91 e8 00 1d 	restore  %g0, %i5, %o0                         <== NOT EXECUTED
  }                                                                   
  fs->media_size = st.st_size;                                        
  strcat (fs->name, name);                                            
#endif                                                                
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_SYNC))                  
 2019664:	92 10 20 20 	mov  0x20, %o1                                 
 2019668:	7f ff de f4 	call  2011238 <rtems_rfs_trace>                
 201966c:	ba 10 20 00 	clr  %i5                                       
 2019670:	80 8a 20 ff 	btst  0xff, %o0                                
 2019674:	22 80 00 09 	be,a   2019698 <rtems_rfs_buffer_open+0x144>   <== ALWAYS TAKEN
 2019678:	b0 10 00 1d 	mov  %i5, %i0                                  
    printf ("rtems-rfs: buffer-open: blks=%" PRId32 ", blk-size=%" PRId32 "\n",
            rtems_rfs_fs_media_blocks (fs),                           
 201967c:	c2 06 60 0c 	ld  [ %i1 + 0xc ], %g1                         <== NOT EXECUTED
  fs->media_size = st.st_size;                                        
  strcat (fs->name, name);                                            
#endif                                                                
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_SYNC))                  
    printf ("rtems-rfs: buffer-open: blks=%" PRId32 ", blk-size=%" PRId32 "\n",
 2019680:	11 00 80 bd 	sethi  %hi(0x202f400), %o0                     <== NOT EXECUTED
 2019684:	d2 00 60 1c 	ld  [ %g1 + 0x1c ], %o1                        <== NOT EXECUTED
 2019688:	d4 00 60 24 	ld  [ %g1 + 0x24 ], %o2                        <== NOT EXECUTED
 201968c:	90 12 23 f0 	or  %o0, 0x3f0, %o0                            <== NOT EXECUTED
 2019690:	40 00 16 ce 	call  201f1c8 <printf>                         <== NOT EXECUTED
 2019694:	b0 10 00 1d 	mov  %i5, %i0                                  <== NOT EXECUTED
            rtems_rfs_fs_media_blocks (fs),                           
            rtems_rfs_fs_media_block_size (fs));                      
                                                                      
  return 0;                                                           
}                                                                     
 2019698:	81 c7 e0 08 	ret                                            
 201969c:	81 e8 00 00 	restore                                        
                                                                      

020197ac <rtems_rfs_buffer_setblksize>: return result; } int rtems_rfs_buffer_setblksize (rtems_rfs_file_system* fs, size_t size) {
 20197ac:	9d e3 bf a0 	save  %sp, -96, %sp                            
  int rc;                                                             
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_SETBLKSIZE))            
 20197b0:	90 10 20 00 	clr  %o0                                       
  return result;                                                      
}                                                                     
                                                                      
int                                                                   
rtems_rfs_buffer_setblksize (rtems_rfs_file_system* fs, size_t size)  
{                                                                     
 20197b4:	f2 27 a0 48 	st  %i1, [ %fp + 0x48 ]                        
  int rc;                                                             
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_SETBLKSIZE))            
 20197b8:	7f ff de a0 	call  2011238 <rtems_rfs_trace>                
 20197bc:	92 10 24 00 	mov  0x400, %o1                                
 20197c0:	80 8a 20 ff 	btst  0xff, %o0                                
 20197c4:	02 80 00 05 	be  20197d8 <rtems_rfs_buffer_setblksize+0x2c> <== ALWAYS TAKEN
 20197c8:	d2 07 a0 48 	ld  [ %fp + 0x48 ], %o1                        
    printf ("rtems-rfs: buffer-setblksize: block size: %zu\n", size); 
 20197cc:	11 00 80 be 	sethi  %hi(0x202f800), %o0                     <== NOT EXECUTED
 20197d0:	40 00 16 7e 	call  201f1c8 <printf>                         <== NOT EXECUTED
 20197d4:	90 12 20 c0 	or  %o0, 0xc0, %o0	! 202f8c0 <CSWTCH.1+0x4c0>  <== NOT EXECUTED
                                                                      
  rc = rtems_rfs_buffers_release (fs);                                
 20197d8:	7f ff ff d5 	call  201972c <rtems_rfs_buffers_release>      
 20197dc:	90 10 00 18 	mov  %i0, %o0                                  
  if ((rc > 0) && rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_SETBLKSIZE))
 20197e0:	ba 92 20 00 	orcc  %o0, 0, %i5                              
 20197e4:	04 80 00 0e 	ble  201981c <rtems_rfs_buffer_setblksize+0x70><== ALWAYS TAKEN
 20197e8:	90 10 20 00 	clr  %o0                                       
 20197ec:	7f ff de 93 	call  2011238 <rtems_rfs_trace>                <== NOT EXECUTED
 20197f0:	92 10 24 00 	mov  0x400, %o1                                <== NOT EXECUTED
 20197f4:	80 8a 20 ff 	btst  0xff, %o0                                <== NOT EXECUTED
 20197f8:	02 80 00 09 	be  201981c <rtems_rfs_buffer_setblksize+0x70> <== NOT EXECUTED
 20197fc:	01 00 00 00 	nop                                            <== NOT EXECUTED
    printf ("rtems-rfs: buffer-setblksize: buffer release failed: %d: %s\n",
 2019800:	40 00 19 a5 	call  201fe94 <strerror>                       <== NOT EXECUTED
 2019804:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
 2019808:	92 10 00 1d 	mov  %i5, %o1                                  <== NOT EXECUTED
 201980c:	94 10 00 08 	mov  %o0, %o2                                  <== NOT EXECUTED
 2019810:	11 00 80 be 	sethi  %hi(0x202f800), %o0                     <== NOT EXECUTED
 2019814:	40 00 16 6d 	call  201f1c8 <printf>                         <== NOT EXECUTED
 2019818:	90 12 20 f0 	or  %o0, 0xf0, %o0	! 202f8f0 <CSWTCH.1+0x4f0>  <== NOT EXECUTED
            rc, strerror (rc));                                       
                                                                      
  rc = rtems_rfs_buffer_sync (fs);                                    
 201981c:	7f ff ff a1 	call  20196a0 <rtems_rfs_buffer_sync>          
 2019820:	90 10 00 18 	mov  %i0, %o0                                  
  if ((rc > 0) && rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_SETBLKSIZE))
 2019824:	ba 92 20 00 	orcc  %o0, 0, %i5                              
 2019828:	04 80 00 0e 	ble  2019860 <rtems_rfs_buffer_setblksize+0xb4><== ALWAYS TAKEN
 201982c:	90 10 20 00 	clr  %o0                                       
 2019830:	7f ff de 82 	call  2011238 <rtems_rfs_trace>                <== NOT EXECUTED
 2019834:	92 10 24 00 	mov  0x400, %o1                                <== NOT EXECUTED
 2019838:	80 8a 20 ff 	btst  0xff, %o0                                <== NOT EXECUTED
 201983c:	22 80 00 0a 	be,a   2019864 <rtems_rfs_buffer_setblksize+0xb8><== NOT EXECUTED
 2019840:	d0 06 20 0c 	ld  [ %i0 + 0xc ], %o0                         <== NOT EXECUTED
    printf ("rtems-rfs: buffer-setblksize: device sync failed: %d: %s\n",
 2019844:	40 00 19 94 	call  201fe94 <strerror>                       <== NOT EXECUTED
 2019848:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
 201984c:	92 10 00 1d 	mov  %i5, %o1                                  <== NOT EXECUTED
 2019850:	94 10 00 08 	mov  %o0, %o2                                  <== NOT EXECUTED
 2019854:	11 00 80 be 	sethi  %hi(0x202f800), %o0                     <== NOT EXECUTED
 2019858:	40 00 16 5c 	call  201f1c8 <printf>                         <== NOT EXECUTED
 201985c:	90 12 21 30 	or  %o0, 0x130, %o0	! 202f930 <CSWTCH.1+0x530> <== NOT EXECUTED
            rc, strerror (rc));                                       
                                                                      
#if RTEMS_RFS_USE_LIBBLOCK                                            
  rc = fs->disk->ioctl (fs->disk, RTEMS_BLKIO_SETBLKSIZE, &size);     
 2019860:	d0 06 20 0c 	ld  [ %i0 + 0xc ], %o0                         
 2019864:	13 20 01 10 	sethi  %hi(0x80044000), %o1                    
 2019868:	c2 02 20 28 	ld  [ %o0 + 0x28 ], %g1                        
 201986c:	92 12 62 04 	or  %o1, 0x204, %o1                            
 2019870:	9f c0 40 00 	call  %g1                                      
 2019874:	94 07 a0 48 	add  %fp, 0x48, %o2                            
  if (rc < 0)                                                         
 2019878:	b0 92 20 00 	orcc  %o0, 0, %i0                              
 201987c:	16 80 00 05 	bge  2019890 <rtems_rfs_buffer_setblksize+0xe4><== ALWAYS TAKEN
 2019880:	01 00 00 00 	nop                                            
    rc = errno;                                                       
 2019884:	40 00 12 e9 	call  201e428 <__errno>                        <== NOT EXECUTED
 2019888:	01 00 00 00 	nop                                            <== NOT EXECUTED
 201988c:	f0 02 00 00 	ld  [ %o0 ], %i0                               <== NOT EXECUTED
#endif                                                                
  return rc;                                                          
}                                                                     
 2019890:	81 c7 e0 08 	ret                                            
 2019894:	81 e8 00 00 	restore                                        
                                                                      

020196a0 <rtems_rfs_buffer_sync>: return rc; } int rtems_rfs_buffer_sync (rtems_rfs_file_system* fs) {
 20196a0:	9d e3 bf a0 	save  %sp, -96, %sp                            
  int result = 0;                                                     
#if RTEMS_RFS_USE_LIBBLOCK                                            
  rtems_status_code sc;                                               
#endif                                                                
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_SYNC))                  
 20196a4:	90 10 20 00 	clr  %o0                                       
 20196a8:	7f ff de e4 	call  2011238 <rtems_rfs_trace>                
 20196ac:	92 10 20 20 	mov  0x20, %o1                                 
 20196b0:	80 8a 20 ff 	btst  0xff, %o0                                
 20196b4:	22 80 00 06 	be,a   20196cc <rtems_rfs_buffer_sync+0x2c>    <== ALWAYS TAKEN
 20196b8:	c2 06 20 0c 	ld  [ %i0 + 0xc ], %g1                         
    printf ("rtems-rfs: buffer-sync: syncing\n");                     
 20196bc:	11 00 80 be 	sethi  %hi(0x202f800), %o0                     <== NOT EXECUTED
 20196c0:	40 00 17 03 	call  201f2cc <puts>                           <== NOT EXECUTED
 20196c4:	90 12 20 20 	or  %o0, 0x20, %o0	! 202f820 <CSWTCH.1+0x420>  <== NOT EXECUTED
                                                                      
  /*                                                                  
   * @todo Split in the separate files for each type.                 
   */                                                                 
#if RTEMS_RFS_USE_LIBBLOCK                                            
  sc = rtems_bdbuf_syncdev (rtems_rfs_fs_device (fs));                
 20196c8:	c2 06 20 0c 	ld  [ %i0 + 0xc ], %g1                         <== NOT EXECUTED
}                                                                     
                                                                      
int                                                                   
rtems_rfs_buffer_sync (rtems_rfs_file_system* fs)                     
{                                                                     
  int result = 0;                                                     
 20196cc:	ba 10 20 00 	clr  %i5                                       
                                                                      
  /*                                                                  
   * @todo Split in the separate files for each type.                 
   */                                                                 
#if RTEMS_RFS_USE_LIBBLOCK                                            
  sc = rtems_bdbuf_syncdev (rtems_rfs_fs_device (fs));                
 20196d0:	7f ff e8 b5 	call  20139a4 <rtems_bdbuf_syncdev>            
 20196d4:	d0 18 40 00 	ldd  [ %g1 ], %o0                              
  if (sc != RTEMS_SUCCESSFUL)                                         
 20196d8:	80 a2 20 00 	cmp  %o0, 0                                    
 20196dc:	02 80 00 0f 	be  2019718 <rtems_rfs_buffer_sync+0x78>       <== ALWAYS TAKEN
 20196e0:	b8 10 00 08 	mov  %o0, %i4                                  
  {                                                                   
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_SYNC))                
 20196e4:	90 10 20 00 	clr  %o0                                       <== NOT EXECUTED
 20196e8:	92 10 20 20 	mov  0x20, %o1                                 <== NOT EXECUTED
 20196ec:	7f ff de d3 	call  2011238 <rtems_rfs_trace>                <== NOT EXECUTED
 20196f0:	ba 10 20 05 	mov  5, %i5                                    <== NOT EXECUTED
 20196f4:	80 8a 20 ff 	btst  0xff, %o0                                <== NOT EXECUTED
 20196f8:	22 80 00 09 	be,a   201971c <rtems_rfs_buffer_sync+0x7c>    <== NOT EXECUTED
 20196fc:	d0 06 20 0c 	ld  [ %i0 + 0xc ], %o0                         <== NOT EXECUTED
      printf ("rtems-rfs: buffer-sync: device sync failed: %s\n",     
 2019700:	7f ff ee 33 	call  2014fcc <rtems_status_text>              <== NOT EXECUTED
 2019704:	90 10 00 1c 	mov  %i4, %o0                                  <== NOT EXECUTED
 2019708:	92 10 00 08 	mov  %o0, %o1                                  <== NOT EXECUTED
 201970c:	11 00 80 be 	sethi  %hi(0x202f800), %o0                     <== NOT EXECUTED
 2019710:	40 00 16 ae 	call  201f1c8 <printf>                         <== NOT EXECUTED
 2019714:	90 12 20 40 	or  %o0, 0x40, %o0	! 202f840 <CSWTCH.1+0x440>  <== NOT EXECUTED
              rtems_status_text (sc));                                
    result = EIO;                                                     
  }                                                                   
  rtems_disk_release (fs->disk);                                      
 2019718:	d0 06 20 0c 	ld  [ %i0 + 0xc ], %o0                         
 201971c:	7f ff ad b1 	call  2004de0 <rtems_disk_release>             
 2019720:	b0 10 00 1d 	mov  %i5, %i0                                  
      printf ("rtems-rfs: buffer-sync: file sync failed: %d: %s\n",   
              result, strerror (result));                             
  }                                                                   
#endif                                                                
  return result;                                                      
}                                                                     
 2019724:	81 c7 e0 08 	ret                                            
 2019728:	81 e8 00 00 	restore                                        
                                                                      

0201972c <rtems_rfs_buffers_release>: return rrc; } int rtems_rfs_buffers_release (rtems_rfs_file_system* fs) {
 201972c:	9d e3 bf a0 	save  %sp, -96, %sp                            
  int rrc = 0;                                                        
  int rc;                                                             
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_RELEASE))               
 2019730:	90 10 20 00 	clr  %o0                                       
 2019734:	92 10 20 40 	mov  0x40, %o1                                 
 2019738:	7f ff de c0 	call  2011238 <rtems_rfs_trace>                
 201973c:	ba 10 00 18 	mov  %i0, %i5                                  
 2019740:	80 8a 20 ff 	btst  0xff, %o0                                
 2019744:	02 80 00 09 	be  2019768 <rtems_rfs_buffers_release+0x3c>   <== ALWAYS TAKEN
 2019748:	92 07 60 5c 	add  %i5, 0x5c, %o1                            
    printf ("rtems-rfs: buffers-release: active:%" PRIu32 " "         
 201974c:	d2 06 20 4c 	ld  [ %i0 + 0x4c ], %o1                        <== NOT EXECUTED
 2019750:	d4 06 20 5c 	ld  [ %i0 + 0x5c ], %o2                        <== NOT EXECUTED
 2019754:	d6 06 20 6c 	ld  [ %i0 + 0x6c ], %o3                        <== NOT EXECUTED
 2019758:	11 00 80 be 	sethi  %hi(0x202f800), %o0                     <== NOT EXECUTED
 201975c:	40 00 16 9b 	call  201f1c8 <printf>                         <== NOT EXECUTED
 2019760:	90 12 20 70 	or  %o0, 0x70, %o0	! 202f870 <CSWTCH.1+0x470>  <== NOT EXECUTED
            "release:%" PRIu32 " release-modified:%" PRIu32 "\n",     
            fs->buffers_count, fs->release_count, fs->release_modified_count);
                                                                      
  rc = rtems_rfs_release_chain (&fs->release,                         
 2019764:	92 07 60 5c 	add  %i5, 0x5c, %o1                            <== NOT EXECUTED
 2019768:	94 10 20 00 	clr  %o2                                       
 201976c:	7f ff fe 01 	call  2018f70 <rtems_rfs_release_chain>        
 2019770:	90 07 60 50 	add  %i5, 0x50, %o0                            
 2019774:	82 38 00 08 	xnor  %g0, %o0, %g1                            
 2019778:	83 38 60 1f 	sra  %g1, 0x1f, %g1                            
                                &fs->release_count,                   
                                false);                               
  if ((rc > 0) && (rrc == 0))                                         
    rrc = rc;                                                         
  rc = rtems_rfs_release_chain (&fs->release_modified,                
 201977c:	92 07 60 6c 	add  %i5, 0x6c, %o1                            
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_RELEASE))               
    printf ("rtems-rfs: buffers-release: active:%" PRIu32 " "         
            "release:%" PRIu32 " release-modified:%" PRIu32 "\n",     
            fs->buffers_count, fs->release_count, fs->release_modified_count);
                                                                      
  rc = rtems_rfs_release_chain (&fs->release,                         
 2019780:	b0 0a 00 01 	and  %o0, %g1, %i0                             
                                &fs->release_count,                   
                                false);                               
  if ((rc > 0) && (rrc == 0))                                         
    rrc = rc;                                                         
  rc = rtems_rfs_release_chain (&fs->release_modified,                
 2019784:	94 10 20 01 	mov  1, %o2                                    
 2019788:	7f ff fd fa 	call  2018f70 <rtems_rfs_release_chain>        
 201978c:	90 07 60 60 	add  %i5, 0x60, %o0                            
                                &fs->release_modified_count,          
                                true);                                
  if ((rc > 0) && (rrc == 0))                                         
 2019790:	80 a6 20 00 	cmp  %i0, 0                                    
 2019794:	12 80 00 04 	bne  20197a4 <rtems_rfs_buffers_release+0x78>  <== NEVER TAKEN
 2019798:	80 a2 20 00 	cmp  %o0, 0                                    
 201979c:	34 80 00 02 	bg,a   20197a4 <rtems_rfs_buffers_release+0x78><== NEVER TAKEN
 20197a0:	b0 10 00 08 	mov  %o0, %i0                                  <== NOT EXECUTED
    rrc = rc;                                                         
                                                                      
  return rrc;                                                         
}                                                                     
 20197a4:	81 c7 e0 08 	ret                                            
 20197a8:	81 e8 00 00 	restore                                        
                                                                      

02019e28 <rtems_rfs_dir_add_entry>: rtems_rfs_dir_add_entry (rtems_rfs_file_system* fs, rtems_rfs_inode_handle* dir, const char* name, size_t length, rtems_rfs_ino ino) {
 2019e28:	9d e3 bf 30 	save  %sp, -208, %sp                           
  rtems_rfs_block_map     map;                                        
  rtems_rfs_block_pos     bpos;                                       
  rtems_rfs_buffer_handle buffer;                                     
  int                     rc;                                         
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_DIR_ADD_ENTRY))                
 2019e2c:	90 10 20 00 	clr  %o0                                       
 2019e30:	13 08 00 00 	sethi  %hi(0x20000000), %o1                    
 2019e34:	7f ff dd 01 	call  2011238 <rtems_rfs_trace>                
 2019e38:	ba 10 00 18 	mov  %i0, %i5                                  
 2019e3c:	80 8a 20 ff 	btst  0xff, %o0                                
 2019e40:	02 80 00 13 	be  2019e8c <rtems_rfs_dir_add_entry+0x64>     <== ALWAYS TAKEN
 2019e44:	a0 07 bf 94 	add  %fp, -108, %l0                            
  {                                                                   
    int c;                                                            
    printf ("rtems-rfs: dir-add-entry: dir=%" PRId32 ", name=",       
 2019e48:	d2 06 60 08 	ld  [ %i1 + 8 ], %o1                           <== NOT EXECUTED
 2019e4c:	11 00 80 bf 	sethi  %hi(0x202fc00), %o0                     <== NOT EXECUTED
            rtems_rfs_inode_ino (dir));                               
    for (c = 0; c < length; c++)                                      
 2019e50:	b0 10 20 00 	clr  %i0                                       <== NOT EXECUTED
  int                     rc;                                         
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_DIR_ADD_ENTRY))                
  {                                                                   
    int c;                                                            
    printf ("rtems-rfs: dir-add-entry: dir=%" PRId32 ", name=",       
 2019e54:	40 00 14 dd 	call  201f1c8 <printf>                         <== NOT EXECUTED
 2019e58:	90 12 20 a8 	or  %o0, 0xa8, %o0                             <== NOT EXECUTED
            rtems_rfs_inode_ino (dir));                               
    for (c = 0; c < length; c++)                                      
 2019e5c:	10 80 00 05 	b  2019e70 <rtems_rfs_dir_add_entry+0x48>      <== NOT EXECUTED
 2019e60:	80 a6 00 1b 	cmp  %i0, %i3                                  <== NOT EXECUTED
      printf ("%c", name[c]);                                         
 2019e64:	40 00 14 ec 	call  201f214 <putchar>                        <== NOT EXECUTED
 2019e68:	b0 06 20 01 	inc  %i0                                       <== NOT EXECUTED
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_DIR_ADD_ENTRY))                
  {                                                                   
    int c;                                                            
    printf ("rtems-rfs: dir-add-entry: dir=%" PRId32 ", name=",       
            rtems_rfs_inode_ino (dir));                               
    for (c = 0; c < length; c++)                                      
 2019e6c:	80 a6 00 1b 	cmp  %i0, %i3                                  <== NOT EXECUTED
 2019e70:	32 bf ff fd 	bne,a   2019e64 <rtems_rfs_dir_add_entry+0x3c> <== NOT EXECUTED
 2019e74:	d0 4e 80 18 	ldsb  [ %i2 + %i0 ], %o0                       <== NOT EXECUTED
      printf ("%c", name[c]);                                         
    printf (", len=%zd\n", length);                                   
 2019e78:	11 00 80 bf 	sethi  %hi(0x202fc00), %o0                     <== NOT EXECUTED
 2019e7c:	92 10 00 1b 	mov  %i3, %o1                                  <== NOT EXECUTED
 2019e80:	40 00 14 d2 	call  201f1c8 <printf>                         <== NOT EXECUTED
 2019e84:	90 12 20 d8 	or  %o0, 0xd8, %o0                             <== NOT EXECUTED
  }                                                                   
                                                                      
  rc = rtems_rfs_block_map_open (fs, dir, &map);                      
 2019e88:	a0 07 bf 94 	add  %fp, -108, %l0                            <== NOT EXECUTED
 2019e8c:	90 10 00 1d 	mov  %i5, %o0                                  
 2019e90:	92 10 00 19 	mov  %i1, %o1                                  
 2019e94:	7f ff f9 18 	call  20182f4 <rtems_rfs_block_map_open>       
 2019e98:	94 10 00 10 	mov  %l0, %o2                                  
  if (rc > 0)                                                         
 2019e9c:	b0 92 20 00 	orcc  %o0, 0, %i0                              
 2019ea0:	14 80 00 8d 	bg  201a0d4 <rtems_rfs_dir_add_entry+0x2ac>    <== NEVER TAKEN
 2019ea4:	27 00 00 3f 	sethi  %hi(0xfc00), %l3                        
 */                                                                   
static inline int                                                     
rtems_rfs_buffer_handle_open (rtems_rfs_file_system*   fs,            
                              rtems_rfs_buffer_handle* handle)        
{                                                                     
  handle->dirty = false;                                              
 2019ea8:	c0 2f bf f0 	clrb  [ %fp + -16 ]                            
  handle->bnum  = 0;                                                  
 2019eac:	c0 27 bf f4 	clr  [ %fp + -12 ]                             
  handle->buffer = NULL;                                              
 2019eb0:	c0 27 bf f8 	clr  [ %fp + -8 ]                              
 * @param bpos A pointer to the block position.                       
 */                                                                   
static inline void                                                    
rtems_rfs_block_set_bpos_zero (rtems_rfs_block_pos* bpos)             
{                                                                     
  bpos->bno = 0;                                                      
 2019eb4:	c0 27 bf e4 	clr  [ %fp + -28 ]                             
  bpos->boff = 0;                                                     
 2019eb8:	c0 27 bf e8 	clr  [ %fp + -24 ]                             
  bpos->block = 0;                                                    
 2019ebc:	c0 27 bf ec 	clr  [ %fp + -20 ]                             
      int           elength;                                          
                                                                      
      elength = rtems_rfs_dir_entry_length (entry);                   
      eino    = rtems_rfs_dir_entry_ino (entry);                      
                                                                      
      if (elength == RTEMS_RFS_DIR_ENTRY_EMPTY)                       
 2019ec0:	a6 14 e3 ff 	or  %l3, 0x3ff, %l3                            
      {                                                               
        if ((length + RTEMS_RFS_DIR_ENTRY_SIZE) <                     
 2019ec4:	a4 06 e0 0a 	add  %i3, 0xa, %l2                             
    /*                                                                
     * Locate the first block. If an error the block will be 0. If the map is
     * empty which happens when creating a directory and adding the first entry
     * the seek will return ENXIO. In this case we need to grow the directory.
     */                                                               
    rc = rtems_rfs_block_map_find (fs, &map, &bpos, &block);          
 2019ec8:	90 10 00 1d 	mov  %i5, %o0                                  
 2019ecc:	92 10 00 10 	mov  %l0, %o1                                  
 2019ed0:	94 07 bf e4 	add  %fp, -28, %o2                             
 2019ed4:	7f ff f9 df 	call  2018650 <rtems_rfs_block_map_find>       
 2019ed8:	96 07 bf fc 	add  %fp, -4, %o3                              
    if (rc > 0)                                                       
 2019edc:	b0 92 20 00 	orcc  %o0, 0, %i0                              
 2019ee0:	04 80 00 29 	ble  2019f84 <rtems_rfs_dir_add_entry+0x15c>   
 2019ee4:	80 a6 20 06 	cmp  %i0, 6                                    
    {                                                                 
      if (rc != ENXIO)                                                
 2019ee8:	02 80 00 0f 	be  2019f24 <rtems_rfs_dir_add_entry+0xfc>     <== ALWAYS TAKEN
 2019eec:	90 10 00 1d 	mov  %i5, %o0                                  
      {                                                               
        if (rtems_rfs_trace (RTEMS_RFS_TRACE_DIR_ADD_ENTRY))          
 2019ef0:	90 10 20 00 	clr  %o0                                       <== NOT EXECUTED
 2019ef4:	7f ff dc d1 	call  2011238 <rtems_rfs_trace>                <== NOT EXECUTED
 2019ef8:	13 08 00 00 	sethi  %hi(0x20000000), %o1                    <== NOT EXECUTED
 2019efc:	80 8a 20 ff 	btst  0xff, %o0                                <== NOT EXECUTED
 2019f00:	22 80 00 a9 	be,a   201a1a4 <rtems_rfs_dir_add_entry+0x37c> <== NOT EXECUTED
 2019f04:	92 07 bf f0 	add  %fp, -16, %o1                             <== NOT EXECUTED
          printf ("rtems-rfs: dir-add-entry: "                        
 2019f08:	f8 06 60 08 	ld  [ %i1 + 8 ], %i4                           <== NOT EXECUTED
 2019f0c:	40 00 17 e2 	call  201fe94 <strerror>                       <== NOT EXECUTED
 2019f10:	90 10 00 18 	mov  %i0, %o0                                  <== NOT EXECUTED
 2019f14:	96 10 00 08 	mov  %o0, %o3                                  <== NOT EXECUTED
 2019f18:	11 00 80 bf 	sethi  %hi(0x202fc00), %o0                     <== NOT EXECUTED
 2019f1c:	10 80 00 15 	b  2019f70 <rtems_rfs_dir_add_entry+0x148>     <== NOT EXECUTED
 2019f20:	90 12 20 e8 	or  %o0, 0xe8, %o0	! 202fce8 <CSWTCH.1+0x8e8>  <== NOT EXECUTED
      }                                                               
                                                                      
      /*                                                              
       * We have reached the end of the directory so add a block.     
       */                                                             
      rc = rtems_rfs_block_map_grow (fs, &map, 1, &block);            
 2019f24:	92 10 00 10 	mov  %l0, %o1                                  
 2019f28:	94 10 20 01 	mov  1, %o2                                    
 2019f2c:	7f ff fa 4f 	call  2018868 <rtems_rfs_block_map_grow>       
 2019f30:	96 07 bf fc 	add  %fp, -4, %o3                              
      if (rc > 0)                                                     
 2019f34:	b0 92 20 00 	orcc  %o0, 0, %i0                              
 2019f38:	04 80 00 14 	ble  2019f88 <rtems_rfs_dir_add_entry+0x160>   <== ALWAYS TAKEN
 2019f3c:	a2 10 20 00 	clr  %l1                                       
      {                                                               
        if (rtems_rfs_trace (RTEMS_RFS_TRACE_DIR_ADD_ENTRY))          
 2019f40:	90 10 20 00 	clr  %o0                                       <== NOT EXECUTED
 2019f44:	7f ff dc bd 	call  2011238 <rtems_rfs_trace>                <== NOT EXECUTED
 2019f48:	13 08 00 00 	sethi  %hi(0x20000000), %o1                    <== NOT EXECUTED
 2019f4c:	80 8a 20 ff 	btst  0xff, %o0                                <== NOT EXECUTED
 2019f50:	22 80 00 95 	be,a   201a1a4 <rtems_rfs_dir_add_entry+0x37c> <== NOT EXECUTED
 2019f54:	92 07 bf f0 	add  %fp, -16, %o1                             <== NOT EXECUTED
          printf ("rtems-rfs: dir-add-entry: "                        
 2019f58:	f8 06 60 08 	ld  [ %i1 + 8 ], %i4                           <== NOT EXECUTED
 2019f5c:	40 00 17 ce 	call  201fe94 <strerror>                       <== NOT EXECUTED
 2019f60:	90 10 00 18 	mov  %i0, %o0                                  <== NOT EXECUTED
 2019f64:	96 10 00 08 	mov  %o0, %o3                                  <== NOT EXECUTED
 2019f68:	11 00 80 bf 	sethi  %hi(0x202fc00), %o0                     <== NOT EXECUTED
 2019f6c:	90 12 21 30 	or  %o0, 0x130, %o0	! 202fd30 <CSWTCH.1+0x930> <== NOT EXECUTED
 2019f70:	92 10 00 1c 	mov  %i4, %o1                                  <== NOT EXECUTED
 2019f74:	40 00 14 95 	call  201f1c8 <printf>                         <== NOT EXECUTED
 2019f78:	94 10 00 18 	mov  %i0, %o2                                  <== NOT EXECUTED
      entry  += elength;                                              
      offset += elength;                                              
    }                                                                 
  }                                                                   
                                                                      
  rtems_rfs_buffer_handle_close (fs, &buffer);                        
 2019f7c:	10 80 00 8a 	b  201a1a4 <rtems_rfs_dir_add_entry+0x37c>     <== NOT EXECUTED
 2019f80:	92 07 bf f0 	add  %fp, -16, %o1                             <== NOT EXECUTED
 2019f84:	a2 10 20 01 	mov  1, %l1                                    
      }                                                               
                                                                      
      read = false;                                                   
    }                                                                 
                                                                      
    bpos.bno++;                                                       
 2019f88:	c2 07 bf e4 	ld  [ %fp + -28 ], %g1                         
                                                                      
    rc = rtems_rfs_buffer_handle_request (fs, &buffer, block, read);  
 2019f8c:	d4 07 bf fc 	ld  [ %fp + -4 ], %o2                          
      }                                                               
                                                                      
      read = false;                                                   
    }                                                                 
                                                                      
    bpos.bno++;                                                       
 2019f90:	82 00 60 01 	inc  %g1                                       
                                                                      
    rc = rtems_rfs_buffer_handle_request (fs, &buffer, block, read);  
 2019f94:	a2 0c 60 ff 	and  %l1, 0xff, %l1                            
      }                                                               
                                                                      
      read = false;                                                   
    }                                                                 
                                                                      
    bpos.bno++;                                                       
 2019f98:	c2 27 bf e4 	st  %g1, [ %fp + -28 ]                         
                                                                      
    rc = rtems_rfs_buffer_handle_request (fs, &buffer, block, read);  
 2019f9c:	90 10 00 1d 	mov  %i5, %o0                                  
 2019fa0:	92 07 bf f0 	add  %fp, -16, %o1                             
 2019fa4:	7f ff fc c5 	call  20192b8 <rtems_rfs_buffer_handle_request>
 2019fa8:	96 10 00 11 	mov  %l1, %o3                                  
    if (rc > 0)                                                       
 2019fac:	b0 92 20 00 	orcc  %o0, 0, %i0                              
 2019fb0:	04 80 00 0f 	ble  2019fec <rtems_rfs_dir_add_entry+0x1c4>   <== ALWAYS TAKEN
 2019fb4:	c2 07 bf f8 	ld  [ %fp + -8 ], %g1                          
    {                                                                 
      if (rtems_rfs_trace (RTEMS_RFS_TRACE_DIR_ADD_ENTRY))            
 2019fb8:	90 10 20 00 	clr  %o0                                       <== NOT EXECUTED
 2019fbc:	7f ff dc 9f 	call  2011238 <rtems_rfs_trace>                <== NOT EXECUTED
 2019fc0:	13 08 00 00 	sethi  %hi(0x20000000), %o1                    <== NOT EXECUTED
 2019fc4:	80 8a 20 ff 	btst  0xff, %o0                                <== NOT EXECUTED
 2019fc8:	22 80 00 77 	be,a   201a1a4 <rtems_rfs_dir_add_entry+0x37c> <== NOT EXECUTED
 2019fcc:	92 07 bf f0 	add  %fp, -16, %o1                             <== NOT EXECUTED
        printf ("rtems-rfs: dir-add-entry: "                          
 2019fd0:	f8 06 60 08 	ld  [ %i1 + 8 ], %i4                           <== NOT EXECUTED
 2019fd4:	40 00 17 b0 	call  201fe94 <strerror>                       <== NOT EXECUTED
 2019fd8:	90 10 00 18 	mov  %i0, %o0                                  <== NOT EXECUTED
 2019fdc:	96 10 00 08 	mov  %o0, %o3                                  <== NOT EXECUTED
 2019fe0:	11 00 80 bf 	sethi  %hi(0x202fc00), %o0                     <== NOT EXECUTED
 2019fe4:	10 bf ff e3 	b  2019f70 <rtems_rfs_dir_add_entry+0x148>     <== NOT EXECUTED
 2019fe8:	90 12 21 78 	or  %o0, 0x178, %o0	! 202fd78 <CSWTCH.1+0x978> <== NOT EXECUTED
      break;                                                          
    }                                                                 
                                                                      
    entry  = rtems_rfs_buffer_data (&buffer);                         
                                                                      
    if (!read)                                                        
 2019fec:	80 a4 60 00 	cmp  %l1, 0                                    
 2019ff0:	12 80 00 06 	bne  201a008 <rtems_rfs_dir_add_entry+0x1e0>   
 2019ff4:	e8 00 60 24 	ld  [ %g1 + 0x24 ], %l4                        
      memset (entry, 0xff, rtems_rfs_fs_block_size (fs));             
 2019ff8:	d4 07 60 08 	ld  [ %i5 + 8 ], %o2                           
 2019ffc:	90 10 00 14 	mov  %l4, %o0                                  
 201a000:	40 00 14 20 	call  201f080 <memset>                         
 201a004:	92 10 20 ff 	mov  0xff, %o1                                 
                                                                      
    offset = 0;                                                       
                                                                      
    while (offset < (rtems_rfs_fs_block_size (fs) - RTEMS_RFS_DIR_ENTRY_SIZE))
 201a008:	c2 07 60 08 	ld  [ %i5 + 8 ], %g1                           
    entry  = rtems_rfs_buffer_data (&buffer);                         
                                                                      
    if (!read)                                                        
      memset (entry, 0xff, rtems_rfs_fs_block_size (fs));             
                                                                      
    offset = 0;                                                       
 201a00c:	b0 10 20 00 	clr  %i0                                       
                                                                      
    while (offset < (rtems_rfs_fs_block_size (fs) - RTEMS_RFS_DIR_ENTRY_SIZE))
 201a010:	10 80 00 60 	b  201a190 <rtems_rfs_dir_add_entry+0x368>     
 201a014:	84 00 7f f6 	add  %g1, -10, %g2                             
    {                                                                 
      rtems_rfs_ino eino;                                             
      int           elength;                                          
                                                                      
      elength = rtems_rfs_dir_entry_length (entry);                   
 201a018:	ea 0d 20 08 	ldub  [ %l4 + 8 ], %l5                         
      eino    = rtems_rfs_dir_entry_ino (entry);                      
 201a01c:	e2 0d 00 00 	ldub  [ %l4 ], %l1                             
    while (offset < (rtems_rfs_fs_block_size (fs) - RTEMS_RFS_DIR_ENTRY_SIZE))
    {                                                                 
      rtems_rfs_ino eino;                                             
      int           elength;                                          
                                                                      
      elength = rtems_rfs_dir_entry_length (entry);                   
 201a020:	ab 2d 60 08 	sll  %l5, 8, %l5                               
      eino    = rtems_rfs_dir_entry_ino (entry);                      
 201a024:	de 0d 20 01 	ldub  [ %l4 + 1 ], %o7                         
    while (offset < (rtems_rfs_fs_block_size (fs) - RTEMS_RFS_DIR_ENTRY_SIZE))
    {                                                                 
      rtems_rfs_ino eino;                                             
      int           elength;                                          
                                                                      
      elength = rtems_rfs_dir_entry_length (entry);                   
 201a028:	aa 15 40 03 	or  %l5, %g3, %l5                              
      eino    = rtems_rfs_dir_entry_ino (entry);                      
 201a02c:	c8 0d 20 03 	ldub  [ %l4 + 3 ], %g4                         
                                                                      
      if (elength == RTEMS_RFS_DIR_ENTRY_EMPTY)                       
 201a030:	80 a5 40 13 	cmp  %l5, %l3                                  
 201a034:	12 80 00 2a 	bne  201a0dc <rtems_rfs_dir_add_entry+0x2b4>   
 201a038:	c6 0d 20 02 	ldub  [ %l4 + 2 ], %g3                         
      {                                                               
        if ((length + RTEMS_RFS_DIR_ENTRY_SIZE) <                     
            (rtems_rfs_fs_block_size (fs) - offset))                  
 201a03c:	b0 20 40 18 	sub  %g1, %i0, %i0                             
      elength = rtems_rfs_dir_entry_length (entry);                   
      eino    = rtems_rfs_dir_entry_ino (entry);                      
                                                                      
      if (elength == RTEMS_RFS_DIR_ENTRY_EMPTY)                       
      {                                                               
        if ((length + RTEMS_RFS_DIR_ENTRY_SIZE) <                     
 201a040:	80 a4 80 18 	cmp  %l2, %i0                                  
 201a044:	3a bf ff a2 	bcc,a   2019ecc <rtems_rfs_dir_add_entry+0xa4> <== NEVER TAKEN
 201a048:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
            (rtems_rfs_fs_block_size (fs) - offset))                  
        {                                                             
          uint32_t hash;                                              
          hash = rtems_rfs_dir_hash (name, length);                   
 201a04c:	92 10 00 1b 	mov  %i3, %o1                                  
 201a050:	40 00 10 42 	call  201e158 <rtems_rfs_dir_hash>             
 201a054:	90 10 00 1a 	mov  %i2, %o0                                  
          rtems_rfs_dir_set_entry_hash (entry, hash);                 
 201a058:	83 32 20 18 	srl  %o0, 0x18, %g1                            
 201a05c:	c2 2d 20 04 	stb  %g1, [ %l4 + 4 ]                          
 201a060:	83 32 20 10 	srl  %o0, 0x10, %g1                            
 201a064:	c2 2d 20 05 	stb  %g1, [ %l4 + 5 ]                          
 201a068:	83 32 20 08 	srl  %o0, 8, %g1                               
 201a06c:	c2 2d 20 06 	stb  %g1, [ %l4 + 6 ]                          
          rtems_rfs_dir_set_entry_ino (entry, ino);                   
 201a070:	83 37 20 18 	srl  %i4, 0x18, %g1                            
 201a074:	c2 2d 00 00 	stb  %g1, [ %l4 ]                              
 201a078:	83 37 20 10 	srl  %i4, 0x10, %g1                            
 201a07c:	c2 2d 20 01 	stb  %g1, [ %l4 + 1 ]                          
 201a080:	83 37 20 08 	srl  %i4, 8, %g1                               
 201a084:	c2 2d 20 02 	stb  %g1, [ %l4 + 2 ]                          
          rtems_rfs_dir_set_entry_length (entry,                      
 201a088:	82 06 e0 0a 	add  %i3, 0xa, %g1                             
 201a08c:	85 30 60 08 	srl  %g1, 8, %g2                               
                                          RTEMS_RFS_DIR_ENTRY_SIZE + length);
          memcpy (entry + RTEMS_RFS_DIR_ENTRY_SIZE, name, length);    
 201a090:	94 10 00 1b 	mov  %i3, %o2                                  
        {                                                             
          uint32_t hash;                                              
          hash = rtems_rfs_dir_hash (name, length);                   
          rtems_rfs_dir_set_entry_hash (entry, hash);                 
          rtems_rfs_dir_set_entry_ino (entry, ino);                   
          rtems_rfs_dir_set_entry_length (entry,                      
 201a094:	c4 2d 20 08 	stb  %g2, [ %l4 + 8 ]                          
        if ((length + RTEMS_RFS_DIR_ENTRY_SIZE) <                     
            (rtems_rfs_fs_block_size (fs) - offset))                  
        {                                                             
          uint32_t hash;                                              
          hash = rtems_rfs_dir_hash (name, length);                   
          rtems_rfs_dir_set_entry_hash (entry, hash);                 
 201a098:	d0 2d 20 07 	stb  %o0, [ %l4 + 7 ]                          
          rtems_rfs_dir_set_entry_ino (entry, ino);                   
          rtems_rfs_dir_set_entry_length (entry,                      
 201a09c:	c2 2d 20 09 	stb  %g1, [ %l4 + 9 ]                          
                                          RTEMS_RFS_DIR_ENTRY_SIZE + length);
          memcpy (entry + RTEMS_RFS_DIR_ENTRY_SIZE, name, length);    
 201a0a0:	92 10 00 1a 	mov  %i2, %o1                                  
            (rtems_rfs_fs_block_size (fs) - offset))                  
        {                                                             
          uint32_t hash;                                              
          hash = rtems_rfs_dir_hash (name, length);                   
          rtems_rfs_dir_set_entry_hash (entry, hash);                 
          rtems_rfs_dir_set_entry_ino (entry, ino);                   
 201a0a4:	f8 2d 20 03 	stb  %i4, [ %l4 + 3 ]                          
          rtems_rfs_dir_set_entry_length (entry,                      
                                          RTEMS_RFS_DIR_ENTRY_SIZE + length);
          memcpy (entry + RTEMS_RFS_DIR_ENTRY_SIZE, name, length);    
 201a0a8:	40 00 13 6a 	call  201ee50 <memcpy>                         
 201a0ac:	90 05 20 0a 	add  %l4, 0xa, %o0                             
          rtems_rfs_buffer_mark_dirty (&buffer);                      
 201a0b0:	82 10 20 01 	mov  1, %g1                                    
          rtems_rfs_buffer_handle_close (fs, &buffer);                
 201a0b4:	92 07 bf f0 	add  %fp, -16, %o1                             
          rtems_rfs_dir_set_entry_hash (entry, hash);                 
          rtems_rfs_dir_set_entry_ino (entry, ino);                   
          rtems_rfs_dir_set_entry_length (entry,                      
                                          RTEMS_RFS_DIR_ENTRY_SIZE + length);
          memcpy (entry + RTEMS_RFS_DIR_ENTRY_SIZE, name, length);    
          rtems_rfs_buffer_mark_dirty (&buffer);                      
 201a0b8:	c2 2f bf f0 	stb  %g1, [ %fp + -16 ]                        
          rtems_rfs_buffer_handle_close (fs, &buffer);                
 201a0bc:	7f ff fe 19 	call  2019920 <rtems_rfs_buffer_handle_close>  
 201a0c0:	90 10 00 1d 	mov  %i5, %o0                                  
          rtems_rfs_block_map_close (fs, &map);                       
 201a0c4:	90 10 00 1d 	mov  %i5, %o0                                  
 201a0c8:	92 07 bf 94 	add  %fp, -108, %o1                            
 201a0cc:	7f ff f8 ec 	call  201847c <rtems_rfs_block_map_close>      
 201a0d0:	b0 10 20 00 	clr  %i0                                       
          return 0;                                                   
 201a0d4:	81 c7 e0 08 	ret                                            
 201a0d8:	81 e8 00 00 	restore                                        
    {                                                                 
      rtems_rfs_ino eino;                                             
      int           elength;                                          
                                                                      
      elength = rtems_rfs_dir_entry_length (entry);                   
      eino    = rtems_rfs_dir_entry_ino (entry);                      
 201a0dc:	a3 2c 60 18 	sll  %l1, 0x18, %l1                            
 201a0e0:	9e 0b e0 ff 	and  %o7, 0xff, %o7                            
 201a0e4:	88 09 20 ff 	and  %g4, 0xff, %g4                            
 201a0e8:	9f 2b e0 10 	sll  %o7, 0x10, %o7                            
 201a0ec:	86 08 e0 ff 	and  %g3, 0xff, %g3                            
 201a0f0:	a2 14 40 0f 	or  %l1, %o7, %l1                              
 201a0f4:	87 28 e0 08 	sll  %g3, 8, %g3                               
 201a0f8:	a2 14 40 04 	or  %l1, %g4, %l1                              
        }                                                             
                                                                      
        break;                                                        
      }                                                               
                                                                      
      if (rtems_rfs_dir_entry_valid (fs, elength, eino))              
 201a0fc:	80 a5 60 0a 	cmp  %l5, 0xa                                  
 201a100:	04 80 00 0d 	ble  201a134 <rtems_rfs_dir_add_entry+0x30c>   <== NEVER TAKEN
 201a104:	a2 14 40 03 	or  %l1, %g3, %l1                              
 201a108:	80 a4 60 00 	cmp  %l1, 0                                    
 201a10c:	02 80 00 0b 	be  201a138 <rtems_rfs_dir_add_entry+0x310>    <== NEVER TAKEN
 201a110:	90 10 20 00 	clr  %o0                                       
 201a114:	c6 07 60 18 	ld  [ %i5 + 0x18 ], %g3                        
 201a118:	80 a5 40 03 	cmp  %l5, %g3                                  
 201a11c:	1a 80 00 07 	bcc  201a138 <rtems_rfs_dir_add_entry+0x310>   <== NEVER TAKEN
 201a120:	01 00 00 00 	nop                                            
 201a124:	c6 07 60 10 	ld  [ %i5 + 0x10 ], %g3                        
 201a128:	80 a4 40 03 	cmp  %l1, %g3                                  
 201a12c:	28 80 00 18 	bleu,a   201a18c <rtems_rfs_dir_add_entry+0x364><== ALWAYS TAKEN
 201a130:	a8 05 00 15 	add  %l4, %l5, %l4                             
      {                                                               
        if (rtems_rfs_trace (RTEMS_RFS_TRACE_DIR_ADD_ENTRY))          
 201a134:	90 10 20 00 	clr  %o0                                       <== NOT EXECUTED
 201a138:	7f ff dc 40 	call  2011238 <rtems_rfs_trace>                <== NOT EXECUTED
 201a13c:	13 08 00 00 	sethi  %hi(0x20000000), %o1                    <== NOT EXECUTED
 201a140:	80 8a 20 ff 	btst  0xff, %o0                                <== NOT EXECUTED
 201a144:	02 80 00 0a 	be  201a16c <rtems_rfs_dir_add_entry+0x344>    <== NOT EXECUTED
 201a148:	92 07 bf f0 	add  %fp, -16, %o1                             <== NOT EXECUTED
          printf ("rtems-rfs: dir-add-entry: "                        
 201a14c:	d2 06 60 08 	ld  [ %i1 + 8 ], %o1                           <== NOT EXECUTED
 201a150:	11 00 80 bf 	sethi  %hi(0x202fc00), %o0                     <== NOT EXECUTED
 201a154:	94 10 00 15 	mov  %l5, %o2                                  <== NOT EXECUTED
 201a158:	90 12 21 c0 	or  %o0, 0x1c0, %o0                            <== NOT EXECUTED
 201a15c:	96 10 00 11 	mov  %l1, %o3                                  <== NOT EXECUTED
 201a160:	40 00 14 1a 	call  201f1c8 <printf>                         <== NOT EXECUTED
 201a164:	98 10 00 18 	mov  %i0, %o4                                  <== NOT EXECUTED
                  "bad length or ino for ino %" PRIu32 ": %u/%" PRId32 " @ %04x\n",
                  rtems_rfs_inode_ino (dir), elength, eino, offset);  
        rtems_rfs_buffer_handle_close (fs, &buffer);                  
 201a168:	92 07 bf f0 	add  %fp, -16, %o1                             <== NOT EXECUTED
 201a16c:	7f ff fd ed 	call  2019920 <rtems_rfs_buffer_handle_close>  <== NOT EXECUTED
 201a170:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
        rtems_rfs_block_map_close (fs, &map);                         
 201a174:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
 201a178:	92 07 bf 94 	add  %fp, -108, %o1                            <== NOT EXECUTED
 201a17c:	7f ff f8 c0 	call  201847c <rtems_rfs_block_map_close>      <== NOT EXECUTED
 201a180:	b0 10 20 05 	mov  5, %i0                                    <== NOT EXECUTED
        return EIO;                                                   
 201a184:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 201a188:	81 e8 00 00 	restore                                        <== NOT EXECUTED
      }                                                               
                                                                      
      entry  += elength;                                              
      offset += elength;                                              
 201a18c:	b0 06 00 15 	add  %i0, %l5, %i0                             
    if (!read)                                                        
      memset (entry, 0xff, rtems_rfs_fs_block_size (fs));             
                                                                      
    offset = 0;                                                       
                                                                      
    while (offset < (rtems_rfs_fs_block_size (fs) - RTEMS_RFS_DIR_ENTRY_SIZE))
 201a190:	80 a6 00 02 	cmp  %i0, %g2                                  
 201a194:	2a bf ff a1 	bcs,a   201a018 <rtems_rfs_dir_add_entry+0x1f0><== ALWAYS TAKEN
 201a198:	c6 0d 20 09 	ldub  [ %l4 + 9 ], %g3                         
    /*                                                                
     * Locate the first block. If an error the block will be 0. If the map is
     * empty which happens when creating a directory and adding the first entry
     * the seek will return ENXIO. In this case we need to grow the directory.
     */                                                               
    rc = rtems_rfs_block_map_find (fs, &map, &bpos, &block);          
 201a19c:	10 bf ff 4c 	b  2019ecc <rtems_rfs_dir_add_entry+0xa4>      <== NOT EXECUTED
 201a1a0:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
      entry  += elength;                                              
      offset += elength;                                              
    }                                                                 
  }                                                                   
                                                                      
  rtems_rfs_buffer_handle_close (fs, &buffer);                        
 201a1a4:	7f ff fd df 	call  2019920 <rtems_rfs_buffer_handle_close>  <== NOT EXECUTED
 201a1a8:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
  rtems_rfs_block_map_close (fs, &map);                               
 201a1ac:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
 201a1b0:	7f ff f8 b3 	call  201847c <rtems_rfs_block_map_close>      <== NOT EXECUTED
 201a1b4:	92 07 bf 94 	add  %fp, -108, %o1                            <== NOT EXECUTED
  return rc;                                                          
}                                                                     
 201a1b8:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 201a1bc:	81 e8 00 00 	restore                                        <== NOT EXECUTED
                                                                      

0201a1c0 <rtems_rfs_dir_del_entry>: int rtems_rfs_dir_del_entry (rtems_rfs_file_system* fs, rtems_rfs_inode_handle* dir, rtems_rfs_ino ino, uint32_t offset) {
 201a1c0:	9d e3 bf 38 	save  %sp, -200, %sp                           
  rtems_rfs_block_no      block;                                      
  rtems_rfs_buffer_handle buffer;                                     
  bool                    search;                                     
  int                     rc;                                         
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_DIR_DEL_ENTRY))                
 201a1c4:	90 10 20 00 	clr  %o0                                       
 201a1c8:	13 10 00 00 	sethi  %hi(0x40000000), %o1                    
 201a1cc:	7f ff dc 1b 	call  2011238 <rtems_rfs_trace>                
 201a1d0:	ba 10 00 18 	mov  %i0, %i5                                  
 201a1d4:	80 8a 20 ff 	btst  0xff, %o0                                
 201a1d8:	02 80 00 09 	be  201a1fc <rtems_rfs_dir_del_entry+0x3c>     <== ALWAYS TAKEN
 201a1dc:	a6 07 bf a0 	add  %fp, -96, %l3                             
    printf ("rtems-rfs: dir-del-entry: dir=%" PRId32 ", entry=%" PRId32 " offset=%" PRIu32 "\n",
 201a1e0:	d2 06 60 08 	ld  [ %i1 + 8 ], %o1                           <== NOT EXECUTED
 201a1e4:	11 00 80 bf 	sethi  %hi(0x202fc00), %o0                     <== NOT EXECUTED
 201a1e8:	94 10 00 1a 	mov  %i2, %o2                                  <== NOT EXECUTED
 201a1ec:	90 12 22 08 	or  %o0, 0x208, %o0                            <== NOT EXECUTED
 201a1f0:	40 00 13 f6 	call  201f1c8 <printf>                         <== NOT EXECUTED
 201a1f4:	96 10 00 1b 	mov  %i3, %o3                                  <== NOT EXECUTED
            rtems_rfs_inode_ino (dir), ino, offset);                  
                                                                      
  rc = rtems_rfs_block_map_open (fs, dir, &map);                      
 201a1f8:	a6 07 bf a0 	add  %fp, -96, %l3                             <== NOT EXECUTED
 201a1fc:	90 10 00 1d 	mov  %i5, %o0                                  
 201a200:	92 10 00 19 	mov  %i1, %o1                                  
 201a204:	7f ff f8 3c 	call  20182f4 <rtems_rfs_block_map_open>       
 201a208:	94 10 00 13 	mov  %l3, %o2                                  
  if (rc > 0)                                                         
 201a20c:	b0 92 20 00 	orcc  %o0, 0, %i0                              
 201a210:	14 80 00 c6 	bg  201a528 <rtems_rfs_dir_del_entry+0x368>    <== NEVER TAKEN
 201a214:	a4 07 bf fc 	add  %fp, -4, %l2                              
    return rc;                                                        
                                                                      
  rc = rtems_rfs_block_map_seek (fs, &map, offset, &block);           
 201a218:	90 10 00 1d 	mov  %i5, %o0                                  
 201a21c:	92 10 00 13 	mov  %l3, %o1                                  
 201a220:	94 10 20 00 	clr  %o2                                       
 201a224:	96 10 00 1b 	mov  %i3, %o3                                  
 201a228:	7f ff f9 66 	call  20187c0 <rtems_rfs_block_map_seek>       
 201a22c:	98 10 00 12 	mov  %l2, %o4                                  
  if (rc > 0)                                                         
 201a230:	b0 92 20 00 	orcc  %o0, 0, %i0                              
 201a234:	04 80 00 06 	ble  201a24c <rtems_rfs_dir_del_entry+0x8c>    <== ALWAYS TAKEN
 201a238:	80 a6 20 06 	cmp  %i0, 6                                    
  {                                                                   
    if (rc == ENXIO)                                                  
 201a23c:	22 80 00 b8 	be,a   201a51c <rtems_rfs_dir_del_entry+0x35c> <== NOT EXECUTED
 201a240:	b0 10 20 02 	mov  2, %i0                                    <== NOT EXECUTED
          }                                                           
        }                                                             
                                                                      
        rtems_rfs_buffer_mark_dirty (&buffer);                        
        rtems_rfs_buffer_handle_close (fs, &buffer);                  
        rtems_rfs_block_map_close (fs, &map);                         
 201a244:	10 80 00 b7 	b  201a520 <rtems_rfs_dir_del_entry+0x360>     <== NOT EXECUTED
 201a248:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
                                                                      
    /*                                                                
     * If we are searching start at the beginning of the block. If not searching
     * skip to the offset in the block.                               
     */                                                               
    if (search)                                                       
 201a24c:	80 a0 00 1b 	cmp  %g0, %i3                                  
      int           elength;                                          
                                                                      
      elength = rtems_rfs_dir_entry_length (entry);                   
      eino    = rtems_rfs_dir_entry_ino (entry);                      
                                                                      
      if (elength == RTEMS_RFS_DIR_ENTRY_EMPTY)                       
 201a250:	29 00 00 3f 	sethi  %hi(0xfc00), %l4                        
        break;                                                        
                                                                      
      if (rtems_rfs_dir_entry_valid (fs, elength, eino))              
      {                                                               
        if (rtems_rfs_trace (RTEMS_RFS_TRACE_DIR_DEL_ENTRY))          
          printf ("rtems-rfs: dir-del-entry: "                        
 201a254:	23 00 80 bf 	sethi  %hi(0x202fc00), %l1                     
 */                                                                   
static inline int                                                     
rtems_rfs_buffer_handle_open (rtems_rfs_file_system*   fs,            
                              rtems_rfs_buffer_handle* handle)        
{                                                                     
  handle->dirty = false;                                              
 201a258:	c0 2f bf f0 	clrb  [ %fp + -16 ]                            
  handle->bnum  = 0;                                                  
 201a25c:	c0 27 bf f4 	clr  [ %fp + -12 ]                             
  handle->buffer = NULL;                                              
 201a260:	c0 27 bf f8 	clr  [ %fp + -8 ]                              
      rc = ENOENT;                                                    
    rtems_rfs_block_map_close (fs, &map);                             
    return rc;                                                        
  }                                                                   
                                                                      
  rc = rtems_rfs_buffer_handle_open (fs, &buffer);                    
 201a264:	b0 10 20 00 	clr  %i0                                       
                                                                      
    /*                                                                
     * If we are searching start at the beginning of the block. If not searching
     * skip to the offset in the block.                               
     */                                                               
    if (search)                                                       
 201a268:	a0 60 3f ff 	subx  %g0, -1, %l0                             
      int           elength;                                          
                                                                      
      elength = rtems_rfs_dir_entry_length (entry);                   
      eino    = rtems_rfs_dir_entry_ino (entry);                      
                                                                      
      if (elength == RTEMS_RFS_DIR_ENTRY_EMPTY)                       
 201a26c:	a8 15 23 ff 	or  %l4, 0x3ff, %l4                            
  /*                                                                  
   * Only search if the offset is 0 else we are at that position.     
   */                                                                 
  search = offset ? false : true;                                     
                                                                      
  while (rc == 0)                                                     
 201a270:	10 80 00 c3 	b  201a57c <rtems_rfs_dir_del_entry+0x3bc>     
 201a274:	a2 14 62 90 	or  %l1, 0x290, %l1                            
  {                                                                   
    uint8_t* entry;                                                   
    int      eoffset;                                                 
                                                                      
    rc = rtems_rfs_buffer_handle_request (fs, &buffer, block, true);  
 201a278:	90 10 00 1d 	mov  %i5, %o0                                  
 201a27c:	92 07 bf f0 	add  %fp, -16, %o1                             
 201a280:	7f ff fc 0e 	call  20192b8 <rtems_rfs_buffer_handle_request>
 201a284:	96 10 20 01 	mov  1, %o3                                    
    if (rc > 0)                                                       
 201a288:	aa 92 20 00 	orcc  %o0, 0, %l5                              
 201a28c:	04 80 00 13 	ble  201a2d8 <rtems_rfs_dir_del_entry+0x118>   <== ALWAYS TAKEN
 201a290:	80 a4 20 00 	cmp  %l0, 0                                    
    {                                                                 
      if (rtems_rfs_trace (RTEMS_RFS_TRACE_DIR_DEL_ENTRY))            
 201a294:	90 10 20 00 	clr  %o0                                       <== NOT EXECUTED
 201a298:	7f ff db e8 	call  2011238 <rtems_rfs_trace>                <== NOT EXECUTED
 201a29c:	13 10 00 00 	sethi  %hi(0x40000000), %o1                    <== NOT EXECUTED
 201a2a0:	80 8a 20 ff 	btst  0xff, %o0                                <== NOT EXECUTED
 201a2a4:	22 80 00 bb 	be,a   201a590 <rtems_rfs_dir_del_entry+0x3d0> <== NOT EXECUTED
 201a2a8:	92 07 bf f0 	add  %fp, -16, %o1                             <== NOT EXECUTED
        printf ("rtems-rfs: dir-del-entry: "                          
 201a2ac:	f8 06 60 08 	ld  [ %i1 + 8 ], %i4                           <== NOT EXECUTED
 201a2b0:	40 00 16 f9 	call  201fe94 <strerror>                       <== NOT EXECUTED
 201a2b4:	90 10 00 15 	mov  %l5, %o0                                  <== NOT EXECUTED
 201a2b8:	92 10 00 1c 	mov  %i4, %o1                                  <== NOT EXECUTED
 201a2bc:	96 10 00 08 	mov  %o0, %o3                                  <== NOT EXECUTED
 201a2c0:	94 10 00 15 	mov  %l5, %o2                                  <== NOT EXECUTED
 201a2c4:	11 00 80 bf 	sethi  %hi(0x202fc00), %o0                     <== NOT EXECUTED
 201a2c8:	40 00 13 c0 	call  201f1c8 <printf>                         <== NOT EXECUTED
 201a2cc:	90 12 22 48 	or  %o0, 0x248, %o0	! 202fe48 <CSWTCH.1+0xa48> <== NOT EXECUTED
      if (rc == ENXIO)                                                
        rc = ENOENT;                                                  
    }                                                                 
  }                                                                   
                                                                      
  rtems_rfs_buffer_handle_close (fs, &buffer);                        
 201a2d0:	10 80 00 b0 	b  201a590 <rtems_rfs_dir_del_entry+0x3d0>     <== NOT EXECUTED
 201a2d4:	92 07 bf f0 	add  %fp, -16, %o1                             <== NOT EXECUTED
                                                                      
    /*                                                                
     * If we are searching start at the beginning of the block. If not searching
     * skip to the offset in the block.                               
     */                                                               
    if (search)                                                       
 201a2d8:	12 80 00 06 	bne  201a2f0 <rtems_rfs_dir_del_entry+0x130>   <== NEVER TAKEN
 201a2dc:	b8 10 20 00 	clr  %i4                                       
      eoffset = 0;                                                    
    else                                                              
      eoffset = offset % rtems_rfs_fs_block_size (fs);                
 201a2e0:	d2 07 60 08 	ld  [ %i5 + 8 ], %o1                           
 201a2e4:	40 00 44 36 	call  202b3bc <.urem>                          
 201a2e8:	90 10 00 1b 	mov  %i3, %o0                                  
 201a2ec:	b8 10 00 08 	mov  %o0, %i4                                  
                                                                      
    entry = rtems_rfs_buffer_data (&buffer) + eoffset;                
 201a2f0:	c2 07 bf f8 	ld  [ %fp + -8 ], %g1                          
 201a2f4:	ec 00 60 24 	ld  [ %g1 + 0x24 ], %l6                        
                                                                      
    while (eoffset < (rtems_rfs_fs_block_size (fs) - RTEMS_RFS_DIR_ENTRY_SIZE))
 201a2f8:	c2 07 60 08 	ld  [ %i5 + 8 ], %g1                           
    if (search)                                                       
      eoffset = 0;                                                    
    else                                                              
      eoffset = offset % rtems_rfs_fs_block_size (fs);                
                                                                      
    entry = rtems_rfs_buffer_data (&buffer) + eoffset;                
 201a2fc:	ac 05 80 1c 	add  %l6, %i4, %l6                             
                                                                      
    while (eoffset < (rtems_rfs_fs_block_size (fs) - RTEMS_RFS_DIR_ENTRY_SIZE))
 201a300:	10 80 00 8f 	b  201a53c <rtems_rfs_dir_del_entry+0x37c>     
 201a304:	84 00 7f f6 	add  %g1, -10, %g2                             
    {                                                                 
      rtems_rfs_ino eino;                                             
      int           elength;                                          
                                                                      
      elength = rtems_rfs_dir_entry_length (entry);                   
 201a308:	ee 0d a0 08 	ldub  [ %l6 + 8 ], %l7                         
      eino    = rtems_rfs_dir_entry_ino (entry);                      
 201a30c:	d6 0d 80 00 	ldub  [ %l6 ], %o3                             
    while (eoffset < (rtems_rfs_fs_block_size (fs) - RTEMS_RFS_DIR_ENTRY_SIZE))
    {                                                                 
      rtems_rfs_ino eino;                                             
      int           elength;                                          
                                                                      
      elength = rtems_rfs_dir_entry_length (entry);                   
 201a310:	af 2d e0 08 	sll  %l7, 8, %l7                               
      eino    = rtems_rfs_dir_entry_ino (entry);                      
 201a314:	de 0d a0 01 	ldub  [ %l6 + 1 ], %o7                         
    while (eoffset < (rtems_rfs_fs_block_size (fs) - RTEMS_RFS_DIR_ENTRY_SIZE))
    {                                                                 
      rtems_rfs_ino eino;                                             
      int           elength;                                          
                                                                      
      elength = rtems_rfs_dir_entry_length (entry);                   
 201a318:	ae 15 c0 03 	or  %l7, %g3, %l7                              
      eino    = rtems_rfs_dir_entry_ino (entry);                      
 201a31c:	c8 0d a0 03 	ldub  [ %l6 + 3 ], %g4                         
                                                                      
      if (elength == RTEMS_RFS_DIR_ENTRY_EMPTY)                       
 201a320:	80 a5 c0 14 	cmp  %l7, %l4                                  
 201a324:	02 80 00 89 	be  201a548 <rtems_rfs_dir_del_entry+0x388>    <== NEVER TAKEN
 201a328:	c6 0d a0 02 	ldub  [ %l6 + 2 ], %g3                         
    {                                                                 
      rtems_rfs_ino eino;                                             
      int           elength;                                          
                                                                      
      elength = rtems_rfs_dir_entry_length (entry);                   
      eino    = rtems_rfs_dir_entry_ino (entry);                      
 201a32c:	97 2a e0 18 	sll  %o3, 0x18, %o3                            
 201a330:	9e 0b e0 ff 	and  %o7, 0xff, %o7                            
 201a334:	88 09 20 ff 	and  %g4, 0xff, %g4                            
 201a338:	9f 2b e0 10 	sll  %o7, 0x10, %o7                            
 201a33c:	86 08 e0 ff 	and  %g3, 0xff, %g3                            
 201a340:	96 12 c0 0f 	or  %o3, %o7, %o3                              
 201a344:	87 28 e0 08 	sll  %g3, 8, %g3                               
 201a348:	96 12 c0 04 	or  %o3, %g4, %o3                              
                                                                      
      if (elength == RTEMS_RFS_DIR_ENTRY_EMPTY)                       
        break;                                                        
                                                                      
      if (rtems_rfs_dir_entry_valid (fs, elength, eino))              
 201a34c:	80 a5 e0 0a 	cmp  %l7, 0xa                                  
 201a350:	04 80 00 0d 	ble  201a384 <rtems_rfs_dir_del_entry+0x1c4>   <== NEVER TAKEN
 201a354:	96 12 c0 03 	or  %o3, %g3, %o3                              
 201a358:	80 a2 e0 00 	cmp  %o3, 0                                    
 201a35c:	22 80 00 0b 	be,a   201a388 <rtems_rfs_dir_del_entry+0x1c8> <== NEVER TAKEN
 201a360:	d6 27 bf 9c 	st  %o3, [ %fp + -100 ]                        <== NOT EXECUTED
 201a364:	c6 07 60 18 	ld  [ %i5 + 0x18 ], %g3                        
 201a368:	80 a5 c0 03 	cmp  %l7, %g3                                  
 201a36c:	3a 80 00 07 	bcc,a   201a388 <rtems_rfs_dir_del_entry+0x1c8><== NEVER TAKEN
 201a370:	d6 27 bf 9c 	st  %o3, [ %fp + -100 ]                        <== NOT EXECUTED
 201a374:	c6 07 60 10 	ld  [ %i5 + 0x10 ], %g3                        
 201a378:	80 a2 c0 03 	cmp  %o3, %g3                                  
 201a37c:	08 80 00 11 	bleu  201a3c0 <rtems_rfs_dir_del_entry+0x200>  <== ALWAYS TAKEN
 201a380:	80 a6 80 0b 	cmp  %i2, %o3                                  
      {                                                               
        if (rtems_rfs_trace (RTEMS_RFS_TRACE_DIR_DEL_ENTRY))          
 201a384:	d6 27 bf 9c 	st  %o3, [ %fp + -100 ]                        <== NOT EXECUTED
 201a388:	90 10 20 00 	clr  %o0                                       <== NOT EXECUTED
 201a38c:	7f ff db ab 	call  2011238 <rtems_rfs_trace>                <== NOT EXECUTED
 201a390:	13 10 00 00 	sethi  %hi(0x40000000), %o1                    <== NOT EXECUTED
 201a394:	80 8a 20 ff 	btst  0xff, %o0                                <== NOT EXECUTED
 201a398:	02 80 00 86 	be  201a5b0 <rtems_rfs_dir_del_entry+0x3f0>    <== NOT EXECUTED
 201a39c:	d6 07 bf 9c 	ld  [ %fp + -100 ], %o3                        <== NOT EXECUTED
          printf ("rtems-rfs: dir-del-entry: "                        
 201a3a0:	d2 06 60 08 	ld  [ %i1 + 8 ], %o1                           <== NOT EXECUTED
 201a3a4:	d8 07 bf fc 	ld  [ %fp + -4 ], %o4                          <== NOT EXECUTED
 201a3a8:	90 10 00 11 	mov  %l1, %o0                                  <== NOT EXECUTED
 201a3ac:	94 10 00 17 	mov  %l7, %o2                                  <== NOT EXECUTED
 201a3b0:	40 00 13 86 	call  201f1c8 <printf>                         <== NOT EXECUTED
 201a3b4:	9a 10 00 1c 	mov  %i4, %o5                                  <== NOT EXECUTED
      rc = ENOENT;                                                    
    rtems_rfs_block_map_close (fs, &map);                             
    return rc;                                                        
  }                                                                   
                                                                      
  rc = rtems_rfs_buffer_handle_open (fs, &buffer);                    
 201a3b8:	10 80 00 70 	b  201a578 <rtems_rfs_dir_del_entry+0x3b8>     <== NOT EXECUTED
 201a3bc:	aa 10 20 05 	mov  5, %l5                                    <== NOT EXECUTED
                  rtems_rfs_inode_ino (dir), elength, eino, block, eoffset);
        rc = EIO;                                                     
        break;                                                        
      }                                                               
                                                                      
      if (ino == rtems_rfs_dir_entry_ino (entry))                     
 201a3c0:	12 80 00 5c 	bne  201a530 <rtems_rfs_dir_del_entry+0x370>   <== NEVER TAKEN
 201a3c4:	80 a4 20 00 	cmp  %l0, 0                                    
      {                                                               
        uint32_t remaining;                                           
        remaining = rtems_rfs_fs_block_size (fs) - (eoffset + elength);
        memmove (entry, entry + elength, remaining);                  
 201a3c8:	92 05 80 17 	add  %l6, %l7, %o1                             
      }                                                               
                                                                      
      if (ino == rtems_rfs_dir_entry_ino (entry))                     
      {                                                               
        uint32_t remaining;                                           
        remaining = rtems_rfs_fs_block_size (fs) - (eoffset + elength);
 201a3cc:	b6 07 00 17 	add  %i4, %l7, %i3                             
        memmove (entry, entry + elength, remaining);                  
 201a3d0:	90 10 00 16 	mov  %l6, %o0                                  
      }                                                               
                                                                      
      if (ino == rtems_rfs_dir_entry_ino (entry))                     
      {                                                               
        uint32_t remaining;                                           
        remaining = rtems_rfs_fs_block_size (fs) - (eoffset + elength);
 201a3d4:	b6 20 40 1b 	sub  %g1, %i3, %i3                             
        memmove (entry, entry + elength, remaining);                  
 201a3d8:	40 00 12 da 	call  201ef40 <memmove>                        
 201a3dc:	94 10 00 1b 	mov  %i3, %o2                                  
        memset (entry + remaining, 0xff, elength);                    
 201a3e0:	90 05 80 1b 	add  %l6, %i3, %o0                             
 201a3e4:	92 10 20 ff 	mov  0xff, %o1                                 
 201a3e8:	40 00 13 26 	call  201f080 <memset>                         
 201a3ec:	94 10 00 17 	mov  %l7, %o2                                  
         * block and it is the last block in the map shrink the map.  
         *                                                            
         * @note We could check again to see if the new end block in the map is
         *       also empty. This way we could clean up an empty directory.
         */                                                           
        elength = rtems_rfs_dir_entry_length (entry);                 
 201a3f0:	c2 0d a0 09 	ldub  [ %l6 + 9 ], %g1                         
 201a3f4:	f6 0d a0 08 	ldub  [ %l6 + 8 ], %i3                         
                                                                      
        if (rtems_rfs_trace (RTEMS_RFS_TRACE_DIR_DEL_ENTRY))          
 201a3f8:	90 10 20 00 	clr  %o0                                       
         * block and it is the last block in the map shrink the map.  
         *                                                            
         * @note We could check again to see if the new end block in the map is
         *       also empty. This way we could clean up an empty directory.
         */                                                           
        elength = rtems_rfs_dir_entry_length (entry);                 
 201a3fc:	b7 2e e0 08 	sll  %i3, 8, %i3                               
                                                                      
        if (rtems_rfs_trace (RTEMS_RFS_TRACE_DIR_DEL_ENTRY))          
 201a400:	13 10 00 00 	sethi  %hi(0x40000000), %o1                    
 201a404:	7f ff db 8d 	call  2011238 <rtems_rfs_trace>                
 201a408:	b6 16 c0 01 	or  %i3, %g1, %i3                              
 201a40c:	80 8a 20 ff 	btst  0xff, %o0                                
 201a410:	02 80 00 19 	be  201a474 <rtems_rfs_dir_del_entry+0x2b4>    <== ALWAYS TAKEN
 201a414:	03 3f ff c0 	sethi  %hi(0xffff0000), %g1                    
          printf ("rtems-rfs: dir-del-entry: "                        
                  "last block free for ino %" PRIu32 ": elength=%i block=%" PRIu32
                  " offset=%d last=%s\n",                             
                  ino, elength, block, eoffset,                       
                  rtems_rfs_block_map_last (&map) ? "yes" : "no");    
 201a418:	c2 07 bf b0 	ld  [ %fp + -80 ], %g1                         <== NOT EXECUTED
         *       also empty. This way we could clean up an empty directory.
         */                                                           
        elength = rtems_rfs_dir_entry_length (entry);                 
                                                                      
        if (rtems_rfs_trace (RTEMS_RFS_TRACE_DIR_DEL_ENTRY))          
          printf ("rtems-rfs: dir-del-entry: "                        
 201a41c:	d6 07 bf fc 	ld  [ %fp + -4 ], %o3                          <== NOT EXECUTED
 201a420:	80 a0 60 00 	cmp  %g1, 0                                    <== NOT EXECUTED
 201a424:	12 80 00 06 	bne  201a43c <rtems_rfs_dir_del_entry+0x27c>   <== NOT EXECUTED
 201a428:	c4 07 bf a8 	ld  [ %fp + -88 ], %g2                         <== NOT EXECUTED
 201a42c:	1b 00 80 b9 	sethi  %hi(0x202e400), %o5                     <== NOT EXECUTED
                  "last block free for ino %" PRIu32 ": elength=%i block=%" PRIu32
                  " offset=%d last=%s\n",                             
                  ino, elength, block, eoffset,                       
                  rtems_rfs_block_map_last (&map) ? "yes" : "no");    
 201a430:	80 a0 a0 00 	cmp  %g2, 0                                    <== NOT EXECUTED
 201a434:	02 80 00 09 	be  201a458 <rtems_rfs_dir_del_entry+0x298>    <== NOT EXECUTED
 201a438:	9a 13 63 b8 	or  %o5, 0x3b8, %o5                            <== NOT EXECUTED
 201a43c:	84 00 bf ff 	add  %g2, -1, %g2                              <== NOT EXECUTED
         *       also empty. This way we could clean up an empty directory.
         */                                                           
        elength = rtems_rfs_dir_entry_length (entry);                 
                                                                      
        if (rtems_rfs_trace (RTEMS_RFS_TRACE_DIR_DEL_ENTRY))          
          printf ("rtems-rfs: dir-del-entry: "                        
 201a440:	1b 00 80 b9 	sethi  %hi(0x202e400), %o5                     <== NOT EXECUTED
                  "last block free for ino %" PRIu32 ": elength=%i block=%" PRIu32
                  " offset=%d last=%s\n",                             
                  ino, elength, block, eoffset,                       
                  rtems_rfs_block_map_last (&map) ? "yes" : "no");    
 201a444:	80 a0 40 02 	cmp  %g1, %g2                                  <== NOT EXECUTED
 201a448:	12 80 00 04 	bne  201a458 <rtems_rfs_dir_del_entry+0x298>   <== NOT EXECUTED
 201a44c:	9a 13 63 c0 	or  %o5, 0x3c0, %o5                            <== NOT EXECUTED
         *       also empty. This way we could clean up an empty directory.
         */                                                           
        elength = rtems_rfs_dir_entry_length (entry);                 
                                                                      
        if (rtems_rfs_trace (RTEMS_RFS_TRACE_DIR_DEL_ENTRY))          
          printf ("rtems-rfs: dir-del-entry: "                        
 201a450:	1b 00 80 b9 	sethi  %hi(0x202e400), %o5                     <== NOT EXECUTED
 201a454:	9a 13 63 b8 	or  %o5, 0x3b8, %o5	! 202e7b8 <ramdisk_ops+0xafc><== NOT EXECUTED
 201a458:	11 00 80 bf 	sethi  %hi(0x202fc00), %o0                     <== NOT EXECUTED
 201a45c:	92 10 00 1a 	mov  %i2, %o1                                  <== NOT EXECUTED
 201a460:	90 12 22 e0 	or  %o0, 0x2e0, %o0                            <== NOT EXECUTED
 201a464:	94 10 00 1b 	mov  %i3, %o2                                  <== NOT EXECUTED
 201a468:	40 00 13 58 	call  201f1c8 <printf>                         <== NOT EXECUTED
 201a46c:	98 10 00 1c 	mov  %i4, %o4                                  <== NOT EXECUTED
                  "last block free for ino %" PRIu32 ": elength=%i block=%" PRIu32
                  " offset=%d last=%s\n",                             
                  ino, elength, block, eoffset,                       
                  rtems_rfs_block_map_last (&map) ? "yes" : "no");    
                                                                      
        if ((elength == RTEMS_RFS_DIR_ENTRY_EMPTY) &&                 
 201a470:	03 3f ff c0 	sethi  %hi(0xffff0000), %g1                    <== NOT EXECUTED
 201a474:	b6 38 40 1b 	xnor  %g1, %i3, %i3                            
 201a478:	80 a6 e0 00 	cmp  %i3, 0                                    
 201a47c:	12 80 00 23 	bne  201a508 <rtems_rfs_dir_del_entry+0x348>   
 201a480:	80 a7 20 00 	cmp  %i4, 0                                    
 201a484:	12 80 00 21 	bne  201a508 <rtems_rfs_dir_del_entry+0x348>   <== ALWAYS TAKEN
 201a488:	c2 07 bf b0 	ld  [ %fp + -80 ], %g1                         
            (eoffset == 0) && rtems_rfs_block_map_last (&map))        
 201a48c:	80 a0 60 00 	cmp  %g1, 0                                    <== NOT EXECUTED
 201a490:	12 80 00 05 	bne  201a4a4 <rtems_rfs_dir_del_entry+0x2e4>   <== NOT EXECUTED
 201a494:	c4 07 bf a8 	ld  [ %fp + -88 ], %g2                         <== NOT EXECUTED
 201a498:	80 a0 a0 00 	cmp  %g2, 0                                    <== NOT EXECUTED
 201a49c:	02 80 00 07 	be  201a4b8 <rtems_rfs_dir_del_entry+0x2f8>    <== NOT EXECUTED
 201a4a0:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
 201a4a4:	84 00 bf ff 	add  %g2, -1, %g2                              <== NOT EXECUTED
 201a4a8:	80 a0 40 02 	cmp  %g1, %g2                                  <== NOT EXECUTED
 201a4ac:	12 80 00 18 	bne  201a50c <rtems_rfs_dir_del_entry+0x34c>   <== NOT EXECUTED
 201a4b0:	82 10 20 01 	mov  1, %g1                                    <== NOT EXECUTED
        {                                                             
          rc = rtems_rfs_block_map_shrink (fs, &map, 1);              
 201a4b4:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
 201a4b8:	92 07 bf a0 	add  %fp, -96, %o1                             <== NOT EXECUTED
 201a4bc:	7f ff f9 d8 	call  2018c1c <rtems_rfs_block_map_shrink>     <== NOT EXECUTED
 201a4c0:	94 10 20 01 	mov  1, %o2                                    <== NOT EXECUTED
          if (rc > 0)                                                 
 201a4c4:	b8 92 20 00 	orcc  %o0, 0, %i4                              <== NOT EXECUTED
 201a4c8:	04 80 00 10 	ble  201a508 <rtems_rfs_dir_del_entry+0x348>   <== NOT EXECUTED
 201a4cc:	90 10 20 00 	clr  %o0                                       <== NOT EXECUTED
          {                                                           
            if (rtems_rfs_trace (RTEMS_RFS_TRACE_DIR_DEL_ENTRY))      
 201a4d0:	7f ff db 5a 	call  2011238 <rtems_rfs_trace>                <== NOT EXECUTED
 201a4d4:	13 10 00 00 	sethi  %hi(0x40000000), %o1                    <== NOT EXECUTED
 201a4d8:	80 8a 20 ff 	btst  0xff, %o0                                <== NOT EXECUTED
 201a4dc:	02 80 00 0c 	be  201a50c <rtems_rfs_dir_del_entry+0x34c>    <== NOT EXECUTED
 201a4e0:	82 10 20 01 	mov  1, %g1                                    <== NOT EXECUTED
              printf ("rtems-rfs: dir-del-entry: "                    
 201a4e4:	f6 06 60 08 	ld  [ %i1 + 8 ], %i3                           <== NOT EXECUTED
 201a4e8:	40 00 16 6b 	call  201fe94 <strerror>                       <== NOT EXECUTED
 201a4ec:	90 10 00 1c 	mov  %i4, %o0                                  <== NOT EXECUTED
 201a4f0:	92 10 00 1b 	mov  %i3, %o1                                  <== NOT EXECUTED
 201a4f4:	96 10 00 08 	mov  %o0, %o3                                  <== NOT EXECUTED
 201a4f8:	94 10 00 1c 	mov  %i4, %o2                                  <== NOT EXECUTED
 201a4fc:	11 00 80 bf 	sethi  %hi(0x202fc00), %o0                     <== NOT EXECUTED
 201a500:	40 00 13 32 	call  201f1c8 <printf>                         <== NOT EXECUTED
 201a504:	90 12 23 40 	or  %o0, 0x340, %o0	! 202ff40 <CSWTCH.1+0xb40> <== NOT EXECUTED
                      "block map shrink failed for ino %" PRIu32 ": %d: %s\n",
                      rtems_rfs_inode_ino (dir), rc, strerror (rc));  
          }                                                           
        }                                                             
                                                                      
        rtems_rfs_buffer_mark_dirty (&buffer);                        
 201a508:	82 10 20 01 	mov  1, %g1                                    
        rtems_rfs_buffer_handle_close (fs, &buffer);                  
 201a50c:	90 10 00 1d 	mov  %i5, %o0                                  
                      "block map shrink failed for ino %" PRIu32 ": %d: %s\n",
                      rtems_rfs_inode_ino (dir), rc, strerror (rc));  
          }                                                           
        }                                                             
                                                                      
        rtems_rfs_buffer_mark_dirty (&buffer);                        
 201a510:	c2 2f bf f0 	stb  %g1, [ %fp + -16 ]                        
        rtems_rfs_buffer_handle_close (fs, &buffer);                  
 201a514:	7f ff fd 03 	call  2019920 <rtems_rfs_buffer_handle_close>  
 201a518:	92 07 bf f0 	add  %fp, -16, %o1                             
        rtems_rfs_block_map_close (fs, &map);                         
 201a51c:	90 10 00 1d 	mov  %i5, %o0                                  
 201a520:	7f ff f7 d7 	call  201847c <rtems_rfs_block_map_close>      
 201a524:	92 07 bf a0 	add  %fp, -96, %o1                             
        return 0;                                                     
 201a528:	81 c7 e0 08 	ret                                            
 201a52c:	81 e8 00 00 	restore                                        
      }                                                               
                                                                      
      if (!search)                                                    
 201a530:	02 80 00 20 	be  201a5b0 <rtems_rfs_dir_del_entry+0x3f0>    <== NOT EXECUTED
 201a534:	ac 05 80 17 	add  %l6, %l7, %l6                             <== NOT EXECUTED
        rc = EIO;                                                     
        break;                                                        
      }                                                               
                                                                      
      entry   += elength;                                             
      eoffset += elength;                                             
 201a538:	b8 07 00 17 	add  %i4, %l7, %i4                             <== NOT EXECUTED
    else                                                              
      eoffset = offset % rtems_rfs_fs_block_size (fs);                
                                                                      
    entry = rtems_rfs_buffer_data (&buffer) + eoffset;                
                                                                      
    while (eoffset < (rtems_rfs_fs_block_size (fs) - RTEMS_RFS_DIR_ENTRY_SIZE))
 201a53c:	80 a7 00 02 	cmp  %i4, %g2                                  
 201a540:	2a bf ff 72 	bcs,a   201a308 <rtems_rfs_dir_del_entry+0x148><== ALWAYS TAKEN
 201a544:	c6 0d a0 09 	ldub  [ %l6 + 9 ], %g3                         
                                                                      
      entry   += elength;                                             
      eoffset += elength;                                             
    }                                                                 
                                                                      
    if (rc == 0)                                                      
 201a548:	80 a5 60 00 	cmp  %l5, 0                                    <== NOT EXECUTED
 201a54c:	32 80 00 0c 	bne,a   201a57c <rtems_rfs_dir_del_entry+0x3bc><== NOT EXECUTED
 201a550:	b0 10 00 15 	mov  %l5, %i0                                  <== NOT EXECUTED
    {                                                                 
      rc = rtems_rfs_block_map_next_block (fs, &map, &block);         
 201a554:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
 201a558:	92 10 00 13 	mov  %l3, %o1                                  <== NOT EXECUTED
 201a55c:	7f ff f8 b6 	call  2018834 <rtems_rfs_block_map_next_block> <== NOT EXECUTED
 201a560:	94 10 00 12 	mov  %l2, %o2                                  <== NOT EXECUTED
      if (rc == ENXIO)                                                
 201a564:	80 a2 20 06 	cmp  %o0, 6                                    <== NOT EXECUTED
 201a568:	12 80 00 05 	bne  201a57c <rtems_rfs_dir_del_entry+0x3bc>   <== NOT EXECUTED
 201a56c:	b0 10 00 08 	mov  %o0, %i0                                  <== NOT EXECUTED
        rc = ENOENT;                                                  
 201a570:	10 80 00 06 	b  201a588 <rtems_rfs_dir_del_entry+0x3c8>     <== NOT EXECUTED
 201a574:	b0 10 20 02 	mov  2, %i0                                    <== NOT EXECUTED
      rc = ENOENT;                                                    
    rtems_rfs_block_map_close (fs, &map);                             
    return rc;                                                        
  }                                                                   
                                                                      
  rc = rtems_rfs_buffer_handle_open (fs, &buffer);                    
 201a578:	b0 10 00 15 	mov  %l5, %i0                                  <== NOT EXECUTED
  /*                                                                  
   * Only search if the offset is 0 else we are at that position.     
   */                                                                 
  search = offset ? false : true;                                     
                                                                      
  while (rc == 0)                                                     
 201a57c:	80 a6 20 00 	cmp  %i0, 0                                    
 201a580:	02 bf ff 3e 	be  201a278 <rtems_rfs_dir_del_entry+0xb8>     <== ALWAYS TAKEN
 201a584:	d4 07 bf fc 	ld  [ %fp + -4 ], %o2                          
 201a588:	aa 10 00 18 	mov  %i0, %l5                                  <== NOT EXECUTED
      if (rc == ENXIO)                                                
        rc = ENOENT;                                                  
    }                                                                 
  }                                                                   
                                                                      
  rtems_rfs_buffer_handle_close (fs, &buffer);                        
 201a58c:	92 07 bf f0 	add  %fp, -16, %o1                             <== NOT EXECUTED
 201a590:	7f ff fc e4 	call  2019920 <rtems_rfs_buffer_handle_close>  <== NOT EXECUTED
 201a594:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
  rtems_rfs_block_map_close (fs, &map);                               
 201a598:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
 201a59c:	92 07 bf a0 	add  %fp, -96, %o1                             <== NOT EXECUTED
 201a5a0:	7f ff f7 b7 	call  201847c <rtems_rfs_block_map_close>      <== NOT EXECUTED
 201a5a4:	b0 10 00 15 	mov  %l5, %i0                                  <== NOT EXECUTED
  return rc;                                                          
}                                                                     
 201a5a8:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 201a5ac:	81 e8 00 00 	restore                                        <== NOT EXECUTED
      rc = ENOENT;                                                    
    rtems_rfs_block_map_close (fs, &map);                             
    return rc;                                                        
  }                                                                   
                                                                      
  rc = rtems_rfs_buffer_handle_open (fs, &buffer);                    
 201a5b0:	10 bf ff f2 	b  201a578 <rtems_rfs_dir_del_entry+0x3b8>     <== NOT EXECUTED
 201a5b4:	aa 10 20 05 	mov  5, %l5                                    <== NOT EXECUTED
                                                                      

0201a940 <rtems_rfs_dir_empty>: int rtems_rfs_dir_empty (rtems_rfs_file_system* fs, rtems_rfs_inode_handle* dir) {
 201a940:	9d e3 bf 40 	save  %sp, -192, %sp                           <== NOT EXECUTED
  rtems_rfs_buffer_handle buffer;                                     
  rtems_rfs_block_no      block;                                      
  bool                    empty;                                      
  int                     rc;                                         
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_DIR_READ))                     
 201a944:	90 10 20 00 	clr  %o0                                       <== NOT EXECUTED
 201a948:	13 20 00 00 	sethi  %hi(0x80000000), %o1                    <== NOT EXECUTED
 201a94c:	7f ff da 3b 	call  2011238 <rtems_rfs_trace>                <== NOT EXECUTED
 201a950:	ba 10 00 18 	mov  %i0, %i5                                  <== NOT EXECUTED
 201a954:	80 8a 20 ff 	btst  0xff, %o0                                <== NOT EXECUTED
 201a958:	02 80 00 07 	be  201a974 <rtems_rfs_dir_empty+0x34>         <== NOT EXECUTED
 201a95c:	b8 07 bf a0 	add  %fp, -96, %i4                             <== NOT EXECUTED
    printf ("rtems-rfs: dir-empty: dir=%" PRId32 "\n", rtems_rfs_inode_ino (dir));
 201a960:	d2 06 60 08 	ld  [ %i1 + 8 ], %o1                           <== NOT EXECUTED
 201a964:	11 00 80 c0 	sethi  %hi(0x2030000), %o0                     <== NOT EXECUTED
 201a968:	40 00 12 18 	call  201f1c8 <printf>                         <== NOT EXECUTED
 201a96c:	90 12 20 70 	or  %o0, 0x70, %o0	! 2030070 <CSWTCH.1+0xc70>  <== NOT EXECUTED
                                                                      
  empty = true;                                                       
                                                                      
  rc = rtems_rfs_block_map_open (fs, dir, &map);                      
 201a970:	b8 07 bf a0 	add  %fp, -96, %i4                             <== NOT EXECUTED
 201a974:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
 201a978:	92 10 00 19 	mov  %i1, %o1                                  <== NOT EXECUTED
 201a97c:	7f ff f6 5e 	call  20182f4 <rtems_rfs_block_map_open>       <== NOT EXECUTED
 201a980:	94 10 00 1c 	mov  %i4, %o2                                  <== NOT EXECUTED
  if (rc > 0)                                                         
 201a984:	b0 92 20 00 	orcc  %o0, 0, %i0                              <== NOT EXECUTED
 201a988:	14 80 00 0e 	bg  201a9c0 <rtems_rfs_dir_empty+0x80>         <== NOT EXECUTED
 201a98c:	b6 07 bf fc 	add  %fp, -4, %i3                              <== NOT EXECUTED
    return rc;                                                        
                                                                      
  rc = rtems_rfs_block_map_seek (fs, &map, 0, &block);                
 201a990:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
 201a994:	92 10 00 1c 	mov  %i4, %o1                                  <== NOT EXECUTED
 201a998:	94 10 20 00 	clr  %o2                                       <== NOT EXECUTED
 201a99c:	96 10 20 00 	clr  %o3                                       <== NOT EXECUTED
 201a9a0:	7f ff f7 88 	call  20187c0 <rtems_rfs_block_map_seek>       <== NOT EXECUTED
 201a9a4:	98 10 00 1b 	mov  %i3, %o4                                  <== NOT EXECUTED
  if (rc > 0)                                                         
 201a9a8:	b0 92 20 00 	orcc  %o0, 0, %i0                              <== NOT EXECUTED
 201a9ac:	04 80 00 07 	ble  201a9c8 <rtems_rfs_dir_empty+0x88>        <== NOT EXECUTED
 201a9b0:	21 00 00 3f 	sethi  %hi(0xfc00), %l0                        <== NOT EXECUTED
  {                                                                   
    rtems_rfs_block_map_close (fs, &map);                             
 201a9b4:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
 201a9b8:	7f ff f6 b1 	call  201847c <rtems_rfs_block_map_close>      <== NOT EXECUTED
 201a9bc:	92 10 00 1c 	mov  %i4, %o1                                  <== NOT EXECUTED
    return rc;                                                        
 201a9c0:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 201a9c4:	81 e8 00 00 	restore                                        <== NOT EXECUTED
        break;                                                        
                                                                      
      if (rtems_rfs_dir_entry_valid (fs, elength, eino))              
      {                                                               
        if (rtems_rfs_trace (RTEMS_RFS_TRACE_DIR_EMPTY))              
          printf ("rtems-rfs: dir-empty: "                            
 201a9c8:	35 00 80 c0 	sethi  %hi(0x2030000), %i2                     <== NOT EXECUTED
 */                                                                   
static inline int                                                     
rtems_rfs_buffer_handle_open (rtems_rfs_file_system*   fs,            
                              rtems_rfs_buffer_handle* handle)        
{                                                                     
  handle->dirty = false;                                              
 201a9cc:	c0 2f bf f0 	clrb  [ %fp + -16 ]                            <== NOT EXECUTED
  handle->bnum  = 0;                                                  
 201a9d0:	c0 27 bf f4 	clr  [ %fp + -12 ]                             <== NOT EXECUTED
  handle->buffer = NULL;                                              
 201a9d4:	c0 27 bf f8 	clr  [ %fp + -8 ]                              <== NOT EXECUTED
      int           elength;                                          
                                                                      
      elength = rtems_rfs_dir_entry_length (entry);                   
      eino    = rtems_rfs_dir_entry_ino (entry);                      
                                                                      
      if (elength == RTEMS_RFS_DIR_ENTRY_EMPTY)                       
 201a9d8:	a0 14 23 ff 	or  %l0, 0x3ff, %l0                            <== NOT EXECUTED
        break;                                                        
                                                                      
      if (rtems_rfs_dir_entry_valid (fs, elength, eino))              
      {                                                               
        if (rtems_rfs_trace (RTEMS_RFS_TRACE_DIR_EMPTY))              
          printf ("rtems-rfs: dir-empty: "                            
 201a9dc:	b4 16 a0 90 	or  %i2, 0x90, %i2                             <== NOT EXECUTED
  while (empty)                                                       
  {                                                                   
    uint8_t* entry;                                                   
    int      offset;                                                  
                                                                      
    rc = rtems_rfs_buffer_handle_request (fs, &buffer, block, true);  
 201a9e0:	d4 07 bf fc 	ld  [ %fp + -4 ], %o2                          <== NOT EXECUTED
 201a9e4:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
 201a9e8:	92 07 bf f0 	add  %fp, -16, %o1                             <== NOT EXECUTED
 201a9ec:	7f ff fa 33 	call  20192b8 <rtems_rfs_buffer_handle_request><== NOT EXECUTED
 201a9f0:	96 10 20 01 	mov  1, %o3                                    <== NOT EXECUTED
    if (rc > 0)                                                       
 201a9f4:	b0 92 20 00 	orcc  %o0, 0, %i0                              <== NOT EXECUTED
 201a9f8:	14 80 00 55 	bg  201ab4c <rtems_rfs_dir_empty+0x20c>        <== NOT EXECUTED
 201a9fc:	c2 07 bf f8 	ld  [ %fp + -8 ], %g1                          <== NOT EXECUTED
      break;                                                          
                                                                      
    entry  = rtems_rfs_buffer_data (&buffer);                         
    offset = 0;                                                       
                                                                      
    while (offset < (rtems_rfs_fs_block_size (fs) - RTEMS_RFS_DIR_ENTRY_SIZE))
 201aa00:	c4 07 60 08 	ld  [ %i5 + 8 ], %g2                           <== NOT EXECUTED
                                                                      
    rc = rtems_rfs_buffer_handle_request (fs, &buffer, block, true);  
    if (rc > 0)                                                       
      break;                                                          
                                                                      
    entry  = rtems_rfs_buffer_data (&buffer);                         
 201aa04:	c2 00 60 24 	ld  [ %g1 + 0x24 ], %g1                        <== NOT EXECUTED
    offset = 0;                                                       
                                                                      
    while (offset < (rtems_rfs_fs_block_size (fs) - RTEMS_RFS_DIR_ENTRY_SIZE))
 201aa08:	84 00 bf f6 	add  %g2, -10, %g2                             <== NOT EXECUTED
 201aa0c:	10 80 00 3e 	b  201ab04 <rtems_rfs_dir_empty+0x1c4>         <== NOT EXECUTED
 201aa10:	a2 10 20 00 	clr  %l1                                       <== NOT EXECUTED
    {                                                                 
      rtems_rfs_ino eino;                                             
      int           elength;                                          
                                                                      
      elength = rtems_rfs_dir_entry_length (entry);                   
 201aa14:	e6 08 60 08 	ldub  [ %g1 + 8 ], %l3                         <== NOT EXECUTED
      eino    = rtems_rfs_dir_entry_ino (entry);                      
 201aa18:	e4 08 40 00 	ldub  [ %g1 ], %l2                             <== NOT EXECUTED
    while (offset < (rtems_rfs_fs_block_size (fs) - RTEMS_RFS_DIR_ENTRY_SIZE))
    {                                                                 
      rtems_rfs_ino eino;                                             
      int           elength;                                          
                                                                      
      elength = rtems_rfs_dir_entry_length (entry);                   
 201aa1c:	a7 2c e0 08 	sll  %l3, 8, %l3                               <== NOT EXECUTED
      eino    = rtems_rfs_dir_entry_ino (entry);                      
 201aa20:	de 08 60 01 	ldub  [ %g1 + 1 ], %o7                         <== NOT EXECUTED
    while (offset < (rtems_rfs_fs_block_size (fs) - RTEMS_RFS_DIR_ENTRY_SIZE))
    {                                                                 
      rtems_rfs_ino eino;                                             
      int           elength;                                          
                                                                      
      elength = rtems_rfs_dir_entry_length (entry);                   
 201aa24:	a6 14 c0 03 	or  %l3, %g3, %l3                              <== NOT EXECUTED
      eino    = rtems_rfs_dir_entry_ino (entry);                      
 201aa28:	c8 08 60 03 	ldub  [ %g1 + 3 ], %g4                         <== NOT EXECUTED
                                                                      
      if (elength == RTEMS_RFS_DIR_ENTRY_EMPTY)                       
 201aa2c:	80 a4 c0 10 	cmp  %l3, %l0                                  <== NOT EXECUTED
 201aa30:	02 80 00 38 	be  201ab10 <rtems_rfs_dir_empty+0x1d0>        <== NOT EXECUTED
 201aa34:	c6 08 60 02 	ldub  [ %g1 + 2 ], %g3                         <== NOT EXECUTED
    {                                                                 
      rtems_rfs_ino eino;                                             
      int           elength;                                          
                                                                      
      elength = rtems_rfs_dir_entry_length (entry);                   
      eino    = rtems_rfs_dir_entry_ino (entry);                      
 201aa38:	a5 2c a0 18 	sll  %l2, 0x18, %l2                            <== NOT EXECUTED
 201aa3c:	9e 0b e0 ff 	and  %o7, 0xff, %o7                            <== NOT EXECUTED
 201aa40:	88 09 20 ff 	and  %g4, 0xff, %g4                            <== NOT EXECUTED
 201aa44:	9f 2b e0 10 	sll  %o7, 0x10, %o7                            <== NOT EXECUTED
 201aa48:	86 08 e0 ff 	and  %g3, 0xff, %g3                            <== NOT EXECUTED
 201aa4c:	a4 14 80 0f 	or  %l2, %o7, %l2                              <== NOT EXECUTED
 201aa50:	87 28 e0 08 	sll  %g3, 8, %g3                               <== NOT EXECUTED
 201aa54:	a4 14 80 04 	or  %l2, %g4, %l2                              <== NOT EXECUTED
                                                                      
      if (elength == RTEMS_RFS_DIR_ENTRY_EMPTY)                       
        break;                                                        
                                                                      
      if (rtems_rfs_dir_entry_valid (fs, elength, eino))              
 201aa58:	80 a4 e0 0a 	cmp  %l3, 0xa                                  <== NOT EXECUTED
 201aa5c:	04 80 00 0d 	ble  201aa90 <rtems_rfs_dir_empty+0x150>       <== NOT EXECUTED
 201aa60:	a4 14 80 03 	or  %l2, %g3, %l2                              <== NOT EXECUTED
 201aa64:	80 a4 a0 00 	cmp  %l2, 0                                    <== NOT EXECUTED
 201aa68:	02 80 00 0b 	be  201aa94 <rtems_rfs_dir_empty+0x154>        <== NOT EXECUTED
 201aa6c:	90 10 20 01 	mov  1, %o0                                    <== NOT EXECUTED
 201aa70:	c6 07 60 18 	ld  [ %i5 + 0x18 ], %g3                        <== NOT EXECUTED
 201aa74:	80 a4 c0 03 	cmp  %l3, %g3                                  <== NOT EXECUTED
 201aa78:	1a 80 00 07 	bcc  201aa94 <rtems_rfs_dir_empty+0x154>       <== NOT EXECUTED
 201aa7c:	01 00 00 00 	nop                                            <== NOT EXECUTED
 201aa80:	c6 07 60 10 	ld  [ %i5 + 0x10 ], %g3                        <== NOT EXECUTED
 201aa84:	80 a4 80 03 	cmp  %l2, %g3                                  <== NOT EXECUTED
 201aa88:	08 80 00 10 	bleu  201aac8 <rtems_rfs_dir_empty+0x188>      <== NOT EXECUTED
 201aa8c:	80 a4 e0 0b 	cmp  %l3, 0xb                                  <== NOT EXECUTED
      {                                                               
        if (rtems_rfs_trace (RTEMS_RFS_TRACE_DIR_EMPTY))              
 201aa90:	90 10 20 01 	mov  1, %o0                                    <== NOT EXECUTED
 201aa94:	7f ff d9 e9 	call  2011238 <rtems_rfs_trace>                <== NOT EXECUTED
 201aa98:	92 10 20 00 	clr  %o1                                       <== NOT EXECUTED
 201aa9c:	80 8a 20 ff 	btst  0xff, %o0                                <== NOT EXECUTED
 201aaa0:	22 80 00 1d 	be,a   201ab14 <rtems_rfs_dir_empty+0x1d4>     <== NOT EXECUTED
 201aaa4:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
          printf ("rtems-rfs: dir-empty: "                            
 201aaa8:	d2 06 60 08 	ld  [ %i1 + 8 ], %o1                           <== NOT EXECUTED
 201aaac:	90 10 00 1a 	mov  %i2, %o0                                  <== NOT EXECUTED
 201aab0:	94 10 00 13 	mov  %l3, %o2                                  <== NOT EXECUTED
 201aab4:	96 10 00 12 	mov  %l2, %o3                                  <== NOT EXECUTED
 201aab8:	40 00 11 c4 	call  201f1c8 <printf>                         <== NOT EXECUTED
 201aabc:	98 10 00 11 	mov  %l1, %o4                                  <== NOT EXECUTED
      offset += elength;                                              
    }                                                                 
                                                                      
    if (empty)                                                        
    {                                                                 
      rc = rtems_rfs_block_map_next_block (fs, &map, &block);         
 201aac0:	10 80 00 15 	b  201ab14 <rtems_rfs_dir_empty+0x1d4>         <== NOT EXECUTED
 201aac4:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
                                                                      
      /*                                                              
       * Ignore the current (.) and parent (..) entries. Anything else means
       * the directory is not empty.                                  
       */                                                             
      if (((elength != (RTEMS_RFS_DIR_ENTRY_SIZE + 1)) ||             
 201aac8:	12 80 00 04 	bne  201aad8 <rtems_rfs_dir_empty+0x198>       <== NOT EXECUTED
 201aacc:	80 a4 e0 0c 	cmp  %l3, 0xc                                  <== NOT EXECUTED
 201aad0:	10 80 00 09 	b  201aaf4 <rtems_rfs_dir_empty+0x1b4>         <== NOT EXECUTED
 201aad4:	c6 08 60 0a 	ldub  [ %g1 + 0xa ], %g3                       <== NOT EXECUTED
           (entry[RTEMS_RFS_DIR_ENTRY_SIZE] != '.')) &&               
 201aad8:	12 80 00 1b 	bne  201ab44 <rtems_rfs_dir_empty+0x204>       <== NOT EXECUTED
 201aadc:	80 a6 20 00 	cmp  %i0, 0                                    <== NOT EXECUTED
          ((elength != (RTEMS_RFS_DIR_ENTRY_SIZE + 2)) ||             
 201aae0:	c6 08 60 0a 	ldub  [ %g1 + 0xa ], %g3                       <== NOT EXECUTED
 201aae4:	80 a0 e0 2e 	cmp  %g3, 0x2e                                 <== NOT EXECUTED
 201aae8:	12 80 00 17 	bne  201ab44 <rtems_rfs_dir_empty+0x204>       <== NOT EXECUTED
 201aaec:	80 a6 20 00 	cmp  %i0, 0                                    <== NOT EXECUTED
           (entry[RTEMS_RFS_DIR_ENTRY_SIZE] != '.') ||                
 201aaf0:	c6 08 60 0b 	ldub  [ %g1 + 0xb ], %g3                       <== NOT EXECUTED
 201aaf4:	80 a0 e0 2e 	cmp  %g3, 0x2e                                 <== NOT EXECUTED
 201aaf8:	12 80 00 12 	bne  201ab40 <rtems_rfs_dir_empty+0x200>       <== NOT EXECUTED
 201aafc:	82 00 40 13 	add  %g1, %l3, %g1                             <== NOT EXECUTED
        empty = false;                                                
        break;                                                        
      }                                                               
                                                                      
      entry  += elength;                                              
      offset += elength;                                              
 201ab00:	a2 04 40 13 	add  %l1, %l3, %l1                             <== NOT EXECUTED
      break;                                                          
                                                                      
    entry  = rtems_rfs_buffer_data (&buffer);                         
    offset = 0;                                                       
                                                                      
    while (offset < (rtems_rfs_fs_block_size (fs) - RTEMS_RFS_DIR_ENTRY_SIZE))
 201ab04:	80 a4 40 02 	cmp  %l1, %g2                                  <== NOT EXECUTED
 201ab08:	2a bf ff c3 	bcs,a   201aa14 <rtems_rfs_dir_empty+0xd4>     <== NOT EXECUTED
 201ab0c:	c6 08 60 09 	ldub  [ %g1 + 9 ], %g3                         <== NOT EXECUTED
      offset += elength;                                              
    }                                                                 
                                                                      
    if (empty)                                                        
    {                                                                 
      rc = rtems_rfs_block_map_next_block (fs, &map, &block);         
 201ab10:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
 201ab14:	92 10 00 1c 	mov  %i4, %o1                                  <== NOT EXECUTED
 201ab18:	7f ff f7 47 	call  2018834 <rtems_rfs_block_map_next_block> <== NOT EXECUTED
 201ab1c:	94 10 00 1b 	mov  %i3, %o2                                  <== NOT EXECUTED
      if (rc > 0)                                                     
 201ab20:	b0 92 20 00 	orcc  %o0, 0, %i0                              <== NOT EXECUTED
 201ab24:	04 bf ff b0 	ble  201a9e4 <rtems_rfs_dir_empty+0xa4>        <== NOT EXECUTED
 201ab28:	d4 07 bf fc 	ld  [ %fp + -4 ], %o2                          <== NOT EXECUTED
      {                                                               
        if (rc == ENXIO)                                              
 201ab2c:	82 1e 20 06 	xor  %i0, 6, %g1                               <== NOT EXECUTED
 201ab30:	80 a0 00 01 	cmp  %g0, %g1                                  <== NOT EXECUTED
 201ab34:	82 60 20 00 	subx  %g0, 0, %g1                              <== NOT EXECUTED
 201ab38:	10 80 00 05 	b  201ab4c <rtems_rfs_dir_empty+0x20c>         <== NOT EXECUTED
 201ab3c:	b0 0e 00 01 	and  %i0, %g1, %i0                             <== NOT EXECUTED
        break;                                                        
      }                                                               
    }                                                                 
  }                                                                   
                                                                      
  if ((rc == 0) && !empty)                                            
 201ab40:	80 a6 20 00 	cmp  %i0, 0                                    <== NOT EXECUTED
 201ab44:	22 80 00 02 	be,a   201ab4c <rtems_rfs_dir_empty+0x20c>     <== NOT EXECUTED
 201ab48:	b0 10 20 5a 	mov  0x5a, %i0                                 <== NOT EXECUTED
    rc = ENOTEMPTY;                                                   
                                                                      
  rtems_rfs_buffer_handle_close (fs, &buffer);                        
 201ab4c:	92 07 bf f0 	add  %fp, -16, %o1                             <== NOT EXECUTED
 201ab50:	7f ff fb 74 	call  2019920 <rtems_rfs_buffer_handle_close>  <== NOT EXECUTED
 201ab54:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
  rtems_rfs_block_map_close (fs, &map);                               
 201ab58:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
 201ab5c:	7f ff f6 48 	call  201847c <rtems_rfs_block_map_close>      <== NOT EXECUTED
 201ab60:	92 07 bf a0 	add  %fp, -96, %o1                             <== NOT EXECUTED
  return rc;                                                          
}                                                                     
 201ab64:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 201ab68:	81 e8 00 00 	restore                                        <== NOT EXECUTED
                                                                      

02019948 <rtems_rfs_dir_lookup_ino>: rtems_rfs_inode_handle* inode, const char* name, int length, rtems_rfs_ino* ino, uint32_t* offset) {
 2019948:	9d e3 bf 40 	save  %sp, -192, %sp                           
  rtems_rfs_block_map     map;                                        
  rtems_rfs_buffer_handle entries;                                    
  int                     rc;                                         
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_DIR_LOOKUP_INO))               
 201994c:	90 10 20 00 	clr  %o0                                       
 2019950:	7f ff de 3a 	call  2011238 <rtems_rfs_trace>                
 2019954:	13 01 00 00 	sethi  %hi(0x4000000), %o1                     
 2019958:	80 8a 20 ff 	btst  0xff, %o0                                
 201995c:	22 80 00 13 	be,a   20199a8 <rtems_rfs_dir_lookup_ino+0x60> <== ALWAYS TAKEN
 2019960:	c0 27 00 00 	clr  [ %i4 ]                                   
  {                                                                   
    int c;                                                            
    printf ("rtems-rfs: dir-lookup-ino: lookup ino: root=%" PRId32 ", path=",
 2019964:	d2 06 60 08 	ld  [ %i1 + 8 ], %o1                           <== NOT EXECUTED
 2019968:	11 00 80 be 	sethi  %hi(0x202f800), %o0                     <== NOT EXECUTED
            inode->ino);                                              
    for (c = 0; c < length; c++)                                      
 201996c:	a0 10 20 00 	clr  %l0                                       <== NOT EXECUTED
  int                     rc;                                         
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_DIR_LOOKUP_INO))               
  {                                                                   
    int c;                                                            
    printf ("rtems-rfs: dir-lookup-ino: lookup ino: root=%" PRId32 ", path=",
 2019970:	40 00 16 16 	call  201f1c8 <printf>                         <== NOT EXECUTED
 2019974:	90 12 21 d8 	or  %o0, 0x1d8, %o0                            <== NOT EXECUTED
            inode->ino);                                              
    for (c = 0; c < length; c++)                                      
 2019978:	10 80 00 05 	b  201998c <rtems_rfs_dir_lookup_ino+0x44>     <== NOT EXECUTED
 201997c:	80 a4 00 1b 	cmp  %l0, %i3                                  <== NOT EXECUTED
      printf ("%c", name[c]);                                         
 2019980:	40 00 16 25 	call  201f214 <putchar>                        <== NOT EXECUTED
 2019984:	a0 04 20 01 	inc  %l0                                       <== NOT EXECUTED
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_DIR_LOOKUP_INO))               
  {                                                                   
    int c;                                                            
    printf ("rtems-rfs: dir-lookup-ino: lookup ino: root=%" PRId32 ", path=",
            inode->ino);                                              
    for (c = 0; c < length; c++)                                      
 2019988:	80 a4 00 1b 	cmp  %l0, %i3                                  <== NOT EXECUTED
 201998c:	26 bf ff fd 	bl,a   2019980 <rtems_rfs_dir_lookup_ino+0x38> <== NOT EXECUTED
 2019990:	d0 4e 80 10 	ldsb  [ %i2 + %l0 ], %o0                       <== NOT EXECUTED
      printf ("%c", name[c]);                                         
    printf (", len=%d\n", length);                                    
 2019994:	11 00 80 be 	sethi  %hi(0x202f800), %o0                     <== NOT EXECUTED
 2019998:	92 10 00 1b 	mov  %i3, %o1                                  <== NOT EXECUTED
 201999c:	40 00 16 0b 	call  201f1c8 <printf>                         <== NOT EXECUTED
 20199a0:	90 12 22 10 	or  %o0, 0x210, %o0                            <== NOT EXECUTED
  }                                                                   
                                                                      
  *ino = RTEMS_RFS_EMPTY_INO;                                         
 20199a4:	c0 27 00 00 	clr  [ %i4 ]                                   <== NOT EXECUTED
  *offset = 0;                                                        
 20199a8:	c0 27 40 00 	clr  [ %i5 ]                                   
                                                                      
  rc = rtems_rfs_block_map_open (fs, inode, &map);                    
 20199ac:	90 10 00 18 	mov  %i0, %o0                                  
 20199b0:	92 10 00 19 	mov  %i1, %o1                                  
 20199b4:	7f ff fa 50 	call  20182f4 <rtems_rfs_block_map_open>       
 20199b8:	94 07 bf a0 	add  %fp, -96, %o2                             
  if (rc > 0)                                                         
 20199bc:	a0 92 20 00 	orcc  %o0, 0, %l0                              
 20199c0:	04 80 00 12 	ble  2019a08 <rtems_rfs_dir_lookup_ino+0xc0>   <== ALWAYS TAKEN
 20199c4:	90 10 20 00 	clr  %o0                                       
  {                                                                   
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_DIR_LOOKUP_INO))             
 20199c8:	7f ff de 1c 	call  2011238 <rtems_rfs_trace>                <== NOT EXECUTED
 20199cc:	13 01 00 00 	sethi  %hi(0x4000000), %o1                     <== NOT EXECUTED
 20199d0:	80 8a 20 ff 	btst  0xff, %o0                                <== NOT EXECUTED
 20199d4:	22 80 01 0c 	be,a   2019e04 <rtems_rfs_dir_lookup_ino+0x4bc><== NOT EXECUTED
 20199d8:	b0 10 00 10 	mov  %l0, %i0                                  <== NOT EXECUTED
      printf ("rtems-rfs: dir-lookup-ino: map open failed for ino %" PRIu32 ": %d: %s",
 20199dc:	fa 06 60 08 	ld  [ %i1 + 8 ], %i5                           <== NOT EXECUTED
 20199e0:	40 00 19 2d 	call  201fe94 <strerror>                       <== NOT EXECUTED
 20199e4:	90 10 00 10 	mov  %l0, %o0                                  <== NOT EXECUTED
 20199e8:	92 10 00 1d 	mov  %i5, %o1                                  <== NOT EXECUTED
 20199ec:	96 10 00 08 	mov  %o0, %o3                                  <== NOT EXECUTED
 20199f0:	94 10 00 10 	mov  %l0, %o2                                  <== NOT EXECUTED
 20199f4:	11 00 80 be 	sethi  %hi(0x202f800), %o0                     <== NOT EXECUTED
 20199f8:	40 00 15 f4 	call  201f1c8 <printf>                         <== NOT EXECUTED
 20199fc:	90 12 22 20 	or  %o0, 0x220, %o0	! 202fa20 <CSWTCH.1+0x620> <== NOT EXECUTED
  }                                                                   
                                                                      
  rtems_rfs_buffer_handle_close (fs, &entries);                       
  rtems_rfs_block_map_close (fs, &map);                               
  return rc;                                                          
}                                                                     
 2019a00:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2019a04:	91 e8 00 10 	restore  %g0, %l0, %o0                         <== NOT EXECUTED
    uint32_t           hash;                                          
                                                                      
    /*                                                                
     * Calculate the hash of the look up string.                      
     */                                                               
    hash = rtems_rfs_dir_hash (name, length);                         
 2019a08:	92 10 00 1b 	mov  %i3, %o1                                  
 */                                                                   
static inline int                                                     
rtems_rfs_buffer_handle_open (rtems_rfs_file_system*   fs,            
                              rtems_rfs_buffer_handle* handle)        
{                                                                     
  handle->dirty = false;                                              
 2019a0c:	c0 2f bf f0 	clrb  [ %fp + -16 ]                            
  handle->bnum  = 0;                                                  
 2019a10:	c0 27 bf f4 	clr  [ %fp + -12 ]                             
  handle->buffer = NULL;                                              
 2019a14:	c0 27 bf f8 	clr  [ %fp + -8 ]                              
 2019a18:	40 00 11 d0 	call  201e158 <rtems_rfs_dir_hash>             
 2019a1c:	90 10 00 1a 	mov  %i2, %o0                                  
                                                                      
    /*                                                                
     * Locate the first block. The map points to the start after open so just
     * seek 0. If an error the block will be 0.                       
     */                                                               
    rc = rtems_rfs_block_map_seek (fs, &map, 0, &block);              
 2019a20:	92 07 bf a0 	add  %fp, -96, %o1                             
    uint32_t           hash;                                          
                                                                      
    /*                                                                
     * Calculate the hash of the look up string.                      
     */                                                               
    hash = rtems_rfs_dir_hash (name, length);                         
 2019a24:	a8 10 00 08 	mov  %o0, %l4                                  
                                                                      
    /*                                                                
     * Locate the first block. The map points to the start after open so just
     * seek 0. If an error the block will be 0.                       
     */                                                               
    rc = rtems_rfs_block_map_seek (fs, &map, 0, &block);              
 2019a28:	94 10 20 00 	clr  %o2                                       
 2019a2c:	90 10 00 18 	mov  %i0, %o0                                  
 2019a30:	96 10 20 00 	clr  %o3                                       
 2019a34:	7f ff fb 63 	call  20187c0 <rtems_rfs_block_map_seek>       
 2019a38:	98 07 bf fc 	add  %fp, -4, %o4                              
    if (rc > 0)                                                       
 2019a3c:	a0 92 20 00 	orcc  %o0, 0, %l0                              
 2019a40:	04 80 00 d1 	ble  2019d84 <rtems_rfs_dir_lookup_ino+0x43c>  
 2019a44:	90 10 20 00 	clr  %o0                                       
    {                                                                 
      if (rtems_rfs_trace (RTEMS_RFS_TRACE_DIR_LOOKUP_INO))           
 2019a48:	7f ff dd fc 	call  2011238 <rtems_rfs_trace>                
 2019a4c:	13 01 00 00 	sethi  %hi(0x4000000), %o1                     
 2019a50:	80 8a 20 ff 	btst  0xff, %o0                                
 2019a54:	02 80 00 0a 	be  2019a7c <rtems_rfs_dir_lookup_ino+0x134>   <== ALWAYS TAKEN
 2019a58:	80 a4 20 06 	cmp  %l0, 6                                    
        printf ("rtems-rfs: dir-lookup-ino: block map find failed: %d: %s\n",
 2019a5c:	40 00 19 0e 	call  201fe94 <strerror>                       <== NOT EXECUTED
 2019a60:	90 10 00 10 	mov  %l0, %o0                                  <== NOT EXECUTED
 2019a64:	92 10 00 10 	mov  %l0, %o1                                  <== NOT EXECUTED
 2019a68:	94 10 00 08 	mov  %o0, %o2                                  <== NOT EXECUTED
 2019a6c:	11 00 80 be 	sethi  %hi(0x202f800), %o0                     <== NOT EXECUTED
 2019a70:	40 00 15 d6 	call  201f1c8 <printf>                         <== NOT EXECUTED
 2019a74:	90 12 22 60 	or  %o0, 0x260, %o0	! 202fa60 <CSWTCH.1+0x660> <== NOT EXECUTED
                rc, strerror (rc));                                   
      if (rc == ENXIO)                                                
 2019a78:	80 a4 20 06 	cmp  %l0, 6                                    <== NOT EXECUTED
 2019a7c:	22 80 00 db 	be,a   2019de8 <rtems_rfs_dir_lookup_ino+0x4a0><== ALWAYS TAKEN
 2019a80:	a0 10 20 02 	mov  2, %l0                                    
        printf ("rtems-rfs: dir-lookup-ino: block is 0 in ino %" PRIu32 ": %d: %s\n",
                rtems_rfs_inode_ino (inode), rc, strerror (rc));      
    }                                                                 
  }                                                                   
                                                                      
  rtems_rfs_buffer_handle_close (fs, &entries);                       
 2019a84:	10 80 00 da 	b  2019dec <rtems_rfs_dir_lookup_ino+0x4a4>    <== NOT EXECUTED
 2019a88:	92 07 bf f0 	add  %fp, -16, %o1                             <== NOT EXECUTED
                                                                      
    while ((rc == 0) && block)                                        
    {                                                                 
      uint8_t* entry;                                                 
                                                                      
      if (rtems_rfs_trace (RTEMS_RFS_TRACE_DIR_LOOKUP_INO))           
 2019a8c:	7f ff dd eb 	call  2011238 <rtems_rfs_trace>                
 2019a90:	13 01 00 00 	sethi  %hi(0x4000000), %o1                     
 2019a94:	80 8a 20 ff 	btst  0xff, %o0                                
 2019a98:	02 80 00 07 	be  2019ab4 <rtems_rfs_dir_lookup_ino+0x16c>   <== ALWAYS TAKEN
 2019a9c:	d4 07 bf fc 	ld  [ %fp + -4 ], %o2                          
        printf ("rtems-rfs: dir-lookup-ino: block read, ino=%" PRIu32 " bno=%" PRId32 "\n",
 2019aa0:	d2 06 60 08 	ld  [ %i1 + 8 ], %o1                           <== NOT EXECUTED
 2019aa4:	d4 07 bf b0 	ld  [ %fp + -80 ], %o2                         <== NOT EXECUTED
 2019aa8:	40 00 15 c8 	call  201f1c8 <printf>                         <== NOT EXECUTED
 2019aac:	90 10 00 15 	mov  %l5, %o0                                  <== NOT EXECUTED
                rtems_rfs_inode_ino (inode), map.bpos.bno);           
                                                                      
      rc = rtems_rfs_buffer_handle_request (fs, &entries, block, true);
 2019ab0:	d4 07 bf fc 	ld  [ %fp + -4 ], %o2                          <== NOT EXECUTED
 2019ab4:	90 10 00 18 	mov  %i0, %o0                                  
 2019ab8:	92 07 bf f0 	add  %fp, -16, %o1                             
 2019abc:	7f ff fd ff 	call  20192b8 <rtems_rfs_buffer_handle_request>
 2019ac0:	96 10 20 01 	mov  1, %o3                                    
      if (rc > 0)                                                     
 2019ac4:	a4 92 20 00 	orcc  %o0, 0, %l2                              
 2019ac8:	04 80 00 15 	ble  2019b1c <rtems_rfs_dir_lookup_ino+0x1d4>  <== ALWAYS TAKEN
 2019acc:	c2 07 bf f8 	ld  [ %fp + -8 ], %g1                          
      {                                                               
        if (rtems_rfs_trace (RTEMS_RFS_TRACE_DIR_LOOKUP_INO))         
 2019ad0:	90 10 20 00 	clr  %o0                                       <== NOT EXECUTED
 2019ad4:	7f ff dd d9 	call  2011238 <rtems_rfs_trace>                <== NOT EXECUTED
 2019ad8:	13 01 00 00 	sethi  %hi(0x4000000), %o1                     <== NOT EXECUTED
 2019adc:	80 8a 20 ff 	btst  0xff, %o0                                <== NOT EXECUTED
 2019ae0:	22 80 00 c2 	be,a   2019de8 <rtems_rfs_dir_lookup_ino+0x4a0><== NOT EXECUTED
 2019ae4:	a0 10 00 12 	mov  %l2, %l0                                  <== NOT EXECUTED
          printf ("rtems-rfs: dir-lookup-ino: block read, ino=%" PRIu32 " block=%" PRId32 ": %d: %s\n",
 2019ae8:	f8 06 60 08 	ld  [ %i1 + 8 ], %i4                           <== NOT EXECUTED
 2019aec:	fa 07 bf fc 	ld  [ %fp + -4 ], %i5                          <== NOT EXECUTED
 2019af0:	40 00 18 e9 	call  201fe94 <strerror>                       <== NOT EXECUTED
 2019af4:	90 10 00 12 	mov  %l2, %o0                                  <== NOT EXECUTED
 2019af8:	92 10 00 1c 	mov  %i4, %o1                                  <== NOT EXECUTED
 2019afc:	98 10 00 08 	mov  %o0, %o4                                  <== NOT EXECUTED
 2019b00:	94 10 00 1d 	mov  %i5, %o2                                  <== NOT EXECUTED
 2019b04:	11 00 80 be 	sethi  %hi(0x202f800), %o0                     <== NOT EXECUTED
 2019b08:	96 10 00 12 	mov  %l2, %o3                                  <== NOT EXECUTED
 2019b0c:	40 00 15 af 	call  201f1c8 <printf>                         <== NOT EXECUTED
 2019b10:	90 12 22 d8 	or  %o0, 0x2d8, %o0                            <== NOT EXECUTED
      rtems_rfs_buffer_handle_close (fs, &entries);                   
      rtems_rfs_block_map_close (fs, &map);                           
      return rc;                                                      
    }                                                                 
                                                                      
    while ((rc == 0) && block)                                        
 2019b14:	10 80 00 b5 	b  2019de8 <rtems_rfs_dir_lookup_ino+0x4a0>    <== NOT EXECUTED
 2019b18:	a0 10 00 12 	mov  %l2, %l0                                  <== NOT EXECUTED
       * means the entry is empty.                                    
       */                                                             
                                                                      
      entry = rtems_rfs_buffer_data (&entries);                       
                                                                      
      map.bpos.boff = 0;                                              
 2019b1c:	c0 27 bf b4 	clr  [ %fp + -76 ]                             
                                                                      
      while (map.bpos.boff < (rtems_rfs_fs_block_size (fs) - RTEMS_RFS_DIR_ENTRY_SIZE))
 2019b20:	10 80 00 6e 	b  2019cd8 <rtems_rfs_dir_lookup_ino+0x390>    
 2019b24:	e2 00 60 24 	ld  [ %g1 + 0x24 ], %l1                        
      {                                                               
        uint32_t ehash;                                               
        int      elength;                                             
                                                                      
        ehash  = rtems_rfs_dir_entry_hash (entry);                    
        elength = rtems_rfs_dir_entry_length (entry);                 
 2019b28:	e6 0c 60 08 	ldub  [ %l1 + 8 ], %l3                         
        *ino = rtems_rfs_dir_entry_ino (entry);                       
 2019b2c:	da 0c 40 00 	ldub  [ %l1 ], %o5                             
      {                                                               
        uint32_t ehash;                                               
        int      elength;                                             
                                                                      
        ehash  = rtems_rfs_dir_entry_hash (entry);                    
        elength = rtems_rfs_dir_entry_length (entry);                 
 2019b30:	a7 2c e0 08 	sll  %l3, 8, %l3                               
 2019b34:	a6 14 c0 01 	or  %l3, %g1, %l3                              
        *ino = rtems_rfs_dir_entry_ino (entry);                       
 2019b38:	c2 0c 60 01 	ldub  [ %l1 + 1 ], %g1                         
 2019b3c:	9b 2b 60 18 	sll  %o5, 0x18, %o5                            
 2019b40:	83 28 60 10 	sll  %g1, 0x10, %g1                            
 2019b44:	82 13 40 01 	or  %o5, %g1, %g1                              
 2019b48:	da 0c 60 03 	ldub  [ %l1 + 3 ], %o5                         
      while (map.bpos.boff < (rtems_rfs_fs_block_size (fs) - RTEMS_RFS_DIR_ENTRY_SIZE))
      {                                                               
        uint32_t ehash;                                               
        int      elength;                                             
                                                                      
        ehash  = rtems_rfs_dir_entry_hash (entry);                    
 2019b4c:	c8 0c 60 04 	ldub  [ %l1 + 4 ], %g4                         
        elength = rtems_rfs_dir_entry_length (entry);                 
        *ino = rtems_rfs_dir_entry_ino (entry);                       
 2019b50:	82 10 40 0d 	or  %g1, %o5, %g1                              
 2019b54:	da 0c 60 02 	ldub  [ %l1 + 2 ], %o5                         
      while (map.bpos.boff < (rtems_rfs_fs_block_size (fs) - RTEMS_RFS_DIR_ENTRY_SIZE))
      {                                                               
        uint32_t ehash;                                               
        int      elength;                                             
                                                                      
        ehash  = rtems_rfs_dir_entry_hash (entry);                    
 2019b58:	de 0c 60 05 	ldub  [ %l1 + 5 ], %o7                         
 2019b5c:	c4 0c 60 06 	ldub  [ %l1 + 6 ], %g2                         
 2019b60:	c6 0c 60 07 	ldub  [ %l1 + 7 ], %g3                         
        elength = rtems_rfs_dir_entry_length (entry);                 
        *ino = rtems_rfs_dir_entry_ino (entry);                       
 2019b64:	9b 2b 60 08 	sll  %o5, 8, %o5                               
 2019b68:	82 10 40 0d 	or  %g1, %o5, %g1                              
                                                                      
        if (elength == RTEMS_RFS_DIR_ENTRY_EMPTY)                     
 2019b6c:	80 a4 c0 16 	cmp  %l3, %l6                                  
 2019b70:	02 80 00 60 	be  2019cf0 <rtems_rfs_dir_lookup_ino+0x3a8>   
 2019b74:	c2 27 00 00 	st  %g1, [ %i4 ]                               
          break;                                                      
                                                                      
        if (rtems_rfs_dir_entry_valid (fs, elength, *ino))            
 2019b78:	80 a4 e0 0a 	cmp  %l3, 0xa                                  
 2019b7c:	04 80 00 0d 	ble  2019bb0 <rtems_rfs_dir_lookup_ino+0x268>  
 2019b80:	90 10 20 00 	clr  %o0                                       
 2019b84:	da 06 20 18 	ld  [ %i0 + 0x18 ], %o5                        
 2019b88:	80 a4 c0 0d 	cmp  %l3, %o5                                  
 2019b8c:	1a 80 00 09 	bcc  2019bb0 <rtems_rfs_dir_lookup_ino+0x268>  <== NEVER TAKEN
 2019b90:	80 a0 60 00 	cmp  %g1, 0                                    
 2019b94:	02 80 00 07 	be  2019bb0 <rtems_rfs_dir_lookup_ino+0x268>   <== NEVER TAKEN
 2019b98:	01 00 00 00 	nop                                            
 2019b9c:	da 06 20 10 	ld  [ %i0 + 0x10 ], %o5                        
 2019ba0:	80 a0 40 0d 	cmp  %g1, %o5                                  
 2019ba4:	08 80 00 11 	bleu  2019be8 <rtems_rfs_dir_lookup_ino+0x2a0> <== ALWAYS TAKEN
 2019ba8:	89 29 20 18 	sll  %g4, 0x18, %g4                            
        {                                                             
          if (rtems_rfs_trace (RTEMS_RFS_TRACE_DIR_LOOKUP_INO))       
 2019bac:	90 10 20 00 	clr  %o0                                       <== NOT EXECUTED
 2019bb0:	7f ff dd a2 	call  2011238 <rtems_rfs_trace>                
 2019bb4:	13 01 00 00 	sethi  %hi(0x4000000), %o1                     
 2019bb8:	80 8a 20 ff 	btst  0xff, %o0                                
 2019bbc:	22 80 00 70 	be,a   2019d7c <rtems_rfs_dir_lookup_ino+0x434><== ALWAYS TAKEN
 2019bc0:	a4 10 20 05 	mov  5, %l2                                    
            printf ("rtems-rfs: dir-lookup-ino: "                     
 2019bc4:	d2 06 60 08 	ld  [ %i1 + 8 ], %o1                           <== NOT EXECUTED
 2019bc8:	d6 07 00 00 	ld  [ %i4 ], %o3                               <== NOT EXECUTED
 2019bcc:	d8 07 bf b4 	ld  [ %fp + -76 ], %o4                         <== NOT EXECUTED
 2019bd0:	11 00 80 be 	sethi  %hi(0x202f800), %o0                     <== NOT EXECUTED
 2019bd4:	94 10 00 13 	mov  %l3, %o2                                  <== NOT EXECUTED
 2019bd8:	40 00 15 7c 	call  201f1c8 <printf>                         <== NOT EXECUTED
 2019bdc:	90 12 23 20 	or  %o0, 0x320, %o0                            <== NOT EXECUTED
            printf ("rtems-rfs: dir-lookup-ino: "                     
                    "block map next block failed in ino %" PRIu32 ": %d: %s\n",
                    rtems_rfs_inode_ino (inode), rc, strerror (rc));  
        }                                                             
        if (rc == ENXIO)                                              
          rc = ENOENT;                                                
 2019be0:	10 80 00 67 	b  2019d7c <rtems_rfs_dir_lookup_ino+0x434>    <== NOT EXECUTED
 2019be4:	a4 10 20 05 	mov  5, %l2                                    <== NOT EXECUTED
      while (map.bpos.boff < (rtems_rfs_fs_block_size (fs) - RTEMS_RFS_DIR_ENTRY_SIZE))
      {                                                               
        uint32_t ehash;                                               
        int      elength;                                             
                                                                      
        ehash  = rtems_rfs_dir_entry_hash (entry);                    
 2019be8:	82 0b e0 ff 	and  %o7, 0xff, %g1                            
 2019bec:	86 08 e0 ff 	and  %g3, 0xff, %g3                            
 2019bf0:	83 28 60 10 	sll  %g1, 0x10, %g1                            
 2019bf4:	84 08 a0 ff 	and  %g2, 0xff, %g2                            
 2019bf8:	82 11 00 01 	or  %g4, %g1, %g1                              
 2019bfc:	85 28 a0 08 	sll  %g2, 8, %g2                               
 2019c00:	82 10 40 03 	or  %g1, %g3, %g1                              
 2019c04:	82 10 40 02 	or  %g1, %g2, %g1                              
                    rtems_rfs_inode_ino (inode), elength, *ino, map.bpos.boff);
          rc = EIO;                                                   
          break;                                                      
        }                                                             
                                                                      
        if (ehash == hash)                                            
 2019c08:	80 a0 40 14 	cmp  %g1, %l4                                  
 2019c0c:	12 80 00 30 	bne  2019ccc <rtems_rfs_dir_lookup_ino+0x384>  
 2019c10:	c2 07 bf b4 	ld  [ %fp + -76 ], %g1                         
        {                                                             
          if (rtems_rfs_trace (RTEMS_RFS_TRACE_DIR_LOOKUP_INO_CHECK)) 
 2019c14:	90 10 20 00 	clr  %o0                                       
 2019c18:	7f ff dd 88 	call  2011238 <rtems_rfs_trace>                
 2019c1c:	13 02 00 00 	sethi  %hi(0x8000000), %o1                     
 2019c20:	80 8a 20 ff 	btst  0xff, %o0                                
 2019c24:	02 80 00 12 	be  2019c6c <rtems_rfs_dir_lookup_ino+0x324>   <== ALWAYS TAKEN
 2019c28:	90 04 60 0a 	add  %l1, 0xa, %o0                             
            printf ("rtems-rfs: dir-lookup-ino: "                     
                    "checking entry for ino %" PRId32 ": bno=%04" PRIx32 "/off=%04" PRIx32
                    " length:%d ino:%" PRId32 "\n",                   
                    rtems_rfs_inode_ino (inode), map.bpos.bno, map.bpos.boff,
                    elength, rtems_rfs_dir_entry_ino (entry));        
 2019c2c:	c2 0c 60 01 	ldub  [ %l1 + 1 ], %g1                         <== NOT EXECUTED
 2019c30:	da 0c 40 00 	ldub  [ %l1 ], %o5                             <== NOT EXECUTED
 2019c34:	83 28 60 10 	sll  %g1, 0x10, %g1                            <== NOT EXECUTED
 2019c38:	9b 2b 60 18 	sll  %o5, 0x18, %o5                            <== NOT EXECUTED
 2019c3c:	9a 13 40 01 	or  %o5, %g1, %o5                              <== NOT EXECUTED
 2019c40:	c2 0c 60 03 	ldub  [ %l1 + 3 ], %g1                         <== NOT EXECUTED
        }                                                             
                                                                      
        if (ehash == hash)                                            
        {                                                             
          if (rtems_rfs_trace (RTEMS_RFS_TRACE_DIR_LOOKUP_INO_CHECK)) 
            printf ("rtems-rfs: dir-lookup-ino: "                     
 2019c44:	d2 06 60 08 	ld  [ %i1 + 8 ], %o1                           <== NOT EXECUTED
                    "checking entry for ino %" PRId32 ": bno=%04" PRIx32 "/off=%04" PRIx32
                    " length:%d ino:%" PRId32 "\n",                   
                    rtems_rfs_inode_ino (inode), map.bpos.bno, map.bpos.boff,
                    elength, rtems_rfs_dir_entry_ino (entry));        
 2019c48:	9a 13 40 01 	or  %o5, %g1, %o5                              <== NOT EXECUTED
 2019c4c:	c2 0c 60 02 	ldub  [ %l1 + 2 ], %g1                         <== NOT EXECUTED
        }                                                             
                                                                      
        if (ehash == hash)                                            
        {                                                             
          if (rtems_rfs_trace (RTEMS_RFS_TRACE_DIR_LOOKUP_INO_CHECK)) 
            printf ("rtems-rfs: dir-lookup-ino: "                     
 2019c50:	d4 1f bf b0 	ldd  [ %fp + -80 ], %o2                        <== NOT EXECUTED
                    "checking entry for ino %" PRId32 ": bno=%04" PRIx32 "/off=%04" PRIx32
                    " length:%d ino:%" PRId32 "\n",                   
                    rtems_rfs_inode_ino (inode), map.bpos.bno, map.bpos.boff,
                    elength, rtems_rfs_dir_entry_ino (entry));        
 2019c54:	83 28 60 08 	sll  %g1, 8, %g1                               <== NOT EXECUTED
        }                                                             
                                                                      
        if (ehash == hash)                                            
        {                                                             
          if (rtems_rfs_trace (RTEMS_RFS_TRACE_DIR_LOOKUP_INO_CHECK)) 
            printf ("rtems-rfs: dir-lookup-ino: "                     
 2019c58:	90 10 00 17 	mov  %l7, %o0                                  <== NOT EXECUTED
 2019c5c:	98 10 00 13 	mov  %l3, %o4                                  <== NOT EXECUTED
 2019c60:	40 00 15 5a 	call  201f1c8 <printf>                         <== NOT EXECUTED
 2019c64:	9a 13 40 01 	or  %o5, %g1, %o5                              <== NOT EXECUTED
                    "checking entry for ino %" PRId32 ": bno=%04" PRIx32 "/off=%04" PRIx32
                    " length:%d ino:%" PRId32 "\n",                   
                    rtems_rfs_inode_ino (inode), map.bpos.bno, map.bpos.boff,
                    elength, rtems_rfs_dir_entry_ino (entry));        
                                                                      
          if (memcmp (entry + RTEMS_RFS_DIR_ENTRY_SIZE, name, length) == 0)
 2019c68:	90 04 60 0a 	add  %l1, 0xa, %o0                             <== NOT EXECUTED
 2019c6c:	92 10 00 1a 	mov  %i2, %o1                                  
 2019c70:	40 00 14 4a 	call  201ed98 <memcmp>                         
 2019c74:	94 10 00 1b 	mov  %i3, %o2                                  
 2019c78:	80 a2 20 00 	cmp  %o0, 0                                    
 2019c7c:	12 80 00 14 	bne  2019ccc <rtems_rfs_dir_lookup_ino+0x384>  <== NEVER TAKEN
 2019c80:	c2 07 bf b4 	ld  [ %fp + -76 ], %g1                         
          {                                                           
            *offset = rtems_rfs_block_map_pos (fs, &map);             
 2019c84:	90 10 00 18 	mov  %i0, %o0                                  
 2019c88:	7f ff f9 66 	call  2018220 <rtems_rfs_block_get_pos>        
 2019c8c:	92 07 bf b0 	add  %fp, -80, %o1                             
                                                                      
            if (rtems_rfs_trace (RTEMS_RFS_TRACE_DIR_LOOKUP_INO_FOUND))
 2019c90:	90 10 20 00 	clr  %o0                                       
                    rtems_rfs_inode_ino (inode), map.bpos.bno, map.bpos.boff,
                    elength, rtems_rfs_dir_entry_ino (entry));        
                                                                      
          if (memcmp (entry + RTEMS_RFS_DIR_ENTRY_SIZE, name, length) == 0)
          {                                                           
            *offset = rtems_rfs_block_map_pos (fs, &map);             
 2019c94:	d2 27 40 00 	st  %o1, [ %i5 ]                               
                                                                      
            if (rtems_rfs_trace (RTEMS_RFS_TRACE_DIR_LOOKUP_INO_FOUND))
 2019c98:	7f ff dd 68 	call  2011238 <rtems_rfs_trace>                
 2019c9c:	13 04 00 00 	sethi  %hi(0x10000000), %o1                    
 2019ca0:	80 8a 20 ff 	btst  0xff, %o0                                
 2019ca4:	22 80 00 52 	be,a   2019dec <rtems_rfs_dir_lookup_ino+0x4a4><== ALWAYS TAKEN
 2019ca8:	92 07 bf f0 	add  %fp, -16, %o1                             
              printf ("rtems-rfs: dir-lookup-ino: "                   
 2019cac:	d2 06 60 08 	ld  [ %i1 + 8 ], %o1                           <== NOT EXECUTED
 2019cb0:	d4 07 00 00 	ld  [ %i4 ], %o2                               <== NOT EXECUTED
 2019cb4:	d6 07 40 00 	ld  [ %i5 ], %o3                               <== NOT EXECUTED
 2019cb8:	11 00 80 be 	sethi  %hi(0x202f800), %o0                     <== NOT EXECUTED
 2019cbc:	40 00 15 43 	call  201f1c8 <printf>                         <== NOT EXECUTED
 2019cc0:	90 12 23 d0 	or  %o0, 0x3d0, %o0	! 202fbd0 <CSWTCH.1+0x7d0> <== NOT EXECUTED
        printf ("rtems-rfs: dir-lookup-ino: block is 0 in ino %" PRIu32 ": %d: %s\n",
                rtems_rfs_inode_ino (inode), rc, strerror (rc));      
    }                                                                 
  }                                                                   
                                                                      
  rtems_rfs_buffer_handle_close (fs, &entries);                       
 2019cc4:	10 80 00 4a 	b  2019dec <rtems_rfs_dir_lookup_ino+0x4a4>    <== NOT EXECUTED
 2019cc8:	92 07 bf f0 	add  %fp, -16, %o1                             <== NOT EXECUTED
            return 0;                                                 
          }                                                           
        }                                                             
                                                                      
        map.bpos.boff += elength;                                     
        entry += elength;                                             
 2019ccc:	a2 04 40 13 	add  %l1, %l3, %l1                             
            rtems_rfs_block_map_close (fs, &map);                     
            return 0;                                                 
          }                                                           
        }                                                             
                                                                      
        map.bpos.boff += elength;                                     
 2019cd0:	82 00 40 13 	add  %g1, %l3, %g1                             
 2019cd4:	c2 27 bf b4 	st  %g1, [ %fp + -76 ]                         
                                                                      
      entry = rtems_rfs_buffer_data (&entries);                       
                                                                      
      map.bpos.boff = 0;                                              
                                                                      
      while (map.bpos.boff < (rtems_rfs_fs_block_size (fs) - RTEMS_RFS_DIR_ENTRY_SIZE))
 2019cd8:	c2 06 20 08 	ld  [ %i0 + 8 ], %g1                           
 2019cdc:	c4 07 bf b4 	ld  [ %fp + -76 ], %g2                         
 2019ce0:	82 00 7f f6 	add  %g1, -10, %g1                             
 2019ce4:	80 a0 80 01 	cmp  %g2, %g1                                  
 2019ce8:	2a bf ff 90 	bcs,a   2019b28 <rtems_rfs_dir_lookup_ino+0x1e0><== ALWAYS TAKEN
 2019cec:	c2 0c 60 09 	ldub  [ %l1 + 9 ], %g1                         
                                                                      
        map.bpos.boff += elength;                                     
        entry += elength;                                             
      }                                                               
                                                                      
      if (rc == 0)                                                    
 2019cf0:	80 a4 a0 00 	cmp  %l2, 0                                    
 2019cf4:	12 80 00 2a 	bne  2019d9c <rtems_rfs_dir_lookup_ino+0x454>  <== NEVER TAKEN
 2019cf8:	a0 10 00 12 	mov  %l2, %l0                                  
      {                                                               
        rc = rtems_rfs_block_map_next_block (fs, &map, &block);       
 2019cfc:	90 10 00 18 	mov  %i0, %o0                                  
 2019d00:	92 07 bf a0 	add  %fp, -96, %o1                             
 2019d04:	7f ff fa cc 	call  2018834 <rtems_rfs_block_map_next_block> 
 2019d08:	94 07 bf fc 	add  %fp, -4, %o2                              
        if ((rc > 0) && (rc != ENXIO))                                
 2019d0c:	80 a2 20 06 	cmp  %o0, 6                                    
 2019d10:	02 80 00 16 	be  2019d68 <rtems_rfs_dir_lookup_ino+0x420>   <== ALWAYS TAKEN
 2019d14:	a0 10 00 08 	mov  %o0, %l0                                  
 2019d18:	80 a2 20 00 	cmp  %o0, 0                                    <== NOT EXECUTED
 2019d1c:	04 80 00 14 	ble  2019d6c <rtems_rfs_dir_lookup_ino+0x424>  <== NOT EXECUTED
 2019d20:	80 a4 20 06 	cmp  %l0, 6                                    <== NOT EXECUTED
        {                                                             
          if (rtems_rfs_trace (RTEMS_RFS_TRACE_DIR_LOOKUP_INO))       
 2019d24:	90 10 20 00 	clr  %o0                                       <== NOT EXECUTED
 2019d28:	7f ff dd 44 	call  2011238 <rtems_rfs_trace>                <== NOT EXECUTED
 2019d2c:	13 01 00 00 	sethi  %hi(0x4000000), %o1                     <== NOT EXECUTED
 2019d30:	80 8a 20 ff 	btst  0xff, %o0                                <== NOT EXECUTED
 2019d34:	22 80 00 1b 	be,a   2019da0 <rtems_rfs_dir_lookup_ino+0x458><== NOT EXECUTED
 2019d38:	80 a4 20 00 	cmp  %l0, 0                                    <== NOT EXECUTED
            printf ("rtems-rfs: dir-lookup-ino: "                     
 2019d3c:	e2 06 60 08 	ld  [ %i1 + 8 ], %l1                           <== NOT EXECUTED
 2019d40:	40 00 18 55 	call  201fe94 <strerror>                       <== NOT EXECUTED
 2019d44:	90 10 00 10 	mov  %l0, %o0                                  <== NOT EXECUTED
 2019d48:	92 10 00 11 	mov  %l1, %o1                                  <== NOT EXECUTED
 2019d4c:	96 10 00 08 	mov  %o0, %o3                                  <== NOT EXECUTED
 2019d50:	94 10 00 10 	mov  %l0, %o2                                  <== NOT EXECUTED
 2019d54:	11 00 80 bf 	sethi  %hi(0x202fc00), %o0                     <== NOT EXECUTED
 2019d58:	40 00 15 1c 	call  201f1c8 <printf>                         <== NOT EXECUTED
 2019d5c:	90 12 20 18 	or  %o0, 0x18, %o0	! 202fc18 <CSWTCH.1+0x818>  <== NOT EXECUTED
      rtems_rfs_buffer_handle_close (fs, &entries);                   
      rtems_rfs_block_map_close (fs, &map);                           
      return rc;                                                      
    }                                                                 
                                                                      
    while ((rc == 0) && block)                                        
 2019d60:	10 80 00 10 	b  2019da0 <rtems_rfs_dir_lookup_ino+0x458>    <== NOT EXECUTED
 2019d64:	80 a4 20 00 	cmp  %l0, 0                                    <== NOT EXECUTED
          if (rtems_rfs_trace (RTEMS_RFS_TRACE_DIR_LOOKUP_INO))       
            printf ("rtems-rfs: dir-lookup-ino: "                     
                    "block map next block failed in ino %" PRIu32 ": %d: %s\n",
                    rtems_rfs_inode_ino (inode), rc, strerror (rc));  
        }                                                             
        if (rc == ENXIO)                                              
 2019d68:	80 a4 20 06 	cmp  %l0, 6                                    
 2019d6c:	12 80 00 0d 	bne  2019da0 <rtems_rfs_dir_lookup_ino+0x458>  <== NEVER TAKEN
 2019d70:	80 a4 20 00 	cmp  %l0, 0                                    
          rc = ENOENT;                                                
 2019d74:	10 80 00 11 	b  2019db8 <rtems_rfs_dir_lookup_ino+0x470>    
 2019d78:	a0 10 20 02 	mov  2, %l0                                    
 2019d7c:	10 80 00 08 	b  2019d9c <rtems_rfs_dir_lookup_ino+0x454>    
 2019d80:	a0 10 00 12 	mov  %l2, %l0                                  
    while ((rc == 0) && block)                                        
    {                                                                 
      uint8_t* entry;                                                 
                                                                      
      if (rtems_rfs_trace (RTEMS_RFS_TRACE_DIR_LOOKUP_INO))           
        printf ("rtems-rfs: dir-lookup-ino: block read, ino=%" PRIu32 " bno=%" PRId32 "\n",
 2019d84:	2b 00 80 be 	sethi  %hi(0x202f800), %l5                     
                                                                      
        ehash  = rtems_rfs_dir_entry_hash (entry);                    
        elength = rtems_rfs_dir_entry_length (entry);                 
        *ino = rtems_rfs_dir_entry_ino (entry);                       
                                                                      
        if (elength == RTEMS_RFS_DIR_ENTRY_EMPTY)                     
 2019d88:	2d 00 00 3f 	sethi  %hi(0xfc00), %l6                        
        }                                                             
                                                                      
        if (ehash == hash)                                            
        {                                                             
          if (rtems_rfs_trace (RTEMS_RFS_TRACE_DIR_LOOKUP_INO_CHECK)) 
            printf ("rtems-rfs: dir-lookup-ino: "                     
 2019d8c:	2f 00 80 be 	sethi  %hi(0x202f800), %l7                     
    while ((rc == 0) && block)                                        
    {                                                                 
      uint8_t* entry;                                                 
                                                                      
      if (rtems_rfs_trace (RTEMS_RFS_TRACE_DIR_LOOKUP_INO))           
        printf ("rtems-rfs: dir-lookup-ino: block read, ino=%" PRIu32 " bno=%" PRId32 "\n",
 2019d90:	aa 15 62 a0 	or  %l5, 0x2a0, %l5                            
                                                                      
        ehash  = rtems_rfs_dir_entry_hash (entry);                    
        elength = rtems_rfs_dir_entry_length (entry);                 
        *ino = rtems_rfs_dir_entry_ino (entry);                       
                                                                      
        if (elength == RTEMS_RFS_DIR_ENTRY_EMPTY)                     
 2019d94:	ac 15 a3 ff 	or  %l6, 0x3ff, %l6                            
        }                                                             
                                                                      
        if (ehash == hash)                                            
        {                                                             
          if (rtems_rfs_trace (RTEMS_RFS_TRACE_DIR_LOOKUP_INO_CHECK)) 
            printf ("rtems-rfs: dir-lookup-ino: "                     
 2019d98:	ae 15 e3 70 	or  %l7, 0x370, %l7                            
      rtems_rfs_buffer_handle_close (fs, &entries);                   
      rtems_rfs_block_map_close (fs, &map);                           
      return rc;                                                      
    }                                                                 
                                                                      
    while ((rc == 0) && block)                                        
 2019d9c:	80 a4 20 00 	cmp  %l0, 0                                    
 2019da0:	12 80 00 06 	bne  2019db8 <rtems_rfs_dir_lookup_ino+0x470>  
 2019da4:	c2 07 bf fc 	ld  [ %fp + -4 ], %g1                          
 2019da8:	80 a0 60 00 	cmp  %g1, 0                                    
 2019dac:	12 bf ff 38 	bne  2019a8c <rtems_rfs_dir_lookup_ino+0x144>  <== ALWAYS TAKEN
 2019db0:	90 10 20 00 	clr  %o0                                       
 2019db4:	30 80 00 16 	b,a   2019e0c <rtems_rfs_dir_lookup_ino+0x4c4> <== NOT EXECUTED
 2019db8:	a4 10 00 10 	mov  %l0, %l2                                  
 2019dbc:	10 80 00 0b 	b  2019de8 <rtems_rfs_dir_lookup_ino+0x4a0>    
 2019dc0:	a0 10 00 12 	mov  %l2, %l0                                  
                                                                      
    if ((rc == 0) && (block == 0))                                    
    {                                                                 
      rc = EIO;                                                       
      if (rtems_rfs_trace (RTEMS_RFS_TRACE_DIR_LOOKUP_INO))           
        printf ("rtems-rfs: dir-lookup-ino: block is 0 in ino %" PRIu32 ": %d: %s\n",
 2019dc4:	40 00 18 34 	call  201fe94 <strerror>                       <== NOT EXECUTED
 2019dc8:	90 10 20 05 	mov  5, %o0                                    <== NOT EXECUTED
 2019dcc:	92 10 00 1d 	mov  %i5, %o1                                  <== NOT EXECUTED
 2019dd0:	96 10 00 08 	mov  %o0, %o3                                  <== NOT EXECUTED
 2019dd4:	94 10 20 05 	mov  5, %o2                                    <== NOT EXECUTED
 2019dd8:	11 00 80 bf 	sethi  %hi(0x202fc00), %o0                     <== NOT EXECUTED
 2019ddc:	40 00 14 fb 	call  201f1c8 <printf>                         <== NOT EXECUTED
 2019de0:	90 12 20 68 	or  %o0, 0x68, %o0	! 202fc68 <CSWTCH.1+0x868>  <== NOT EXECUTED
      }                                                               
    }                                                                 
                                                                      
    if ((rc == 0) && (block == 0))                                    
    {                                                                 
      rc = EIO;                                                       
 2019de4:	a0 10 20 05 	mov  5, %l0                                    <== NOT EXECUTED
        printf ("rtems-rfs: dir-lookup-ino: block is 0 in ino %" PRIu32 ": %d: %s\n",
                rtems_rfs_inode_ino (inode), rc, strerror (rc));      
    }                                                                 
  }                                                                   
                                                                      
  rtems_rfs_buffer_handle_close (fs, &entries);                       
 2019de8:	92 07 bf f0 	add  %fp, -16, %o1                             
 2019dec:	7f ff fe cd 	call  2019920 <rtems_rfs_buffer_handle_close>  
 2019df0:	90 10 00 18 	mov  %i0, %o0                                  
  rtems_rfs_block_map_close (fs, &map);                               
 2019df4:	90 10 00 18 	mov  %i0, %o0                                  
 2019df8:	7f ff f9 a1 	call  201847c <rtems_rfs_block_map_close>      
 2019dfc:	92 07 bf a0 	add  %fp, -96, %o1                             
  return rc;                                                          
}                                                                     
 2019e00:	b0 10 00 10 	mov  %l0, %i0                                  
 2019e04:	81 c7 e0 08 	ret                                            
 2019e08:	81 e8 00 00 	restore                                        
    }                                                                 
                                                                      
    if ((rc == 0) && (block == 0))                                    
    {                                                                 
      rc = EIO;                                                       
      if (rtems_rfs_trace (RTEMS_RFS_TRACE_DIR_LOOKUP_INO))           
 2019e0c:	7f ff dd 0b 	call  2011238 <rtems_rfs_trace>                <== NOT EXECUTED
 2019e10:	13 01 00 00 	sethi  %hi(0x4000000), %o1                     <== NOT EXECUTED
 2019e14:	80 8a 20 ff 	btst  0xff, %o0                                <== NOT EXECUTED
 2019e18:	02 bf ff f4 	be  2019de8 <rtems_rfs_dir_lookup_ino+0x4a0>   <== NOT EXECUTED
 2019e1c:	a0 10 20 05 	mov  5, %l0                                    <== NOT EXECUTED
        printf ("rtems-rfs: dir-lookup-ino: block is 0 in ino %" PRIu32 ": %d: %s\n",
 2019e20:	10 bf ff e9 	b  2019dc4 <rtems_rfs_dir_lookup_ino+0x47c>    <== NOT EXECUTED
 2019e24:	fa 06 60 08 	ld  [ %i1 + 8 ], %i5                           <== NOT EXECUTED
                                                                      

0201a5b8 <rtems_rfs_dir_read>: rtems_rfs_dir_read (rtems_rfs_file_system* fs, rtems_rfs_inode_handle* dir, rtems_rfs_pos_rel offset, struct dirent* dirent, size_t* length) {
 201a5b8:	9d e3 bf 38 	save  %sp, -200, %sp                           <== NOT EXECUTED
  rtems_rfs_block_map     map;                                        
  rtems_rfs_buffer_handle buffer;                                     
  rtems_rfs_block_no      block;                                      
  int                     rc;                                         
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_DIR_READ))                     
 201a5bc:	90 10 20 00 	clr  %o0                                       <== NOT EXECUTED
rtems_rfs_dir_read (rtems_rfs_file_system*  fs,                       
                    rtems_rfs_inode_handle* dir,                      
                    rtems_rfs_pos_rel       offset,                   
                    struct dirent*          dirent,                   
                    size_t*                 length)                   
{                                                                     
 201a5c0:	a2 10 00 19 	mov  %i1, %l1                                  <== NOT EXECUTED
  rtems_rfs_block_map     map;                                        
  rtems_rfs_buffer_handle buffer;                                     
  rtems_rfs_block_no      block;                                      
  int                     rc;                                         
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_DIR_READ))                     
 201a5c4:	13 20 00 00 	sethi  %hi(0x80000000), %o1                    <== NOT EXECUTED
 201a5c8:	7f ff db 1c 	call  2011238 <rtems_rfs_trace>                <== NOT EXECUTED
 201a5cc:	a0 10 00 1a 	mov  %i2, %l0                                  <== NOT EXECUTED
 201a5d0:	80 8a 20 ff 	btst  0xff, %o0                                <== NOT EXECUTED
 201a5d4:	02 80 00 08 	be  201a5f4 <rtems_rfs_dir_read+0x3c>          <== NOT EXECUTED
 201a5d8:	b2 10 00 1b 	mov  %i3, %i1                                  <== NOT EXECUTED
    printf ("rtems-rfs: dir-read: dir=%" PRId32 " offset=%" PRId64 "\n",
 201a5dc:	d2 04 60 08 	ld  [ %l1 + 8 ], %o1                           <== NOT EXECUTED
 201a5e0:	11 00 80 bf 	sethi  %hi(0x202fc00), %o0                     <== NOT EXECUTED
 201a5e4:	94 10 00 1a 	mov  %i2, %o2                                  <== NOT EXECUTED
 201a5e8:	90 12 23 88 	or  %o0, 0x388, %o0                            <== NOT EXECUTED
 201a5ec:	40 00 12 f7 	call  201f1c8 <printf>                         <== NOT EXECUTED
 201a5f0:	96 10 00 1b 	mov  %i3, %o3                                  <== NOT EXECUTED
            rtems_rfs_inode_ino (dir), offset);                       
                                                                      
  *length = 0;                                                        
 201a5f4:	c0 27 40 00 	clr  [ %i5 ]                                   <== NOT EXECUTED
                                                                      
  rc = rtems_rfs_block_map_open (fs, dir, &map);                      
 201a5f8:	90 10 00 18 	mov  %i0, %o0                                  <== NOT EXECUTED
 201a5fc:	92 10 00 11 	mov  %l1, %o1                                  <== NOT EXECUTED
 201a600:	7f ff f7 3d 	call  20182f4 <rtems_rfs_block_map_open>       <== NOT EXECUTED
 201a604:	94 07 bf a0 	add  %fp, -96, %o2                             <== NOT EXECUTED
  if (rc > 0)                                                         
 201a608:	b4 92 20 00 	orcc  %o0, 0, %i2                              <== NOT EXECUTED
 201a60c:	14 80 00 cb 	bg  201a938 <rtems_rfs_dir_read+0x380>         <== NOT EXECUTED
 201a610:	90 10 00 10 	mov  %l0, %o0                                  <== NOT EXECUTED
    return rc;                                                        
                                                                      
  if (((rtems_rfs_fs_block_size (fs) -                                
        (offset % rtems_rfs_fs_block_size (fs))) <= RTEMS_RFS_DIR_ENTRY_SIZE))
 201a614:	f4 06 20 08 	ld  [ %i0 + 8 ], %i2                           <== NOT EXECUTED
 201a618:	b6 10 00 1a 	mov  %i2, %i3                                  <== NOT EXECUTED
 201a61c:	92 10 00 19 	mov  %i1, %o1                                  <== NOT EXECUTED
 201a620:	b4 10 20 00 	clr  %i2                                       <== NOT EXECUTED
 201a624:	96 10 00 1b 	mov  %i3, %o3                                  <== NOT EXECUTED
 201a628:	40 00 45 29 	call  202bacc <__moddi3>                       <== NOT EXECUTED
 201a62c:	94 10 00 1a 	mov  %i2, %o2                                  <== NOT EXECUTED
                                                                      
  rc = rtems_rfs_block_map_open (fs, dir, &map);                      
  if (rc > 0)                                                         
    return rc;                                                        
                                                                      
  if (((rtems_rfs_fs_block_size (fs) -                                
 201a630:	86 a6 c0 09 	subcc  %i3, %o1, %g3                           <== NOT EXECUTED
 201a634:	84 66 80 08 	subx  %i2, %o0, %g2                            <== NOT EXECUTED
 201a638:	80 a0 a0 00 	cmp  %g2, 0                                    <== NOT EXECUTED
 201a63c:	34 80 00 15 	bg,a   201a690 <rtems_rfs_dir_read+0xd8>       <== NOT EXECUTED
 201a640:	b6 07 bf a0 	add  %fp, -96, %i3                             <== NOT EXECUTED
 201a644:	80 a0 a0 00 	cmp  %g2, 0                                    <== NOT EXECUTED
 201a648:	32 80 00 06 	bne,a   201a660 <rtems_rfs_dir_read+0xa8>      <== NOT EXECUTED
 201a64c:	90 10 00 10 	mov  %l0, %o0                                  <== NOT EXECUTED
 201a650:	80 a0 e0 0a 	cmp  %g3, 0xa                                  <== NOT EXECUTED
 201a654:	38 80 00 0f 	bgu,a   201a690 <rtems_rfs_dir_read+0xd8>      <== NOT EXECUTED
 201a658:	b6 07 bf a0 	add  %fp, -96, %i3                             <== NOT EXECUTED
        (offset % rtems_rfs_fs_block_size (fs))) <= RTEMS_RFS_DIR_ENTRY_SIZE))
    offset = (((offset / rtems_rfs_fs_block_size (fs)) + 1) *         
 201a65c:	90 10 00 10 	mov  %l0, %o0                                  <== NOT EXECUTED
 201a660:	92 10 00 19 	mov  %i1, %o1                                  <== NOT EXECUTED
 201a664:	94 10 00 1a 	mov  %i2, %o2                                  <== NOT EXECUTED
 201a668:	40 00 44 33 	call  202b734 <__divdi3>                       <== NOT EXECUTED
 201a66c:	96 10 00 1b 	mov  %i3, %o3                                  <== NOT EXECUTED
 201a670:	94 10 00 1a 	mov  %i2, %o2                                  <== NOT EXECUTED
 201a674:	92 82 60 01 	inccc  %o1                                     <== NOT EXECUTED
 201a678:	96 10 00 1b 	mov  %i3, %o3                                  <== NOT EXECUTED
 201a67c:	40 00 43 fc 	call  202b66c <__muldi3>                       <== NOT EXECUTED
 201a680:	90 42 20 00 	addx  %o0, 0, %o0                              <== NOT EXECUTED
 201a684:	a0 10 00 08 	mov  %o0, %l0                                  <== NOT EXECUTED
 201a688:	b2 10 00 09 	mov  %o1, %i1                                  <== NOT EXECUTED
              rtems_rfs_fs_block_size (fs));                          
                                                                      
  rc = rtems_rfs_block_map_seek (fs, &map, offset, &block);           
 201a68c:	b6 07 bf a0 	add  %fp, -96, %i3                             <== NOT EXECUTED
 201a690:	a4 07 bf fc 	add  %fp, -4, %l2                              <== NOT EXECUTED
 201a694:	90 10 00 18 	mov  %i0, %o0                                  <== NOT EXECUTED
 201a698:	92 10 00 1b 	mov  %i3, %o1                                  <== NOT EXECUTED
 201a69c:	94 10 00 10 	mov  %l0, %o2                                  <== NOT EXECUTED
 201a6a0:	96 10 00 19 	mov  %i1, %o3                                  <== NOT EXECUTED
 201a6a4:	7f ff f8 47 	call  20187c0 <rtems_rfs_block_map_seek>       <== NOT EXECUTED
 201a6a8:	98 10 00 12 	mov  %l2, %o4                                  <== NOT EXECUTED
  if (rc > 0)                                                         
 201a6ac:	b4 92 20 00 	orcc  %o0, 0, %i2                              <== NOT EXECUTED
 201a6b0:	04 80 00 07 	ble  201a6cc <rtems_rfs_dir_read+0x114>        <== NOT EXECUTED
 201a6b4:	80 a6 a0 06 	cmp  %i2, 6                                    <== NOT EXECUTED
  {                                                                   
    if (rc == ENXIO)                                                  
 201a6b8:	22 80 00 02 	be,a   201a6c0 <rtems_rfs_dir_read+0x108>      <== NOT EXECUTED
 201a6bc:	b4 10 20 02 	mov  2, %i2                                    <== NOT EXECUTED
      rc = ENOENT;                                                    
    rtems_rfs_block_map_close (fs, &map);                             
 201a6c0:	90 10 00 18 	mov  %i0, %o0                                  <== NOT EXECUTED
 201a6c4:	10 80 00 9b 	b  201a930 <rtems_rfs_dir_read+0x378>          <== NOT EXECUTED
 201a6c8:	92 10 00 1b 	mov  %i3, %o1                                  <== NOT EXECUTED
    entry += map.bpos.boff;                                           
                                                                      
    elength = rtems_rfs_dir_entry_length (entry);                     
    eino    = rtems_rfs_dir_entry_ino (entry);                        
                                                                      
    if (elength != RTEMS_RFS_DIR_ENTRY_EMPTY)                         
 201a6cc:	29 00 00 3f 	sethi  %hi(0xfc00), %l4                        <== NOT EXECUTED
    }                                                                 
                                                                      
    *length += rtems_rfs_fs_block_size (fs) - map.bpos.boff;          
                                                                      
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_DIR_READ))                   
      printf ("rtems-rfs: dir-read: next block: off:%" PRId64 " length:%zd\n",
 201a6d0:	27 00 80 c0 	sethi  %hi(0x2030000), %l3                     <== NOT EXECUTED
 */                                                                   
static inline int                                                     
rtems_rfs_buffer_handle_open (rtems_rfs_file_system*   fs,            
                              rtems_rfs_buffer_handle* handle)        
{                                                                     
  handle->dirty = false;                                              
 201a6d4:	c0 2f bf f0 	clrb  [ %fp + -16 ]                            <== NOT EXECUTED
  handle->bnum  = 0;                                                  
 201a6d8:	c0 27 bf f4 	clr  [ %fp + -12 ]                             <== NOT EXECUTED
  handle->buffer = NULL;                                              
 201a6dc:	c0 27 bf f8 	clr  [ %fp + -8 ]                              <== NOT EXECUTED
    entry += map.bpos.boff;                                           
                                                                      
    elength = rtems_rfs_dir_entry_length (entry);                     
    eino    = rtems_rfs_dir_entry_ino (entry);                        
                                                                      
    if (elength != RTEMS_RFS_DIR_ENTRY_EMPTY)                         
 201a6e0:	a8 15 23 ff 	or  %l4, 0x3ff, %l4                            <== NOT EXECUTED
    }                                                                 
                                                                      
    *length += rtems_rfs_fs_block_size (fs) - map.bpos.boff;          
                                                                      
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_DIR_READ))                   
      printf ("rtems-rfs: dir-read: next block: off:%" PRId64 " length:%zd\n",
 201a6e4:	a6 14 e0 38 	or  %l3, 0x38, %l3                             <== NOT EXECUTED
    uint8_t*      entry;                                              
    rtems_rfs_ino eino;                                               
    int           elength;                                            
    int           remaining;                                          
                                                                      
    rc = rtems_rfs_buffer_handle_request (fs, &buffer, block, true);  
 201a6e8:	d4 07 bf fc 	ld  [ %fp + -4 ], %o2                          <== NOT EXECUTED
 201a6ec:	90 10 00 18 	mov  %i0, %o0                                  <== NOT EXECUTED
 201a6f0:	92 07 bf f0 	add  %fp, -16, %o1                             <== NOT EXECUTED
 201a6f4:	7f ff fa f1 	call  20192b8 <rtems_rfs_buffer_handle_request><== NOT EXECUTED
 201a6f8:	96 10 20 01 	mov  1, %o3                                    <== NOT EXECUTED
    if (rc > 0)                                                       
 201a6fc:	b4 92 20 00 	orcc  %o0, 0, %i2                              <== NOT EXECUTED
 201a700:	14 80 00 88 	bg  201a920 <rtems_rfs_dir_read+0x368>         <== NOT EXECUTED
 201a704:	92 07 bf f0 	add  %fp, -16, %o1                             <== NOT EXECUTED
      rtems_rfs_buffer_handle_close (fs, &buffer);                    
      rtems_rfs_block_map_close (fs, &map);                           
      return rc;                                                      
    }                                                                 
                                                                      
    entry  = rtems_rfs_buffer_data (&buffer);                         
 201a708:	c2 07 bf f8 	ld  [ %fp + -8 ], %g1                          <== NOT EXECUTED
    entry += map.bpos.boff;                                           
 201a70c:	ee 07 bf b4 	ld  [ %fp + -76 ], %l7                         <== NOT EXECUTED
      rtems_rfs_buffer_handle_close (fs, &buffer);                    
      rtems_rfs_block_map_close (fs, &map);                           
      return rc;                                                      
    }                                                                 
                                                                      
    entry  = rtems_rfs_buffer_data (&buffer);                         
 201a710:	c2 00 60 24 	ld  [ %g1 + 0x24 ], %g1                        <== NOT EXECUTED
    entry += map.bpos.boff;                                           
 201a714:	aa 00 40 17 	add  %g1, %l7, %l5                             <== NOT EXECUTED
                                                                      
    elength = rtems_rfs_dir_entry_length (entry);                     
    eino    = rtems_rfs_dir_entry_ino (entry);                        
 201a718:	d6 08 40 17 	ldub  [ %g1 + %l7 ], %o3                       <== NOT EXECUTED
 201a71c:	c2 0d 60 01 	ldub  [ %l5 + 1 ], %g1                         <== NOT EXECUTED
 201a720:	97 2a e0 18 	sll  %o3, 0x18, %o3                            <== NOT EXECUTED
 201a724:	83 28 60 10 	sll  %g1, 0x10, %g1                            <== NOT EXECUTED
 201a728:	96 12 c0 01 	or  %o3, %g1, %o3                              <== NOT EXECUTED
 201a72c:	c2 0d 60 03 	ldub  [ %l5 + 3 ], %g1                         <== NOT EXECUTED
    }                                                                 
                                                                      
    entry  = rtems_rfs_buffer_data (&buffer);                         
    entry += map.bpos.boff;                                           
                                                                      
    elength = rtems_rfs_dir_entry_length (entry);                     
 201a730:	ec 0d 60 08 	ldub  [ %l5 + 8 ], %l6                         <== NOT EXECUTED
    eino    = rtems_rfs_dir_entry_ino (entry);                        
 201a734:	96 12 c0 01 	or  %o3, %g1, %o3                              <== NOT EXECUTED
    }                                                                 
                                                                      
    entry  = rtems_rfs_buffer_data (&buffer);                         
    entry += map.bpos.boff;                                           
                                                                      
    elength = rtems_rfs_dir_entry_length (entry);                     
 201a738:	c4 0d 60 09 	ldub  [ %l5 + 9 ], %g2                         <== NOT EXECUTED
    eino    = rtems_rfs_dir_entry_ino (entry);                        
 201a73c:	c2 0d 60 02 	ldub  [ %l5 + 2 ], %g1                         <== NOT EXECUTED
    }                                                                 
                                                                      
    entry  = rtems_rfs_buffer_data (&buffer);                         
    entry += map.bpos.boff;                                           
                                                                      
    elength = rtems_rfs_dir_entry_length (entry);                     
 201a740:	ad 2d a0 08 	sll  %l6, 8, %l6                               <== NOT EXECUTED
    eino    = rtems_rfs_dir_entry_ino (entry);                        
 201a744:	83 28 60 08 	sll  %g1, 8, %g1                               <== NOT EXECUTED
    }                                                                 
                                                                      
    entry  = rtems_rfs_buffer_data (&buffer);                         
    entry += map.bpos.boff;                                           
                                                                      
    elength = rtems_rfs_dir_entry_length (entry);                     
 201a748:	ac 15 80 02 	or  %l6, %g2, %l6                              <== NOT EXECUTED
    eino    = rtems_rfs_dir_entry_ino (entry);                        
                                                                      
    if (elength != RTEMS_RFS_DIR_ENTRY_EMPTY)                         
 201a74c:	80 a5 80 14 	cmp  %l6, %l4                                  <== NOT EXECUTED
 201a750:	02 80 00 56 	be  201a8a8 <rtems_rfs_dir_read+0x2f0>         <== NOT EXECUTED
 201a754:	96 12 c0 01 	or  %o3, %g1, %o3                              <== NOT EXECUTED
    {                                                                 
      if (rtems_rfs_dir_entry_valid (fs, elength, eino))              
 201a758:	80 a5 a0 0a 	cmp  %l6, 0xa                                  <== NOT EXECUTED
 201a75c:	24 80 00 0e 	ble,a   201a794 <rtems_rfs_dir_read+0x1dc>     <== NOT EXECUTED
 201a760:	d6 27 bf 9c 	st  %o3, [ %fp + -100 ]                        <== NOT EXECUTED
 201a764:	c2 06 20 18 	ld  [ %i0 + 0x18 ], %g1                        <== NOT EXECUTED
 201a768:	80 a5 80 01 	cmp  %l6, %g1                                  <== NOT EXECUTED
 201a76c:	3a 80 00 0a 	bcc,a   201a794 <rtems_rfs_dir_read+0x1dc>     <== NOT EXECUTED
 201a770:	d6 27 bf 9c 	st  %o3, [ %fp + -100 ]                        <== NOT EXECUTED
 201a774:	80 a2 e0 00 	cmp  %o3, 0                                    <== NOT EXECUTED
 201a778:	22 80 00 07 	be,a   201a794 <rtems_rfs_dir_read+0x1dc>      <== NOT EXECUTED
 201a77c:	d6 27 bf 9c 	st  %o3, [ %fp + -100 ]                        <== NOT EXECUTED
 201a780:	c2 06 20 10 	ld  [ %i0 + 0x10 ], %g1                        <== NOT EXECUTED
 201a784:	80 a2 c0 01 	cmp  %o3, %g1                                  <== NOT EXECUTED
 201a788:	08 80 00 12 	bleu  201a7d0 <rtems_rfs_dir_read+0x218>       <== NOT EXECUTED
 201a78c:	90 10 00 1c 	mov  %i4, %o0                                  <== NOT EXECUTED
      {                                                               
        if (rtems_rfs_trace (RTEMS_RFS_TRACE_DIR_READ))               
 201a790:	d6 27 bf 9c 	st  %o3, [ %fp + -100 ]                        <== NOT EXECUTED
 201a794:	90 10 20 00 	clr  %o0                                       <== NOT EXECUTED
 201a798:	7f ff da a8 	call  2011238 <rtems_rfs_trace>                <== NOT EXECUTED
 201a79c:	13 20 00 00 	sethi  %hi(0x80000000), %o1                    <== NOT EXECUTED
          printf ("rtems-rfs: dir-read: "                             
                  "bad length or ino for ino %" PRIu32 ": %u/%" PRId32 " @ %04" PRIx32 "\n",
                  rtems_rfs_inode_ino (dir), elength, eino, map.bpos.boff);
        rc = EIO;                                                     
 201a7a0:	b4 10 20 05 	mov  5, %i2                                    <== NOT EXECUTED
                                                                      
    if (elength != RTEMS_RFS_DIR_ENTRY_EMPTY)                         
    {                                                                 
      if (rtems_rfs_dir_entry_valid (fs, elength, eino))              
      {                                                               
        if (rtems_rfs_trace (RTEMS_RFS_TRACE_DIR_READ))               
 201a7a4:	80 8a 20 ff 	btst  0xff, %o0                                <== NOT EXECUTED
 201a7a8:	02 80 00 5d 	be  201a91c <rtems_rfs_dir_read+0x364>         <== NOT EXECUTED
 201a7ac:	d6 07 bf 9c 	ld  [ %fp + -100 ], %o3                        <== NOT EXECUTED
          printf ("rtems-rfs: dir-read: "                             
 201a7b0:	d2 04 60 08 	ld  [ %l1 + 8 ], %o1                           <== NOT EXECUTED
 201a7b4:	d8 07 bf b4 	ld  [ %fp + -76 ], %o4                         <== NOT EXECUTED
 201a7b8:	11 00 80 bf 	sethi  %hi(0x202fc00), %o0                     <== NOT EXECUTED
 201a7bc:	94 10 00 16 	mov  %l6, %o2                                  <== NOT EXECUTED
 201a7c0:	40 00 12 82 	call  201f1c8 <printf>                         <== NOT EXECUTED
 201a7c4:	90 12 23 b8 	or  %o0, 0x3b8, %o0                            <== NOT EXECUTED
    rc = rtems_rfs_block_map_next_block (fs, &map, &block);           
    if (rc == ENXIO)                                                  
      rc = ENOENT;                                                    
  }                                                                   
                                                                      
  rtems_rfs_buffer_handle_close (fs, &buffer);                        
 201a7c8:	10 80 00 56 	b  201a920 <rtems_rfs_dir_read+0x368>          <== NOT EXECUTED
 201a7cc:	92 07 bf f0 	add  %fp, -16, %o1                             <== NOT EXECUTED
                  rtems_rfs_inode_ino (dir), elength, eino, map.bpos.boff);
        rc = EIO;                                                     
        break;                                                        
      }                                                               
                                                                      
      memset (dirent, 0, sizeof (struct dirent));                     
 201a7d0:	92 10 20 00 	clr  %o1                                       <== NOT EXECUTED
 201a7d4:	40 00 12 2b 	call  201f080 <memset>                         <== NOT EXECUTED
 201a7d8:	94 10 21 18 	mov  0x118, %o2                                <== NOT EXECUTED
      dirent->d_off = offset;                                         
      dirent->d_reclen = sizeof (struct dirent);                      
 201a7dc:	82 10 21 18 	mov  0x118, %g1                                <== NOT EXECUTED
 201a7e0:	c2 37 20 10 	sth  %g1, [ %i4 + 0x10 ]                       <== NOT EXECUTED
                                                                      
      *length += elength;                                             
 201a7e4:	c2 07 40 00 	ld  [ %i5 ], %g1                               <== NOT EXECUTED
        rc = EIO;                                                     
        break;                                                        
      }                                                               
                                                                      
      memset (dirent, 0, sizeof (struct dirent));                     
      dirent->d_off = offset;                                         
 201a7e8:	e0 27 20 08 	st  %l0, [ %i4 + 8 ]                           <== NOT EXECUTED
 201a7ec:	f2 27 20 0c 	st  %i1, [ %i4 + 0xc ]                         <== NOT EXECUTED
      dirent->d_reclen = sizeof (struct dirent);                      
                                                                      
      *length += elength;                                             
 201a7f0:	82 05 80 01 	add  %l6, %g1, %g1                             <== NOT EXECUTED
 201a7f4:	c2 27 40 00 	st  %g1, [ %i5 ]                               <== NOT EXECUTED
                                                                      
      remaining = rtems_rfs_fs_block_size (fs) - (map.bpos.boff + elength);
 201a7f8:	c4 06 20 08 	ld  [ %i0 + 8 ], %g2                           <== NOT EXECUTED
 201a7fc:	ae 20 80 17 	sub  %g2, %l7, %l7                             <== NOT EXECUTED
 201a800:	ae 25 c0 16 	sub  %l7, %l6, %l7                             <== NOT EXECUTED
                                                                      
      if (remaining <= RTEMS_RFS_DIR_ENTRY_SIZE)                      
 201a804:	80 a5 e0 0a 	cmp  %l7, 0xa                                  <== NOT EXECUTED
 201a808:	14 80 00 04 	bg  201a818 <rtems_rfs_dir_read+0x260>         <== NOT EXECUTED
 201a80c:	ac 05 bf f6 	add  %l6, -10, %l6                             <== NOT EXECUTED
        *length += remaining;                                         
 201a810:	82 05 c0 01 	add  %l7, %g1, %g1                             <== NOT EXECUTED
 201a814:	c2 27 40 00 	st  %g1, [ %i5 ]                               <== NOT EXECUTED
                                                                      
      elength -= RTEMS_RFS_DIR_ENTRY_SIZE;                            
 201a818:	80 a5 a0 ff 	cmp  %l6, 0xff                                 <== NOT EXECUTED
 201a81c:	34 80 00 02 	bg,a   201a824 <rtems_rfs_dir_read+0x26c>      <== NOT EXECUTED
 201a820:	ac 10 20 ff 	mov  0xff, %l6                                 <== NOT EXECUTED
      if (elength > NAME_MAX)                                         
        elength = NAME_MAX;                                           
                                                                      
      memcpy (dirent->d_name, entry + RTEMS_RFS_DIR_ENTRY_SIZE, elength);
 201a824:	92 05 60 0a 	add  %l5, 0xa, %o1                             <== NOT EXECUTED
 201a828:	94 10 00 16 	mov  %l6, %o2                                  <== NOT EXECUTED
 201a82c:	ba 07 20 14 	add  %i4, 0x14, %i5                            <== NOT EXECUTED
 201a830:	40 00 11 88 	call  201ee50 <memcpy>                         <== NOT EXECUTED
 201a834:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
                                                                      
      dirent->d_ino = rtems_rfs_dir_entry_ino (entry);                
 201a838:	c4 0d 40 00 	ldub  [ %l5 ], %g2                             <== NOT EXECUTED
 201a83c:	c2 0d 60 01 	ldub  [ %l5 + 1 ], %g1                         <== NOT EXECUTED
 201a840:	85 28 a0 18 	sll  %g2, 0x18, %g2                            <== NOT EXECUTED
 201a844:	83 28 60 10 	sll  %g1, 0x10, %g1                            <== NOT EXECUTED
 201a848:	82 10 80 01 	or  %g2, %g1, %g1                              <== NOT EXECUTED
 201a84c:	c4 0d 60 03 	ldub  [ %l5 + 3 ], %g2                         <== NOT EXECUTED
      dirent->d_namlen = elength;                                     
                                                                      
      if (rtems_rfs_trace (RTEMS_RFS_TRACE_DIR_READ))                 
 201a850:	90 10 20 00 	clr  %o0                                       <== NOT EXECUTED
      if (elength > NAME_MAX)                                         
        elength = NAME_MAX;                                           
                                                                      
      memcpy (dirent->d_name, entry + RTEMS_RFS_DIR_ENTRY_SIZE, elength);
                                                                      
      dirent->d_ino = rtems_rfs_dir_entry_ino (entry);                
 201a854:	82 10 40 02 	or  %g1, %g2, %g1                              <== NOT EXECUTED
 201a858:	c4 0d 60 02 	ldub  [ %l5 + 2 ], %g2                         <== NOT EXECUTED
      dirent->d_namlen = elength;                                     
                                                                      
      if (rtems_rfs_trace (RTEMS_RFS_TRACE_DIR_READ))                 
 201a85c:	13 20 00 00 	sethi  %hi(0x80000000), %o1                    <== NOT EXECUTED
      if (elength > NAME_MAX)                                         
        elength = NAME_MAX;                                           
                                                                      
      memcpy (dirent->d_name, entry + RTEMS_RFS_DIR_ENTRY_SIZE, elength);
                                                                      
      dirent->d_ino = rtems_rfs_dir_entry_ino (entry);                
 201a860:	85 28 a0 08 	sll  %g2, 8, %g2                               <== NOT EXECUTED
 201a864:	82 10 40 02 	or  %g1, %g2, %g1                              <== NOT EXECUTED
      dirent->d_namlen = elength;                                     
 201a868:	ec 37 20 12 	sth  %l6, [ %i4 + 0x12 ]                       <== NOT EXECUTED
                                                                      
      if (rtems_rfs_trace (RTEMS_RFS_TRACE_DIR_READ))                 
 201a86c:	7f ff da 73 	call  2011238 <rtems_rfs_trace>                <== NOT EXECUTED
 201a870:	c2 27 00 00 	st  %g1, [ %i4 ]                               <== NOT EXECUTED
 201a874:	80 8a 20 ff 	btst  0xff, %o0                                <== NOT EXECUTED
 201a878:	22 80 00 2a 	be,a   201a920 <rtems_rfs_dir_read+0x368>      <== NOT EXECUTED
 201a87c:	92 07 bf f0 	add  %fp, -16, %o1                             <== NOT EXECUTED
        printf ("rtems-rfs: dir-read: found off:%" PRIdoff_t " ino:%ld name=%s\n",
 201a880:	c4 1f 20 08 	ldd  [ %i4 + 8 ], %g2                          <== NOT EXECUTED
 201a884:	d6 07 00 00 	ld  [ %i4 ], %o3                               <== NOT EXECUTED
 201a888:	11 00 80 c0 	sethi  %hi(0x2030000), %o0                     <== NOT EXECUTED
 201a88c:	92 10 00 02 	mov  %g2, %o1                                  <== NOT EXECUTED
 201a890:	94 10 00 03 	mov  %g3, %o2                                  <== NOT EXECUTED
 201a894:	98 10 00 1d 	mov  %i5, %o4                                  <== NOT EXECUTED
 201a898:	40 00 12 4c 	call  201f1c8 <printf>                         <== NOT EXECUTED
 201a89c:	90 12 20 00 	mov  %o0, %o0                                  <== NOT EXECUTED
    rc = rtems_rfs_block_map_next_block (fs, &map, &block);           
    if (rc == ENXIO)                                                  
      rc = ENOENT;                                                    
  }                                                                   
                                                                      
  rtems_rfs_buffer_handle_close (fs, &buffer);                        
 201a8a0:	10 80 00 20 	b  201a920 <rtems_rfs_dir_read+0x368>          <== NOT EXECUTED
 201a8a4:	92 07 bf f0 	add  %fp, -16, %o1                             <== NOT EXECUTED
        printf ("rtems-rfs: dir-read: found off:%" PRIdoff_t " ino:%ld name=%s\n",
                dirent->d_off, dirent->d_ino, dirent->d_name);        
      break;                                                          
    }                                                                 
                                                                      
    *length += rtems_rfs_fs_block_size (fs) - map.bpos.boff;          
 201a8a8:	c2 06 20 08 	ld  [ %i0 + 8 ], %g1                           <== NOT EXECUTED
                                                                      
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_DIR_READ))                   
 201a8ac:	90 10 20 00 	clr  %o0                                       <== NOT EXECUTED
        printf ("rtems-rfs: dir-read: found off:%" PRIdoff_t " ino:%ld name=%s\n",
                dirent->d_off, dirent->d_ino, dirent->d_name);        
      break;                                                          
    }                                                                 
                                                                      
    *length += rtems_rfs_fs_block_size (fs) - map.bpos.boff;          
 201a8b0:	ae 20 40 17 	sub  %g1, %l7, %l7                             <== NOT EXECUTED
 201a8b4:	c2 07 40 00 	ld  [ %i5 ], %g1                               <== NOT EXECUTED
                                                                      
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_DIR_READ))                   
 201a8b8:	13 20 00 00 	sethi  %hi(0x80000000), %o1                    <== NOT EXECUTED
        printf ("rtems-rfs: dir-read: found off:%" PRIdoff_t " ino:%ld name=%s\n",
                dirent->d_off, dirent->d_ino, dirent->d_name);        
      break;                                                          
    }                                                                 
                                                                      
    *length += rtems_rfs_fs_block_size (fs) - map.bpos.boff;          
 201a8bc:	ae 00 40 17 	add  %g1, %l7, %l7                             <== NOT EXECUTED
                                                                      
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_DIR_READ))                   
 201a8c0:	7f ff da 5e 	call  2011238 <rtems_rfs_trace>                <== NOT EXECUTED
 201a8c4:	ee 27 40 00 	st  %l7, [ %i5 ]                               <== NOT EXECUTED
 201a8c8:	80 8a 20 ff 	btst  0xff, %o0                                <== NOT EXECUTED
 201a8cc:	02 80 00 08 	be  201a8ec <rtems_rfs_dir_read+0x334>         <== NOT EXECUTED
 201a8d0:	90 10 00 18 	mov  %i0, %o0                                  <== NOT EXECUTED
      printf ("rtems-rfs: dir-read: next block: off:%" PRId64 " length:%zd\n",
 201a8d4:	d6 07 40 00 	ld  [ %i5 ], %o3                               <== NOT EXECUTED
 201a8d8:	90 10 00 13 	mov  %l3, %o0                                  <== NOT EXECUTED
 201a8dc:	92 10 00 10 	mov  %l0, %o1                                  <== NOT EXECUTED
 201a8e0:	40 00 12 3a 	call  201f1c8 <printf>                         <== NOT EXECUTED
 201a8e4:	94 10 00 19 	mov  %i1, %o2                                  <== NOT EXECUTED
              offset, *length);                                       
                                                                      
    rc = rtems_rfs_block_map_next_block (fs, &map, &block);           
 201a8e8:	90 10 00 18 	mov  %i0, %o0                                  <== NOT EXECUTED
 201a8ec:	92 10 00 1b 	mov  %i3, %o1                                  <== NOT EXECUTED
 201a8f0:	7f ff f7 d1 	call  2018834 <rtems_rfs_block_map_next_block> <== NOT EXECUTED
 201a8f4:	94 10 00 12 	mov  %l2, %o2                                  <== NOT EXECUTED
    if (rc == ENXIO)                                                  
 201a8f8:	80 a2 20 06 	cmp  %o0, 6                                    <== NOT EXECUTED
 201a8fc:	02 80 00 07 	be  201a918 <rtems_rfs_dir_read+0x360>         <== NOT EXECUTED
 201a900:	b4 10 00 08 	mov  %o0, %i2                                  <== NOT EXECUTED
                                                                      
  /*                                                                  
   * Look for an empty entry and if this is the last block that is the end of
   * the directory.                                                   
   */                                                                 
  while (rc == 0)                                                     
 201a904:	80 a2 20 00 	cmp  %o0, 0                                    <== NOT EXECUTED
 201a908:	02 bf ff 79 	be  201a6ec <rtems_rfs_dir_read+0x134>         <== NOT EXECUTED
 201a90c:	d4 07 bf fc 	ld  [ %fp + -4 ], %o2                          <== NOT EXECUTED
    rc = rtems_rfs_block_map_next_block (fs, &map, &block);           
    if (rc == ENXIO)                                                  
      rc = ENOENT;                                                    
  }                                                                   
                                                                      
  rtems_rfs_buffer_handle_close (fs, &buffer);                        
 201a910:	10 80 00 04 	b  201a920 <rtems_rfs_dir_read+0x368>          <== NOT EXECUTED
 201a914:	92 07 bf f0 	add  %fp, -16, %o1                             <== NOT EXECUTED
      printf ("rtems-rfs: dir-read: next block: off:%" PRId64 " length:%zd\n",
              offset, *length);                                       
                                                                      
    rc = rtems_rfs_block_map_next_block (fs, &map, &block);           
    if (rc == ENXIO)                                                  
      rc = ENOENT;                                                    
 201a918:	b4 10 20 02 	mov  2, %i2                                    <== NOT EXECUTED
  }                                                                   
                                                                      
  rtems_rfs_buffer_handle_close (fs, &buffer);                        
 201a91c:	92 07 bf f0 	add  %fp, -16, %o1                             <== NOT EXECUTED
 201a920:	7f ff fc 00 	call  2019920 <rtems_rfs_buffer_handle_close>  <== NOT EXECUTED
 201a924:	90 10 00 18 	mov  %i0, %o0                                  <== NOT EXECUTED
  rtems_rfs_block_map_close (fs, &map);                               
 201a928:	90 10 00 18 	mov  %i0, %o0                                  <== NOT EXECUTED
 201a92c:	92 07 bf a0 	add  %fp, -96, %o1                             <== NOT EXECUTED
 201a930:	7f ff f6 d3 	call  201847c <rtems_rfs_block_map_close>      <== NOT EXECUTED
 201a934:	01 00 00 00 	nop                                            <== NOT EXECUTED
  return rc;                                                          
}                                                                     
 201a938:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 201a93c:	91 e8 00 1a 	restore  %g0, %i2, %o0                         <== NOT EXECUTED
                                                                      

0201ab6c <rtems_rfs_file_close>: } int rtems_rfs_file_close (rtems_rfs_file_system* fs, rtems_rfs_file_handle* handle) {
 201ab6c:	9d e3 bf a0 	save  %sp, -96, %sp                            
  int rrc;                                                            
  int rc;                                                             
                                                                      
  rrc = 0;                                                            
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_FILE_CLOSE))                   
 201ab70:	90 10 20 10 	mov  0x10, %o0                                 
 201ab74:	92 10 20 00 	clr  %o1                                       
 201ab78:	7f ff d9 b0 	call  2011238 <rtems_rfs_trace>                
 201ab7c:	ba 10 00 18 	mov  %i0, %i5                                  
 201ab80:	80 8a 20 ff 	btst  0xff, %o0                                
 201ab84:	22 80 00 08 	be,a   201aba4 <rtems_rfs_file_close+0x38>     <== ALWAYS TAKEN
 201ab88:	d2 06 60 1c 	ld  [ %i1 + 0x1c ], %o1                        
    printf ("rtems-rfs: file-close: entry: ino=%" PRId32 "\n",        
            handle->shared->inode.ino);                               
 201ab8c:	c2 06 60 1c 	ld  [ %i1 + 0x1c ], %g1                        <== NOT EXECUTED
  int rc;                                                             
                                                                      
  rrc = 0;                                                            
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_FILE_CLOSE))                   
    printf ("rtems-rfs: file-close: entry: ino=%" PRId32 "\n",        
 201ab90:	11 00 80 c0 	sethi  %hi(0x2030000), %o0                     <== NOT EXECUTED
 201ab94:	d2 00 60 14 	ld  [ %g1 + 0x14 ], %o1                        <== NOT EXECUTED
 201ab98:	40 00 11 8c 	call  201f1c8 <printf>                         <== NOT EXECUTED
 201ab9c:	90 12 20 d8 	or  %o0, 0xd8, %o0                             <== NOT EXECUTED
            handle->shared->inode.ino);                               
                                                                      
  if (handle->shared->references > 0)                                 
 201aba0:	d2 06 60 1c 	ld  [ %i1 + 0x1c ], %o1                        <== NOT EXECUTED
 201aba4:	c2 02 60 08 	ld  [ %o1 + 8 ], %g1                           
 201aba8:	80 a0 60 00 	cmp  %g1, 0                                    
 201abac:	04 80 00 03 	ble  201abb8 <rtems_rfs_file_close+0x4c>       <== NEVER TAKEN
 201abb0:	82 00 7f ff 	add  %g1, -1, %g1                              
    handle->shared->references--;                                     
 201abb4:	c2 22 60 08 	st  %g1, [ %o1 + 8 ]                           
                                                                      
  if (handle->shared->references == 0)                                
 201abb8:	c2 02 60 08 	ld  [ %o1 + 8 ], %g1                           
 201abbc:	80 a0 60 00 	cmp  %g1, 0                                    
 201abc0:	12 80 00 7e 	bne  201adb8 <rtems_rfs_file_close+0x24c>      <== NEVER TAKEN
 201abc4:	b0 10 20 00 	clr  %i0                                       
  {                                                                   
    if (!rtems_rfs_inode_is_loaded (&handle->shared->inode))          
 201abc8:	c2 02 60 18 	ld  [ %o1 + 0x18 ], %g1                        
 201abcc:	80 a0 60 00 	cmp  %g1, 0                                    
 201abd0:	32 80 00 09 	bne,a   201abf4 <rtems_rfs_file_close+0x88>    <== NEVER TAKEN
 201abd4:	c2 06 60 1c 	ld  [ %i1 + 0x1c ], %g1                        <== NOT EXECUTED
      rrc = rtems_rfs_inode_load (fs, &handle->shared->inode);        
 201abd8:	90 10 00 1d 	mov  %i5, %o0                                  
 201abdc:	7f ff d1 b3 	call  200f2a8 <rtems_rfs_inode_load>           
 201abe0:	92 02 60 0c 	add  %o1, 0xc, %o1                             
                                                                      
    if (rrc == 0)                                                     
 201abe4:	b0 92 20 00 	orcc  %o0, 0, %i0                              
 201abe8:	32 80 00 3f 	bne,a   201ace4 <rtems_rfs_file_close+0x178>   <== NEVER TAKEN
 201abec:	d2 06 60 1c 	ld  [ %i1 + 0x1c ], %o1                        <== NOT EXECUTED
    {                                                                 
      /*                                                              
       * @todo This could be clever and only update if different.     
       */                                                             
      rtems_rfs_inode_set_atime (&handle->shared->inode,              
 201abf0:	c2 06 60 1c 	ld  [ %i1 + 0x1c ], %g1                        
 201abf4:	c4 00 60 8c 	ld  [ %g1 + 0x8c ], %g2                        
 */                                                                   
static inline void                                                    
rtems_rfs_inode_set_atime (rtems_rfs_inode_handle* handle,            
                           rtems_rfs_time          atime)             
{                                                                     
  rtems_rfs_write_u32 (&handle->node->atime, atime);                  
 201abf8:	c6 00 60 18 	ld  [ %g1 + 0x18 ], %g3                        
 201abfc:	89 30 a0 18 	srl  %g2, 0x18, %g4                            
 201ac00:	c8 28 e0 10 	stb  %g4, [ %g3 + 0x10 ]                       
 201ac04:	c6 00 60 18 	ld  [ %g1 + 0x18 ], %g3                        
 201ac08:	89 30 a0 10 	srl  %g2, 0x10, %g4                            
 201ac0c:	c8 28 e0 11 	stb  %g4, [ %g3 + 0x11 ]                       
 201ac10:	c6 00 60 18 	ld  [ %g1 + 0x18 ], %g3                        
 201ac14:	89 30 a0 08 	srl  %g2, 8, %g4                               
 201ac18:	c8 28 e0 12 	stb  %g4, [ %g3 + 0x12 ]                       
 201ac1c:	c6 00 60 18 	ld  [ %g1 + 0x18 ], %g3                        
 201ac20:	c4 28 e0 13 	stb  %g2, [ %g3 + 0x13 ]                       
  rtems_rfs_buffer_mark_dirty (&handle->buffer);                      
 201ac24:	86 10 20 01 	mov  1, %g3                                    
 201ac28:	c6 28 60 1c 	stb  %g3, [ %g1 + 0x1c ]                       
                                 handle->shared->atime);              
      rtems_rfs_inode_set_mtime (&handle->shared->inode,              
 201ac2c:	c2 06 60 1c 	ld  [ %i1 + 0x1c ], %g1                        
 201ac30:	c4 00 60 90 	ld  [ %g1 + 0x90 ], %g2                        
 */                                                                   
static inline void                                                    
rtems_rfs_inode_set_mtime (rtems_rfs_inode_handle* handle,            
                           rtems_rfs_time          mtime)             
{                                                                     
  rtems_rfs_write_u32 (&handle->node->mtime, mtime);                  
 201ac34:	c8 00 60 18 	ld  [ %g1 + 0x18 ], %g4                        
 201ac38:	b9 30 a0 18 	srl  %g2, 0x18, %i4                            
 201ac3c:	f8 29 20 14 	stb  %i4, [ %g4 + 0x14 ]                       
 201ac40:	c8 00 60 18 	ld  [ %g1 + 0x18 ], %g4                        
 201ac44:	b9 30 a0 10 	srl  %g2, 0x10, %i4                            
 201ac48:	f8 29 20 15 	stb  %i4, [ %g4 + 0x15 ]                       
 201ac4c:	c8 00 60 18 	ld  [ %g1 + 0x18 ], %g4                        
 201ac50:	b9 30 a0 08 	srl  %g2, 8, %i4                               
 201ac54:	f8 29 20 16 	stb  %i4, [ %g4 + 0x16 ]                       
 201ac58:	c8 00 60 18 	ld  [ %g1 + 0x18 ], %g4                        
 201ac5c:	c4 29 20 17 	stb  %g2, [ %g4 + 0x17 ]                       
  rtems_rfs_buffer_mark_dirty (&handle->buffer);                      
 201ac60:	c6 28 60 1c 	stb  %g3, [ %g1 + 0x1c ]                       
                                 handle->shared->mtime);              
      rtems_rfs_inode_set_ctime (&handle->shared->inode,              
 201ac64:	c2 06 60 1c 	ld  [ %i1 + 0x1c ], %g1                        
 201ac68:	c4 00 60 94 	ld  [ %g1 + 0x94 ], %g2                        
 */                                                                   
static inline void                                                    
rtems_rfs_inode_set_ctime (rtems_rfs_inode_handle* handle,            
                           rtems_rfs_time          ctime)             
{                                                                     
  rtems_rfs_write_u32 (&handle->node->ctime, ctime);                  
 201ac6c:	c8 00 60 18 	ld  [ %g1 + 0x18 ], %g4                        
 201ac70:	b9 30 a0 18 	srl  %g2, 0x18, %i4                            
 201ac74:	f8 29 20 18 	stb  %i4, [ %g4 + 0x18 ]                       
 201ac78:	c8 00 60 18 	ld  [ %g1 + 0x18 ], %g4                        
 201ac7c:	b9 30 a0 10 	srl  %g2, 0x10, %i4                            
 201ac80:	f8 29 20 19 	stb  %i4, [ %g4 + 0x19 ]                       
 201ac84:	c8 00 60 18 	ld  [ %g1 + 0x18 ], %g4                        
 201ac88:	b9 30 a0 08 	srl  %g2, 8, %i4                               
 201ac8c:	f8 29 20 1a 	stb  %i4, [ %g4 + 0x1a ]                       
 201ac90:	c8 00 60 18 	ld  [ %g1 + 0x18 ], %g4                        
 201ac94:	c4 29 20 1b 	stb  %g2, [ %g4 + 0x1b ]                       
  rtems_rfs_buffer_mark_dirty (&handle->buffer);                      
 201ac98:	c6 28 60 1c 	stb  %g3, [ %g1 + 0x1c ]                       
                                 handle->shared->ctime);              
      if (!rtems_rfs_block_size_equal (&handle->shared->size,         
 201ac9c:	c2 06 60 1c 	ld  [ %i1 + 0x1c ], %g1                        
 201aca0:	c4 00 60 84 	ld  [ %g1 + 0x84 ], %g2                        
 201aca4:	c6 00 60 3c 	ld  [ %g1 + 0x3c ], %g3                        
 201aca8:	80 a0 80 03 	cmp  %g2, %g3                                  
 201acac:	32 80 00 08 	bne,a   201accc <rtems_rfs_file_close+0x160>   <== NEVER TAKEN
 201acb0:	c4 20 60 3c 	st  %g2, [ %g1 + 0x3c ]                        <== NOT EXECUTED
 201acb4:	c8 00 60 88 	ld  [ %g1 + 0x88 ], %g4                        
 201acb8:	c6 00 60 40 	ld  [ %g1 + 0x40 ], %g3                        
 201acbc:	80 a1 00 03 	cmp  %g4, %g3                                  
 201acc0:	02 80 00 08 	be  201ace0 <rtems_rfs_file_close+0x174>       <== ALWAYS TAKEN
 201acc4:	b0 10 20 00 	clr  %i0                                       
 */                                                                   
static inline void                                                    
rtems_rfs_block_map_set_size (rtems_rfs_block_map*  map,              
                              rtems_rfs_block_size* size)             
{                                                                     
  rtems_rfs_block_copy_size (&map->size, size);                       
 201acc8:	c4 20 60 3c 	st  %g2, [ %g1 + 0x3c ]                        <== NOT EXECUTED
 201accc:	c4 00 60 88 	ld  [ %g1 + 0x88 ], %g2                        <== NOT EXECUTED
  map->dirty = true;                                                  
 201acd0:	b0 10 20 00 	clr  %i0                                       <== NOT EXECUTED
 */                                                                   
static inline void                                                    
rtems_rfs_block_map_set_size (rtems_rfs_block_map*  map,              
                              rtems_rfs_block_size* size)             
{                                                                     
  rtems_rfs_block_copy_size (&map->size, size);                       
 201acd4:	c4 20 60 40 	st  %g2, [ %g1 + 0x40 ]                        <== NOT EXECUTED
  map->dirty = true;                                                  
 201acd8:	84 10 20 01 	mov  1, %g2                                    <== NOT EXECUTED
 201acdc:	c4 28 60 34 	stb  %g2, [ %g1 + 0x34 ]                       <== NOT EXECUTED
                                       &handle->shared->map.size))    
        rtems_rfs_block_map_set_size (&handle->shared->map,           
                                      &handle->shared->size);         
    }                                                                 
                                                                      
    rc = rtems_rfs_block_map_close (fs, &handle->shared->map);        
 201ace0:	d2 06 60 1c 	ld  [ %i1 + 0x1c ], %o1                        
 201ace4:	90 10 00 1d 	mov  %i5, %o0                                  
 201ace8:	7f ff f5 e5 	call  201847c <rtems_rfs_block_map_close>      
 201acec:	92 02 60 34 	add  %o1, 0x34, %o1                            
    if (rc > 0)                                                       
 201acf0:	b8 92 20 00 	orcc  %o0, 0, %i4                              
 201acf4:	04 80 00 14 	ble  201ad44 <rtems_rfs_file_close+0x1d8>      <== ALWAYS TAKEN
 201acf8:	90 10 20 10 	mov  0x10, %o0                                 
    {                                                                 
      if (rtems_rfs_trace (RTEMS_RFS_TRACE_FILE_CLOSE))               
 201acfc:	7f ff d9 4f 	call  2011238 <rtems_rfs_trace>                <== NOT EXECUTED
 201ad00:	92 10 20 00 	clr  %o1                                       <== NOT EXECUTED
 201ad04:	80 8a 20 ff 	btst  0xff, %o0                                <== NOT EXECUTED
 201ad08:	02 80 00 0d 	be  201ad3c <rtems_rfs_file_close+0x1d0>       <== NOT EXECUTED
 201ad0c:	80 a6 20 00 	cmp  %i0, 0                                    <== NOT EXECUTED
        printf ("rtems-rfs: file-close: map close error: ino=%" PRId32 ": %d: %s\n",
                handle->shared->inode.ino, rc, strerror (rc));        
 201ad10:	c2 06 60 1c 	ld  [ %i1 + 0x1c ], %g1                        <== NOT EXECUTED
                                                                      
    rc = rtems_rfs_block_map_close (fs, &handle->shared->map);        
    if (rc > 0)                                                       
    {                                                                 
      if (rtems_rfs_trace (RTEMS_RFS_TRACE_FILE_CLOSE))               
        printf ("rtems-rfs: file-close: map close error: ino=%" PRId32 ": %d: %s\n",
 201ad14:	90 10 00 1c 	mov  %i4, %o0                                  <== NOT EXECUTED
 201ad18:	40 00 14 5f 	call  201fe94 <strerror>                       <== NOT EXECUTED
 201ad1c:	f6 00 60 14 	ld  [ %g1 + 0x14 ], %i3                        <== NOT EXECUTED
 201ad20:	92 10 00 1b 	mov  %i3, %o1                                  <== NOT EXECUTED
 201ad24:	96 10 00 08 	mov  %o0, %o3                                  <== NOT EXECUTED
 201ad28:	94 10 00 1c 	mov  %i4, %o2                                  <== NOT EXECUTED
 201ad2c:	11 00 80 c0 	sethi  %hi(0x2030000), %o0                     <== NOT EXECUTED
 201ad30:	40 00 11 26 	call  201f1c8 <printf>                         <== NOT EXECUTED
 201ad34:	90 12 21 00 	or  %o0, 0x100, %o0	! 2030100 <CSWTCH.1+0xd00> <== NOT EXECUTED
                handle->shared->inode.ino, rc, strerror (rc));        
      if (rrc == 0)                                                   
 201ad38:	80 a6 20 00 	cmp  %i0, 0                                    <== NOT EXECUTED
 201ad3c:	22 80 00 02 	be,a   201ad44 <rtems_rfs_file_close+0x1d8>    <== NOT EXECUTED
 201ad40:	b0 10 00 1c 	mov  %i4, %i0                                  <== NOT EXECUTED
        rrc = rc;                                                     
    }                                                                 
                                                                      
    rc = rtems_rfs_inode_close (fs, &handle->shared->inode);          
 201ad44:	d2 06 60 1c 	ld  [ %i1 + 0x1c ], %o1                        
 201ad48:	90 10 00 1d 	mov  %i5, %o0                                  
 201ad4c:	7f ff d1 f5 	call  200f520 <rtems_rfs_inode_close>          
 201ad50:	92 02 60 0c 	add  %o1, 0xc, %o1                             
    if (rc > 0)                                                       
 201ad54:	b8 92 20 00 	orcc  %o0, 0, %i4                              
 201ad58:	04 80 00 14 	ble  201ada8 <rtems_rfs_file_close+0x23c>      <== ALWAYS TAKEN
 201ad5c:	90 10 20 10 	mov  0x10, %o0                                 
    {                                                                 
      if (rtems_rfs_trace (RTEMS_RFS_TRACE_FILE_CLOSE))               
 201ad60:	7f ff d9 36 	call  2011238 <rtems_rfs_trace>                <== NOT EXECUTED
 201ad64:	92 10 20 00 	clr  %o1                                       <== NOT EXECUTED
 201ad68:	80 8a 20 ff 	btst  0xff, %o0                                <== NOT EXECUTED
 201ad6c:	02 80 00 0d 	be  201ada0 <rtems_rfs_file_close+0x234>       <== NOT EXECUTED
 201ad70:	80 a6 20 00 	cmp  %i0, 0                                    <== NOT EXECUTED
        printf ("rtems-rfs: file-close: inode close error: ino=%" PRId32 ": %d: %s\n",
                handle->shared->inode.ino, rc, strerror (rc));        
 201ad74:	c2 06 60 1c 	ld  [ %i1 + 0x1c ], %g1                        <== NOT EXECUTED
                                                                      
    rc = rtems_rfs_inode_close (fs, &handle->shared->inode);          
    if (rc > 0)                                                       
    {                                                                 
      if (rtems_rfs_trace (RTEMS_RFS_TRACE_FILE_CLOSE))               
        printf ("rtems-rfs: file-close: inode close error: ino=%" PRId32 ": %d: %s\n",
 201ad78:	90 10 00 1c 	mov  %i4, %o0                                  <== NOT EXECUTED
 201ad7c:	40 00 14 46 	call  201fe94 <strerror>                       <== NOT EXECUTED
 201ad80:	f6 00 60 14 	ld  [ %g1 + 0x14 ], %i3                        <== NOT EXECUTED
 201ad84:	92 10 00 1b 	mov  %i3, %o1                                  <== NOT EXECUTED
 201ad88:	96 10 00 08 	mov  %o0, %o3                                  <== NOT EXECUTED
 201ad8c:	94 10 00 1c 	mov  %i4, %o2                                  <== NOT EXECUTED
 201ad90:	11 00 80 c0 	sethi  %hi(0x2030000), %o0                     <== NOT EXECUTED
 201ad94:	40 00 11 0d 	call  201f1c8 <printf>                         <== NOT EXECUTED
 201ad98:	90 12 21 40 	or  %o0, 0x140, %o0	! 2030140 <CSWTCH.1+0xd40> <== NOT EXECUTED
                handle->shared->inode.ino, rc, strerror (rc));        
      if (rrc == 0)                                                   
 201ad9c:	80 a6 20 00 	cmp  %i0, 0                                    <== NOT EXECUTED
 201ada0:	22 80 00 02 	be,a   201ada8 <rtems_rfs_file_close+0x23c>    <== NOT EXECUTED
 201ada4:	b0 10 00 1c 	mov  %i4, %i0                                  <== NOT EXECUTED
 */                                                                   
RTEMS_INLINE_ROUTINE void rtems_chain_extract(                        
  rtems_chain_node *the_node                                          
)                                                                     
{                                                                     
  _Chain_Extract( the_node );                                         
 201ada8:	7f ff bf 4c 	call  200aad8 <_Chain_Extract>                 
 201adac:	d0 06 60 1c 	ld  [ %i1 + 0x1c ], %o0                        
        rrc = rc;                                                     
    }                                                                 
                                                                      
    rtems_chain_extract (&handle->shared->link);                      
    free (handle->shared);                                            
 201adb0:	7f ff ab af 	call  2005c6c <free>                           
 201adb4:	d0 06 60 1c 	ld  [ %i1 + 0x1c ], %o0                        
 */                                                                   
static inline int                                                     
rtems_rfs_buffer_handle_close (rtems_rfs_file_system*   fs,           
                               rtems_rfs_buffer_handle* handle)       
{                                                                     
  rtems_rfs_buffer_handle_release (fs, handle);                       
 201adb8:	90 10 00 1d 	mov  %i5, %o0                                  
 201adbc:	7f ff f8 cd 	call  20190f0 <rtems_rfs_buffer_handle_release>
 201adc0:	92 06 60 04 	add  %i1, 4, %o1                               
  handle->dirty = false;                                              
 201adc4:	c0 2e 60 04 	clrb  [ %i1 + 4 ]                              
  handle->bnum  = 0;                                                  
 201adc8:	c0 26 60 08 	clr  [ %i1 + 8 ]                               
                                                                      
  rc = rtems_rfs_buffer_handle_close (fs, &handle->buffer);           
  if ((rrc == 0) && (rc > 0))                                         
    rrc = rc;                                                         
                                                                      
  if (rrc > 0)                                                        
 201adcc:	80 a6 20 00 	cmp  %i0, 0                                    
 201add0:	04 80 00 0f 	ble  201ae0c <rtems_rfs_file_close+0x2a0>      <== ALWAYS TAKEN
 201add4:	c0 26 60 0c 	clr  [ %i1 + 0xc ]                             
  {                                                                   
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_FILE_CLOSE))                 
 201add8:	90 10 20 10 	mov  0x10, %o0                                 <== NOT EXECUTED
 201addc:	7f ff d9 17 	call  2011238 <rtems_rfs_trace>                <== NOT EXECUTED
 201ade0:	92 10 20 00 	clr  %o1                                       <== NOT EXECUTED
 201ade4:	80 8a 20 ff 	btst  0xff, %o0                                <== NOT EXECUTED
 201ade8:	02 80 00 09 	be  201ae0c <rtems_rfs_file_close+0x2a0>       <== NOT EXECUTED
 201adec:	01 00 00 00 	nop                                            <== NOT EXECUTED
      printf ("rtems-rfs: file-close: result: %d: %s\n", rrc, strerror (rrc));
 201adf0:	40 00 14 29 	call  201fe94 <strerror>                       <== NOT EXECUTED
 201adf4:	90 10 00 18 	mov  %i0, %o0                                  <== NOT EXECUTED
 201adf8:	92 10 00 18 	mov  %i0, %o1                                  <== NOT EXECUTED
 201adfc:	94 10 00 08 	mov  %o0, %o2                                  <== NOT EXECUTED
 201ae00:	11 00 80 c0 	sethi  %hi(0x2030000), %o0                     <== NOT EXECUTED
 201ae04:	40 00 10 f1 	call  201f1c8 <printf>                         <== NOT EXECUTED
 201ae08:	90 12 21 80 	or  %o0, 0x180, %o0	! 2030180 <CSWTCH.1+0xd80> <== NOT EXECUTED
  }                                                                   
                                                                      
  free (handle);                                                      
 201ae0c:	7f ff ab 98 	call  2005c6c <free>                           
 201ae10:	90 10 00 19 	mov  %i1, %o0                                  
                                                                      
  return rrc;                                                         
}                                                                     
 201ae14:	81 c7 e0 08 	ret                                            
 201ae18:	81 e8 00 00 	restore                                        
                                                                      

0201b63c <rtems_rfs_file_get_shared>: */ RTEMS_INLINE_ROUTINE Chain_Node *_Chain_First( Chain_Control *the_chain ) { return _Chain_Head( the_chain )->next;
 201b63c:	c2 02 20 70 	ld  [ %o0 + 0x70 ], %g1                        
rtems_rfs_file_get_shared (rtems_rfs_file_system* fs,                 
                           rtems_rfs_ino          ino)                
{                                                                     
  rtems_chain_node* node;                                             
  node = rtems_chain_first (&fs->file_shares);                        
  while (!rtems_chain_is_tail (&fs->file_shares, node))               
 201b640:	10 80 00 06 	b  201b658 <rtems_rfs_file_get_shared+0x1c>    
 201b644:	90 02 20 74 	add  %o0, 0x74, %o0                            
  {                                                                   
    rtems_rfs_file_shared* shared;                                    
    shared = (rtems_rfs_file_shared*) node;                           
    if (shared->inode.ino == ino)                                     
 201b648:	80 a0 80 09 	cmp  %g2, %o1                                  <== NOT EXECUTED
 201b64c:	02 80 00 08 	be  201b66c <rtems_rfs_file_get_shared+0x30>   <== NOT EXECUTED
 201b650:	01 00 00 00 	nop                                            <== NOT EXECUTED
      return shared;                                                  
    node = rtems_chain_next (node);                                   
  }                                                                   
  return NULL;                                                        
}                                                                     
 201b654:	c2 00 40 00 	ld  [ %g1 ], %g1                               <== NOT EXECUTED
rtems_rfs_file_get_shared (rtems_rfs_file_system* fs,                 
                           rtems_rfs_ino          ino)                
{                                                                     
  rtems_chain_node* node;                                             
  node = rtems_chain_first (&fs->file_shares);                        
  while (!rtems_chain_is_tail (&fs->file_shares, node))               
 201b658:	80 a0 40 08 	cmp  %g1, %o0                                  
 201b65c:	32 bf ff fb 	bne,a   201b648 <rtems_rfs_file_get_shared+0xc><== NEVER TAKEN
 201b660:	c4 00 60 14 	ld  [ %g1 + 0x14 ], %g2                        <== NOT EXECUTED
    shared = (rtems_rfs_file_shared*) node;                           
    if (shared->inode.ino == ino)                                     
      return shared;                                                  
    node = rtems_chain_next (node);                                   
  }                                                                   
  return NULL;                                                        
 201b664:	81 c3 e0 08 	retl                                           
 201b668:	90 10 20 00 	clr  %o0                                       
}                                                                     
 201b66c:	81 c3 e0 08 	retl                                           <== NOT EXECUTED
 201b670:	90 10 00 01 	mov  %g1, %o0                                  <== NOT EXECUTED
                                                                      

0201b030 <rtems_rfs_file_io_end>: int rtems_rfs_file_io_end (rtems_rfs_file_handle* handle, size_t size, bool read) {
 201b030:	9d e3 bf a0 	save  %sp, -96, %sp                            
  bool atime;                                                         
  bool mtime;                                                         
  bool length;                                                        
  int  rc = 0;                                                        
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_FILE_IO))                      
 201b034:	90 10 20 20 	mov  0x20, %o0                                 
 201b038:	92 10 20 00 	clr  %o1                                       
 201b03c:	7f ff d8 7f 	call  2011238 <rtems_rfs_trace>                
 201b040:	ba 10 00 18 	mov  %i0, %i5                                  
 201b044:	80 8a 20 ff 	btst  0xff, %o0                                
 201b048:	22 80 00 0d 	be,a   201b07c <rtems_rfs_file_io_end+0x4c>    <== ALWAYS TAKEN
 201b04c:	c2 07 60 0c 	ld  [ %i5 + 0xc ], %g1                         
    printf ("rtems-rfs: file-io:   end: %s size=%zu\n",               
 201b050:	13 00 80 b4 	sethi  %hi(0x202d000), %o1                     <== NOT EXECUTED
 201b054:	80 a6 a0 00 	cmp  %i2, 0                                    <== NOT EXECUTED
 201b058:	02 80 00 04 	be  201b068 <rtems_rfs_file_io_end+0x38>       <== NOT EXECUTED
 201b05c:	92 12 61 48 	or  %o1, 0x148, %o1                            <== NOT EXECUTED
 201b060:	13 00 80 bb 	sethi  %hi(0x202ec00), %o1                     <== NOT EXECUTED
 201b064:	92 12 60 e8 	or  %o1, 0xe8, %o1	! 202ece8 <rtems_rfs_rtems_link_handlers+0x2f0><== NOT EXECUTED
 201b068:	11 00 80 c0 	sethi  %hi(0x2030000), %o0                     <== NOT EXECUTED
 201b06c:	94 10 00 19 	mov  %i1, %o2                                  <== NOT EXECUTED
 201b070:	40 00 10 56 	call  201f1c8 <printf>                         <== NOT EXECUTED
 201b074:	90 12 22 60 	or  %o0, 0x260, %o0                            <== NOT EXECUTED
            read ? "read" : "write", size);                           
                                                                      
  if (rtems_rfs_buffer_handle_has_block (&handle->buffer))            
 201b078:	c2 07 60 0c 	ld  [ %i5 + 0xc ], %g1                         <== NOT EXECUTED
 201b07c:	80 a0 60 00 	cmp  %g1, 0                                    
 201b080:	02 80 00 1d 	be  201b0f4 <rtems_rfs_file_io_end+0xc4>       <== NEVER TAKEN
 201b084:	80 a6 a0 00 	cmp  %i2, 0                                    
  {                                                                   
    if (!read)                                                        
 201b088:	32 80 00 05 	bne,a   201b09c <rtems_rfs_file_io_end+0x6c>   
 201b08c:	c2 07 60 1c 	ld  [ %i5 + 0x1c ], %g1                        
      rtems_rfs_buffer_mark_dirty (rtems_rfs_file_buffer (handle));   
 201b090:	82 10 20 01 	mov  1, %g1                                    
 201b094:	c2 2f 60 04 	stb  %g1, [ %i5 + 4 ]                          
    rc = rtems_rfs_buffer_handle_release (rtems_rfs_file_fs (handle), 
 201b098:	c2 07 60 1c 	ld  [ %i5 + 0x1c ], %g1                        
 201b09c:	92 07 60 04 	add  %i5, 4, %o1                               
 201b0a0:	7f ff f8 14 	call  20190f0 <rtems_rfs_buffer_handle_release>
 201b0a4:	d0 00 60 98 	ld  [ %g1 + 0x98 ], %o0                        
                                          rtems_rfs_file_buffer (handle));
    if (rc > 0)                                                       
 201b0a8:	b0 92 20 00 	orcc  %o0, 0, %i0                              
 201b0ac:	04 80 00 13 	ble  201b0f8 <rtems_rfs_file_io_end+0xc8>      <== ALWAYS TAKEN
 201b0b0:	80 a6 a0 00 	cmp  %i2, 0                                    
    {                                                                 
      printf (                                                        
 201b0b4:	3b 00 80 b4 	sethi  %hi(0x202d000), %i5                     <== NOT EXECUTED
 201b0b8:	02 80 00 04 	be  201b0c8 <rtems_rfs_file_io_end+0x98>       <== NOT EXECUTED
 201b0bc:	ba 17 61 48 	or  %i5, 0x148, %i5	! 202d148 <_rodata_start+0x438><== NOT EXECUTED
 201b0c0:	3b 00 80 bb 	sethi  %hi(0x202ec00), %i5                     <== NOT EXECUTED
 201b0c4:	ba 17 60 e8 	or  %i5, 0xe8, %i5	! 202ece8 <rtems_rfs_rtems_link_handlers+0x2f0><== NOT EXECUTED
 201b0c8:	40 00 13 73 	call  201fe94 <strerror>                       <== NOT EXECUTED
 201b0cc:	90 10 00 18 	mov  %i0, %o0                                  <== NOT EXECUTED
 201b0d0:	92 10 00 1d 	mov  %i5, %o1                                  <== NOT EXECUTED
 201b0d4:	98 10 00 08 	mov  %o0, %o4                                  <== NOT EXECUTED
 201b0d8:	94 10 00 19 	mov  %i1, %o2                                  <== NOT EXECUTED
 201b0dc:	11 00 80 c0 	sethi  %hi(0x2030000), %o0                     <== NOT EXECUTED
 201b0e0:	96 10 00 18 	mov  %i0, %o3                                  <== NOT EXECUTED
 201b0e4:	40 00 10 39 	call  201f1c8 <printf>                         <== NOT EXECUTED
 201b0e8:	90 12 22 88 	or  %o0, 0x288, %o0                            <== NOT EXECUTED
        "rtems-rfs: file-io:   end: error on release: %s size=%zu: %d: %s\n",
        read ? "read" : "write", size, rc, strerror (rc));            
                                                                      
      return rc;                                                      
 201b0ec:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 201b0f0:	81 e8 00 00 	restore                                        <== NOT EXECUTED
                       bool                   read)                   
{                                                                     
  bool atime;                                                         
  bool mtime;                                                         
  bool length;                                                        
  int  rc = 0;                                                        
 201b0f4:	b0 10 20 00 	clr  %i0                                       <== NOT EXECUTED
   * increase the block number and adjust the offset.                 
   *                                                                  
   * If we are the last block and the position is past the current size update
   * the size with the new length. The map holds the block count.     
   */                                                                 
  handle->bpos.boff += size;                                          
 201b0f8:	c2 07 60 14 	ld  [ %i5 + 0x14 ], %g1                        
 201b0fc:	b2 06 40 01 	add  %i1, %g1, %i1                             
                                                                      
  if (handle->bpos.boff >=                                            
      rtems_rfs_fs_block_size (rtems_rfs_file_fs (handle)))           
 201b100:	c2 07 60 1c 	ld  [ %i5 + 0x1c ], %g1                        
   * increase the block number and adjust the offset.                 
   *                                                                  
   * If we are the last block and the position is past the current size update
   * the size with the new length. The map holds the block count.     
   */                                                                 
  handle->bpos.boff += size;                                          
 201b104:	f2 27 60 14 	st  %i1, [ %i5 + 0x14 ]                        
                                                                      
  if (handle->bpos.boff >=                                            
      rtems_rfs_fs_block_size (rtems_rfs_file_fs (handle)))           
 201b108:	c4 00 60 98 	ld  [ %g1 + 0x98 ], %g2                        
 201b10c:	c4 00 a0 08 	ld  [ %g2 + 8 ], %g2                           
   * If we are the last block and the position is past the current size update
   * the size with the new length. The map holds the block count.     
   */                                                                 
  handle->bpos.boff += size;                                          
                                                                      
  if (handle->bpos.boff >=                                            
 201b110:	80 a6 40 02 	cmp  %i1, %g2                                  
 201b114:	0a 80 00 07 	bcs  201b130 <rtems_rfs_file_io_end+0x100>     <== ALWAYS TAKEN
 201b118:	80 a6 a0 00 	cmp  %i2, 0                                    
      rtems_rfs_fs_block_size (rtems_rfs_file_fs (handle)))           
  {                                                                   
    handle->bpos.bno++;                                               
 201b11c:	c6 07 60 10 	ld  [ %i5 + 0x10 ], %g3                        <== NOT EXECUTED
    handle->bpos.boff -= rtems_rfs_fs_block_size (rtems_rfs_file_fs (handle));
 201b120:	b2 26 40 02 	sub  %i1, %g2, %i1                             <== NOT EXECUTED
  handle->bpos.boff += size;                                          
                                                                      
  if (handle->bpos.boff >=                                            
      rtems_rfs_fs_block_size (rtems_rfs_file_fs (handle)))           
  {                                                                   
    handle->bpos.bno++;                                               
 201b124:	86 00 e0 01 	inc  %g3                                       <== NOT EXECUTED
    handle->bpos.boff -= rtems_rfs_fs_block_size (rtems_rfs_file_fs (handle));
 201b128:	f2 27 60 14 	st  %i1, [ %i5 + 0x14 ]                        <== NOT EXECUTED
  handle->bpos.boff += size;                                          
                                                                      
  if (handle->bpos.boff >=                                            
      rtems_rfs_fs_block_size (rtems_rfs_file_fs (handle)))           
  {                                                                   
    handle->bpos.bno++;                                               
 201b12c:	c6 27 60 10 	st  %g3, [ %i5 + 0x10 ]                        <== NOT EXECUTED
  }                                                                   
                                                                      
  length = false;                                                     
  mtime = false;                                                      
                                                                      
  if (!read &&                                                        
 201b130:	12 80 00 19 	bne  201b194 <rtems_rfs_file_io_end+0x164>     
 201b134:	84 10 20 00 	clr  %g2                                       
      rtems_rfs_block_map_past_end (rtems_rfs_file_map (handle),      
 201b138:	c6 07 60 10 	ld  [ %i5 + 0x10 ], %g3                        
  }                                                                   
                                                                      
  length = false;                                                     
  mtime = false;                                                      
                                                                      
  if (!read &&                                                        
 201b13c:	80 a0 e0 00 	cmp  %g3, 0                                    
 201b140:	02 80 00 05 	be  201b154 <rtems_rfs_file_io_end+0x124>      <== ALWAYS TAKEN
 201b144:	c4 00 60 3c 	ld  [ %g1 + 0x3c ], %g2                        
      rtems_rfs_block_map_past_end (rtems_rfs_file_map (handle),      
 201b148:	80 a0 a0 00 	cmp  %g2, 0                                    <== NOT EXECUTED
 201b14c:	22 80 00 0f 	be,a   201b188 <rtems_rfs_file_io_end+0x158>   <== NOT EXECUTED
 201b150:	c4 07 60 14 	ld  [ %i5 + 0x14 ], %g2                        <== NOT EXECUTED
 201b154:	80 a0 c0 02 	cmp  %g3, %g2                                  
 201b158:	3a 80 00 0c 	bcc,a   201b188 <rtems_rfs_file_io_end+0x158>  <== NEVER TAKEN
 201b15c:	c4 07 60 14 	ld  [ %i5 + 0x14 ], %g2                        <== NOT EXECUTED
 201b160:	88 00 bf ff 	add  %g2, -1, %g4                              
 201b164:	80 a0 c0 04 	cmp  %g3, %g4                                  
 201b168:	12 80 00 0b 	bne  201b194 <rtems_rfs_file_io_end+0x164>     <== NEVER TAKEN
 201b16c:	84 10 20 00 	clr  %g2                                       
 201b170:	c8 07 60 14 	ld  [ %i5 + 0x14 ], %g4                        
 201b174:	c6 00 60 40 	ld  [ %g1 + 0x40 ], %g3                        
 201b178:	80 a1 00 03 	cmp  %g4, %g3                                  
 201b17c:	28 80 00 07 	bleu,a   201b198 <rtems_rfs_file_io_end+0x168> 
 201b180:	c2 07 40 00 	ld  [ %i5 ], %g1                               
 */                                                                   
static inline void                                                    
rtems_rfs_block_map_set_size_offset (rtems_rfs_block_map* map,        
                                     rtems_rfs_block_off  offset)     
{                                                                     
  map->size.offset = offset;                                          
 201b184:	c4 07 60 14 	ld  [ %i5 + 0x14 ], %g2                        
 201b188:	c4 20 60 40 	st  %g2, [ %g1 + 0x40 ]                        
  map->dirty = true;                                                  
 201b18c:	84 10 20 01 	mov  1, %g2                                    
 201b190:	c4 28 60 34 	stb  %g2, [ %g1 + 0x34 ]                       
                                         handle->bpos.boff);          
    length = true;                                                    
    mtime = true;                                                     
  }                                                                   
                                                                      
  atime  = rtems_rfs_file_update_atime (handle);                      
 201b194:	c2 07 40 00 	ld  [ %i5 ], %g1                               
  mtime  = rtems_rfs_file_update_mtime (handle) && mtime;             
 201b198:	b8 10 20 00 	clr  %i4                                       
                                         handle->bpos.boff);          
    length = true;                                                    
    mtime = true;                                                     
  }                                                                   
                                                                      
  atime  = rtems_rfs_file_update_atime (handle);                      
 201b19c:	b6 08 60 01 	and  %g1, 1, %i3                               
  mtime  = rtems_rfs_file_update_mtime (handle) && mtime;             
 201b1a0:	80 88 60 02 	btst  2, %g1                                   
 201b1a4:	12 80 00 03 	bne  201b1b0 <rtems_rfs_file_io_end+0x180>     <== NEVER TAKEN
 201b1a8:	b6 1e e0 01 	xor  %i3, 1, %i3                               
 201b1ac:	b8 08 a0 ff 	and  %g2, 0xff, %i4                            
  length = rtems_rfs_file_update_length (handle) && length;           
 201b1b0:	80 88 60 04 	btst  4, %g1                                   
 201b1b4:	12 80 00 03 	bne  201b1c0 <rtems_rfs_file_io_end+0x190>     <== NEVER TAKEN
 201b1b8:	b2 10 20 00 	clr  %i1                                       
 201b1bc:	b2 08 a0 ff 	and  %g2, 0xff, %i1                            
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_FILE_IO))                      
 201b1c0:	90 10 20 20 	mov  0x20, %o0                                 
 201b1c4:	7f ff d8 1d 	call  2011238 <rtems_rfs_trace>                
 201b1c8:	92 10 20 00 	clr  %o1                                       
 201b1cc:	80 8a 20 ff 	btst  0xff, %o0                                
 201b1d0:	02 80 00 17 	be  201b22c <rtems_rfs_file_io_end+0x1fc>      <== ALWAYS TAKEN
 201b1d4:	80 8e e0 ff 	btst  0xff, %i3                                
    printf ("rtems-rfs: file-io:   end: pos=%" PRIu32 ":%" PRIu32 " %c %c %c\n",
 201b1d8:	82 0e e0 ff 	and  %i3, 0xff, %g1                            <== NOT EXECUTED
 201b1dc:	80 a0 00 01 	cmp  %g0, %g1                                  <== NOT EXECUTED
 201b1e0:	d2 07 60 10 	ld  [ %i5 + 0x10 ], %o1                        <== NOT EXECUTED
 201b1e4:	96 40 3f ff 	addx  %g0, -1, %o3                             <== NOT EXECUTED
 201b1e8:	82 0f 20 ff 	and  %i4, 0xff, %g1                            <== NOT EXECUTED
 201b1ec:	d4 07 60 14 	ld  [ %i5 + 0x14 ], %o2                        <== NOT EXECUTED
 201b1f0:	80 a0 00 01 	cmp  %g0, %g1                                  <== NOT EXECUTED
 201b1f4:	82 0e 60 ff 	and  %i1, 0xff, %g1                            <== NOT EXECUTED
 201b1f8:	98 40 3f ff 	addx  %g0, -1, %o4                             <== NOT EXECUTED
 201b1fc:	80 a0 00 01 	cmp  %g0, %g1                                  <== NOT EXECUTED
 201b200:	96 0a ff ec 	and  %o3, -20, %o3                             <== NOT EXECUTED
 201b204:	98 0b 3f e0 	and  %o4, -32, %o4                             <== NOT EXECUTED
 201b208:	9a 40 3f ff 	addx  %g0, -1, %o5                             <== NOT EXECUTED
 201b20c:	11 00 80 c0 	sethi  %hi(0x2030000), %o0                     <== NOT EXECUTED
 201b210:	9a 0b 7f e1 	and  %o5, -31, %o5                             <== NOT EXECUTED
 201b214:	90 12 22 d0 	or  %o0, 0x2d0, %o0                            <== NOT EXECUTED
 201b218:	96 02 e0 41 	add  %o3, 0x41, %o3                            <== NOT EXECUTED
 201b21c:	98 03 20 4d 	add  %o4, 0x4d, %o4                            <== NOT EXECUTED
 201b220:	40 00 0f ea 	call  201f1c8 <printf>                         <== NOT EXECUTED
 201b224:	9a 03 60 4c 	add  %o5, 0x4c, %o5                            <== NOT EXECUTED
            handle->bpos.bno, handle->bpos.boff,                      
            atime ? 'A' : '-', mtime ? 'M' : '-', length ? 'L' : '-');
                                                                      
  if (atime || mtime)                                                 
 201b228:	80 8e e0 ff 	btst  0xff, %i3                                <== NOT EXECUTED
 201b22c:	12 80 00 04 	bne  201b23c <rtems_rfs_file_io_end+0x20c>     <== ALWAYS TAKEN
 201b230:	80 8f 20 ff 	btst  0xff, %i4                                
 201b234:	02 80 00 11 	be  201b278 <rtems_rfs_file_io_end+0x248>      <== NOT EXECUTED
 201b238:	80 8e 60 ff 	btst  0xff, %i1                                <== NOT EXECUTED
  {                                                                   
    time_t now = time (NULL);                                         
 201b23c:	40 00 1d 48 	call  202275c <time>                           
 201b240:	90 10 20 00 	clr  %o0                                       
    if (read && atime)                                                
 201b244:	80 a6 a0 00 	cmp  %i2, 0                                    
 201b248:	02 80 00 08 	be  201b268 <rtems_rfs_file_io_end+0x238>      
 201b24c:	80 8f 20 ff 	btst  0xff, %i4                                
 201b250:	80 8e e0 ff 	btst  0xff, %i3                                
 201b254:	02 80 00 09 	be  201b278 <rtems_rfs_file_io_end+0x248>      <== NEVER TAKEN
 201b258:	80 8e 60 ff 	btst  0xff, %i1                                
      handle->shared->atime = now;                                    
 201b25c:	c2 07 60 1c 	ld  [ %i5 + 0x1c ], %g1                        
 201b260:	10 80 00 06 	b  201b278 <rtems_rfs_file_io_end+0x248>       
 201b264:	d0 20 60 8c 	st  %o0, [ %g1 + 0x8c ]                        
    if (!read && mtime)                                               
 201b268:	02 80 00 04 	be  201b278 <rtems_rfs_file_io_end+0x248>      
 201b26c:	80 8e 60 ff 	btst  0xff, %i1                                
      handle->shared->mtime = now;                                    
 201b270:	c2 07 60 1c 	ld  [ %i5 + 0x1c ], %g1                        
 201b274:	d0 20 60 90 	st  %o0, [ %g1 + 0x90 ]                        
  }                                                                   
  if (length)                                                         
 201b278:	02 80 00 07 	be  201b294 <rtems_rfs_file_io_end+0x264>      
 201b27c:	01 00 00 00 	nop                                            
  {                                                                   
    handle->shared->size.count =                                      
      rtems_rfs_block_map_count (rtems_rfs_file_map (handle));        
 201b280:	c2 07 60 1c 	ld  [ %i5 + 0x1c ], %g1                        
    if (!read && mtime)                                               
      handle->shared->mtime = now;                                    
  }                                                                   
  if (length)                                                         
  {                                                                   
    handle->shared->size.count =                                      
 201b284:	c4 00 60 3c 	ld  [ %g1 + 0x3c ], %g2                        
 201b288:	c4 20 60 84 	st  %g2, [ %g1 + 0x84 ]                        
      rtems_rfs_block_map_count (rtems_rfs_file_map (handle));        
    handle->shared->size.offset =                                     
 201b28c:	c4 00 60 40 	ld  [ %g1 + 0x40 ], %g2                        
 201b290:	c4 20 60 88 	st  %g2, [ %g1 + 0x88 ]                        
      rtems_rfs_block_map_size_offset (rtems_rfs_file_map (handle));  
  }                                                                   
                                                                      
  return rc;                                                          
}                                                                     
 201b294:	81 c7 e0 08 	ret                                            
 201b298:	81 e8 00 00 	restore                                        
                                                                      

0201b29c <rtems_rfs_file_io_release>: int rtems_rfs_file_io_release (rtems_rfs_file_handle* handle) { int rc = 0; if (rtems_rfs_buffer_handle_has_block (&handle->buffer))
 201b29c:	c2 02 20 0c 	ld  [ %o0 + 0xc ], %g1                         <== NOT EXECUTED
 201b2a0:	80 a0 60 00 	cmp  %g1, 0                                    <== NOT EXECUTED
 201b2a4:	02 80 00 08 	be  201b2c4 <rtems_rfs_file_io_release+0x28>   <== NOT EXECUTED
 201b2a8:	92 10 00 08 	mov  %o0, %o1                                  <== NOT EXECUTED
    rc = rtems_rfs_buffer_handle_release (rtems_rfs_file_fs (handle), 
 201b2ac:	c2 02 20 1c 	ld  [ %o0 + 0x1c ], %g1                        <== NOT EXECUTED
 201b2b0:	92 02 60 04 	add  %o1, 4, %o1                               <== NOT EXECUTED
 201b2b4:	d0 00 60 98 	ld  [ %g1 + 0x98 ], %o0                        <== NOT EXECUTED
 201b2b8:	82 13 c0 00 	mov  %o7, %g1                                  <== NOT EXECUTED
 201b2bc:	7f ff f7 8d 	call  20190f0 <rtems_rfs_buffer_handle_release><== NOT EXECUTED
 201b2c0:	9e 10 40 00 	mov  %g1, %o7                                  <== NOT EXECUTED
                                          rtems_rfs_file_buffer (handle));
  return rc;                                                          
}                                                                     
 201b2c4:	81 c3 e0 08 	retl                                           <== NOT EXECUTED
 201b2c8:	90 10 20 00 	clr  %o0                                       <== NOT EXECUTED
                                                                      

0201ae1c <rtems_rfs_file_io_start>: int rtems_rfs_file_io_start (rtems_rfs_file_handle* handle, size_t* available, bool read) {
 201ae1c:	9d e3 bf 98 	save  %sp, -104, %sp                           
  size_t size;                                                        
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_FILE_IO))                      
 201ae20:	90 10 20 20 	mov  0x20, %o0                                 
 201ae24:	92 10 20 00 	clr  %o1                                       
 201ae28:	7f ff d9 04 	call  2011238 <rtems_rfs_trace>                
 201ae2c:	ba 10 00 18 	mov  %i0, %i5                                  
 201ae30:	80 8a 20 ff 	btst  0xff, %o0                                
 201ae34:	22 80 00 0e 	be,a   201ae6c <rtems_rfs_file_io_start+0x50>  <== ALWAYS TAKEN
 201ae38:	c2 07 60 0c 	ld  [ %i5 + 0xc ], %g1                         
    printf ("rtems-rfs: file-io: start: %s pos=%" PRIu32 ":%" PRIu32 "\n",
 201ae3c:	13 00 80 b4 	sethi  %hi(0x202d000), %o1                     <== NOT EXECUTED
 201ae40:	80 a6 a0 00 	cmp  %i2, 0                                    <== NOT EXECUTED
 201ae44:	02 80 00 04 	be  201ae54 <rtems_rfs_file_io_start+0x38>     <== NOT EXECUTED
 201ae48:	92 12 61 48 	or  %o1, 0x148, %o1                            <== NOT EXECUTED
 201ae4c:	13 00 80 bb 	sethi  %hi(0x202ec00), %o1                     <== NOT EXECUTED
 201ae50:	92 12 60 e8 	or  %o1, 0xe8, %o1	! 202ece8 <rtems_rfs_rtems_link_handlers+0x2f0><== NOT EXECUTED
 201ae54:	d4 07 60 10 	ld  [ %i5 + 0x10 ], %o2                        <== NOT EXECUTED
 201ae58:	d6 07 60 14 	ld  [ %i5 + 0x14 ], %o3                        <== NOT EXECUTED
 201ae5c:	11 00 80 c0 	sethi  %hi(0x2030000), %o0                     <== NOT EXECUTED
 201ae60:	40 00 10 da 	call  201f1c8 <printf>                         <== NOT EXECUTED
 201ae64:	90 12 21 a8 	or  %o0, 0x1a8, %o0	! 20301a8 <CSWTCH.1+0xda8> <== NOT EXECUTED
            read ? "read" : "write",  handle->bpos.bno, handle->bpos.boff);
                                                                      
  if (!rtems_rfs_buffer_handle_has_block (&handle->buffer))           
 201ae68:	c2 07 60 0c 	ld  [ %i5 + 0xc ], %g1                         <== NOT EXECUTED
 201ae6c:	80 a0 60 00 	cmp  %g1, 0                                    
 201ae70:	12 80 00 4c 	bne  201afa0 <rtems_rfs_file_io_start+0x184>   <== NEVER TAKEN
 201ae74:	80 a6 a0 00 	cmp  %i2, 0                                    
    bool                   request_read;                              
    int                    rc;                                        
                                                                      
    request_read = read;                                              
                                                                      
    rc = rtems_rfs_block_map_find (rtems_rfs_file_fs (handle),        
 201ae78:	d2 07 60 1c 	ld  [ %i5 + 0x1c ], %o1                        
 201ae7c:	94 07 60 10 	add  %i5, 0x10, %o2                            
 201ae80:	d0 02 60 98 	ld  [ %o1 + 0x98 ], %o0                        
 201ae84:	96 07 bf fc 	add  %fp, -4, %o3                              
 201ae88:	7f ff f5 f2 	call  2018650 <rtems_rfs_block_map_find>       
 201ae8c:	92 02 60 34 	add  %o1, 0x34, %o1                            
                                   rtems_rfs_file_map (handle),       
                                   rtems_rfs_file_bpos (handle),      
                                   &block);                           
    if (rc > 0)                                                       
 201ae90:	b0 92 20 00 	orcc  %o0, 0, %i0                              
 201ae94:	04 80 00 1e 	ble  201af0c <rtems_rfs_file_io_start+0xf0>    <== ALWAYS TAKEN
 201ae98:	80 a6 a0 00 	cmp  %i2, 0                                    
    {                                                                 
      /*                                                              
       * Has the read reached the EOF ?                               
       */                                                             
      if (read && (rc == ENXIO))                                      
 201ae9c:	02 80 00 07 	be  201aeb8 <rtems_rfs_file_io_start+0x9c>     <== NOT EXECUTED
 201aea0:	80 a6 20 06 	cmp  %i0, 6                                    <== NOT EXECUTED
 201aea4:	12 80 00 61 	bne  201b028 <rtems_rfs_file_io_start+0x20c>   <== NOT EXECUTED
 201aea8:	01 00 00 00 	nop                                            <== NOT EXECUTED
      {                                                               
        *available = 0;                                               
 201aeac:	c0 26 40 00 	clr  [ %i1 ]                                   <== NOT EXECUTED
        return 0;                                                     
 201aeb0:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 201aeb4:	91 e8 20 00 	restore  %g0, 0, %o0                           <== NOT EXECUTED
      }                                                               
                                                                      
      if (rc != ENXIO)                                                
 201aeb8:	12 80 00 5c 	bne  201b028 <rtems_rfs_file_io_start+0x20c>   <== NOT EXECUTED
 201aebc:	90 10 20 20 	mov  0x20, %o0                                 <== NOT EXECUTED
        return rc;                                                    
                                                                      
      if (rtems_rfs_trace (RTEMS_RFS_TRACE_FILE_IO))                  
 201aec0:	7f ff d8 de 	call  2011238 <rtems_rfs_trace>                <== NOT EXECUTED
 201aec4:	92 10 20 00 	clr  %o1                                       <== NOT EXECUTED
 201aec8:	80 8a 20 ff 	btst  0xff, %o0                                <== NOT EXECUTED
 201aecc:	22 80 00 06 	be,a   201aee4 <rtems_rfs_file_io_start+0xc8>  <== NOT EXECUTED
 201aed0:	d2 07 60 1c 	ld  [ %i5 + 0x1c ], %o1                        <== NOT EXECUTED
        printf ("rtems-rfs: file-io: start: grow\n");                 
 201aed4:	11 00 80 c0 	sethi  %hi(0x2030000), %o0                     <== NOT EXECUTED
 201aed8:	40 00 10 fd 	call  201f2cc <puts>                           <== NOT EXECUTED
 201aedc:	90 12 21 d8 	or  %o0, 0x1d8, %o0	! 20301d8 <CSWTCH.1+0xdd8> <== NOT EXECUTED
                                                                      
      rc = rtems_rfs_block_map_grow (rtems_rfs_file_fs (handle),      
 201aee0:	d2 07 60 1c 	ld  [ %i5 + 0x1c ], %o1                        <== NOT EXECUTED
 201aee4:	94 10 20 01 	mov  1, %o2                                    <== NOT EXECUTED
 201aee8:	d0 02 60 98 	ld  [ %o1 + 0x98 ], %o0                        <== NOT EXECUTED
 201aeec:	96 07 bf fc 	add  %fp, -4, %o3                              <== NOT EXECUTED
 201aef0:	7f ff f6 5e 	call  2018868 <rtems_rfs_block_map_grow>       <== NOT EXECUTED
 201aef4:	92 02 60 34 	add  %o1, 0x34, %o1                            <== NOT EXECUTED
                                     rtems_rfs_file_map (handle),     
                                     1, &block);                      
      if (rc > 0)                                                     
 201aef8:	b0 92 20 00 	orcc  %o0, 0, %i0                              <== NOT EXECUTED
 201aefc:	14 80 00 4b 	bg  201b028 <rtems_rfs_file_io_start+0x20c>    <== NOT EXECUTED
 201af00:	01 00 00 00 	nop                                            <== NOT EXECUTED
        return rc;                                                    
                                                                      
      request_read = false;                                           
 201af04:	10 80 00 0e 	b  201af3c <rtems_rfs_file_io_start+0x120>     <== NOT EXECUTED
 201af08:	b0 10 20 00 	clr  %i0	! 0 <PROM_START>                      <== NOT EXECUTED
      /*                                                              
       * If this is a write check if the write starts within a block or the
       * amount of data is less than a block size. If it is read the block
       * rather than getting a block to fill.                         
       */                                                             
      if (!read &&                                                    
 201af0c:	12 80 00 0c 	bne  201af3c <rtems_rfs_file_io_start+0x120>   
 201af10:	b0 10 00 1a 	mov  %i2, %i0                                  
 201af14:	c2 07 60 14 	ld  [ %i5 + 0x14 ], %g1                        
 201af18:	80 a0 60 00 	cmp  %g1, 0                                    
 201af1c:	12 80 00 08 	bne  201af3c <rtems_rfs_file_io_start+0x120>   <== NEVER TAKEN
 201af20:	b0 10 20 01 	mov  1, %i0                                    
          (rtems_rfs_file_block_offset (handle) ||                    
           (*available < rtems_rfs_fs_block_size (rtems_rfs_file_fs (handle)))))
 201af24:	c2 07 60 1c 	ld  [ %i5 + 0x1c ], %g1                        
       * If this is a write check if the write starts within a block or the
       * amount of data is less than a block size. If it is read the block
       * rather than getting a block to fill.                         
       */                                                             
      if (!read &&                                                    
          (rtems_rfs_file_block_offset (handle) ||                    
 201af28:	c4 06 40 00 	ld  [ %i1 ], %g2                               
           (*available < rtems_rfs_fs_block_size (rtems_rfs_file_fs (handle)))))
 201af2c:	c2 00 60 98 	ld  [ %g1 + 0x98 ], %g1                        
       * If this is a write check if the write starts within a block or the
       * amount of data is less than a block size. If it is read the block
       * rather than getting a block to fill.                         
       */                                                             
      if (!read &&                                                    
          (rtems_rfs_file_block_offset (handle) ||                    
 201af30:	c2 00 60 08 	ld  [ %g1 + 8 ], %g1                           
 201af34:	80 a0 80 01 	cmp  %g2, %g1                                  
 201af38:	b0 40 20 00 	addx  %g0, 0, %i0                              
           (*available < rtems_rfs_fs_block_size (rtems_rfs_file_fs (handle)))))
        request_read = true;                                          
    }                                                                 
                                                                      
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_FILE_IO))                    
 201af3c:	90 10 20 20 	mov  0x20, %o0                                 
 201af40:	7f ff d8 be 	call  2011238 <rtems_rfs_trace>                
 201af44:	92 10 20 00 	clr  %o1                                       
 201af48:	80 8a 20 ff 	btst  0xff, %o0                                
 201af4c:	22 80 00 0d 	be,a   201af80 <rtems_rfs_file_io_start+0x164> <== ALWAYS TAKEN
 201af50:	c2 07 60 1c 	ld  [ %i5 + 0x1c ], %g1                        
      printf ("rtems-rfs: file-io: start: block=%" PRIu32 " request-read=%s\n",
 201af54:	15 00 80 b9 	sethi  %hi(0x202e400), %o2                     <== NOT EXECUTED
 201af58:	d2 07 bf fc 	ld  [ %fp + -4 ], %o1                          <== NOT EXECUTED
 201af5c:	80 8e 20 ff 	btst  0xff, %i0                                <== NOT EXECUTED
 201af60:	02 80 00 04 	be  201af70 <rtems_rfs_file_io_start+0x154>    <== NOT EXECUTED
 201af64:	94 12 a3 c0 	or  %o2, 0x3c0, %o2                            <== NOT EXECUTED
 201af68:	15 00 80 b9 	sethi  %hi(0x202e400), %o2                     <== NOT EXECUTED
 201af6c:	94 12 a3 b8 	or  %o2, 0x3b8, %o2	! 202e7b8 <ramdisk_ops+0xafc><== NOT EXECUTED
 201af70:	11 00 80 c0 	sethi  %hi(0x2030000), %o0                     <== NOT EXECUTED
 201af74:	40 00 10 95 	call  201f1c8 <printf>                         <== NOT EXECUTED
 201af78:	90 12 21 f8 	or  %o0, 0x1f8, %o0	! 20301f8 <CSWTCH.1+0xdf8> <== NOT EXECUTED
              block, request_read ? "yes" : "no");                    
                                                                      
    rc = rtems_rfs_buffer_handle_request (rtems_rfs_file_fs (handle), 
 201af7c:	c2 07 60 1c 	ld  [ %i5 + 0x1c ], %g1                        <== NOT EXECUTED
 201af80:	d4 07 bf fc 	ld  [ %fp + -4 ], %o2                          
 201af84:	d0 00 60 98 	ld  [ %g1 + 0x98 ], %o0                        
 201af88:	96 0e 20 ff 	and  %i0, 0xff, %o3                            
 201af8c:	7f ff f8 cb 	call  20192b8 <rtems_rfs_buffer_handle_request>
 201af90:	92 07 60 04 	add  %i5, 4, %o1                               
                                          rtems_rfs_file_buffer (handle),
                                          block, request_read);       
    if (rc > 0)                                                       
 201af94:	b0 92 20 00 	orcc  %o0, 0, %i0                              
 201af98:	14 80 00 24 	bg  201b028 <rtems_rfs_file_io_start+0x20c>    <== NEVER TAKEN
 201af9c:	80 a6 a0 00 	cmp  %i2, 0                                    
      return rc;                                                      
  }                                                                   
                                                                      
  if (read                                                            
 201afa0:	02 80 00 12 	be  201afe8 <rtems_rfs_file_io_start+0x1cc>    
 201afa4:	c2 07 60 1c 	ld  [ %i5 + 0x1c ], %g1                        
      && rtems_rfs_block_map_last (rtems_rfs_file_map (handle))       
 201afa8:	c4 00 60 44 	ld  [ %g1 + 0x44 ], %g2                        
 201afac:	80 a0 a0 00 	cmp  %g2, 0                                    
 201afb0:	12 80 00 05 	bne  201afc4 <rtems_rfs_file_io_start+0x1a8>   <== NEVER TAKEN
 201afb4:	c6 00 60 3c 	ld  [ %g1 + 0x3c ], %g3                        
 201afb8:	80 a0 e0 00 	cmp  %g3, 0                                    
 201afbc:	22 80 00 07 	be,a   201afd8 <rtems_rfs_file_io_start+0x1bc> <== NEVER TAKEN
 201afc0:	f4 00 60 40 	ld  [ %g1 + 0x40 ], %i2                        <== NOT EXECUTED
 201afc4:	86 00 ff ff 	add  %g3, -1, %g3                              
 201afc8:	80 a0 80 03 	cmp  %g2, %g3                                  
 201afcc:	32 80 00 07 	bne,a   201afe8 <rtems_rfs_file_io_start+0x1cc><== NEVER TAKEN
 201afd0:	c2 07 60 1c 	ld  [ %i5 + 0x1c ], %g1                        <== NOT EXECUTED
      && rtems_rfs_block_map_size_offset (rtems_rfs_file_map (handle)))
 201afd4:	f4 00 60 40 	ld  [ %g1 + 0x40 ], %i2                        
 201afd8:	80 a6 a0 00 	cmp  %i2, 0                                    
 201afdc:	32 80 00 06 	bne,a   201aff4 <rtems_rfs_file_io_start+0x1d8><== ALWAYS TAKEN
 201afe0:	c2 07 60 14 	ld  [ %i5 + 0x14 ], %g1                        
    size = rtems_rfs_block_map_size_offset (rtems_rfs_file_map (handle));
  else                                                                
    size = rtems_rfs_fs_block_size (rtems_rfs_file_fs (handle));      
 201afe4:	c2 07 60 1c 	ld  [ %i5 + 0x1c ], %g1                        <== NOT EXECUTED
 201afe8:	c2 00 60 98 	ld  [ %g1 + 0x98 ], %g1                        
 201afec:	f4 00 60 08 	ld  [ %g1 + 8 ], %i2                           
                                                                      
  *available = size - rtems_rfs_file_block_offset (handle);           
 201aff0:	c2 07 60 14 	ld  [ %i5 + 0x14 ], %g1                        
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_FILE_IO))                      
 201aff4:	90 10 20 20 	mov  0x20, %o0                                 
      && rtems_rfs_block_map_size_offset (rtems_rfs_file_map (handle)))
    size = rtems_rfs_block_map_size_offset (rtems_rfs_file_map (handle));
  else                                                                
    size = rtems_rfs_fs_block_size (rtems_rfs_file_fs (handle));      
                                                                      
  *available = size - rtems_rfs_file_block_offset (handle);           
 201aff8:	82 26 80 01 	sub  %i2, %g1, %g1                             
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_FILE_IO))                      
 201affc:	92 10 20 00 	clr  %o1                                       
      && rtems_rfs_block_map_size_offset (rtems_rfs_file_map (handle)))
    size = rtems_rfs_block_map_size_offset (rtems_rfs_file_map (handle));
  else                                                                
    size = rtems_rfs_fs_block_size (rtems_rfs_file_fs (handle));      
                                                                      
  *available = size - rtems_rfs_file_block_offset (handle);           
 201b000:	c2 26 40 00 	st  %g1, [ %i1 ]                               
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_FILE_IO))                      
 201b004:	7f ff d8 8d 	call  2011238 <rtems_rfs_trace>                
 201b008:	b0 10 20 00 	clr  %i0                                       
 201b00c:	80 8a 20 ff 	btst  0xff, %o0                                
 201b010:	02 80 00 06 	be  201b028 <rtems_rfs_file_io_start+0x20c>    <== ALWAYS TAKEN
 201b014:	11 00 80 c0 	sethi  %hi(0x2030000), %o0                     
    printf ("rtems-rfs: file-io: start: available=%zu (%zu)\n",       
 201b018:	d2 06 40 00 	ld  [ %i1 ], %o1                               <== NOT EXECUTED
 201b01c:	94 10 00 1a 	mov  %i2, %o2                                  <== NOT EXECUTED
 201b020:	40 00 10 6a 	call  201f1c8 <printf>                         <== NOT EXECUTED
 201b024:	90 12 22 30 	or  %o0, 0x230, %o0                            <== NOT EXECUTED
            *available, size);                                        
                                                                      
  return 0;                                                           
}                                                                     
 201b028:	81 c7 e0 08 	ret                                            
 201b02c:	81 e8 00 00 	restore                                        
                                                                      

0201b674 <rtems_rfs_file_open>: int rtems_rfs_file_open (rtems_rfs_file_system* fs, rtems_rfs_ino ino, uint32_t flags, rtems_rfs_file_handle** file) {
 201b674:	9d e3 bf a0 	save  %sp, -96, %sp                            
  rtems_rfs_file_handle* handle;                                      
  rtems_rfs_file_shared* shared;                                      
  int                    rc;                                          
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_FILE_OPEN))                    
 201b678:	90 10 20 08 	mov  8, %o0                                    
 201b67c:	92 10 20 00 	clr  %o1                                       
 201b680:	7f ff d6 ee 	call  2011238 <rtems_rfs_trace>                
 201b684:	ba 10 00 18 	mov  %i0, %i5                                  
 201b688:	80 8a 20 ff 	btst  0xff, %o0                                
 201b68c:	22 80 00 07 	be,a   201b6a8 <rtems_rfs_file_open+0x34>      <== ALWAYS TAKEN
 201b690:	c0 26 c0 00 	clr  [ %i3 ]                                   
    printf ("rtems-rfs: file-open: ino=%" PRId32 "\n", ino);          
 201b694:	11 00 80 c0 	sethi  %hi(0x2030000), %o0                     <== NOT EXECUTED
 201b698:	92 10 00 19 	mov  %i1, %o1                                  <== NOT EXECUTED
 201b69c:	40 00 0e cb 	call  201f1c8 <printf>                         <== NOT EXECUTED
 201b6a0:	90 12 23 50 	or  %o0, 0x350, %o0                            <== NOT EXECUTED
                                                                      
  *file = NULL;                                                       
 201b6a4:	c0 26 c0 00 	clr  [ %i3 ]                                   <== NOT EXECUTED
  /*                                                                  
   * Allocate a new handle and initialise it. Do this before we deal with the
   * shared node data so we do not have to be concerned with reference
   * counting.                                                        
   */                                                                 
  handle = malloc (sizeof (rtems_rfs_file_handle));                   
 201b6a8:	90 10 20 20 	mov  0x20, %o0                                 
 201b6ac:	7f ff ab 2b 	call  2006358 <malloc>                         
 201b6b0:	b0 10 20 0c 	mov  0xc, %i0                                  
  if (!handle)                                                        
 201b6b4:	80 a2 20 00 	cmp  %o0, 0                                    
 201b6b8:	02 80 00 58 	be  201b818 <rtems_rfs_file_open+0x1a4>        <== NEVER TAKEN
 201b6bc:	b8 10 00 08 	mov  %o0, %i4                                  
    return ENOMEM;                                                    
                                                                      
  memset (handle, 0, sizeof (rtems_rfs_file_handle));                 
 201b6c0:	92 10 20 00 	clr  %o1                                       
 201b6c4:	40 00 0e 6f 	call  201f080 <memset>                         
 201b6c8:	94 10 20 20 	mov  0x20, %o2                                 
                                                                      
  /*                                                                  
   * Scan the file system data list of open files for this ino. If found up
   * the reference count and return the pointer to the data.          
   */                                                                 
  shared = rtems_rfs_file_get_shared (fs, ino);                       
 201b6cc:	90 10 00 1d 	mov  %i5, %o0                                  
 */                                                                   
static inline int                                                     
rtems_rfs_buffer_handle_open (rtems_rfs_file_system*   fs,            
                              rtems_rfs_buffer_handle* handle)        
{                                                                     
  handle->dirty = false;                                              
 201b6d0:	c0 2f 20 04 	clrb  [ %i4 + 4 ]                              
  handle->bnum  = 0;                                                  
 201b6d4:	c0 27 20 08 	clr  [ %i4 + 8 ]                               
  handle->buffer = NULL;                                              
 201b6d8:	c0 27 20 0c 	clr  [ %i4 + 0xc ]                             
 201b6dc:	7f ff ff d8 	call  201b63c <rtems_rfs_file_get_shared>      
 201b6e0:	92 10 00 19 	mov  %i1, %o1                                  
  if (shared)                                                         
 201b6e4:	a0 92 20 00 	orcc  %o0, 0, %l0                              
 201b6e8:	02 80 00 0d 	be  201b71c <rtems_rfs_file_open+0xa8>         <== ALWAYS TAKEN
 201b6ec:	90 10 20 08 	mov  8, %o0                                    
  {                                                                   
    shared->references++;                                             
 201b6f0:	c2 04 20 08 	ld  [ %l0 + 8 ], %g1                           <== NOT EXECUTED
 201b6f4:	82 00 60 01 	inc  %g1                                       <== NOT EXECUTED
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_FILE_OPEN))                  
 201b6f8:	92 10 20 00 	clr  %o1                                       <== NOT EXECUTED
 201b6fc:	7f ff d6 cf 	call  2011238 <rtems_rfs_trace>                <== NOT EXECUTED
 201b700:	c2 24 20 08 	st  %g1, [ %l0 + 8 ]                           <== NOT EXECUTED
 201b704:	80 8a 20 ff 	btst  0xff, %o0                                <== NOT EXECUTED
 201b708:	22 80 00 8c 	be,a   201b938 <rtems_rfs_file_open+0x2c4>     <== NOT EXECUTED
 201b70c:	f4 27 00 00 	st  %i2, [ %i4 ]                               <== NOT EXECUTED
      printf ("rtems-rfs: file-open: ino=%" PRId32 " shared\n", ino); 
 201b710:	11 00 80 c0 	sethi  %hi(0x2030000), %o0                     <== NOT EXECUTED
 201b714:	10 80 00 86 	b  201b92c <rtems_rfs_file_open+0x2b8>         <== NOT EXECUTED
 201b718:	90 12 23 70 	or  %o0, 0x370, %o0	! 2030370 <CSWTCH.1+0xf70> <== NOT EXECUTED
  {                                                                   
    /*                                                                
     * None exists so create. Copy in the shared parts of the inode we hold in
     * memory.                                                        
     */                                                               
    shared = malloc (sizeof (rtems_rfs_file_shared));                 
 201b71c:	7f ff ab 0f 	call  2006358 <malloc>                         
 201b720:	90 10 20 9c 	mov  0x9c, %o0                                 
    if (!shared)                                                      
 201b724:	a0 92 20 00 	orcc  %o0, 0, %l0                              
 201b728:	22 80 00 35 	be,a   201b7fc <rtems_rfs_file_open+0x188>     <== NEVER TAKEN
 201b72c:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
      rtems_rfs_buffer_handle_close (fs, &handle->buffer);            
      free (handle);                                                  
      return ENOMEM;                                                  
    }                                                                 
                                                                      
    memset (shared, 0, sizeof (rtems_rfs_file_shared));               
 201b730:	92 10 20 00 	clr  %o1                                       
 201b734:	40 00 0e 53 	call  201f080 <memset>                         
 201b738:	94 10 20 9c 	mov  0x9c, %o2                                 
                                                                      
    rc = rtems_rfs_inode_open (fs, ino, &shared->inode, true);        
 201b73c:	a2 04 20 0c 	add  %l0, 0xc, %l1                             
 201b740:	90 10 00 1d 	mov  %i5, %o0                                  
 201b744:	92 10 00 19 	mov  %i1, %o1                                  
 201b748:	94 10 00 11 	mov  %l1, %o2                                  
 201b74c:	7f ff cf 03 	call  200f358 <rtems_rfs_inode_open>           
 201b750:	96 10 20 01 	mov  1, %o3                                    
    if (rc > 0)                                                       
 201b754:	b0 92 20 00 	orcc  %o0, 0, %i0                              
 201b758:	04 80 00 0f 	ble  201b794 <rtems_rfs_file_open+0x120>       <== ALWAYS TAKEN
 201b75c:	90 10 20 08 	mov  8, %o0                                    
    {                                                                 
      if (rtems_rfs_trace (RTEMS_RFS_TRACE_FILE_OPEN))                
 201b760:	7f ff d6 b6 	call  2011238 <rtems_rfs_trace>                <== NOT EXECUTED
 201b764:	92 10 20 00 	clr  %o1                                       <== NOT EXECUTED
 201b768:	80 8a 20 ff 	btst  0xff, %o0                                <== NOT EXECUTED
 201b76c:	02 80 00 21 	be  201b7f0 <rtems_rfs_file_open+0x17c>        <== NOT EXECUTED
 201b770:	01 00 00 00 	nop                                            <== NOT EXECUTED
        printf ("rtems-rfs: file-open: inode open failed: %d: %s\n",  
 201b774:	40 00 11 c8 	call  201fe94 <strerror>                       <== NOT EXECUTED
 201b778:	90 10 00 18 	mov  %i0, %o0                                  <== NOT EXECUTED
 201b77c:	92 10 00 18 	mov  %i0, %o1                                  <== NOT EXECUTED
 201b780:	94 10 00 08 	mov  %o0, %o2                                  <== NOT EXECUTED
 201b784:	11 00 80 c0 	sethi  %hi(0x2030000), %o0                     <== NOT EXECUTED
 201b788:	40 00 0e 90 	call  201f1c8 <printf>                         <== NOT EXECUTED
 201b78c:	90 12 23 98 	or  %o0, 0x398, %o0	! 2030398 <CSWTCH.1+0xf98> <== NOT EXECUTED
 201b790:	30 80 00 18 	b,a   201b7f0 <rtems_rfs_file_open+0x17c>      <== NOT EXECUTED
      rtems_rfs_buffer_handle_close (fs, &handle->buffer);            
      free (handle);                                                  
      return rc;                                                      
    }                                                                 
                                                                      
    rc = rtems_rfs_block_map_open (fs, &shared->inode, &shared->map); 
 201b794:	90 10 00 1d 	mov  %i5, %o0                                  
 201b798:	92 10 00 11 	mov  %l1, %o1                                  
 201b79c:	7f ff f2 d6 	call  20182f4 <rtems_rfs_block_map_open>       
 201b7a0:	94 04 20 34 	add  %l0, 0x34, %o2                            
    if (rc > 0)                                                       
 201b7a4:	b0 92 20 00 	orcc  %o0, 0, %i0                              
 201b7a8:	04 80 00 1e 	ble  201b820 <rtems_rfs_file_open+0x1ac>       <== ALWAYS TAKEN
 201b7ac:	82 10 20 01 	mov  1, %g1                                    
    {                                                                 
      if (rtems_rfs_trace (RTEMS_RFS_TRACE_FILE_OPEN))                
 201b7b0:	90 10 20 08 	mov  8, %o0                                    <== NOT EXECUTED
 201b7b4:	7f ff d6 a1 	call  2011238 <rtems_rfs_trace>                <== NOT EXECUTED
 201b7b8:	92 10 20 00 	clr  %o1                                       <== NOT EXECUTED
 201b7bc:	80 8a 20 ff 	btst  0xff, %o0                                <== NOT EXECUTED
 201b7c0:	22 80 00 0a 	be,a   201b7e8 <rtems_rfs_file_open+0x174>     <== NOT EXECUTED
 201b7c4:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
        printf ("rtems-rfs: file-open: block map open failed: %d: %s\n",
 201b7c8:	40 00 11 b3 	call  201fe94 <strerror>                       <== NOT EXECUTED
 201b7cc:	90 10 00 18 	mov  %i0, %o0                                  <== NOT EXECUTED
 201b7d0:	92 10 00 18 	mov  %i0, %o1                                  <== NOT EXECUTED
 201b7d4:	94 10 00 08 	mov  %o0, %o2                                  <== NOT EXECUTED
 201b7d8:	11 00 80 c0 	sethi  %hi(0x2030000), %o0                     <== NOT EXECUTED
 201b7dc:	40 00 0e 7b 	call  201f1c8 <printf>                         <== NOT EXECUTED
 201b7e0:	90 12 23 d0 	or  %o0, 0x3d0, %o0	! 20303d0 <CSWTCH.1+0xfd0> <== NOT EXECUTED
                rc, strerror (rc));                                   
      rtems_rfs_inode_close (fs, &shared->inode);                     
 201b7e4:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
 201b7e8:	7f ff cf 4e 	call  200f520 <rtems_rfs_inode_close>          <== NOT EXECUTED
 201b7ec:	92 10 00 11 	mov  %l1, %o1                                  <== NOT EXECUTED
      free (shared);                                                  
 201b7f0:	7f ff a9 1f 	call  2005c6c <free>                           <== NOT EXECUTED
 201b7f4:	90 10 00 10 	mov  %l0, %o0                                  <== NOT EXECUTED
 */                                                                   
static inline int                                                     
rtems_rfs_buffer_handle_close (rtems_rfs_file_system*   fs,           
                               rtems_rfs_buffer_handle* handle)       
{                                                                     
  rtems_rfs_buffer_handle_release (fs, handle);                       
 201b7f8:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
 201b7fc:	7f ff f6 3d 	call  20190f0 <rtems_rfs_buffer_handle_release><== NOT EXECUTED
 201b800:	92 07 20 04 	add  %i4, 4, %o1                               <== NOT EXECUTED
      rtems_rfs_buffer_handle_close (fs, &handle->buffer);            
      free (handle);                                                  
 201b804:	90 10 00 1c 	mov  %i4, %o0                                  <== NOT EXECUTED
  handle->dirty = false;                                              
 201b808:	c0 2f 20 04 	clrb  [ %i4 + 4 ]                              <== NOT EXECUTED
  handle->bnum  = 0;                                                  
 201b80c:	c0 27 20 08 	clr  [ %i4 + 8 ]                               <== NOT EXECUTED
 201b810:	7f ff a9 17 	call  2005c6c <free>                           <== NOT EXECUTED
 201b814:	c0 27 20 0c 	clr  [ %i4 + 0xc ]                             <== NOT EXECUTED
      return rc;                                                      
 201b818:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 201b81c:	81 e8 00 00 	restore                                        <== NOT EXECUTED
    }                                                                 
                                                                      
    shared->references = 1;                                           
 201b820:	c2 24 20 08 	st  %g1, [ %l0 + 8 ]                           
    if (shared->inode.ino == ino)                                     
      return shared;                                                  
    node = rtems_chain_next (node);                                   
  }                                                                   
  return NULL;                                                        
}                                                                     
 201b824:	c2 04 20 18 	ld  [ %l0 + 0x18 ], %g1                        
RTEMS_INLINE_ROUTINE void rtems_chain_append(                         
  rtems_chain_control *the_chain,                                     
  rtems_chain_node    *the_node                                       
)                                                                     
{                                                                     
  _Chain_Append( the_chain, the_node );                               
 201b828:	90 07 60 70 	add  %i5, 0x70, %o0                            
 * @return uint32_t The block count.                                  
 */                                                                   
static inline uint32_t                                                
rtems_rfs_inode_get_block_count (rtems_rfs_inode_handle* handle)      
{                                                                     
  return rtems_rfs_read_u32 (&handle->node->block_count);             
 201b82c:	c6 08 60 0c 	ldub  [ %g1 + 0xc ], %g3                       
 201b830:	c4 08 60 0d 	ldub  [ %g1 + 0xd ], %g2                       
 201b834:	87 28 e0 18 	sll  %g3, 0x18, %g3                            
 201b838:	85 28 a0 10 	sll  %g2, 0x10, %g2                            
 201b83c:	84 10 c0 02 	or  %g3, %g2, %g2                              
 201b840:	c6 08 60 0f 	ldub  [ %g1 + 0xf ], %g3                       
 201b844:	92 10 00 10 	mov  %l0, %o1                                  
 201b848:	84 10 80 03 	or  %g2, %g3, %g2                              
 201b84c:	c6 08 60 0e 	ldub  [ %g1 + 0xe ], %g3                       
 201b850:	87 28 e0 08 	sll  %g3, 8, %g3                               
 201b854:	84 10 80 03 	or  %g2, %g3, %g2                              
      free (handle);                                                  
      return rc;                                                      
    }                                                                 
                                                                      
    shared->references = 1;                                           
    shared->size.count = rtems_rfs_inode_get_block_count (&shared->inode);
 201b858:	c4 24 20 84 	st  %g2, [ %l0 + 0x84 ]                        
    shared->size.offset = rtems_rfs_inode_get_block_offset (&shared->inode);
 201b85c:	c6 08 60 0b 	ldub  [ %g1 + 0xb ], %g3                       
 * @return uint32_t The block offset.                                 
 */                                                                   
static inline uint16_t                                                
rtems_rfs_inode_get_block_offset (rtems_rfs_inode_handle* handle)     
{                                                                     
  return rtems_rfs_read_u16 (&handle->node->block_offset);            
 201b860:	c4 08 60 0a 	ldub  [ %g1 + 0xa ], %g2                       
 201b864:	85 28 a0 08 	sll  %g2, 8, %g2                               
 201b868:	84 10 c0 02 	or  %g3, %g2, %g2                              
 201b86c:	c4 24 20 88 	st  %g2, [ %l0 + 0x88 ]                        
 * @return rtems_rfs_time The atime.                                  
 */                                                                   
static inline rtems_rfs_time                                          
rtems_rfs_inode_get_atime (rtems_rfs_inode_handle* handle)            
{                                                                     
  return rtems_rfs_read_u32 (&handle->node->atime);                   
 201b870:	c6 08 60 10 	ldub  [ %g1 + 0x10 ], %g3                      
 201b874:	c4 08 60 11 	ldub  [ %g1 + 0x11 ], %g2                      
 201b878:	87 28 e0 18 	sll  %g3, 0x18, %g3                            
 201b87c:	85 28 a0 10 	sll  %g2, 0x10, %g2                            
 201b880:	84 10 c0 02 	or  %g3, %g2, %g2                              
 201b884:	c6 08 60 13 	ldub  [ %g1 + 0x13 ], %g3                      
 201b888:	84 10 80 03 	or  %g2, %g3, %g2                              
 201b88c:	c6 08 60 12 	ldub  [ %g1 + 0x12 ], %g3                      
 201b890:	87 28 e0 08 	sll  %g3, 8, %g3                               
 201b894:	84 10 80 03 	or  %g2, %g3, %g2                              
    shared->atime = rtems_rfs_inode_get_atime (&shared->inode);       
 201b898:	c4 24 20 8c 	st  %g2, [ %l0 + 0x8c ]                        
 * @return rtems_rfs_time The mtime.                                  
 */                                                                   
static inline rtems_rfs_time                                          
rtems_rfs_inode_get_mtime (rtems_rfs_inode_handle* handle)            
{                                                                     
  return rtems_rfs_read_u32 (&handle->node->mtime);                   
 201b89c:	c6 08 60 14 	ldub  [ %g1 + 0x14 ], %g3                      
 201b8a0:	c4 08 60 15 	ldub  [ %g1 + 0x15 ], %g2                      
 201b8a4:	87 28 e0 18 	sll  %g3, 0x18, %g3                            
 201b8a8:	85 28 a0 10 	sll  %g2, 0x10, %g2                            
 201b8ac:	84 10 c0 02 	or  %g3, %g2, %g2                              
 201b8b0:	c6 08 60 17 	ldub  [ %g1 + 0x17 ], %g3                      
 201b8b4:	84 10 80 03 	or  %g2, %g3, %g2                              
 201b8b8:	c6 08 60 16 	ldub  [ %g1 + 0x16 ], %g3                      
 201b8bc:	87 28 e0 08 	sll  %g3, 8, %g3                               
 201b8c0:	84 10 80 03 	or  %g2, %g3, %g2                              
    shared->mtime = rtems_rfs_inode_get_mtime (&shared->inode);       
 201b8c4:	c4 24 20 90 	st  %g2, [ %l0 + 0x90 ]                        
 * @return rtems_rfs_time The ctime.                                  
 */                                                                   
static inline rtems_rfs_time                                          
rtems_rfs_inode_get_ctime (rtems_rfs_inode_handle* handle)            
{                                                                     
  return rtems_rfs_read_u32 (&handle->node->ctime);                   
 201b8c8:	c4 08 60 19 	ldub  [ %g1 + 0x19 ], %g2                      
 201b8cc:	c6 08 60 18 	ldub  [ %g1 + 0x18 ], %g3                      
 201b8d0:	85 28 a0 10 	sll  %g2, 0x10, %g2                            
 201b8d4:	87 28 e0 18 	sll  %g3, 0x18, %g3                            
 201b8d8:	86 10 c0 02 	or  %g3, %g2, %g3                              
 201b8dc:	c4 08 60 1b 	ldub  [ %g1 + 0x1b ], %g2                      
 201b8e0:	86 10 c0 02 	or  %g3, %g2, %g3                              
 201b8e4:	c4 08 60 1a 	ldub  [ %g1 + 0x1a ], %g2                      
    shared->ctime = rtems_rfs_inode_get_ctime (&shared->inode);       
    shared->fs = fs;                                                  
 201b8e8:	fa 24 20 98 	st  %i5, [ %l0 + 0x98 ]                        
 201b8ec:	85 28 a0 08 	sll  %g2, 8, %g2                               
 201b8f0:	82 10 c0 02 	or  %g3, %g2, %g1                              
 201b8f4:	7f ff bc 6e 	call  200aaac <_Chain_Append>                  
 201b8f8:	c2 24 20 94 	st  %g1, [ %l0 + 0x94 ]                        
                                                                      
    rtems_chain_append (&fs->file_shares, &shared->link);             
                                                                      
    rtems_rfs_inode_unload (fs, &shared->inode, false);               
 201b8fc:	92 10 00 11 	mov  %l1, %o1                                  
 201b900:	94 10 20 00 	clr  %o2                                       
 201b904:	7f ff ce cb 	call  200f430 <rtems_rfs_inode_unload>         
 201b908:	90 10 00 1d 	mov  %i5, %o0                                  
                                                                      
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_FILE_OPEN))                  
 201b90c:	90 10 20 08 	mov  8, %o0                                    
 201b910:	7f ff d6 4a 	call  2011238 <rtems_rfs_trace>                
 201b914:	92 10 20 00 	clr  %o1                                       
 201b918:	80 8a 20 ff 	btst  0xff, %o0                                
 201b91c:	22 80 00 07 	be,a   201b938 <rtems_rfs_file_open+0x2c4>     <== ALWAYS TAKEN
 201b920:	f4 27 00 00 	st  %i2, [ %i4 ]                               
      printf ("rtems-rfs: file-open: ino=%" PRId32 " share created\n", ino);
 201b924:	11 00 80 c1 	sethi  %hi(0x2030400), %o0                     <== NOT EXECUTED
 201b928:	90 12 20 08 	or  %o0, 8, %o0	! 2030408 <CSWTCH.1+0x1008>    <== NOT EXECUTED
 201b92c:	40 00 0e 27 	call  201f1c8 <printf>                         <== NOT EXECUTED
 201b930:	92 10 00 19 	mov  %i1, %o1                                  <== NOT EXECUTED
  }                                                                   
                                                                      
  handle->flags  = flags;                                             
 201b934:	f4 27 00 00 	st  %i2, [ %i4 ]                               <== NOT EXECUTED
  handle->shared = shared;                                            
 201b938:	e0 27 20 1c 	st  %l0, [ %i4 + 0x1c ]                        
                                                                      
  *file = handle;                                                     
 201b93c:	f8 26 c0 00 	st  %i4, [ %i3 ]                               
                                                                      
  return 0;                                                           
 201b940:	b0 10 20 00 	clr  %i0                                       
}                                                                     
 201b944:	81 c7 e0 08 	ret                                            
 201b948:	81 e8 00 00 	restore                                        
                                                                      

0201b2cc <rtems_rfs_file_seek>: int rtems_rfs_file_seek (rtems_rfs_file_handle* handle, rtems_rfs_pos pos, rtems_rfs_pos* new_pos) {
 201b2cc:	9d e3 bf a0 	save  %sp, -96, %sp                            
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_FILE_IO))                      
 201b2d0:	90 10 20 20 	mov  0x20, %o0                                 
 201b2d4:	7f ff d7 d9 	call  2011238 <rtems_rfs_trace>                
 201b2d8:	92 10 20 00 	clr  %o1                                       
 201b2dc:	80 8a 20 ff 	btst  0xff, %o0                                
 201b2e0:	22 80 00 08 	be,a   201b300 <rtems_rfs_file_seek+0x34>      <== ALWAYS TAKEN
 201b2e4:	d2 06 20 1c 	ld  [ %i0 + 0x1c ], %o1                        
    printf ("rtems-rfs: file-seek: new=%" PRIu64 "\n", pos);          
 201b2e8:	11 00 80 c0 	sethi  %hi(0x2030000), %o0                     <== NOT EXECUTED
 201b2ec:	92 10 00 19 	mov  %i1, %o1                                  <== NOT EXECUTED
 201b2f0:	90 12 23 08 	or  %o0, 0x308, %o0                            <== NOT EXECUTED
 201b2f4:	40 00 0f b5 	call  201f1c8 <printf>                         <== NOT EXECUTED
 201b2f8:	94 10 00 1a 	mov  %i2, %o2                                  <== NOT EXECUTED
   *     file, this function does not itself extend the size of the file."
   *                                                                  
   * This means the file needs to set the file size to the pos only when a
   * write occurs.                                                    
   */                                                                 
  if (pos < rtems_rfs_file_shared_get_size (rtems_rfs_file_fs (handle),
 201b2fc:	d2 06 20 1c 	ld  [ %i0 + 0x1c ], %o1                        <== NOT EXECUTED
 201b300:	d0 02 60 98 	ld  [ %o1 + 0x98 ], %o0                        
 201b304:	7f ff f3 e6 	call  201829c <rtems_rfs_block_get_size>       
 201b308:	92 02 60 84 	add  %o1, 0x84, %o1                            
 201b30c:	80 a2 00 19 	cmp  %o0, %i1                                  
 201b310:	38 80 00 08 	bgu,a   201b330 <rtems_rfs_file_seek+0x64>     <== NEVER TAKEN
 201b314:	c2 06 20 1c 	ld  [ %i0 + 0x1c ], %g1                        <== NOT EXECUTED
 201b318:	32 80 00 0c 	bne,a   201b348 <rtems_rfs_file_seek+0x7c>     <== NEVER TAKEN
 201b31c:	f2 26 c0 00 	st  %i1, [ %i3 ]                               <== NOT EXECUTED
 201b320:	80 a2 40 1a 	cmp  %o1, %i2                                  
 201b324:	28 80 00 09 	bleu,a   201b348 <rtems_rfs_file_seek+0x7c>    <== ALWAYS TAKEN
 201b328:	f2 26 c0 00 	st  %i1, [ %i3 ]                               
                                            handle->shared))          
    rtems_rfs_file_set_bpos (handle, pos);                            
 201b32c:	c2 06 20 1c 	ld  [ %i0 + 0x1c ], %g1                        <== NOT EXECUTED
 201b330:	92 10 00 19 	mov  %i1, %o1                                  <== NOT EXECUTED
 201b334:	d0 00 60 98 	ld  [ %g1 + 0x98 ], %o0                        <== NOT EXECUTED
 201b338:	94 10 00 1a 	mov  %i2, %o2                                  <== NOT EXECUTED
 201b33c:	7f ff f3 a8 	call  20181dc <rtems_rfs_block_get_bpos>       <== NOT EXECUTED
 201b340:	96 06 20 10 	add  %i0, 0x10, %o3                            <== NOT EXECUTED
                                                                      
  *new_pos = pos;                                                     
 201b344:	f2 26 c0 00 	st  %i1, [ %i3 ]                               <== NOT EXECUTED
 201b348:	f4 26 e0 04 	st  %i2, [ %i3 + 4 ]                           
  return 0;                                                           
}                                                                     
 201b34c:	81 c7 e0 08 	ret                                            
 201b350:	91 e8 20 00 	restore  %g0, 0, %o0                           
                                                                      

0201b354 <rtems_rfs_file_set_size>: int rtems_rfs_file_set_size (rtems_rfs_file_handle* handle, rtems_rfs_pos new_size) {
 201b354:	9d e3 bf 90 	save  %sp, -112, %sp                           
 201b358:	ba 10 00 1a 	mov  %i2, %i5                                  
  rtems_rfs_block_map* map  = rtems_rfs_file_map (handle);            
 201b35c:	f4 06 20 1c 	ld  [ %i0 + 0x1c ], %i2                        
}                                                                     
                                                                      
int                                                                   
rtems_rfs_file_set_size (rtems_rfs_file_handle* handle,               
                         rtems_rfs_pos          new_size)             
{                                                                     
 201b360:	b8 10 00 19 	mov  %i1, %i4                                  
  rtems_rfs_block_map* map  = rtems_rfs_file_map (handle);            
  rtems_rfs_pos        size;                                          
  int                  rc;                                            
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_FILE_IO))                      
 201b364:	90 10 20 20 	mov  0x20, %o0                                 
 201b368:	92 10 20 00 	clr  %o1                                       
 201b36c:	7f ff d7 b3 	call  2011238 <rtems_rfs_trace>                
 201b370:	b6 10 00 18 	mov  %i0, %i3                                  
 201b374:	80 8a 20 ff 	btst  0xff, %o0                                
 201b378:	02 80 00 07 	be  201b394 <rtems_rfs_file_set_size+0x40>     <== ALWAYS TAKEN
 201b37c:	b2 06 a0 34 	add  %i2, 0x34, %i1                            
    printf ("rtems-rfs: file-set-size: size=%" PRIu64 "\n", new_size);
 201b380:	11 00 80 c0 	sethi  %hi(0x2030000), %o0                     <== NOT EXECUTED
 201b384:	92 10 00 1c 	mov  %i4, %o1                                  <== NOT EXECUTED
 201b388:	90 12 23 28 	or  %o0, 0x328, %o0                            <== NOT EXECUTED
 201b38c:	40 00 0f 8f 	call  201f1c8 <printf>                         <== NOT EXECUTED
 201b390:	94 10 00 1d 	mov  %i5, %o2                                  <== NOT EXECUTED
 201b394:	d2 06 e0 1c 	ld  [ %i3 + 0x1c ], %o1                        
                                                                      
  /*                                                                  
   * Short cut for the common truncate on open call.                  
   */                                                                 
  if (new_size == 0)                                                  
 201b398:	80 97 00 1d 	orcc  %i4, %i5, %g0                            
 201b39c:	12 80 00 09 	bne  201b3c0 <rtems_rfs_file_set_size+0x6c>    
 201b3a0:	d0 02 60 98 	ld  [ %o1 + 0x98 ], %o0                        
  {                                                                   
    rc = rtems_rfs_block_map_free_all (rtems_rfs_file_fs (handle), map);
 201b3a4:	7f ff f6 ef 	call  2018f60 <rtems_rfs_block_map_free_all>   
 201b3a8:	92 10 00 19 	mov  %i1, %o1                                  
    if (rc > 0)                                                       
 201b3ac:	b0 92 20 00 	orcc  %o0, 0, %i0                              
 201b3b0:	14 80 00 a1 	bg  201b634 <rtems_rfs_file_set_size+0x2e0>    <== NEVER TAKEN
 201b3b4:	01 00 00 00 	nop                                            
                                         rtems_rfs_file_bpos (handle));
      }                                                               
    }                                                                 
  }                                                                   
                                                                      
  handle->shared->size.count  = rtems_rfs_block_map_count (map);      
 201b3b8:	10 80 00 94 	b  201b608 <rtems_rfs_file_set_size+0x2b4>     
 201b3bc:	f8 06 e0 1c 	ld  [ %i3 + 0x1c ], %i4                        
 201b3c0:	7f ff f3 b7 	call  201829c <rtems_rfs_block_get_size>       
 201b3c4:	92 02 60 84 	add  %o1, 0x84, %o1                            
    size = rtems_rfs_file_size (handle);                              
                                                                      
    /*                                                                
     * If the file is same size do nothing else grow or shrink it ?   
     */                                                               
    if (size != new_size)                                             
 201b3c8:	80 a2 00 1c 	cmp  %o0, %i4                                  
 201b3cc:	12 80 00 05 	bne  201b3e0 <rtems_rfs_file_set_size+0x8c>    <== NEVER TAKEN
 201b3d0:	80 a7 00 08 	cmp  %i4, %o0                                  
 201b3d4:	80 a2 40 1d 	cmp  %o1, %i5                                  
 201b3d8:	02 80 00 8b 	be  201b604 <rtems_rfs_file_set_size+0x2b0>    
 201b3dc:	80 a7 00 08 	cmp  %i4, %o0                                  
    {                                                                 
      if (size < new_size)                                            
 201b3e0:	18 80 00 08 	bgu  201b400 <rtems_rfs_file_set_size+0xac>    <== NEVER TAKEN
 201b3e4:	f0 06 e0 1c 	ld  [ %i3 + 0x1c ], %i0                        
 201b3e8:	80 a7 00 08 	cmp  %i4, %o0                                  
 201b3ec:	32 80 00 55 	bne,a   201b540 <rtems_rfs_file_set_size+0x1ec><== NEVER TAKEN
 201b3f0:	e0 06 20 98 	ld  [ %i0 + 0x98 ], %l0                        <== NOT EXECUTED
 201b3f4:	80 a7 40 09 	cmp  %i5, %o1                                  
 201b3f8:	28 80 00 52 	bleu,a   201b540 <rtems_rfs_file_set_size+0x1ec><== NEVER TAKEN
 201b3fc:	e0 06 20 98 	ld  [ %i0 + 0x98 ], %l0                        <== NOT EXECUTED
        rtems_rfs_pos count;                                          
        uint32_t      length;                                         
        bool          read_block;                                     
                                                                      
        count = new_size - size;                                      
        length = rtems_rfs_fs_block_size (rtems_rfs_file_fs (handle));
 201b400:	c2 06 20 98 	ld  [ %i0 + 0x98 ], %g1                        
         */                                                           
        rtems_rfs_pos count;                                          
        uint32_t      length;                                         
        bool          read_block;                                     
                                                                      
        count = new_size - size;                                      
 201b404:	ba a7 40 09 	subcc  %i5, %o1, %i5                           
        length = rtems_rfs_fs_block_size (rtems_rfs_file_fs (handle));
 201b408:	e0 00 60 08 	ld  [ %g1 + 8 ], %l0                           
         */                                                           
        rtems_rfs_pos count;                                          
        uint32_t      length;                                         
        bool          read_block;                                     
                                                                      
        count = new_size - size;                                      
 201b40c:	b8 67 00 08 	subx  %i4, %o0, %i4                            
        length = rtems_rfs_fs_block_size (rtems_rfs_file_fs (handle));
        read_block = false;                                           
 201b410:	a6 10 20 00 	clr  %l3                                       
 201b414:	a2 10 20 01 	mov  1, %l1                                    
                                                                      
        while (count)                                                 
 201b418:	10 80 00 45 	b  201b52c <rtems_rfs_file_set_size+0x1d8>     
 201b41c:	a4 06 e0 04 	add  %i3, 4, %l2                               
          /*                                                          
           * Get the block position for the current end of the file as seen by
           * the map. If not found and the EOF grow the map then fill the block
           * with 0.                                                  
           */                                                         
          rtems_rfs_block_size_get_bpos (rtems_rfs_block_map_size (map), &bpos);
 201b420:	c2 06 a0 3c 	ld  [ %i2 + 0x3c ], %g1                        
 201b424:	c4 27 bf f4 	st  %g2, [ %fp + -12 ]                         
 201b428:	c2 27 bf f0 	st  %g1, [ %fp + -16 ]                         
 201b42c:	80 a0 a0 00 	cmp  %g2, 0                                    
 201b430:	02 80 00 04 	be  201b440 <rtems_rfs_file_set_size+0xec>     
 201b434:	c0 27 bf f8 	clr  [ %fp + -8 ]                              
 201b438:	82 00 7f ff 	add  %g1, -1, %g1                              
 201b43c:	c2 27 bf f0 	st  %g1, [ %fp + -16 ]                         
          rc = rtems_rfs_block_map_find (rtems_rfs_file_fs (handle),  
 201b440:	c2 06 e0 1c 	ld  [ %i3 + 0x1c ], %g1                        
 201b444:	92 10 00 19 	mov  %i1, %o1                                  
 201b448:	d0 00 60 98 	ld  [ %g1 + 0x98 ], %o0                        
 201b44c:	94 07 bf f0 	add  %fp, -16, %o2                             
 201b450:	7f ff f4 80 	call  2018650 <rtems_rfs_block_map_find>       
 201b454:	96 07 bf fc 	add  %fp, -4, %o3                              
                                         map, &bpos, &block);         
          if (rc > 0)                                                 
 201b458:	b0 92 20 00 	orcc  %o0, 0, %i0                              
 201b45c:	04 80 00 0c 	ble  201b48c <rtems_rfs_file_set_size+0x138>   
 201b460:	80 a6 20 06 	cmp  %i0, 6                                    
          {                                                           
            /*                                                        
             * Have we reached the EOF ?                              
             */                                                       
            if (rc != ENXIO)                                          
 201b464:	12 80 00 74 	bne  201b634 <rtems_rfs_file_set_size+0x2e0>   <== NEVER TAKEN
 201b468:	92 10 00 19 	mov  %i1, %o1                                  
              return rc;                                              
                                                                      
            rc = rtems_rfs_block_map_grow (rtems_rfs_file_fs (handle),
 201b46c:	c2 06 e0 1c 	ld  [ %i3 + 0x1c ], %g1                        
 201b470:	d0 00 60 98 	ld  [ %g1 + 0x98 ], %o0                        
 201b474:	94 10 20 01 	mov  1, %o2                                    
 201b478:	7f ff f4 fc 	call  2018868 <rtems_rfs_block_map_grow>       
 201b47c:	96 07 bf fc 	add  %fp, -4, %o3                              
                                           map, 1, &block);           
            if (rc > 0)                                               
 201b480:	b0 92 20 00 	orcc  %o0, 0, %i0                              
 201b484:	14 80 00 6c 	bg  201b634 <rtems_rfs_file_set_size+0x2e0>    <== NEVER TAKEN
 201b488:	01 00 00 00 	nop                                            
              return rc;                                              
          }                                                           
                                                                      
          if (count < (length - bpos.boff))                           
 201b48c:	c2 07 bf f4 	ld  [ %fp + -12 ], %g1                         
 201b490:	80 a7 20 00 	cmp  %i4, 0                                    
 201b494:	12 80 00 0a 	bne  201b4bc <rtems_rfs_file_set_size+0x168>   <== NEVER TAKEN
 201b498:	84 24 00 01 	sub  %l0, %g1, %g2                             
 201b49c:	80 a0 80 1d 	cmp  %g2, %i5                                  
 201b4a0:	28 80 00 08 	bleu,a   201b4c0 <rtems_rfs_file_set_size+0x16c><== NEVER TAKEN
 201b4a4:	c0 26 a0 40 	clr  [ %i2 + 0x40 ]                            <== NOT EXECUTED
          {                                                           
            length = count + bpos.boff;                               
 201b4a8:	a0 00 40 1d 	add  %g1, %i5, %l0                             
 201b4ac:	e2 2e a0 34 	stb  %l1, [ %i2 + 0x34 ]                       
 */                                                                   
static inline void                                                    
rtems_rfs_block_map_set_size_offset (rtems_rfs_block_map* map,        
                                     rtems_rfs_block_off  offset)     
{                                                                     
  map->size.offset = offset;                                          
 201b4b0:	e0 26 a0 40 	st  %l0, [ %i2 + 0x40 ]                        
            read_block = true;                                        
 201b4b4:	10 80 00 04 	b  201b4c4 <rtems_rfs_file_set_size+0x170>     
 201b4b8:	a6 10 20 01 	mov  1, %l3                                    
 201b4bc:	c0 26 a0 40 	clr  [ %i2 + 0x40 ]                            <== NOT EXECUTED
  map->dirty = true;                                                  
 201b4c0:	e2 2e a0 34 	stb  %l1, [ %i2 + 0x34 ]                       <== NOT EXECUTED
          }                                                           
                                                                      
          /*                                                          
           * Only read the block if the length is not the block size. 
           */                                                         
          rc = rtems_rfs_buffer_handle_request (rtems_rfs_file_fs (handle),
 201b4c4:	c2 06 e0 1c 	ld  [ %i3 + 0x1c ], %g1                        
 201b4c8:	d4 07 bf fc 	ld  [ %fp + -4 ], %o2                          
 201b4cc:	d0 00 60 98 	ld  [ %g1 + 0x98 ], %o0                        
 201b4d0:	92 10 00 12 	mov  %l2, %o1                                  
 201b4d4:	7f ff f7 79 	call  20192b8 <rtems_rfs_buffer_handle_request>
 201b4d8:	96 0c e0 01 	and  %l3, 1, %o3                               
                                                rtems_rfs_file_buffer (handle),
                                                block, read_block);   
          if (rc > 0)                                                 
 201b4dc:	b0 92 20 00 	orcc  %o0, 0, %i0                              
 201b4e0:	14 80 00 55 	bg  201b634 <rtems_rfs_file_set_size+0x2e0>    <== NEVER TAKEN
 201b4e4:	d4 07 bf f4 	ld  [ %fp + -12 ], %o2                         
            return rc;                                                
                                                                      
          dst = rtems_rfs_buffer_data (&handle->buffer);              
 201b4e8:	c2 06 e0 0c 	ld  [ %i3 + 0xc ], %g1                         
          memset (dst + bpos.boff, 0, length - bpos.boff);            
 201b4ec:	d0 00 60 24 	ld  [ %g1 + 0x24 ], %o0                        
 201b4f0:	92 10 20 00 	clr  %o1                                       
 201b4f4:	90 02 00 0a 	add  %o0, %o2, %o0                             
 201b4f8:	40 00 0e e2 	call  201f080 <memset>                         
 201b4fc:	94 24 00 0a 	sub  %l0, %o2, %o2                             
                                                                      
          rtems_rfs_buffer_mark_dirty (rtems_rfs_file_buffer (handle));
                                                                      
          rc = rtems_rfs_buffer_handle_release (rtems_rfs_file_fs (handle),
 201b500:	c2 06 e0 1c 	ld  [ %i3 + 0x1c ], %g1                        
            return rc;                                                
                                                                      
          dst = rtems_rfs_buffer_data (&handle->buffer);              
          memset (dst + bpos.boff, 0, length - bpos.boff);            
                                                                      
          rtems_rfs_buffer_mark_dirty (rtems_rfs_file_buffer (handle));
 201b504:	e2 2e e0 04 	stb  %l1, [ %i3 + 4 ]                          
                                                                      
          rc = rtems_rfs_buffer_handle_release (rtems_rfs_file_fs (handle),
 201b508:	d0 00 60 98 	ld  [ %g1 + 0x98 ], %o0                        
 201b50c:	7f ff f6 f9 	call  20190f0 <rtems_rfs_buffer_handle_release>
 201b510:	92 10 00 12 	mov  %l2, %o1                                  
                                                rtems_rfs_file_buffer (handle));
          if (rc > 0)                                                 
 201b514:	b0 92 20 00 	orcc  %o0, 0, %i0                              
 201b518:	14 80 00 47 	bg  201b634 <rtems_rfs_file_set_size+0x2e0>    <== NEVER TAKEN
 201b51c:	c2 07 bf f4 	ld  [ %fp + -12 ], %g1                         
            return rc;                                                
                                                                      
          count -= length - bpos.boff;                                
 201b520:	82 24 00 01 	sub  %l0, %g1, %g1                             
 201b524:	ba a7 40 01 	subcc  %i5, %g1, %i5                           
 201b528:	b8 67 20 00 	subx  %i4, 0, %i4                              
                                                                      
        count = new_size - size;                                      
        length = rtems_rfs_fs_block_size (rtems_rfs_file_fs (handle));
        read_block = false;                                           
                                                                      
        while (count)                                                 
 201b52c:	80 97 00 1d 	orcc  %i4, %i5, %g0                            
 201b530:	32 bf ff bc 	bne,a   201b420 <rtems_rfs_file_set_size+0xcc> 
 201b534:	c4 06 a0 40 	ld  [ %i2 + 0x40 ], %g2                        
                                         rtems_rfs_file_bpos (handle));
      }                                                               
    }                                                                 
  }                                                                   
                                                                      
  handle->shared->size.count  = rtems_rfs_block_map_count (map);      
 201b538:	10 80 00 34 	b  201b608 <rtems_rfs_file_set_size+0x2b4>     
 201b53c:	f8 06 e0 1c 	ld  [ %i3 + 0x1c ], %i4                        
        rtems_rfs_block_no blocks;                                    
        uint32_t           offset;                                    
                                                                      
        blocks =                                                      
          rtems_rfs_block_map_count (map) -                           
          (((new_size - 1) /                                          
 201b540:	92 87 7f ff 	addcc  %i5, -1, %o1                            <== NOT EXECUTED
 201b544:	f2 04 20 08 	ld  [ %l0 + 8 ], %i1                           <== NOT EXECUTED
 201b548:	90 47 3f ff 	addx  %i4, -1, %o0                             <== NOT EXECUTED
 201b54c:	94 10 20 00 	clr  %o2                                       <== NOT EXECUTED
 201b550:	40 00 42 53 	call  202be9c <__udivdi3>                      <== NOT EXECUTED
 201b554:	96 10 00 19 	mov  %i1, %o3                                  <== NOT EXECUTED
         * Shrink                                                     
         */                                                           
        rtems_rfs_block_no blocks;                                    
        uint32_t           offset;                                    
                                                                      
        blocks =                                                      
 201b558:	c2 06 a0 3c 	ld  [ %i2 + 0x3c ], %g1                        <== NOT EXECUTED
 201b55c:	94 38 00 09 	xnor  %g0, %o1, %o2                            <== NOT EXECUTED
            rtems_rfs_fs_block_size (rtems_rfs_file_fs (handle))) + 1);
                                                                      
        offset =                                                      
          new_size % rtems_rfs_fs_block_size (rtems_rfs_file_fs (handle));
                                                                      
        if (blocks)                                                   
 201b560:	94 82 80 01 	addcc  %o2, %g1, %o2                           <== NOT EXECUTED
 201b564:	02 80 00 08 	be  201b584 <rtems_rfs_file_set_size+0x230>    <== NOT EXECUTED
 201b568:	90 10 00 1c 	mov  %i4, %o0                                  <== NOT EXECUTED
        {                                                             
          int rc;                                                     
          rc = rtems_rfs_block_map_shrink (rtems_rfs_file_fs (handle),
 201b56c:	92 06 20 34 	add  %i0, 0x34, %o1                            <== NOT EXECUTED
 201b570:	7f ff f5 ab 	call  2018c1c <rtems_rfs_block_map_shrink>     <== NOT EXECUTED
 201b574:	90 10 00 10 	mov  %l0, %o0                                  <== NOT EXECUTED
                                           rtems_rfs_file_map (handle),
                                           blocks);                   
          if (rc > 0)                                                 
 201b578:	b0 92 20 00 	orcc  %o0, 0, %i0                              <== NOT EXECUTED
 201b57c:	14 80 00 2e 	bg  201b634 <rtems_rfs_file_set_size+0x2e0>    <== NOT EXECUTED
 201b580:	90 10 00 1c 	mov  %i4, %o0                                  <== NOT EXECUTED
          rtems_rfs_block_map_count (map) -                           
          (((new_size - 1) /                                          
            rtems_rfs_fs_block_size (rtems_rfs_file_fs (handle))) + 1);
                                                                      
        offset =                                                      
          new_size % rtems_rfs_fs_block_size (rtems_rfs_file_fs (handle));
 201b584:	92 10 00 1d 	mov  %i5, %o1                                  <== NOT EXECUTED
 201b588:	94 10 20 00 	clr  %o2                                       <== NOT EXECUTED
 201b58c:	40 00 43 19 	call  202c1f0 <__umoddi3>                      <== NOT EXECUTED
 201b590:	96 10 00 19 	mov  %i1, %o3                                  <== NOT EXECUTED
            return rc;                                                
        }                                                             
                                                                      
        rtems_rfs_block_map_set_size_offset (map, offset);            
                                                                      
        if (rtems_rfs_block_pos_past_end (rtems_rfs_file_bpos (handle),
 201b594:	c4 06 e0 10 	ld  [ %i3 + 0x10 ], %g2                        <== NOT EXECUTED
 201b598:	82 10 20 01 	mov  1, %g1                                    <== NOT EXECUTED
 */                                                                   
static inline void                                                    
rtems_rfs_block_map_set_size_offset (rtems_rfs_block_map* map,        
                                     rtems_rfs_block_off  offset)     
{                                                                     
  map->size.offset = offset;                                          
 201b59c:	d2 26 a0 40 	st  %o1, [ %i2 + 0x40 ]                        <== NOT EXECUTED
  map->dirty = true;                                                  
 201b5a0:	c2 2e a0 34 	stb  %g1, [ %i2 + 0x34 ]                       <== NOT EXECUTED
 201b5a4:	80 a0 a0 00 	cmp  %g2, 0                                    <== NOT EXECUTED
 201b5a8:	02 80 00 05 	be  201b5bc <rtems_rfs_file_set_size+0x268>    <== NOT EXECUTED
 201b5ac:	c2 06 a0 3c 	ld  [ %i2 + 0x3c ], %g1                        <== NOT EXECUTED
 201b5b0:	80 a0 60 00 	cmp  %g1, 0                                    <== NOT EXECUTED
 201b5b4:	22 80 00 0e 	be,a   201b5ec <rtems_rfs_file_set_size+0x298> <== NOT EXECUTED
 201b5b8:	c2 26 e0 10 	st  %g1, [ %i3 + 0x10 ]                        <== NOT EXECUTED
 201b5bc:	80 a0 80 01 	cmp  %g2, %g1                                  <== NOT EXECUTED
 201b5c0:	3a 80 00 0b 	bcc,a   201b5ec <rtems_rfs_file_set_size+0x298><== NOT EXECUTED
 201b5c4:	c2 26 e0 10 	st  %g1, [ %i3 + 0x10 ]                        <== NOT EXECUTED
 201b5c8:	86 00 7f ff 	add  %g1, -1, %g3                              <== NOT EXECUTED
 201b5cc:	80 a0 80 03 	cmp  %g2, %g3                                  <== NOT EXECUTED
 201b5d0:	32 80 00 0e 	bne,a   201b608 <rtems_rfs_file_set_size+0x2b4><== NOT EXECUTED
 201b5d4:	f8 06 e0 1c 	ld  [ %i3 + 0x1c ], %i4                        <== NOT EXECUTED
 201b5d8:	c4 06 e0 14 	ld  [ %i3 + 0x14 ], %g2                        <== NOT EXECUTED
 201b5dc:	80 a0 80 09 	cmp  %g2, %o1                                  <== NOT EXECUTED
 201b5e0:	28 80 00 0a 	bleu,a   201b608 <rtems_rfs_file_set_size+0x2b4><== NOT EXECUTED
 201b5e4:	f8 06 e0 1c 	ld  [ %i3 + 0x1c ], %i4                        <== NOT EXECUTED
                                          rtems_rfs_block_map_size (map)))
          rtems_rfs_block_size_get_bpos (rtems_rfs_block_map_size (map),
 201b5e8:	c2 26 e0 10 	st  %g1, [ %i3 + 0x10 ]                        <== NOT EXECUTED
 201b5ec:	d2 26 e0 14 	st  %o1, [ %i3 + 0x14 ]                        <== NOT EXECUTED
 201b5f0:	80 a2 60 00 	cmp  %o1, 0                                    <== NOT EXECUTED
 201b5f4:	02 80 00 04 	be  201b604 <rtems_rfs_file_set_size+0x2b0>    <== NOT EXECUTED
 201b5f8:	c0 26 e0 18 	clr  [ %i3 + 0x18 ]                            <== NOT EXECUTED
 201b5fc:	82 00 7f ff 	add  %g1, -1, %g1                              <== NOT EXECUTED
 201b600:	c2 26 e0 10 	st  %g1, [ %i3 + 0x10 ]                        <== NOT EXECUTED
                                         rtems_rfs_file_bpos (handle));
      }                                                               
    }                                                                 
  }                                                                   
                                                                      
  handle->shared->size.count  = rtems_rfs_block_map_count (map);      
 201b604:	f8 06 e0 1c 	ld  [ %i3 + 0x1c ], %i4                        
 201b608:	c2 06 a0 3c 	ld  [ %i2 + 0x3c ], %g1                        
 201b60c:	c2 27 20 84 	st  %g1, [ %i4 + 0x84 ]                        
  handle->shared->size.offset = rtems_rfs_block_map_size_offset (map);
 201b610:	c2 06 a0 40 	ld  [ %i2 + 0x40 ], %g1                        
 201b614:	c2 27 20 88 	st  %g1, [ %i4 + 0x88 ]                        
                                                                      
  if (rtems_rfs_file_update_mtime (handle))                           
 201b618:	c2 06 c0 00 	ld  [ %i3 ], %g1                               
 201b61c:	80 88 60 02 	btst  2, %g1                                   
 201b620:	12 80 00 05 	bne  201b634 <rtems_rfs_file_set_size+0x2e0>   <== NEVER TAKEN
 201b624:	b0 10 20 00 	clr  %i0                                       
    handle->shared->mtime = time (NULL);                              
 201b628:	40 00 1c 4d 	call  202275c <time>                           
 201b62c:	90 10 20 00 	clr  %o0                                       
 201b630:	d0 27 20 90 	st  %o0, [ %i4 + 0x90 ]                        
                                                                      
  return 0;                                                           
}                                                                     
 201b634:	81 c7 e0 08 	ret                                            
 201b638:	81 e8 00 00 	restore                                        
                                                                      

0200df10 <rtems_rfs_format>: return rc; } int rtems_rfs_format (const char* name, const rtems_rfs_format_config* config) {
 200df10:	9d e3 be c8 	save  %sp, -312, %sp                           
  rtems_rfs_file_system fs;                                           
  int                   group;                                        
  int                   rc;                                           
                                                                      
  if (config->verbose)                                                
 200df14:	c2 0e 60 15 	ldub  [ %i1 + 0x15 ], %g1                      
 200df18:	80 a0 60 00 	cmp  %g1, 0                                    
 200df1c:	22 80 00 07 	be,a   200df38 <rtems_rfs_format+0x28>         <== ALWAYS TAKEN
 200df20:	92 10 20 00 	clr  %o1                                       
    printf ("rtems-rfs: format: %s\n", name);                         
 200df24:	11 00 80 b7 	sethi  %hi(0x202dc00), %o0                     <== NOT EXECUTED
 200df28:	92 10 00 18 	mov  %i0, %o1                                  <== NOT EXECUTED
 200df2c:	40 00 44 a7 	call  201f1c8 <printf>                         <== NOT EXECUTED
 200df30:	90 12 20 d8 	or  %o0, 0xd8, %o0                             <== NOT EXECUTED
                                                                      
  memset (&fs, 0, sizeof (rtems_rfs_file_system));                    
 200df34:	92 10 20 00 	clr  %o1                                       <== NOT EXECUTED
 200df38:	94 10 20 80 	mov  0x80, %o2                                 
 200df3c:	40 00 44 51 	call  201f080 <memset>                         
 200df40:	90 07 bf 2c 	add  %fp, -212, %o0                            
)                                                                     
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
                                                                      
  head->next = tail;                                                  
 200df44:	82 07 bf 70 	add  %fp, -144, %g1                            
 200df48:	c2 27 bf 6c 	st  %g1, [ %fp + -148 ]                        
  head->previous = NULL;                                              
  tail->previous = head;                                              
 200df4c:	82 07 bf 6c 	add  %fp, -148, %g1                            
 200df50:	c2 27 bf 74 	st  %g1, [ %fp + -140 ]                        
)                                                                     
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
                                                                      
  head->next = tail;                                                  
 200df54:	82 07 bf 80 	add  %fp, -128, %g1                            
 200df58:	c2 27 bf 7c 	st  %g1, [ %fp + -132 ]                        
  head->previous = NULL;                                              
  tail->previous = head;                                              
 200df5c:	82 07 bf 7c 	add  %fp, -132, %g1                            
 200df60:	c2 27 bf 84 	st  %g1, [ %fp + -124 ]                        
)                                                                     
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
                                                                      
  head->next = tail;                                                  
 200df64:	82 07 bf 90 	add  %fp, -112, %g1                            
 200df68:	c2 27 bf 8c 	st  %g1, [ %fp + -116 ]                        
  head->previous = NULL;                                              
  tail->previous = head;                                              
 200df6c:	82 07 bf 8c 	add  %fp, -116, %g1                            
 200df70:	c2 27 bf 94 	st  %g1, [ %fp + -108 ]                        
)                                                                     
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
                                                                      
  head->next = tail;                                                  
 200df74:	82 07 bf a0 	add  %fp, -96, %g1                             
 200df78:	c2 27 bf 9c 	st  %g1, [ %fp + -100 ]                        
  head->previous = NULL;                                              
  tail->previous = head;                                              
 200df7c:	82 07 bf 9c 	add  %fp, -100, %g1                            
 200df80:	c2 27 bf a4 	st  %g1, [ %fp + -92 ]                         
  rtems_chain_initialize_empty (&fs.buffers);                         
  rtems_chain_initialize_empty (&fs.release);                         
  rtems_chain_initialize_empty (&fs.release_modified);                
  rtems_chain_initialize_empty (&fs.file_shares);                     
                                                                      
  fs.max_held_buffers = RTEMS_RFS_FS_MAX_HELD_BUFFERS;                
 200df84:	82 10 20 05 	mov  5, %g1                                    
 200df88:	c2 27 bf 68 	st  %g1, [ %fp + -152 ]                        
                                                                      
  fs.release_count = 0;                                               
  fs.release_modified_count = 0;                                      
                                                                      
  fs.flags = RTEMS_RFS_FS_NO_LOCAL_CACHE;                             
 200df8c:	82 10 20 02 	mov  2, %g1                                    
                                                                      
  /*                                                                  
   * Open the buffer interface.                                       
   */                                                                 
  rc = rtems_rfs_buffer_open (name, &fs);                             
 200df90:	90 10 00 18 	mov  %i0, %o0                                  
  fs.max_held_buffers = RTEMS_RFS_FS_MAX_HELD_BUFFERS;                
                                                                      
  fs.release_count = 0;                                               
  fs.release_modified_count = 0;                                      
                                                                      
  fs.flags = RTEMS_RFS_FS_NO_LOCAL_CACHE;                             
 200df94:	c2 27 bf 2c 	st  %g1, [ %fp + -212 ]                        
                                                                      
  /*                                                                  
   * Open the buffer interface.                                       
   */                                                                 
  rc = rtems_rfs_buffer_open (name, &fs);                             
 200df98:	40 00 2d 6f 	call  2019554 <rtems_rfs_buffer_open>          
 200df9c:	92 07 bf 2c 	add  %fp, -212, %o1                            
  if (rc > 0)                                                         
 200dfa0:	ba 92 20 00 	orcc  %o0, 0, %i5                              
 200dfa4:	04 80 00 08 	ble  200dfc4 <rtems_rfs_format+0xb4>           <== ALWAYS TAKEN
 200dfa8:	c2 07 bf 38 	ld  [ %fp + -200 ], %g1                        
  {                                                                   
    printf ("rtems-rfs: format: buffer open failed: %d: %s\n",        
 200dfac:	40 00 47 ba 	call  201fe94 <strerror>                       <== NOT EXECUTED
 200dfb0:	01 00 00 00 	nop                                            <== NOT EXECUTED
 200dfb4:	94 10 00 08 	mov  %o0, %o2                                  <== NOT EXECUTED
 200dfb8:	11 00 80 b7 	sethi  %hi(0x202dc00), %o0                     <== NOT EXECUTED
 200dfbc:	10 80 00 de 	b  200e334 <rtems_rfs_format+0x424>            <== NOT EXECUTED
 200dfc0:	90 12 20 f0 	or  %o0, 0xf0, %o0	! 202dcf0 <ramdisk_ops+0x34><== NOT EXECUTED
  }                                                                   
                                                                      
  /*                                                                  
   * Check the media.                                                 
   */                                                                 
  if (rtems_rfs_fs_media_block_size (&fs) == 0)                       
 200dfc4:	c2 00 60 24 	ld  [ %g1 + 0x24 ], %g1                        
 200dfc8:	80 a0 60 00 	cmp  %g1, 0                                    
 200dfcc:	32 80 00 06 	bne,a   200dfe4 <rtems_rfs_format+0xd4>        <== ALWAYS TAKEN
 200dfd0:	c2 06 40 00 	ld  [ %i1 ], %g1                               
  {                                                                   
    printf ("rtems-rfs: media block is invalid: %" PRIu32 "\n",       
 200dfd4:	11 00 80 b7 	sethi  %hi(0x202dc00), %o0                     <== NOT EXECUTED
 200dfd8:	92 10 20 00 	clr  %o1                                       <== NOT EXECUTED
 200dfdc:	10 80 01 71 	b  200e5a0 <rtems_rfs_format+0x690>            <== NOT EXECUTED
 200dfe0:	90 12 21 20 	or  %o0, 0x120, %o0                            <== NOT EXECUTED
static bool                                                           
rtems_rfs_check_config (rtems_rfs_file_system*         fs,            
                        const rtems_rfs_format_config* config)        
{                                                                     
  fs->block_size = config->block_size;                                
  if (!fs->block_size)                                                
 200dfe4:	80 a0 60 00 	cmp  %g1, 0                                    
 200dfe8:	12 80 00 2a 	bne  200e090 <rtems_rfs_format+0x180>          <== ALWAYS TAKEN
 200dfec:	c2 27 bf 34 	st  %g1, [ %fp + -204 ]                        
  {                                                                   
    uint64_t total_size = rtems_rfs_fs_media_size (fs);               
 200dff0:	40 00 36 60 	call  201b970 <rtems_rfs_fs_media_size>        <== NOT EXECUTED
 200dff4:	90 07 bf 2c 	add  %fp, -212, %o0                            <== NOT EXECUTED
                                                                      
    if (total_size >= GIGS (1))                                       
 200dff8:	80 a2 20 00 	cmp  %o0, 0                                    <== NOT EXECUTED
 200dffc:	12 80 00 08 	bne  200e01c <rtems_rfs_format+0x10c>          <== NOT EXECUTED
 200e000:	84 10 20 00 	clr  %g2                                       <== NOT EXECUTED
 200e004:	03 00 03 ff 	sethi  %hi(0xffc00), %g1                       <== NOT EXECUTED
 200e008:	82 10 63 ff 	or  %g1, 0x3ff, %g1	! fffff <PROM_START+0xfffff><== NOT EXECUTED
 200e00c:	80 a2 40 01 	cmp  %o1, %g1                                  <== NOT EXECUTED
 200e010:	08 80 00 16 	bleu  200e068 <rtems_rfs_format+0x158>         <== NOT EXECUTED
 200e014:	c2 07 bf 34 	ld  [ %fp + -204 ], %g1                        <== NOT EXECUTED
    {                                                                 
      uint32_t gigs = (total_size + GIGS (1)) / GIGS (1);             
 200e018:	84 10 20 00 	clr  %g2                                       <== NOT EXECUTED
 200e01c:	07 00 04 00 	sethi  %hi(0x100000), %g3                      <== NOT EXECUTED
 200e020:	92 82 40 03 	addcc  %o1, %g3, %o1                           <== NOT EXECUTED
 200e024:	83 32 60 14 	srl  %o1, 0x14, %g1                            <== NOT EXECUTED
 200e028:	90 42 00 02 	addx  %o0, %g2, %o0                            <== NOT EXECUTED
      int      b;                                                     
      for (b = 31; b > 0; b--)                                        
        if ((gigs & (1 << b)) != 0)                                   
 200e02c:	84 10 20 01 	mov  1, %g2                                    <== NOT EXECUTED
  {                                                                   
    uint64_t total_size = rtems_rfs_fs_media_size (fs);               
                                                                      
    if (total_size >= GIGS (1))                                       
    {                                                                 
      uint32_t gigs = (total_size + GIGS (1)) / GIGS (1);             
 200e030:	87 2a 20 0c 	sll  %o0, 0xc, %g3                             <== NOT EXECUTED
 200e034:	86 10 c0 01 	or  %g3, %g1, %g3                              <== NOT EXECUTED
      int      b;                                                     
      for (b = 31; b > 0; b--)                                        
 200e038:	82 10 20 1f 	mov  0x1f, %g1                                 <== NOT EXECUTED
        if ((gigs & (1 << b)) != 0)                                   
 200e03c:	89 28 80 01 	sll  %g2, %g1, %g4                             <== NOT EXECUTED
 200e040:	80 89 00 03 	btst  %g4, %g3                                 <== NOT EXECUTED
 200e044:	32 80 00 06 	bne,a   200e05c <rtems_rfs_format+0x14c>       <== NOT EXECUTED
 200e048:	84 10 20 01 	mov  1, %g2                                    <== NOT EXECUTED
                                                                      
    if (total_size >= GIGS (1))                                       
    {                                                                 
      uint32_t gigs = (total_size + GIGS (1)) / GIGS (1);             
      int      b;                                                     
      for (b = 31; b > 0; b--)                                        
 200e04c:	82 80 7f ff 	addcc  %g1, -1, %g1                            <== NOT EXECUTED
 200e050:	12 bf ff fc 	bne  200e040 <rtems_rfs_format+0x130>          <== NOT EXECUTED
 200e054:	89 28 80 01 	sll  %g2, %g1, %g4                             <== NOT EXECUTED
        if ((gigs & (1 << b)) != 0)                                   
          break;                                                      
      fs->block_size = 1 << b;                                        
 200e058:	84 10 20 01 	mov  1, %g2                                    <== NOT EXECUTED
 200e05c:	83 28 80 01 	sll  %g2, %g1, %g1                             <== NOT EXECUTED
 200e060:	c2 27 bf 34 	st  %g1, [ %fp + -204 ]                        <== NOT EXECUTED
    }                                                                 
                                                                      
    if (fs->block_size < 512)                                         
 200e064:	c2 07 bf 34 	ld  [ %fp + -204 ], %g1                        <== NOT EXECUTED
 200e068:	80 a0 61 ff 	cmp  %g1, 0x1ff                                <== NOT EXECUTED
 200e06c:	18 80 00 05 	bgu  200e080 <rtems_rfs_format+0x170>          <== NOT EXECUTED
 200e070:	c4 07 bf 34 	ld  [ %fp + -204 ], %g2                        <== NOT EXECUTED
      fs->block_size = 512;                                           
 200e074:	82 10 22 00 	mov  0x200, %g1                                <== NOT EXECUTED
 200e078:	c2 27 bf 34 	st  %g1, [ %fp + -204 ]                        <== NOT EXECUTED
                                                                      
    if (fs->block_size > (4 * 1024))                                  
 200e07c:	c4 07 bf 34 	ld  [ %fp + -204 ], %g2                        <== NOT EXECUTED
 200e080:	03 00 00 04 	sethi  %hi(0x1000), %g1                        <== NOT EXECUTED
 200e084:	80 a0 80 01 	cmp  %g2, %g1                                  <== NOT EXECUTED
 200e088:	38 80 00 02 	bgu,a   200e090 <rtems_rfs_format+0x180>       <== NOT EXECUTED
 200e08c:	c2 27 bf 34 	st  %g1, [ %fp + -204 ]                        <== NOT EXECUTED
      fs->block_size = (4 * 1024);                                    
  }                                                                   
                                                                      
  if ((fs->block_size % rtems_rfs_fs_media_block_size (fs)) != 0)     
 200e090:	c2 07 bf 38 	ld  [ %fp + -200 ], %g1                        
 200e094:	fa 07 bf 34 	ld  [ %fp + -204 ], %i5                        
 200e098:	f8 00 60 24 	ld  [ %g1 + 0x24 ], %i4                        
 200e09c:	90 10 00 1d 	mov  %i5, %o0                                  
 200e0a0:	40 00 74 c7 	call  202b3bc <.urem>                          
 200e0a4:	92 10 00 1c 	mov  %i4, %o1                                  
 200e0a8:	80 a2 20 00 	cmp  %o0, 0                                    
 200e0ac:	22 80 00 07 	be,a   200e0c8 <rtems_rfs_format+0x1b8>        <== ALWAYS TAKEN
 200e0b0:	c2 06 60 04 	ld  [ %i1 + 4 ], %g1                           
  {                                                                   
    printf ("block size (%zd) is not a multiple of media block size (%" PRId32 ")\n",
 200e0b4:	11 00 80 b7 	sethi  %hi(0x202dc00), %o0                     <== NOT EXECUTED
 200e0b8:	92 10 00 1d 	mov  %i5, %o1                                  <== NOT EXECUTED
 200e0bc:	90 12 21 48 	or  %o0, 0x148, %o0                            <== NOT EXECUTED
 200e0c0:	10 80 00 9e 	b  200e338 <rtems_rfs_format+0x428>            <== NOT EXECUTED
 200e0c4:	94 10 00 1c 	mov  %i4, %o2                                  <== NOT EXECUTED
 200e0c8:	bb 2f 60 03 	sll  %i5, 3, %i5                               
            fs->block_size, rtems_rfs_fs_media_block_size (fs));      
    return false;                                                     
  }                                                                   
                                                                      
  fs->group_blocks = config->group_blocks;                            
  if (!fs->group_blocks)                                              
 200e0cc:	80 a0 60 00 	cmp  %g1, 0                                    
 200e0d0:	12 80 00 03 	bne  200e0dc <rtems_rfs_format+0x1cc>          <== NEVER TAKEN
 200e0d4:	c2 27 bf 50 	st  %g1, [ %fp + -176 ]                        
  {                                                                   
    /*                                                                
     * The number of blocks per group is defined by the number of bits in a
     * block.                                                         
     */                                                               
    fs->group_blocks = rtems_rfs_bitmap_numof_bits (fs->block_size);  
 200e0d8:	fa 27 bf 50 	st  %i5, [ %fp + -176 ]                        
  }                                                                   
                                                                      
  if (fs->group_blocks > rtems_rfs_bitmap_numof_bits (fs->block_size))
 200e0dc:	c2 07 bf 50 	ld  [ %fp + -176 ], %g1                        
  {                                                                   
    printf ("group block count is higher than bits in block\n");      
 200e0e0:	11 00 80 b7 	sethi  %hi(0x202dc00), %o0                     
     * block.                                                         
     */                                                               
    fs->group_blocks = rtems_rfs_bitmap_numof_bits (fs->block_size);  
  }                                                                   
                                                                      
  if (fs->group_blocks > rtems_rfs_bitmap_numof_bits (fs->block_size))
 200e0e4:	80 a0 40 1d 	cmp  %g1, %i5                                  
 200e0e8:	18 80 01 1e 	bgu  200e560 <rtems_rfs_format+0x650>          <== NEVER TAKEN
 200e0ec:	90 12 21 88 	or  %o0, 0x188, %o0                            
  {                                                                   
    printf ("group block count is higher than bits in block\n");      
    return false;                                                     
  }                                                                   
                                                                      
  fs->blocks = rtems_rfs_fs_media_size (fs) / fs->block_size;         
 200e0f0:	40 00 36 20 	call  201b970 <rtems_rfs_fs_media_size>        
 200e0f4:	90 07 bf 2c 	add  %fp, -212, %o0                            
 200e0f8:	fa 07 bf 34 	ld  [ %fp + -204 ], %i5                        
 200e0fc:	94 10 20 00 	clr  %o2                                       
 200e100:	40 00 77 67 	call  202be9c <__udivdi3>                      
 200e104:	96 10 00 1d 	mov  %i5, %o3                                  
 * Return the number of bits that fit in the block size.              
 */                                                                   
static int                                                            
rtems_rfs_bits_per_block (rtems_rfs_file_system* fs)                  
{                                                                     
  return rtems_rfs_bitmap_numof_bits (rtems_rfs_fs_block_size (fs));  
 200e108:	b9 2f 60 03 	sll  %i5, 3, %i4                               
  {                                                                   
    printf ("group block count is higher than bits in block\n");      
    return false;                                                     
  }                                                                   
                                                                      
  fs->blocks = rtems_rfs_fs_media_size (fs) / fs->block_size;         
 200e10c:	d2 27 bf 30 	st  %o1, [ %fp + -208 ]                        
  /*                                                                  
   * The bits per block sets the upper limit for the number of blocks in a
   * group. The disk will be divided into groups which are the number of bits
   * per block.                                                       
   */                                                                 
  fs->group_count = rtems_rfs_rup_quotient (rtems_rfs_fs_blocks (fs), 
 200e110:	90 10 00 09 	mov  %o1, %o0                                  
  {                                                                   
    printf ("group block count is higher than bits in block\n");      
    return false;                                                     
  }                                                                   
                                                                      
  fs->blocks = rtems_rfs_fs_media_size (fs) / fs->block_size;         
 200e114:	b6 10 00 09 	mov  %o1, %i3                                  
  /*                                                                  
   * The bits per block sets the upper limit for the number of blocks in a
   * group. The disk will be divided into groups which are the number of bits
   * per block.                                                       
   */                                                                 
  fs->group_count = rtems_rfs_rup_quotient (rtems_rfs_fs_blocks (fs), 
 200e118:	7f ff ff 5c 	call  200de88 <rtems_rfs_rup_quotient>         
 200e11c:	92 10 00 1c 	mov  %i4, %o1                                  
                                            rtems_rfs_bits_per_block (fs));
                                                                      
  fs->group_inodes = config->group_inodes;                            
 200e120:	c2 06 60 08 	ld  [ %i1 + 8 ], %g1                           
  /*                                                                  
   * The bits per block sets the upper limit for the number of blocks in a
   * group. The disk will be divided into groups which are the number of bits
   * per block.                                                       
   */                                                                 
  fs->group_count = rtems_rfs_rup_quotient (rtems_rfs_fs_blocks (fs), 
 200e124:	d0 27 bf 4c 	st  %o0, [ %fp + -180 ]                        
                                            rtems_rfs_bits_per_block (fs));
                                                                      
  fs->group_inodes = config->group_inodes;                            
 200e128:	c2 27 bf 54 	st  %g1, [ %fp + -172 ]                        
  if (!fs->group_inodes)                                              
 200e12c:	80 a0 60 00 	cmp  %g1, 0                                    
 200e130:	12 80 00 14 	bne  200e180 <rtems_rfs_format+0x270>          <== NEVER TAKEN
 200e134:	b4 10 00 08 	mov  %o0, %i2                                  
    int inode_overhead = RTEMS_RFS_INODE_OVERHEAD_PERCENTAGE;         
                                                                      
    /*                                                                
     * The number of inodes per group is set as a percentage.         
     */                                                               
    if (config->inode_overhead)                                       
 200e138:	d0 06 60 0c 	ld  [ %i1 + 0xc ], %o0                         
 200e13c:	80 a2 20 00 	cmp  %o0, 0                                    
 200e140:	22 80 00 02 	be,a   200e148 <rtems_rfs_format+0x238>        <== ALWAYS TAKEN
 200e144:	90 10 20 01 	mov  1, %o0                                    
rtems_rfs_inodes_from_percent (rtems_rfs_file_system* fs,             
                               int                    percentage)     
{                                                                     
  int blocks;                                                         
  blocks = ((rtems_rfs_fs_blocks (fs) -                               
             RTEMS_RFS_SUPERBLOCK_SIZE) * percentage) / 100;          
 200e148:	40 00 73 b7 	call  202b024 <.umul>                          
 200e14c:	92 06 ff ff 	add  %i3, -1, %o1                              
 200e150:	40 00 73 ef 	call  202b10c <.udiv>                          
 200e154:	92 10 20 64 	mov  0x64, %o1                                 
  blocks = rtems_rfs_rup_quotient (blocks, fs->group_count);          
 200e158:	7f ff ff 4c 	call  200de88 <rtems_rfs_rup_quotient>         
 200e15c:	92 10 00 1a 	mov  %i2, %o1                                  
  return blocks * (rtems_rfs_fs_block_size (fs) / RTEMS_RFS_INODE_SIZE);
 200e160:	92 10 20 38 	mov  0x38, %o1                                 
                               int                    percentage)     
{                                                                     
  int blocks;                                                         
  blocks = ((rtems_rfs_fs_blocks (fs) -                               
             RTEMS_RFS_SUPERBLOCK_SIZE) * percentage) / 100;          
  blocks = rtems_rfs_rup_quotient (blocks, fs->group_count);          
 200e164:	b6 10 00 08 	mov  %o0, %i3                                  
  return blocks * (rtems_rfs_fs_block_size (fs) / RTEMS_RFS_INODE_SIZE);
 200e168:	40 00 73 e9 	call  202b10c <.udiv>                          
 200e16c:	90 10 00 1d 	mov  %i5, %o0                                  
 200e170:	92 10 00 08 	mov  %o0, %o1                                  
 200e174:	40 00 73 ac 	call  202b024 <.umul>                          
 200e178:	90 10 00 1b 	mov  %i3, %o0                                  
     * The number of inodes per group is set as a percentage.         
     */                                                               
    if (config->inode_overhead)                                       
      inode_overhead = config->inode_overhead;                        
                                                                      
    fs->group_inodes = rtems_rfs_inodes_from_percent (fs, inode_overhead);
 200e17c:	d0 27 bf 54 	st  %o0, [ %fp + -172 ]                        
  }                                                                   
                                                                      
  /*                                                                  
   * Round up to fill a block because the minimum allocation unit is a block.
   */                                                                 
  fs->inodes_per_block = rtems_rfs_fs_block_size (fs) / RTEMS_RFS_INODE_SIZE;
 200e180:	90 10 00 1d 	mov  %i5, %o0                                  
 200e184:	40 00 73 e2 	call  202b10c <.udiv>                          
 200e188:	92 10 20 38 	mov  0x38, %o1                                 
 200e18c:	ba 10 00 08 	mov  %o0, %i5                                  
 200e190:	d0 27 bf 58 	st  %o0, [ %fp + -168 ]                        
  fs->group_inodes =                                                  
    rtems_rfs_rup_quotient (fs->group_inodes,                         
 200e194:	d0 07 bf 54 	ld  [ %fp + -172 ], %o0                        
 200e198:	7f ff ff 3c 	call  200de88 <rtems_rfs_rup_quotient>         
 200e19c:	92 10 00 1d 	mov  %i5, %o1                                  
                            fs->inodes_per_block) * fs->inodes_per_block;
 200e1a0:	40 00 73 a1 	call  202b024 <.umul>                          
 200e1a4:	92 10 00 1d 	mov  %i5, %o1                                  
                                                                      
  if (fs->group_inodes > rtems_rfs_bitmap_numof_bits (fs->block_size))
 200e1a8:	80 a2 00 1c 	cmp  %o0, %i4                                  
 200e1ac:	08 80 00 03 	bleu  200e1b8 <rtems_rfs_format+0x2a8>         <== ALWAYS TAKEN
 200e1b0:	d0 27 bf 54 	st  %o0, [ %fp + -172 ]                        
    fs->group_inodes = rtems_rfs_bitmap_numof_bits (fs->block_size);  
 200e1b4:	f8 27 bf 54 	st  %i4, [ %fp + -172 ]                        <== NOT EXECUTED
                                                                      
  fs->max_name_length = config->max_name_length;                      
 200e1b8:	c2 06 60 10 	ld  [ %i1 + 0x10 ], %g1                        
  if (!fs->max_name_length)                                           
 200e1bc:	80 a0 60 00 	cmp  %g1, 0                                    
 200e1c0:	12 80 02 6f 	bne  200eb7c <rtems_rfs_format+0xc6c>          <== NEVER TAKEN
 200e1c4:	c2 27 bf 44 	st  %g1, [ %fp + -188 ]                        
  {                                                                   
    fs->max_name_length = 512;                                        
 200e1c8:	82 10 22 00 	mov  0x200, %g1                                
 200e1cc:	10 80 02 6c 	b  200eb7c <rtems_rfs_format+0xc6c>            
 200e1d0:	c2 27 bf 44 	st  %g1, [ %fp + -188 ]                        
  if (!rtems_rfs_check_config (&fs, config))                          
    return -1;                                                        
                                                                      
  if (config->verbose)                                                
  {                                                                   
    printf ("rtems-rfs: format: media size = %" PRIu64 "\n",          
 200e1d4:	40 00 35 e7 	call  201b970 <rtems_rfs_fs_media_size>        <== NOT EXECUTED
 200e1d8:	90 07 bf 2c 	add  %fp, -212, %o0                            <== NOT EXECUTED
 200e1dc:	84 10 00 08 	mov  %o0, %g2                                  <== NOT EXECUTED
 200e1e0:	86 10 00 09 	mov  %o1, %g3                                  <== NOT EXECUTED
 200e1e4:	11 00 80 b7 	sethi  %hi(0x202dc00), %o0                     <== NOT EXECUTED
 200e1e8:	92 10 00 02 	mov  %g2, %o1                                  <== NOT EXECUTED
 200e1ec:	94 10 00 03 	mov  %g3, %o2                                  <== NOT EXECUTED
 200e1f0:	40 00 43 f6 	call  201f1c8 <printf>                         <== NOT EXECUTED
 200e1f4:	90 12 21 b8 	or  %o0, 0x1b8, %o0                            <== NOT EXECUTED
            rtems_rfs_fs_media_size (&fs));                           
    printf ("rtems-rfs: format: media blocks = %" PRIu32 "\n",        
 200e1f8:	c2 07 bf 38 	ld  [ %fp + -200 ], %g1                        <== NOT EXECUTED
 200e1fc:	11 00 80 b7 	sethi  %hi(0x202dc00), %o0                     <== NOT EXECUTED
 200e200:	d2 00 60 1c 	ld  [ %g1 + 0x1c ], %o1                        <== NOT EXECUTED
 200e204:	40 00 43 f1 	call  201f1c8 <printf>                         <== NOT EXECUTED
 200e208:	90 12 21 e0 	or  %o0, 0x1e0, %o0                            <== NOT EXECUTED
            rtems_rfs_fs_media_blocks (&fs));                         
    printf ("rtems-rfs: format: media block size = %" PRIu32 "\n",    
 200e20c:	c2 07 bf 38 	ld  [ %fp + -200 ], %g1                        <== NOT EXECUTED
 200e210:	11 00 80 b7 	sethi  %hi(0x202dc00), %o0                     <== NOT EXECUTED
 200e214:	d2 00 60 24 	ld  [ %g1 + 0x24 ], %o1                        <== NOT EXECUTED
 200e218:	40 00 43 ec 	call  201f1c8 <printf>                         <== NOT EXECUTED
 200e21c:	90 12 22 08 	or  %o0, 0x208, %o0                            <== NOT EXECUTED
            rtems_rfs_fs_media_block_size (&fs));                     
    printf ("rtems-rfs: format: size = %" PRIu64 "\n",                
 200e220:	40 00 35 cb 	call  201b94c <rtems_rfs_fs_size>              <== NOT EXECUTED
 200e224:	90 07 bf 2c 	add  %fp, -212, %o0                            <== NOT EXECUTED
 200e228:	84 10 00 08 	mov  %o0, %g2                                  <== NOT EXECUTED
 200e22c:	86 10 00 09 	mov  %o1, %g3                                  <== NOT EXECUTED
 200e230:	11 00 80 b7 	sethi  %hi(0x202dc00), %o0                     <== NOT EXECUTED
 200e234:	92 10 00 02 	mov  %g2, %o1                                  <== NOT EXECUTED
 200e238:	94 10 00 03 	mov  %g3, %o2                                  <== NOT EXECUTED
 200e23c:	40 00 43 e3 	call  201f1c8 <printf>                         <== NOT EXECUTED
 200e240:	90 12 22 38 	or  %o0, 0x238, %o0                            <== NOT EXECUTED
            rtems_rfs_fs_size (&fs));                                 
    printf ("rtems-rfs: format: blocks = %zu\n",                      
 200e244:	d2 07 bf 30 	ld  [ %fp + -208 ], %o1                        <== NOT EXECUTED
 200e248:	11 00 80 b7 	sethi  %hi(0x202dc00), %o0                     <== NOT EXECUTED
 200e24c:	40 00 43 df 	call  201f1c8 <printf>                         <== NOT EXECUTED
 200e250:	90 12 22 58 	or  %o0, 0x258, %o0	! 202de58 <ramdisk_ops+0x19c><== NOT EXECUTED
            rtems_rfs_fs_blocks (&fs));                               
    printf ("rtems-rfs: format: block size = %zu\n",                  
 200e254:	d2 07 bf 34 	ld  [ %fp + -204 ], %o1                        <== NOT EXECUTED
 200e258:	11 00 80 b7 	sethi  %hi(0x202dc00), %o0                     <== NOT EXECUTED
 200e25c:	40 00 43 db 	call  201f1c8 <printf>                         <== NOT EXECUTED
 200e260:	90 12 22 80 	or  %o0, 0x280, %o0	! 202de80 <ramdisk_ops+0x1c4><== NOT EXECUTED
 * Return the number of bits that fit in the block size.              
 */                                                                   
static int                                                            
rtems_rfs_bits_per_block (rtems_rfs_file_system* fs)                  
{                                                                     
  return rtems_rfs_bitmap_numof_bits (rtems_rfs_fs_block_size (fs));  
 200e264:	d2 07 bf 34 	ld  [ %fp + -204 ], %o1                        <== NOT EXECUTED
            rtems_rfs_fs_size (&fs));                                 
    printf ("rtems-rfs: format: blocks = %zu\n",                      
            rtems_rfs_fs_blocks (&fs));                               
    printf ("rtems-rfs: format: block size = %zu\n",                  
            rtems_rfs_fs_block_size (&fs));                           
    printf ("rtems-rfs: format: bits per block = %u\n",               
 200e268:	11 00 80 b7 	sethi  %hi(0x202dc00), %o0                     <== NOT EXECUTED
 200e26c:	93 2a 60 03 	sll  %o1, 3, %o1                               <== NOT EXECUTED
 200e270:	40 00 43 d6 	call  201f1c8 <printf>                         <== NOT EXECUTED
 200e274:	90 12 22 a8 	or  %o0, 0x2a8, %o0                            <== NOT EXECUTED
            rtems_rfs_bits_per_block (&fs));                          
    printf ("rtems-rfs: format: inode size = %zu\n", RTEMS_RFS_INODE_SIZE);
 200e278:	92 10 20 38 	mov  0x38, %o1                                 <== NOT EXECUTED
 200e27c:	11 00 80 b7 	sethi  %hi(0x202dc00), %o0                     <== NOT EXECUTED
 200e280:	40 00 43 d2 	call  201f1c8 <printf>                         <== NOT EXECUTED
 200e284:	90 12 22 d0 	or  %o0, 0x2d0, %o0	! 202ded0 <ramdisk_ops+0x214><== NOT EXECUTED
    printf ("rtems-rfs: format: inodes = %zu (%d.%d%%)\n",            
 200e288:	d2 07 bf 54 	ld  [ %fp + -172 ], %o1                        <== NOT EXECUTED
 200e28c:	40 00 73 66 	call  202b024 <.umul>                          <== NOT EXECUTED
 200e290:	d0 07 bf 4c 	ld  [ %fp + -180 ], %o0                        <== NOT EXECUTED
 200e294:	b8 10 00 08 	mov  %o0, %i4                                  <== NOT EXECUTED
            fs.group_inodes * fs.group_count,                         
            rtems_rfs_inode_overhead (&fs) / 10,                      
 200e298:	7f ff ff 07 	call  200deb4 <rtems_rfs_inode_overhead>       <== NOT EXECUTED
 200e29c:	90 07 bf 2c 	add  %fp, -212, %o0                            <== NOT EXECUTED
    printf ("rtems-rfs: format: block size = %zu\n",                  
            rtems_rfs_fs_block_size (&fs));                           
    printf ("rtems-rfs: format: bits per block = %u\n",               
            rtems_rfs_bits_per_block (&fs));                          
    printf ("rtems-rfs: format: inode size = %zu\n", RTEMS_RFS_INODE_SIZE);
    printf ("rtems-rfs: format: inodes = %zu (%d.%d%%)\n",            
 200e2a0:	92 10 20 0a 	mov  0xa, %o1                                  <== NOT EXECUTED
 200e2a4:	40 00 73 9c 	call  202b114 <.div>                           <== NOT EXECUTED
 200e2a8:	b6 10 00 08 	mov  %o0, %i3                                  <== NOT EXECUTED
 200e2ac:	92 10 20 0a 	mov  0xa, %o1                                  <== NOT EXECUTED
 200e2b0:	ba 10 00 08 	mov  %o0, %i5                                  <== NOT EXECUTED
 200e2b4:	40 00 74 44 	call  202b3c4 <.rem>                           <== NOT EXECUTED
 200e2b8:	90 10 00 1b 	mov  %i3, %o0                                  <== NOT EXECUTED
 200e2bc:	94 10 00 1d 	mov  %i5, %o2                                  <== NOT EXECUTED
 200e2c0:	96 10 00 08 	mov  %o0, %o3                                  <== NOT EXECUTED
 200e2c4:	92 10 00 1c 	mov  %i4, %o1                                  <== NOT EXECUTED
 200e2c8:	11 00 80 b7 	sethi  %hi(0x202dc00), %o0                     <== NOT EXECUTED
 200e2cc:	40 00 43 bf 	call  201f1c8 <printf>                         <== NOT EXECUTED
 200e2d0:	90 12 22 f8 	or  %o0, 0x2f8, %o0	! 202def8 <ramdisk_ops+0x23c><== NOT EXECUTED
            fs.group_inodes * fs.group_count,                         
            rtems_rfs_inode_overhead (&fs) / 10,                      
            rtems_rfs_inode_overhead (&fs) % 10);                     
    printf ("rtems-rfs: format: groups = %u\n", fs.group_count);      
 200e2d4:	d2 07 bf 4c 	ld  [ %fp + -180 ], %o1                        <== NOT EXECUTED
 200e2d8:	11 00 80 b7 	sethi  %hi(0x202dc00), %o0                     <== NOT EXECUTED
 200e2dc:	40 00 43 bb 	call  201f1c8 <printf>                         <== NOT EXECUTED
 200e2e0:	90 12 23 28 	or  %o0, 0x328, %o0	! 202df28 <ramdisk_ops+0x26c><== NOT EXECUTED
    printf ("rtems-rfs: format: group blocks = %zu\n", fs.group_blocks);
 200e2e4:	d2 07 bf 50 	ld  [ %fp + -176 ], %o1                        <== NOT EXECUTED
 200e2e8:	11 00 80 b7 	sethi  %hi(0x202dc00), %o0                     <== NOT EXECUTED
 200e2ec:	40 00 43 b7 	call  201f1c8 <printf>                         <== NOT EXECUTED
 200e2f0:	90 12 23 48 	or  %o0, 0x348, %o0	! 202df48 <ramdisk_ops+0x28c><== NOT EXECUTED
    printf ("rtems-rfs: format: group inodes = %zu\n", fs.group_inodes);
 200e2f4:	d2 07 bf 54 	ld  [ %fp + -172 ], %o1                        <== NOT EXECUTED
 200e2f8:	11 00 80 b7 	sethi  %hi(0x202dc00), %o0                     <== NOT EXECUTED
 200e2fc:	40 00 43 b3 	call  201f1c8 <printf>                         <== NOT EXECUTED
 200e300:	90 12 23 70 	or  %o0, 0x370, %o0	! 202df70 <ramdisk_ops+0x2b4><== NOT EXECUTED
  }                                                                   
                                                                      
  rc = rtems_rfs_buffer_setblksize (&fs, rtems_rfs_fs_block_size (&fs));
 200e304:	d2 07 bf 34 	ld  [ %fp + -204 ], %o1                        <== NOT EXECUTED
 200e308:	b6 07 bf 2c 	add  %fp, -212, %i3                            
 200e30c:	40 00 2d 28 	call  20197ac <rtems_rfs_buffer_setblksize>    
 200e310:	90 10 00 1b 	mov  %i3, %o0                                  
  if (rc > 0)                                                         
 200e314:	ba 92 20 00 	orcc  %o0, 0, %i5                              
 200e318:	24 80 00 0b 	ble,a   200e344 <rtems_rfs_format+0x434>       <== ALWAYS TAKEN
 200e31c:	c0 2f bf ec 	clrb  [ %fp + -20 ]                            
  {                                                                   
    printf ("rtems-rfs: format: setting block size failed: %d: %s\n", 
 200e320:	40 00 46 dd 	call  201fe94 <strerror>                       <== NOT EXECUTED
 200e324:	01 00 00 00 	nop                                            <== NOT EXECUTED
 200e328:	94 10 00 08 	mov  %o0, %o2                                  <== NOT EXECUTED
 200e32c:	11 00 80 b7 	sethi  %hi(0x202dc00), %o0                     <== NOT EXECUTED
 200e330:	90 12 23 98 	or  %o0, 0x398, %o0	! 202df98 <ramdisk_ops+0x2dc><== NOT EXECUTED
 200e334:	92 10 00 1d 	mov  %i5, %o1                                  <== NOT EXECUTED
 200e338:	40 00 43 a4 	call  201f1c8 <printf>                         <== NOT EXECUTED
 200e33c:	b0 10 3f ff 	mov  -1, %i0                                   <== NOT EXECUTED
 200e340:	30 80 02 0d 	b,a   200eb74 <rtems_rfs_format+0xc64>         <== NOT EXECUTED
static inline int                                                     
rtems_rfs_buffer_handle_open (rtems_rfs_file_system*   fs,            
                              rtems_rfs_buffer_handle* handle)        
{                                                                     
  handle->dirty = false;                                              
  handle->bnum  = 0;                                                  
 200e344:	c0 27 bf f0 	clr  [ %fp + -16 ]                             
  handle->buffer = NULL;                                              
 200e348:	c0 27 bf f4 	clr  [ %fp + -12 ]                             
    printf ("rtems-rfs: write-superblock: handle open failed: %d: %s\n",
            rc, strerror (rc));                                       
    return false;                                                     
  }                                                                   
                                                                      
  rc = rtems_rfs_buffer_handle_request (fs, &handle, 0, false);       
 200e34c:	b8 07 bf ec 	add  %fp, -20, %i4                             
 200e350:	90 10 00 1b 	mov  %i3, %o0                                  
 200e354:	92 10 00 1c 	mov  %i4, %o1                                  
 200e358:	94 10 20 00 	clr  %o2                                       
 200e35c:	40 00 2b d7 	call  20192b8 <rtems_rfs_buffer_handle_request>
 200e360:	96 10 20 00 	clr  %o3                                       
  if (rc > 0)                                                         
 200e364:	ba 92 20 00 	orcc  %o0, 0, %i5                              
 200e368:	04 80 00 0a 	ble  200e390 <rtems_rfs_format+0x480>          <== ALWAYS TAKEN
 200e36c:	92 10 00 1c 	mov  %i4, %o1                                  
  {                                                                   
    rtems_rfs_buffer_handle_close (fs, &handle);                      
 200e370:	7f ff fe bc 	call  200de60 <rtems_rfs_buffer_handle_close>  <== NOT EXECUTED
 200e374:	90 10 00 1b 	mov  %i3, %o0                                  <== NOT EXECUTED
    printf ("rtems-rfs: write-superblock: request failed: %d: %s\n",  
 200e378:	40 00 46 c7 	call  201fe94 <strerror>                       <== NOT EXECUTED
 200e37c:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
 200e380:	94 10 00 08 	mov  %o0, %o2                                  <== NOT EXECUTED
 200e384:	11 00 80 b7 	sethi  %hi(0x202dc00), %o0                     <== NOT EXECUTED
 200e388:	10 80 00 72 	b  200e550 <rtems_rfs_format+0x640>            <== NOT EXECUTED
 200e38c:	90 12 23 d0 	or  %o0, 0x3d0, %o0	! 202dfd0 <ramdisk_ops+0x314><== NOT EXECUTED
            rc, strerror (rc));                                       
    return false;                                                     
  }                                                                   
                                                                      
  sb = rtems_rfs_buffer_data (&handle);                               
 200e390:	c2 07 bf f4 	ld  [ %fp + -12 ], %g1                         
                                                                      
#define write_sb(_o, _d) rtems_rfs_write_u32(sb + (_o), _d)           
                                                                      
  memset (sb, 0xff, rtems_rfs_fs_block_size (fs));                    
 200e394:	d4 07 bf 34 	ld  [ %fp + -204 ], %o2                        
    printf ("rtems-rfs: write-superblock: request failed: %d: %s\n",  
            rc, strerror (rc));                                       
    return false;                                                     
  }                                                                   
                                                                      
  sb = rtems_rfs_buffer_data (&handle);                               
 200e398:	fa 00 60 24 	ld  [ %g1 + 0x24 ], %i5                        
                                                                      
#define write_sb(_o, _d) rtems_rfs_write_u32(sb + (_o), _d)           
                                                                      
  memset (sb, 0xff, rtems_rfs_fs_block_size (fs));                    
 200e39c:	92 10 20 ff 	mov  0xff, %o1                                 
 200e3a0:	40 00 43 38 	call  201f080 <memset>                         
 200e3a4:	90 10 00 1d 	mov  %i5, %o0                                  
                                                                      
  write_sb (RTEMS_RFS_SB_OFFSET_MAGIC, RTEMS_RFS_SB_MAGIC);           
 200e3a8:	82 10 20 28 	mov  0x28, %g1                                 
 200e3ac:	c2 2f 40 00 	stb  %g1, [ %i5 ]                              
 200e3b0:	82 10 20 09 	mov  9, %g1                                    
 200e3b4:	c2 2f 60 01 	stb  %g1, [ %i5 + 1 ]                          
 200e3b8:	82 10 20 20 	mov  0x20, %g1                                 
  write_sb (RTEMS_RFS_SB_OFFSET_VERSION, RTEMS_RFS_VERSION);          
 200e3bc:	c0 2f 60 04 	clrb  [ %i5 + 4 ]                              
                                                                      
#define write_sb(_o, _d) rtems_rfs_write_u32(sb + (_o), _d)           
                                                                      
  memset (sb, 0xff, rtems_rfs_fs_block_size (fs));                    
                                                                      
  write_sb (RTEMS_RFS_SB_OFFSET_MAGIC, RTEMS_RFS_SB_MAGIC);           
 200e3c0:	c2 2f 60 02 	stb  %g1, [ %i5 + 2 ]                          
  write_sb (RTEMS_RFS_SB_OFFSET_VERSION, RTEMS_RFS_VERSION);          
 200e3c4:	c0 2f 60 05 	clrb  [ %i5 + 5 ]                              
 200e3c8:	c0 2f 60 06 	clrb  [ %i5 + 6 ]                              
 200e3cc:	c0 2f 60 07 	clrb  [ %i5 + 7 ]                              
                                                                      
#define write_sb(_o, _d) rtems_rfs_write_u32(sb + (_o), _d)           
                                                                      
  memset (sb, 0xff, rtems_rfs_fs_block_size (fs));                    
                                                                      
  write_sb (RTEMS_RFS_SB_OFFSET_MAGIC, RTEMS_RFS_SB_MAGIC);           
 200e3d0:	84 10 20 01 	mov  1, %g2                                    
 200e3d4:	c4 2f 60 03 	stb  %g2, [ %i5 + 3 ]                          
  write_sb (RTEMS_RFS_SB_OFFSET_VERSION, RTEMS_RFS_VERSION);          
  write_sb (RTEMS_RFS_SB_OFFSET_BLOCKS, rtems_rfs_fs_blocks (fs));    
 200e3d8:	c2 07 bf 30 	ld  [ %fp + -208 ], %g1                        
  write_sb (RTEMS_RFS_SB_OFFSET_GROUP_INODES, fs->group_inodes);      
  write_sb (RTEMS_RFS_SB_OFFSET_INODE_SIZE, RTEMS_RFS_INODE_SIZE);    
                                                                      
  rtems_rfs_buffer_mark_dirty (&handle);                              
                                                                      
  rc = rtems_rfs_buffer_handle_release (fs, &handle);                 
 200e3dc:	92 10 00 1c 	mov  %i4, %o1                                  
                                                                      
  memset (sb, 0xff, rtems_rfs_fs_block_size (fs));                    
                                                                      
  write_sb (RTEMS_RFS_SB_OFFSET_MAGIC, RTEMS_RFS_SB_MAGIC);           
  write_sb (RTEMS_RFS_SB_OFFSET_VERSION, RTEMS_RFS_VERSION);          
  write_sb (RTEMS_RFS_SB_OFFSET_BLOCKS, rtems_rfs_fs_blocks (fs));    
 200e3e0:	87 30 60 18 	srl  %g1, 0x18, %g3                            
 200e3e4:	c6 2f 60 0c 	stb  %g3, [ %i5 + 0xc ]                        
 200e3e8:	87 30 60 10 	srl  %g1, 0x10, %g3                            
 200e3ec:	c2 2f 60 0f 	stb  %g1, [ %i5 + 0xf ]                        
 200e3f0:	c6 2f 60 0d 	stb  %g3, [ %i5 + 0xd ]                        
 200e3f4:	87 30 60 08 	srl  %g1, 8, %g3                               
  write_sb (RTEMS_RFS_SB_OFFSET_BLOCK_SIZE, rtems_rfs_fs_block_size (fs));
 200e3f8:	c2 0f bf 34 	ldub  [ %fp + -204 ], %g1                      
                                                                      
  memset (sb, 0xff, rtems_rfs_fs_block_size (fs));                    
                                                                      
  write_sb (RTEMS_RFS_SB_OFFSET_MAGIC, RTEMS_RFS_SB_MAGIC);           
  write_sb (RTEMS_RFS_SB_OFFSET_VERSION, RTEMS_RFS_VERSION);          
  write_sb (RTEMS_RFS_SB_OFFSET_BLOCKS, rtems_rfs_fs_blocks (fs));    
 200e3fc:	c6 2f 60 0e 	stb  %g3, [ %i5 + 0xe ]                        
  write_sb (RTEMS_RFS_SB_OFFSET_BLOCK_SIZE, rtems_rfs_fs_block_size (fs));
 200e400:	c2 2f 60 08 	stb  %g1, [ %i5 + 8 ]                          
 200e404:	c2 17 bf 34 	lduh  [ %fp + -204 ], %g1                      
  write_sb (RTEMS_RFS_SB_OFFSET_GROUP_INODES, fs->group_inodes);      
  write_sb (RTEMS_RFS_SB_OFFSET_INODE_SIZE, RTEMS_RFS_INODE_SIZE);    
                                                                      
  rtems_rfs_buffer_mark_dirty (&handle);                              
                                                                      
  rc = rtems_rfs_buffer_handle_release (fs, &handle);                 
 200e408:	90 10 00 1b 	mov  %i3, %o0                                  
  memset (sb, 0xff, rtems_rfs_fs_block_size (fs));                    
                                                                      
  write_sb (RTEMS_RFS_SB_OFFSET_MAGIC, RTEMS_RFS_SB_MAGIC);           
  write_sb (RTEMS_RFS_SB_OFFSET_VERSION, RTEMS_RFS_VERSION);          
  write_sb (RTEMS_RFS_SB_OFFSET_BLOCKS, rtems_rfs_fs_blocks (fs));    
  write_sb (RTEMS_RFS_SB_OFFSET_BLOCK_SIZE, rtems_rfs_fs_block_size (fs));
 200e40c:	c2 2f 60 09 	stb  %g1, [ %i5 + 9 ]                          
 200e410:	c2 07 bf 34 	ld  [ %fp + -204 ], %g1                        
 200e414:	83 30 60 08 	srl  %g1, 8, %g1                               
 200e418:	c2 2f 60 0a 	stb  %g1, [ %i5 + 0xa ]                        
 200e41c:	c2 07 bf 34 	ld  [ %fp + -204 ], %g1                        
 200e420:	c2 2f 60 0b 	stb  %g1, [ %i5 + 0xb ]                        
  write_sb (RTEMS_RFS_SB_OFFSET_BAD_BLOCKS, fs->bad_blocks);          
 200e424:	c2 0f bf 40 	ldub  [ %fp + -192 ], %g1                      
 200e428:	c2 2f 60 10 	stb  %g1, [ %i5 + 0x10 ]                       
 200e42c:	c2 17 bf 40 	lduh  [ %fp + -192 ], %g1                      
 200e430:	c2 2f 60 11 	stb  %g1, [ %i5 + 0x11 ]                       
 200e434:	c2 07 bf 40 	ld  [ %fp + -192 ], %g1                        
 200e438:	83 30 60 08 	srl  %g1, 8, %g1                               
 200e43c:	c2 2f 60 12 	stb  %g1, [ %i5 + 0x12 ]                       
 200e440:	c2 07 bf 40 	ld  [ %fp + -192 ], %g1                        
 200e444:	c2 2f 60 13 	stb  %g1, [ %i5 + 0x13 ]                       
  write_sb (RTEMS_RFS_SB_OFFSET_MAX_NAME_LENGTH, fs->max_name_length);
 200e448:	c2 0f bf 44 	ldub  [ %fp + -188 ], %g1                      
 200e44c:	c2 2f 60 14 	stb  %g1, [ %i5 + 0x14 ]                       
 200e450:	c2 17 bf 44 	lduh  [ %fp + -188 ], %g1                      
 200e454:	c2 2f 60 15 	stb  %g1, [ %i5 + 0x15 ]                       
 200e458:	c2 07 bf 44 	ld  [ %fp + -188 ], %g1                        
 200e45c:	83 30 60 08 	srl  %g1, 8, %g1                               
 200e460:	c2 2f 60 16 	stb  %g1, [ %i5 + 0x16 ]                       
 200e464:	c2 07 bf 44 	ld  [ %fp + -188 ], %g1                        
 200e468:	c2 2f 60 17 	stb  %g1, [ %i5 + 0x17 ]                       
  write_sb (RTEMS_RFS_SB_OFFSET_GROUPS, fs->group_count);             
 200e46c:	c2 0f bf 4c 	ldub  [ %fp + -180 ], %g1                      
 200e470:	c2 2f 60 18 	stb  %g1, [ %i5 + 0x18 ]                       
 200e474:	c2 17 bf 4c 	lduh  [ %fp + -180 ], %g1                      
 200e478:	c2 2f 60 19 	stb  %g1, [ %i5 + 0x19 ]                       
 200e47c:	c2 07 bf 4c 	ld  [ %fp + -180 ], %g1                        
 200e480:	83 30 60 08 	srl  %g1, 8, %g1                               
 200e484:	c2 2f 60 1a 	stb  %g1, [ %i5 + 0x1a ]                       
 200e488:	c2 07 bf 4c 	ld  [ %fp + -180 ], %g1                        
 200e48c:	c2 2f 60 1b 	stb  %g1, [ %i5 + 0x1b ]                       
  write_sb (RTEMS_RFS_SB_OFFSET_GROUP_BLOCKS, fs->group_blocks);      
 200e490:	c2 0f bf 50 	ldub  [ %fp + -176 ], %g1                      
 200e494:	c2 2f 60 1c 	stb  %g1, [ %i5 + 0x1c ]                       
 200e498:	c2 17 bf 50 	lduh  [ %fp + -176 ], %g1                      
 200e49c:	c2 2f 60 1d 	stb  %g1, [ %i5 + 0x1d ]                       
 200e4a0:	c2 07 bf 50 	ld  [ %fp + -176 ], %g1                        
 200e4a4:	83 30 60 08 	srl  %g1, 8, %g1                               
 200e4a8:	c2 2f 60 1e 	stb  %g1, [ %i5 + 0x1e ]                       
 200e4ac:	c2 07 bf 50 	ld  [ %fp + -176 ], %g1                        
 200e4b0:	c2 2f 60 1f 	stb  %g1, [ %i5 + 0x1f ]                       
  write_sb (RTEMS_RFS_SB_OFFSET_GROUP_INODES, fs->group_inodes);      
 200e4b4:	c2 0f bf 54 	ldub  [ %fp + -172 ], %g1                      
 200e4b8:	c2 2f 60 20 	stb  %g1, [ %i5 + 0x20 ]                       
 200e4bc:	c2 17 bf 54 	lduh  [ %fp + -172 ], %g1                      
 200e4c0:	c2 2f 60 21 	stb  %g1, [ %i5 + 0x21 ]                       
 200e4c4:	c2 07 bf 54 	ld  [ %fp + -172 ], %g1                        
 200e4c8:	83 30 60 08 	srl  %g1, 8, %g1                               
 200e4cc:	c2 2f 60 22 	stb  %g1, [ %i5 + 0x22 ]                       
 200e4d0:	c2 07 bf 54 	ld  [ %fp + -172 ], %g1                        
  write_sb (RTEMS_RFS_SB_OFFSET_INODE_SIZE, RTEMS_RFS_INODE_SIZE);    
 200e4d4:	c0 2f 60 24 	clrb  [ %i5 + 0x24 ]                           
  write_sb (RTEMS_RFS_SB_OFFSET_BLOCK_SIZE, rtems_rfs_fs_block_size (fs));
  write_sb (RTEMS_RFS_SB_OFFSET_BAD_BLOCKS, fs->bad_blocks);          
  write_sb (RTEMS_RFS_SB_OFFSET_MAX_NAME_LENGTH, fs->max_name_length);
  write_sb (RTEMS_RFS_SB_OFFSET_GROUPS, fs->group_count);             
  write_sb (RTEMS_RFS_SB_OFFSET_GROUP_BLOCKS, fs->group_blocks);      
  write_sb (RTEMS_RFS_SB_OFFSET_GROUP_INODES, fs->group_inodes);      
 200e4d8:	c2 2f 60 23 	stb  %g1, [ %i5 + 0x23 ]                       
  write_sb (RTEMS_RFS_SB_OFFSET_INODE_SIZE, RTEMS_RFS_INODE_SIZE);    
 200e4dc:	c0 2f 60 25 	clrb  [ %i5 + 0x25 ]                           
 200e4e0:	c0 2f 60 26 	clrb  [ %i5 + 0x26 ]                           
 200e4e4:	82 10 20 38 	mov  0x38, %g1                                 
 200e4e8:	c2 2f 60 27 	stb  %g1, [ %i5 + 0x27 ]                       
                                                                      
  rtems_rfs_buffer_mark_dirty (&handle);                              
                                                                      
  rc = rtems_rfs_buffer_handle_release (fs, &handle);                 
 200e4ec:	40 00 2b 01 	call  20190f0 <rtems_rfs_buffer_handle_release>
 200e4f0:	c4 2f bf ec 	stb  %g2, [ %fp + -20 ]                        
  if (rc > 0)                                                         
  {                                                                   
    rtems_rfs_buffer_handle_close (fs, &handle);                      
 200e4f4:	92 10 00 1c 	mov  %i4, %o1                                  
  write_sb (RTEMS_RFS_SB_OFFSET_GROUP_INODES, fs->group_inodes);      
  write_sb (RTEMS_RFS_SB_OFFSET_INODE_SIZE, RTEMS_RFS_INODE_SIZE);    
                                                                      
  rtems_rfs_buffer_mark_dirty (&handle);                              
                                                                      
  rc = rtems_rfs_buffer_handle_release (fs, &handle);                 
 200e4f8:	ba 10 00 08 	mov  %o0, %i5                                  
  if (rc > 0)                                                         
 200e4fc:	80 a7 60 00 	cmp  %i5, 0                                    
 200e500:	04 80 00 0a 	ble  200e528 <rtems_rfs_format+0x618>          <== ALWAYS TAKEN
 200e504:	90 10 00 1b 	mov  %i3, %o0                                  
  {                                                                   
    rtems_rfs_buffer_handle_close (fs, &handle);                      
 200e508:	7f ff fe 56 	call  200de60 <rtems_rfs_buffer_handle_close>  <== NOT EXECUTED
 200e50c:	01 00 00 00 	nop                                            <== NOT EXECUTED
    printf ("rtems-rfs: write-superblock: buffer release failed: %d: %s\n",
 200e510:	40 00 46 61 	call  201fe94 <strerror>                       <== NOT EXECUTED
 200e514:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
 200e518:	94 10 00 08 	mov  %o0, %o2                                  <== NOT EXECUTED
 200e51c:	11 00 80 b8 	sethi  %hi(0x202e000), %o0                     <== NOT EXECUTED
 200e520:	10 80 00 0c 	b  200e550 <rtems_rfs_format+0x640>            <== NOT EXECUTED
 200e524:	90 12 20 08 	or  %o0, 8, %o0	! 202e008 <ramdisk_ops+0x34c>  <== NOT EXECUTED
            rc, strerror (rc));                                       
    return false;                                                     
  }                                                                   
                                                                      
  rc = rtems_rfs_buffer_handle_close (fs, &handle);                   
 200e528:	7f ff fe 4e 	call  200de60 <rtems_rfs_buffer_handle_close>  
 200e52c:	01 00 00 00 	nop                                            
  if (rc > 0)                                                         
 200e530:	ba 92 20 00 	orcc  %o0, 0, %i5                              
 200e534:	04 80 00 ee 	ble  200e8ec <rtems_rfs_format+0x9dc>          <== ALWAYS TAKEN
 200e538:	2b 00 80 b8 	sethi  %hi(0x202e000), %l5                     
  {                                                                   
    printf ("rtems-rfs: write-superblock: buffer handle close failed: %d: %s\n",
 200e53c:	40 00 46 56 	call  201fe94 <strerror>                       <== NOT EXECUTED
 200e540:	01 00 00 00 	nop                                            <== NOT EXECUTED
 200e544:	94 10 00 08 	mov  %o0, %o2                                  <== NOT EXECUTED
 200e548:	11 00 80 b8 	sethi  %hi(0x202e000), %o0                     <== NOT EXECUTED
 200e54c:	90 12 20 48 	or  %o0, 0x48, %o0	! 202e048 <ramdisk_ops+0x38c><== NOT EXECUTED
 200e550:	40 00 43 1e 	call  201f1c8 <printf>                         <== NOT EXECUTED
 200e554:	92 10 00 1d 	mov  %i5, %o1                                  <== NOT EXECUTED
    return -1;                                                        
  }                                                                   
                                                                      
  if (!rtems_rfs_write_superblock (&fs))                              
  {                                                                   
    printf ("rtems-rfs: format: superblock write failed\n");          
 200e558:	11 00 80 b8 	sethi  %hi(0x202e000), %o0                     <== NOT EXECUTED
 200e55c:	90 12 20 90 	or  %o0, 0x90, %o0	! 202e090 <ramdisk_ops+0x3d4><== NOT EXECUTED
 200e560:	40 00 43 5b 	call  201f2cc <puts>                           <== NOT EXECUTED
 200e564:	b0 10 3f ff 	mov  -1, %i0                                   <== NOT EXECUTED
 200e568:	30 80 01 83 	b,a   200eb74 <rtems_rfs_format+0xc64>         <== NOT EXECUTED
  size_t                   group_size;                                
  int                      blocks;                                    
  int                      b;                                         
  int                      rc;                                        
                                                                      
  group_base = rtems_rfs_fs_block (fs, group, 0);                     
 200e56c:	f4 07 bf 50 	ld  [ %fp + -176 ], %i2                        
 200e570:	90 10 00 1d 	mov  %i5, %o0                                  
 200e574:	40 00 72 ac 	call  202b024 <.umul>                          
 200e578:	92 10 00 1a 	mov  %i2, %o1                                  
                                                                      
  if (group_base > rtems_rfs_fs_blocks (fs))                          
 200e57c:	c2 07 bf 30 	ld  [ %fp + -208 ], %g1                        
  size_t                   group_size;                                
  int                      blocks;                                    
  int                      b;                                         
  int                      rc;                                        
                                                                      
  group_base = rtems_rfs_fs_block (fs, group, 0);                     
 200e580:	a4 02 20 01 	add  %o0, 1, %l2                               
    printf ("rtems-rfs: format: superblock write failed\n");          
    return -1;                                                        
  }                                                                   
                                                                      
  for (group = 0; group < fs.group_count; group++)                    
    if (!rtems_rfs_write_group (&fs, group,                           
 200e584:	ec 0e 60 14 	ldub  [ %i1 + 0x14 ], %l6                      
  int                      b;                                         
  int                      rc;                                        
                                                                      
  group_base = rtems_rfs_fs_block (fs, group, 0);                     
                                                                      
  if (group_base > rtems_rfs_fs_blocks (fs))                          
 200e588:	80 a4 80 01 	cmp  %l2, %g1                                  
 200e58c:	08 80 00 08 	bleu  200e5ac <rtems_rfs_format+0x69c>         <== ALWAYS TAKEN
 200e590:	a2 10 00 08 	mov  %o0, %l1                                  
  {                                                                   
    printf ("rtems-rfs: write-group: group %d base beyond disk limit\n",
 200e594:	11 00 80 b8 	sethi  %hi(0x202e000), %o0                     <== NOT EXECUTED
 200e598:	92 10 00 1d 	mov  %i5, %o1                                  <== NOT EXECUTED
 200e59c:	90 12 20 c0 	or  %o0, 0xc0, %o0                             <== NOT EXECUTED
 200e5a0:	40 00 43 0a 	call  201f1c8 <printf>                         <== NOT EXECUTED
 200e5a4:	b0 10 3f ff 	mov  -1, %i0                                   <== NOT EXECUTED
 200e5a8:	30 80 01 73 	b,a   200eb74 <rtems_rfs_format+0xc64>         <== NOT EXECUTED
  /*                                                                  
   * Be nice to strange sizes of disks. These are embedded systems after all
   * and nice numbers do not always work out. Let the last block pick up the
   * remainder of the blocks.                                         
   */                                                                 
  if ((group_base + group_size) > rtems_rfs_fs_blocks (fs))           
 200e5ac:	84 04 80 1a 	add  %l2, %i2, %g2                             
 200e5b0:	80 a0 80 01 	cmp  %g2, %g1                                  
 200e5b4:	38 80 00 02 	bgu,a   200e5bc <rtems_rfs_format+0x6ac>       <== ALWAYS TAKEN
 200e5b8:	b4 20 40 12 	sub  %g1, %l2, %i2                             
    group_size = rtems_rfs_fs_blocks (fs) - group_base;               
                                                                      
  if (verbose)                                                        
 200e5bc:	80 8c 20 ff 	btst  0xff, %l0                                
 200e5c0:	22 80 00 08 	be,a   200e5e0 <rtems_rfs_format+0x6d0>        <== ALWAYS TAKEN
 200e5c4:	c0 2f bf ec 	clrb  [ %fp + -20 ]                            
    printf ("\rrtems-rfs: format: group %3d: base = %" PRId32 ", size = %zd",
 200e5c8:	90 10 00 15 	mov  %l5, %o0                                  <== NOT EXECUTED
 200e5cc:	92 10 00 1d 	mov  %i5, %o1                                  <== NOT EXECUTED
 200e5d0:	94 10 00 12 	mov  %l2, %o2                                  <== NOT EXECUTED
 200e5d4:	40 00 42 fd 	call  201f1c8 <printf>                         <== NOT EXECUTED
 200e5d8:	96 10 00 1a 	mov  %i2, %o3                                  <== NOT EXECUTED
 */                                                                   
static inline int                                                     
rtems_rfs_buffer_handle_open (rtems_rfs_file_system*   fs,            
                              rtems_rfs_buffer_handle* handle)        
{                                                                     
  handle->dirty = false;                                              
 200e5dc:	c0 2f bf ec 	clrb  [ %fp + -20 ]                            <== NOT EXECUTED
  handle->bnum  = 0;                                                  
 200e5e0:	c0 27 bf f0 	clr  [ %fp + -16 ]                             
    printf ("\nrtems-rfs: write-group: handle open failed: %d: %s\n", 
            rc, strerror (rc));                                       
    return false;                                                     
  }                                                                   
                                                                      
  if (verbose)                                                        
 200e5e4:	80 8c 20 ff 	btst  0xff, %l0                                
 200e5e8:	02 80 00 04 	be  200e5f8 <rtems_rfs_format+0x6e8>           <== ALWAYS TAKEN
 200e5ec:	c0 27 bf f4 	clr  [ %fp + -12 ]                             
    printf (", blocks");                                              
 200e5f0:	40 00 42 f6 	call  201f1c8 <printf>                         <== NOT EXECUTED
 200e5f4:	90 10 00 14 	mov  %l4, %o0                                  <== NOT EXECUTED
                                                                      
  /*                                                                  
   * Open the block bitmap using the new buffer.                      
   */                                                                 
  rc = rtems_rfs_bitmap_open (&bitmap, fs, &handle, group_size,       
 200e5f8:	98 10 00 12 	mov  %l2, %o4                                  
 200e5fc:	90 07 bf d4 	add  %fp, -44, %o0                             
 200e600:	92 10 00 1b 	mov  %i3, %o1                                  
 200e604:	94 10 00 1c 	mov  %i4, %o2                                  
 200e608:	40 00 26 28 	call  2017ea8 <rtems_rfs_bitmap_open>          
 200e60c:	96 10 00 1a 	mov  %i2, %o3                                  
                              group_base + RTEMS_RFS_GROUP_BLOCK_BITMAP_BLOCK);
  if (rc > 0)                                                         
 200e610:	a4 92 20 00 	orcc  %o0, 0, %l2                              
 200e614:	04 80 00 0f 	ble  200e650 <rtems_rfs_format+0x740>          <== ALWAYS TAKEN
 200e618:	92 10 00 1c 	mov  %i4, %o1                                  
  {                                                                   
    rtems_rfs_buffer_handle_close (fs, &handle);                      
 200e61c:	7f ff fe 11 	call  200de60 <rtems_rfs_buffer_handle_close>  <== NOT EXECUTED
 200e620:	90 10 00 1b 	mov  %i3, %o0                                  <== NOT EXECUTED
    printf ("\nrtems-rfs: write-group: group %3d: open block bitmap failed: %d: %s\n",
 200e624:	40 00 46 1c 	call  201fe94 <strerror>                       <== NOT EXECUTED
 200e628:	90 10 00 12 	mov  %l2, %o0                                  <== NOT EXECUTED
 200e62c:	96 10 00 08 	mov  %o0, %o3                                  <== NOT EXECUTED
 200e630:	11 00 80 b8 	sethi  %hi(0x202e000), %o0                     <== NOT EXECUTED
 200e634:	90 12 21 48 	or  %o0, 0x148, %o0	! 202e148 <ramdisk_ops+0x48c><== NOT EXECUTED
 200e638:	92 10 00 1d 	mov  %i5, %o1                                  <== NOT EXECUTED
 200e63c:	94 10 00 12 	mov  %l2, %o2                                  <== NOT EXECUTED
 200e640:	40 00 42 e2 	call  201f1c8 <printf>                         <== NOT EXECUTED
 200e644:	b0 10 3f ff 	mov  -1, %i0                                   <== NOT EXECUTED
 200e648:	81 c7 e0 08 	ret                                            
 200e64c:	81 e8 00 00 	restore                                        
                                                                      
  /*                                                                  
   * Force the whole buffer to a known state. The bit map may not occupy the
   * whole block.                                                     
   */                                                                 
  memset (rtems_rfs_buffer_data (&handle), 0xff, rtems_rfs_fs_block_size (fs));
 200e650:	c2 07 bf f4 	ld  [ %fp + -12 ], %g1                         
 200e654:	d4 07 bf 34 	ld  [ %fp + -204 ], %o2                        
 200e658:	d0 00 60 24 	ld  [ %g1 + 0x24 ], %o0                        
 200e65c:	40 00 42 89 	call  201f080 <memset>                         
 200e660:	92 10 20 ff 	mov  0xff, %o1                                 
                                                                      
  /*                                                                  
   * Clear the bitmap.                                                
   */                                                                 
  rc = rtems_rfs_bitmap_map_clear_all (&bitmap);                      
 200e664:	40 00 25 74 	call  2017c34 <rtems_rfs_bitmap_map_clear_all> 
 200e668:	90 07 bf d4 	add  %fp, -44, %o0                             
 200e66c:	a4 10 00 08 	mov  %o0, %l2                                  
  if (rc > 0)                                                         
 200e670:	80 a4 a0 00 	cmp  %l2, 0                                    
 200e674:	04 80 00 0d 	ble  200e6a8 <rtems_rfs_format+0x798>          <== ALWAYS TAKEN
 200e678:	90 07 bf d4 	add  %fp, -44, %o0                             
  {                                                                   
    rtems_rfs_bitmap_close (&bitmap);                                 
 200e67c:	40 00 26 1c 	call  2017eec <rtems_rfs_bitmap_close>         <== NOT EXECUTED
 200e680:	01 00 00 00 	nop                                            <== NOT EXECUTED
    rtems_rfs_buffer_handle_close (fs, &handle);                      
 200e684:	92 10 00 1c 	mov  %i4, %o1                                  <== NOT EXECUTED
 200e688:	7f ff fd f6 	call  200de60 <rtems_rfs_buffer_handle_close>  <== NOT EXECUTED
 200e68c:	90 10 00 1b 	mov  %i3, %o0                                  <== NOT EXECUTED
    printf ("\nrtems-rfs: write-group: group %3d: block bitmap clear all failed: %d: %s\n",
 200e690:	40 00 46 01 	call  201fe94 <strerror>                       <== NOT EXECUTED
 200e694:	90 10 00 12 	mov  %l2, %o0                                  <== NOT EXECUTED
 200e698:	96 10 00 08 	mov  %o0, %o3                                  <== NOT EXECUTED
 200e69c:	11 00 80 b8 	sethi  %hi(0x202e000), %o0                     <== NOT EXECUTED
 200e6a0:	10 bf ff e6 	b  200e638 <rtems_rfs_format+0x728>            <== NOT EXECUTED
 200e6a4:	90 12 21 90 	or  %o0, 0x190, %o0	! 202e190 <ramdisk_ops+0x4d4><== NOT EXECUTED
  }                                                                   
                                                                      
  /*                                                                  
   * Forced allocation of the block bitmap.                           
   */                                                                 
  rtems_rfs_bitmap_map_set (&bitmap, RTEMS_RFS_GROUP_BLOCK_BITMAP_BLOCK);
 200e6a8:	40 00 24 e1 	call  2017a2c <rtems_rfs_bitmap_map_set>       
 200e6ac:	92 10 20 00 	clr  %o1                                       
                                                                      
  /*                                                                  
   * Forced allocation of the inode bitmap.                           
   */                                                                 
  rtems_rfs_bitmap_map_set (&bitmap, RTEMS_RFS_GROUP_INODE_BITMAP_BLOCK);
 200e6b0:	92 10 20 01 	mov  1, %o1                                    
 200e6b4:	40 00 24 de 	call  2017a2c <rtems_rfs_bitmap_map_set>       
 200e6b8:	90 07 bf d4 	add  %fp, -44, %o0                             
                                                                      
  /*                                                                  
   * Determine the number of inodes blocks in the group.              
   */                                                                 
  blocks = rtems_rfs_rup_quotient (fs->group_inodes, fs->inodes_per_block);
 200e6bc:	d0 07 bf 54 	ld  [ %fp + -172 ], %o0                        
 200e6c0:	d2 07 bf 58 	ld  [ %fp + -168 ], %o1                        
 200e6c4:	7f ff fd f1 	call  200de88 <rtems_rfs_rup_quotient>         
 200e6c8:	ae 10 20 00 	clr  %l7                                       
 200e6cc:	10 80 00 05 	b  200e6e0 <rtems_rfs_format+0x7d0>            
 200e6d0:	a4 10 00 08 	mov  %o0, %l2                                  
                                                                      
  /*                                                                  
   * Forced allocation of the inode blocks which follow the block bitmap.
   */                                                                 
  for (b = 0; b < blocks; b++)                                        
    rtems_rfs_bitmap_map_set (&bitmap, b + RTEMS_RFS_GROUP_INODE_BLOCK);
 200e6d4:	92 05 e0 02 	add  %l7, 2, %o1                               
 200e6d8:	40 00 24 d5 	call  2017a2c <rtems_rfs_bitmap_map_set>       
 200e6dc:	ae 05 e0 01 	inc  %l7                                       
  blocks = rtems_rfs_rup_quotient (fs->group_inodes, fs->inodes_per_block);
                                                                      
  /*                                                                  
   * Forced allocation of the inode blocks which follow the block bitmap.
   */                                                                 
  for (b = 0; b < blocks; b++)                                        
 200e6e0:	80 a5 c0 12 	cmp  %l7, %l2                                  
 200e6e4:	06 bf ff fc 	bl  200e6d4 <rtems_rfs_format+0x7c4>           
 200e6e8:	90 07 bf d4 	add  %fp, -44, %o0                             
    rtems_rfs_bitmap_map_set (&bitmap, b + RTEMS_RFS_GROUP_INODE_BLOCK);
                                                                      
  /*                                                                  
   * Close the block bitmap.                                          
   */                                                                 
  rc = rtems_rfs_bitmap_close (&bitmap);                              
 200e6ec:	40 00 26 00 	call  2017eec <rtems_rfs_bitmap_close>         
 200e6f0:	01 00 00 00 	nop                                            
  if (rc > 0)                                                         
 200e6f4:	ae 92 20 00 	orcc  %o0, 0, %l7                              
 200e6f8:	04 80 00 0d 	ble  200e72c <rtems_rfs_format+0x81c>          <== ALWAYS TAKEN
 200e6fc:	82 10 20 01 	mov  1, %g1                                    
  {                                                                   
    rtems_rfs_buffer_handle_close (fs, &handle);                      
 200e700:	92 07 bf ec 	add  %fp, -20, %o1                             <== NOT EXECUTED
 200e704:	7f ff fd d7 	call  200de60 <rtems_rfs_buffer_handle_close>  <== NOT EXECUTED
 200e708:	90 07 bf 2c 	add  %fp, -212, %o0                            <== NOT EXECUTED
    printf ("\nrtems-rfs: write-group: group %3d: close block bitmap failed: %d: %s\n",
 200e70c:	40 00 45 e2 	call  201fe94 <strerror>                       <== NOT EXECUTED
 200e710:	90 10 00 17 	mov  %l7, %o0                                  <== NOT EXECUTED
 200e714:	92 10 00 1d 	mov  %i5, %o1                                  <== NOT EXECUTED
 200e718:	96 10 00 08 	mov  %o0, %o3                                  <== NOT EXECUTED
 200e71c:	94 10 00 17 	mov  %l7, %o2                                  <== NOT EXECUTED
 200e720:	11 00 80 b8 	sethi  %hi(0x202e000), %o0                     <== NOT EXECUTED
 200e724:	10 bf ff c7 	b  200e640 <rtems_rfs_format+0x730>            <== NOT EXECUTED
 200e728:	90 12 21 e0 	or  %o0, 0x1e0, %o0	! 202e1e0 <ramdisk_ops+0x524><== NOT EXECUTED
    return false;                                                     
  }                                                                   
                                                                      
  rtems_rfs_buffer_mark_dirty (&handle);                              
                                                                      
  if (verbose)                                                        
 200e72c:	80 8c 20 ff 	btst  0xff, %l0                                
 200e730:	02 80 00 04 	be  200e740 <rtems_rfs_format+0x830>           <== ALWAYS TAKEN
 200e734:	c2 2f bf ec 	stb  %g1, [ %fp + -20 ]                        
    printf (", inodes");                                              
 200e738:	40 00 42 a4 	call  201f1c8 <printf>                         <== NOT EXECUTED
 200e73c:	90 10 00 13 	mov  %l3, %o0                                  <== NOT EXECUTED
                                                                      
  /*                                                                  
   * Open the inode bitmap using the old buffer. Should release any changes.
   */                                                                 
  rc = rtems_rfs_bitmap_open (&bitmap, fs, &handle, group_size,       
 200e740:	96 10 00 1a 	mov  %i2, %o3                                  
 200e744:	90 07 bf d4 	add  %fp, -44, %o0                             
 200e748:	92 10 00 1b 	mov  %i3, %o1                                  
 200e74c:	94 10 00 1c 	mov  %i4, %o2                                  
 200e750:	40 00 25 d6 	call  2017ea8 <rtems_rfs_bitmap_open>          
 200e754:	98 04 60 02 	add  %l1, 2, %o4                               
                              group_base + RTEMS_RFS_GROUP_INODE_BITMAP_BLOCK);
  if (rc > 0)                                                         
 200e758:	b4 92 20 00 	orcc  %o0, 0, %i2                              
 200e75c:	04 80 00 0a 	ble  200e784 <rtems_rfs_format+0x874>          <== ALWAYS TAKEN
 200e760:	92 10 00 1c 	mov  %i4, %o1                                  
  {                                                                   
    rtems_rfs_buffer_handle_close (fs, &handle);                      
 200e764:	7f ff fd bf 	call  200de60 <rtems_rfs_buffer_handle_close>  <== NOT EXECUTED
 200e768:	90 10 00 1b 	mov  %i3, %o0                                  <== NOT EXECUTED
    printf ("\nrtems-rfs: write-group: group %3d: open inode bitmap failed: %d: %s\n",
 200e76c:	40 00 45 ca 	call  201fe94 <strerror>                       <== NOT EXECUTED
 200e770:	90 10 00 1a 	mov  %i2, %o0                                  <== NOT EXECUTED
 200e774:	96 10 00 08 	mov  %o0, %o3                                  <== NOT EXECUTED
 200e778:	11 00 80 b8 	sethi  %hi(0x202e000), %o0                     <== NOT EXECUTED
 200e77c:	10 80 00 17 	b  200e7d8 <rtems_rfs_format+0x8c8>            <== NOT EXECUTED
 200e780:	90 12 22 38 	or  %o0, 0x238, %o0	! 202e238 <ramdisk_ops+0x57c><== NOT EXECUTED
                                                                      
  /*                                                                  
   * Force the whole buffer to a known state. The bit map may not occupy the
   * whole block.                                                     
   */                                                                 
  memset (rtems_rfs_buffer_data (&handle), 0x00, rtems_rfs_fs_block_size (fs));
 200e784:	c2 07 bf f4 	ld  [ %fp + -12 ], %g1                         
 200e788:	d4 07 bf 34 	ld  [ %fp + -204 ], %o2                        
 200e78c:	d0 00 60 24 	ld  [ %g1 + 0x24 ], %o0                        
 200e790:	40 00 42 3c 	call  201f080 <memset>                         
 200e794:	92 10 20 00 	clr  %o1                                       
                                                                      
  /*                                                                  
   * Clear the inode bitmap.                                          
   */                                                                 
  rc = rtems_rfs_bitmap_map_clear_all (&bitmap);                      
 200e798:	40 00 25 27 	call  2017c34 <rtems_rfs_bitmap_map_clear_all> 
 200e79c:	90 07 bf d4 	add  %fp, -44, %o0                             
 200e7a0:	b4 10 00 08 	mov  %o0, %i2                                  
  if (rc > 0)                                                         
 200e7a4:	80 a6 a0 00 	cmp  %i2, 0                                    
 200e7a8:	04 80 00 0f 	ble  200e7e4 <rtems_rfs_format+0x8d4>          <== ALWAYS TAKEN
 200e7ac:	90 07 bf d4 	add  %fp, -44, %o0                             
  {                                                                   
    rtems_rfs_bitmap_close (&bitmap);                                 
 200e7b0:	40 00 25 cf 	call  2017eec <rtems_rfs_bitmap_close>         <== NOT EXECUTED
 200e7b4:	01 00 00 00 	nop                                            <== NOT EXECUTED
    rtems_rfs_buffer_handle_close (fs, &handle);                      
 200e7b8:	92 10 00 1c 	mov  %i4, %o1                                  <== NOT EXECUTED
 200e7bc:	7f ff fd a9 	call  200de60 <rtems_rfs_buffer_handle_close>  <== NOT EXECUTED
 200e7c0:	90 10 00 1b 	mov  %i3, %o0                                  <== NOT EXECUTED
    printf ("\nrtems-rfs: write-group: group %3d: inode bitmap" \     
 200e7c4:	40 00 45 b4 	call  201fe94 <strerror>                       <== NOT EXECUTED
 200e7c8:	90 10 00 1a 	mov  %i2, %o0                                  <== NOT EXECUTED
 200e7cc:	96 10 00 08 	mov  %o0, %o3                                  <== NOT EXECUTED
 200e7d0:	11 00 80 b8 	sethi  %hi(0x202e000), %o0                     <== NOT EXECUTED
 200e7d4:	90 12 22 80 	or  %o0, 0x280, %o0	! 202e280 <ramdisk_ops+0x5c4><== NOT EXECUTED
 200e7d8:	92 10 00 1d 	mov  %i5, %o1                                  <== NOT EXECUTED
 200e7dc:	10 bf ff 99 	b  200e640 <rtems_rfs_format+0x730>            <== NOT EXECUTED
 200e7e0:	94 10 00 1a 	mov  %i2, %o2                                  <== NOT EXECUTED
  }                                                                   
                                                                      
  /*                                                                  
   * Close the inode bitmap.                                          
   */                                                                 
  rc = rtems_rfs_bitmap_close (&bitmap);                              
 200e7e4:	40 00 25 c2 	call  2017eec <rtems_rfs_bitmap_close>         
 200e7e8:	01 00 00 00 	nop                                            
  if (rc > 0)                                                         
 200e7ec:	b4 92 20 00 	orcc  %o0, 0, %i2                              
 200e7f0:	04 80 00 0b 	ble  200e81c <rtems_rfs_format+0x90c>          <== ALWAYS TAKEN
 200e7f4:	82 10 20 01 	mov  1, %g1                                    
  {                                                                   
    rtems_rfs_buffer_handle_close (fs, &handle);                      
 200e7f8:	92 10 00 1c 	mov  %i4, %o1                                  <== NOT EXECUTED
 200e7fc:	7f ff fd 99 	call  200de60 <rtems_rfs_buffer_handle_close>  <== NOT EXECUTED
 200e800:	90 10 00 1b 	mov  %i3, %o0                                  <== NOT EXECUTED
    printf ("\nrtems-rfs: write-group: group %3d: close inode" \      
 200e804:	40 00 45 a4 	call  201fe94 <strerror>                       <== NOT EXECUTED
 200e808:	90 10 00 1a 	mov  %i2, %o0                                  <== NOT EXECUTED
 200e80c:	96 10 00 08 	mov  %o0, %o3                                  <== NOT EXECUTED
 200e810:	11 00 80 b8 	sethi  %hi(0x202e000), %o0                     <== NOT EXECUTED
 200e814:	10 bf ff f1 	b  200e7d8 <rtems_rfs_format+0x8c8>            <== NOT EXECUTED
 200e818:	90 12 22 d0 	or  %o0, 0x2d0, %o0	! 202e2d0 <ramdisk_ops+0x614><== NOT EXECUTED
            " bitmap failed: %d: %s\n", group, rc, strerror (rc));    
    return false;                                                     
  }                                                                   
                                                                      
  rtems_rfs_buffer_mark_dirty (&handle);                              
 200e81c:	c2 2f bf ec 	stb  %g1, [ %fp + -20 ]                        
                                                                      
  /*                                                                  
   * Initialise the inode tables if required to do so.                
   */                                                                 
  if (initialise_inodes)                                              
 200e820:	b4 10 20 00 	clr  %i2                                       
  {                                                                   
    for (b = 0; b < blocks; b++)                                      
    {                                                                 
      rc = rtems_rfs_buffer_handle_request (fs, &handle,              
                                            group_base + b + RTEMS_RFS_GROUP_INODE_BLOCK,
 200e824:	a2 04 60 03 	add  %l1, 3, %l1                               
  rtems_rfs_buffer_mark_dirty (&handle);                              
                                                                      
  /*                                                                  
   * Initialise the inode tables if required to do so.                
   */                                                                 
  if (initialise_inodes)                                              
 200e828:	80 8d a0 ff 	btst  0xff, %l6                                
 200e82c:	12 80 00 20 	bne  200e8ac <rtems_rfs_format+0x99c>          <== NEVER TAKEN
 200e830:	ae 10 20 01 	mov  1, %l7                                    
                                                                      
      rtems_rfs_buffer_mark_dirty (&handle);                          
    }                                                                 
  }                                                                   
                                                                      
  rc = rtems_rfs_buffer_handle_close (fs, &handle);                   
 200e834:	10 80 00 22 	b  200e8bc <rtems_rfs_format+0x9ac>            
 200e838:	90 10 00 1b 	mov  %i3, %o0                                  
   */                                                                 
  if (initialise_inodes)                                              
  {                                                                   
    for (b = 0; b < blocks; b++)                                      
    {                                                                 
      rc = rtems_rfs_buffer_handle_request (fs, &handle,              
 200e83c:	90 10 00 1b 	mov  %i3, %o0                                  <== NOT EXECUTED
 200e840:	92 10 00 1c 	mov  %i4, %o1                                  <== NOT EXECUTED
 200e844:	94 10 00 10 	mov  %l0, %o2                                  <== NOT EXECUTED
 200e848:	40 00 2a 9c 	call  20192b8 <rtems_rfs_buffer_handle_request><== NOT EXECUTED
 200e84c:	96 10 20 00 	clr  %o3                                       <== NOT EXECUTED
                                            group_base + b + RTEMS_RFS_GROUP_INODE_BLOCK,
                                            false);                   
      if (rc > 0)                                                     
 200e850:	ac 92 20 00 	orcc  %o0, 0, %l6                              <== NOT EXECUTED
 200e854:	04 80 00 10 	ble  200e894 <rtems_rfs_format+0x984>          <== NOT EXECUTED
 200e858:	c2 07 bf f4 	ld  [ %fp + -12 ], %g1                         <== NOT EXECUTED
      {                                                               
        rtems_rfs_buffer_handle_close (fs, &handle);                  
 200e85c:	92 10 00 1c 	mov  %i4, %o1                                  <== NOT EXECUTED
 200e860:	7f ff fd 80 	call  200de60 <rtems_rfs_buffer_handle_close>  <== NOT EXECUTED
 200e864:	90 10 00 1b 	mov  %i3, %o0                                  <== NOT EXECUTED
        printf ("\nrtems-rfs: write-group: group %3d: block %" PRId32 " request failed: %d: %s\n",
 200e868:	40 00 45 8b 	call  201fe94 <strerror>                       <== NOT EXECUTED
 200e86c:	90 10 00 16 	mov  %l6, %o0                                  <== NOT EXECUTED
 200e870:	92 10 00 1d 	mov  %i5, %o1                                  <== NOT EXECUTED
 200e874:	98 10 00 08 	mov  %o0, %o4                                  <== NOT EXECUTED
 200e878:	94 10 00 10 	mov  %l0, %o2                                  <== NOT EXECUTED
 200e87c:	11 00 80 b8 	sethi  %hi(0x202e000), %o0                     <== NOT EXECUTED
 200e880:	96 10 00 16 	mov  %l6, %o3                                  <== NOT EXECUTED
 200e884:	40 00 42 51 	call  201f1c8 <printf>                         <== NOT EXECUTED
 200e888:	90 12 23 18 	or  %o0, 0x318, %o0                            <== NOT EXECUTED
  }                                                                   
                                                                      
  for (group = 0; group < fs.group_count; group++)                    
    if (!rtems_rfs_write_group (&fs, group,                           
                                config->initialise_inodes, config->verbose))
      return -1;                                                      
 200e88c:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 200e890:	91 e8 3f ff 	restore  %g0, -1, %o0                          <== NOT EXECUTED
                                                                      
      /*                                                              
       * Force the whole buffer to a known state. The bit map may not occupy the
       * whole block.                                                 
       */                                                             
      memset (rtems_rfs_buffer_data (&handle), 0xff, rtems_rfs_fs_block_size (fs));
 200e894:	d4 07 bf 34 	ld  [ %fp + -204 ], %o2                        <== NOT EXECUTED
 200e898:	d0 00 60 24 	ld  [ %g1 + 0x24 ], %o0                        <== NOT EXECUTED
 200e89c:	92 10 20 ff 	mov  0xff, %o1                                 <== NOT EXECUTED
 200e8a0:	40 00 41 f8 	call  201f080 <memset>                         <== NOT EXECUTED
 200e8a4:	b4 06 a0 01 	inc  %i2                                       <== NOT EXECUTED
                                                                      
      rtems_rfs_buffer_mark_dirty (&handle);                          
 200e8a8:	ee 2f bf ec 	stb  %l7, [ %fp + -20 ]                        <== NOT EXECUTED
  /*                                                                  
   * Initialise the inode tables if required to do so.                
   */                                                                 
  if (initialise_inodes)                                              
  {                                                                   
    for (b = 0; b < blocks; b++)                                      
 200e8ac:	80 a6 80 12 	cmp  %i2, %l2                                  <== NOT EXECUTED
 200e8b0:	06 bf ff e3 	bl  200e83c <rtems_rfs_format+0x92c>           <== NOT EXECUTED
 200e8b4:	a0 04 40 1a 	add  %l1, %i2, %l0                             <== NOT EXECUTED
                                                                      
      rtems_rfs_buffer_mark_dirty (&handle);                          
    }                                                                 
  }                                                                   
                                                                      
  rc = rtems_rfs_buffer_handle_close (fs, &handle);                   
 200e8b8:	90 10 00 1b 	mov  %i3, %o0                                  <== NOT EXECUTED
 200e8bc:	7f ff fd 69 	call  200de60 <rtems_rfs_buffer_handle_close>  
 200e8c0:	92 10 00 1c 	mov  %i4, %o1                                  
  if (rc > 0)                                                         
 200e8c4:	b4 92 20 00 	orcc  %o0, 0, %i2                              
 200e8c8:	24 80 00 0f 	ble,a   200e904 <rtems_rfs_format+0x9f4>       <== ALWAYS TAKEN
 200e8cc:	ba 07 60 01 	inc  %i5                                       
  {                                                                   
    printf ("\nrtems-rfs: write-group: buffer handle close failed: %d: %s\n",
 200e8d0:	40 00 45 71 	call  201fe94 <strerror>                       <== NOT EXECUTED
 200e8d4:	01 00 00 00 	nop                                            <== NOT EXECUTED
 200e8d8:	92 10 00 1a 	mov  %i2, %o1                                  <== NOT EXECUTED
 200e8dc:	94 10 00 08 	mov  %o0, %o2                                  <== NOT EXECUTED
 200e8e0:	11 00 80 b8 	sethi  %hi(0x202e000), %o0                     <== NOT EXECUTED
 200e8e4:	10 bf fe 95 	b  200e338 <rtems_rfs_format+0x428>            <== NOT EXECUTED
 200e8e8:	90 12 23 60 	or  %o0, 0x360, %o0	! 202e360 <ramdisk_ops+0x6a4><== NOT EXECUTED
            rc, strerror (rc));                                       
    return false;                                                     
  }                                                                   
                                                                      
  if (verbose)                                                        
    printf (", blocks");                                              
 200e8ec:	29 00 80 b8 	sethi  %hi(0x202e000), %l4                     
  }                                                                   
                                                                      
  rtems_rfs_buffer_mark_dirty (&handle);                              
                                                                      
  if (verbose)                                                        
    printf (", inodes");                                              
 200e8f0:	27 00 80 b8 	sethi  %hi(0x202e000), %l3                     
            rc, strerror (rc));                                       
    return false;                                                     
  }                                                                   
                                                                      
  rc = rtems_rfs_buffer_handle_close (fs, &handle);                   
  if (rc > 0)                                                         
 200e8f4:	ba 10 20 00 	clr  %i5                                       
   */                                                                 
  if ((group_base + group_size) > rtems_rfs_fs_blocks (fs))           
    group_size = rtems_rfs_fs_blocks (fs) - group_base;               
                                                                      
  if (verbose)                                                        
    printf ("\rrtems-rfs: format: group %3d: base = %" PRId32 ", size = %zd",
 200e8f8:	aa 15 61 00 	or  %l5, 0x100, %l5                            
            rc, strerror (rc));                                       
    return false;                                                     
  }                                                                   
                                                                      
  if (verbose)                                                        
    printf (", blocks");                                              
 200e8fc:	a8 15 21 38 	or  %l4, 0x138, %l4                            
  }                                                                   
                                                                      
  rtems_rfs_buffer_mark_dirty (&handle);                              
                                                                      
  if (verbose)                                                        
    printf (", inodes");                                              
 200e900:	a6 14 e2 28 	or  %l3, 0x228, %l3                            
  {                                                                   
    printf ("rtems-rfs: format: superblock write failed\n");          
    return -1;                                                        
  }                                                                   
                                                                      
  for (group = 0; group < fs.group_count; group++)                    
 200e904:	c2 07 bf 4c 	ld  [ %fp + -180 ], %g1                        
 200e908:	80 a7 40 01 	cmp  %i5, %g1                                  
 200e90c:	06 bf ff 18 	bl  200e56c <rtems_rfs_format+0x65c>           
 200e910:	e0 0e 60 15 	ldub  [ %i1 + 0x15 ], %l0                      
    if (!rtems_rfs_write_group (&fs, group,                           
                                config->initialise_inodes, config->verbose))
      return -1;                                                      
                                                                      
  if (config->verbose)                                                
 200e914:	80 8c 20 ff 	btst  0xff, %l0                                
 200e918:	02 80 00 04 	be  200e928 <rtems_rfs_format+0xa18>           <== ALWAYS TAKEN
 200e91c:	01 00 00 00 	nop                                            
    printf ("\n");                                                    
 200e920:	40 00 42 3d 	call  201f214 <putchar>                        <== NOT EXECUTED
 200e924:	90 10 20 0a 	mov  0xa, %o0	! a <PROM_START+0xa>             <== NOT EXECUTED
                                                                      
  rc = rtems_rfs_buffer_close (&fs);                                  
 200e928:	40 00 2b dc 	call  2019898 <rtems_rfs_buffer_close>         
 200e92c:	90 07 bf 2c 	add  %fp, -212, %o0                            
  if (rc > 0)                                                         
 200e930:	ba 92 20 00 	orcc  %o0, 0, %i5                              
 200e934:	24 80 00 08 	ble,a   200e954 <rtems_rfs_format+0xa44>       <== ALWAYS TAKEN
 200e938:	90 10 00 18 	mov  %i0, %o0                                  
  {                                                                   
    printf ("rtems-rfs: format: buffer close failed: %d: %s\n",       
 200e93c:	40 00 45 56 	call  201fe94 <strerror>                       <== NOT EXECUTED
 200e940:	01 00 00 00 	nop                                            <== NOT EXECUTED
 200e944:	94 10 00 08 	mov  %o0, %o2                                  <== NOT EXECUTED
 200e948:	11 00 80 b8 	sethi  %hi(0x202e000), %o0                     <== NOT EXECUTED
 200e94c:	10 bf fe 7a 	b  200e334 <rtems_rfs_format+0x424>            <== NOT EXECUTED
 200e950:	90 12 23 a0 	or  %o0, 0x3a0, %o0	! 202e3a0 <ramdisk_ops+0x6e4><== NOT EXECUTED
  int                    rc;                                          
                                                                      
  /*                                                                  
   * External API so returns -1.                                      
   */                                                                 
  rc = rtems_rfs_fs_open (name, NULL, RTEMS_RFS_FS_FORCE_OPEN, &fs);  
 200e954:	92 10 20 00 	clr  %o1                                       
 200e958:	94 10 20 04 	mov  4, %o2                                    
 200e95c:	40 00 34 0f 	call  201b998 <rtems_rfs_fs_open>              
 200e960:	96 07 bf f8 	add  %fp, -8, %o3                              
  if (rc < 0)                                                         
 200e964:	80 a2 20 00 	cmp  %o0, 0                                    
 200e968:	36 80 00 0c 	bge,a   200e998 <rtems_rfs_format+0xa88>       <== ALWAYS TAKEN
 200e96c:	d0 07 bf f8 	ld  [ %fp + -8 ], %o0                          
  {                                                                   
    printf ("rtems-rfs: format: file system open failed: %d: %s\n",   
            errno, strerror (errno));                                 
 200e970:	40 00 3e ae 	call  201e428 <__errno>                        <== NOT EXECUTED
 200e974:	01 00 00 00 	nop                                            <== NOT EXECUTED
 200e978:	40 00 3e ac 	call  201e428 <__errno>                        <== NOT EXECUTED
 200e97c:	fa 02 00 00 	ld  [ %o0 ], %i5                               <== NOT EXECUTED
   * External API so returns -1.                                      
   */                                                                 
  rc = rtems_rfs_fs_open (name, NULL, RTEMS_RFS_FS_FORCE_OPEN, &fs);  
  if (rc < 0)                                                         
  {                                                                   
    printf ("rtems-rfs: format: file system open failed: %d: %s\n",   
 200e980:	40 00 45 45 	call  201fe94 <strerror>                       <== NOT EXECUTED
 200e984:	d0 02 00 00 	ld  [ %o0 ], %o0                               <== NOT EXECUTED
 200e988:	94 10 00 08 	mov  %o0, %o2                                  <== NOT EXECUTED
 200e98c:	11 00 80 b8 	sethi  %hi(0x202e000), %o0                     <== NOT EXECUTED
 200e990:	10 80 00 6b 	b  200eb3c <rtems_rfs_format+0xc2c>            <== NOT EXECUTED
 200e994:	90 12 23 d0 	or  %o0, 0x3d0, %o0	! 202e3d0 <ramdisk_ops+0x714><== NOT EXECUTED
            errno, strerror (errno));                                 
    return -1;                                                        
  }                                                                   
                                                                      
  rc = rtems_rfs_inode_alloc (fs, RTEMS_RFS_ROOT_INO, &ino);          
 200e998:	92 10 20 01 	mov  1, %o1                                    
 200e99c:	40 00 02 34 	call  200f26c <rtems_rfs_inode_alloc>          
 200e9a0:	94 07 bf fc 	add  %fp, -4, %o2                              
  if (rc > 0)                                                         
 200e9a4:	ba 92 20 00 	orcc  %o0, 0, %i5                              
 200e9a8:	04 80 00 0a 	ble  200e9d0 <rtems_rfs_format+0xac0>          <== ALWAYS TAKEN
 200e9ac:	d2 07 bf fc 	ld  [ %fp + -4 ], %o1                          
  {                                                                   
    printf ("rtems-rfs: format: inode allocation failed: %d: %s\n",   
 200e9b0:	40 00 45 39 	call  201fe94 <strerror>                       <== NOT EXECUTED
 200e9b4:	01 00 00 00 	nop                                            <== NOT EXECUTED
 200e9b8:	92 10 00 1d 	mov  %i5, %o1                                  <== NOT EXECUTED
 200e9bc:	94 10 00 08 	mov  %o0, %o2                                  <== NOT EXECUTED
 200e9c0:	11 00 80 b9 	sethi  %hi(0x202e400), %o0                     <== NOT EXECUTED
 200e9c4:	40 00 42 01 	call  201f1c8 <printf>                         <== NOT EXECUTED
 200e9c8:	90 12 20 08 	or  %o0, 8, %o0	! 202e408 <ramdisk_ops+0x74c>  <== NOT EXECUTED
 200e9cc:	30 80 00 1d 	b,a   200ea40 <rtems_rfs_format+0xb30>         <== NOT EXECUTED
            rc, strerror (rc));                                       
    rtems_rfs_fs_close (fs);                                          
    return rc;                                                        
  }                                                                   
                                                                      
  if (ino != RTEMS_RFS_ROOT_INO)                                      
 200e9d0:	80 a2 60 01 	cmp  %o1, 1                                    
 200e9d4:	02 80 00 08 	be  200e9f4 <rtems_rfs_format+0xae4>           <== ALWAYS TAKEN
 200e9d8:	11 00 80 b9 	sethi  %hi(0x202e400), %o0                     
  {                                                                   
    printf ("rtems-rfs: format: allocated inode not root ino: %" PRId32 "\n", ino);
 200e9dc:	40 00 41 fb 	call  201f1c8 <printf>                         <== NOT EXECUTED
 200e9e0:	90 12 20 40 	or  %o0, 0x40, %o0	! 202e440 <ramdisk_ops+0x784><== NOT EXECUTED
    rtems_rfs_fs_close (fs);                                          
 200e9e4:	40 00 35 fc 	call  201c1d4 <rtems_rfs_fs_close>             <== NOT EXECUTED
 200e9e8:	d0 07 bf f8 	ld  [ %fp + -8 ], %o0                          <== NOT EXECUTED
    printf ("rtems-rfs: format: writing root dir failed: %d: %s\n",   
            rc, strerror (rc));                                       
    return -1;                                                        
  }                                                                   
                                                                      
  return 0;                                                           
 200e9ec:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 200e9f0:	91 e8 20 00 	restore  %g0, 0, %o0                           <== NOT EXECUTED
    printf ("rtems-rfs: format: allocated inode not root ino: %" PRId32 "\n", ino);
    rtems_rfs_fs_close (fs);                                          
    return rc;                                                        
  }                                                                   
                                                                      
  rc = rtems_rfs_inode_open (fs, ino, &inode, true);                  
 200e9f4:	d0 07 bf f8 	ld  [ %fp + -8 ], %o0                          
 200e9f8:	92 10 20 01 	mov  1, %o1                                    
 200e9fc:	94 07 bf ac 	add  %fp, -84, %o2                             
 200ea00:	40 00 02 56 	call  200f358 <rtems_rfs_inode_open>           
 200ea04:	96 10 20 01 	mov  1, %o3                                    
  if (rc > 0)                                                         
 200ea08:	ba 92 20 00 	orcc  %o0, 0, %i5                              
 200ea0c:	24 80 00 10 	ble,a   200ea4c <rtems_rfs_format+0xb3c>       <== ALWAYS TAKEN
 200ea10:	90 07 bf ac 	add  %fp, -84, %o0                             
  {                                                                   
    printf ("rtems-rfs: format: inode open failed: %d: %s\n",         
 200ea14:	40 00 45 20 	call  201fe94 <strerror>                       <== NOT EXECUTED
 200ea18:	01 00 00 00 	nop                                            <== NOT EXECUTED
 200ea1c:	92 10 00 1d 	mov  %i5, %o1                                  <== NOT EXECUTED
 200ea20:	94 10 00 08 	mov  %o0, %o2                                  <== NOT EXECUTED
 200ea24:	11 00 80 b9 	sethi  %hi(0x202e400), %o0                     <== NOT EXECUTED
 200ea28:	40 00 41 e8 	call  201f1c8 <printf>                         <== NOT EXECUTED
 200ea2c:	90 12 20 78 	or  %o0, 0x78, %o0	! 202e478 <ramdisk_ops+0x7bc><== NOT EXECUTED
            rc, strerror (rc));                                       
    rtems_rfs_group_bitmap_free (fs, true, ino);                      
 200ea30:	d0 07 bf f8 	ld  [ %fp + -8 ], %o0                          <== NOT EXECUTED
 200ea34:	d4 07 bf fc 	ld  [ %fp + -4 ], %o2                          <== NOT EXECUTED
 200ea38:	40 00 01 79 	call  200f01c <rtems_rfs_group_bitmap_free>    <== NOT EXECUTED
 200ea3c:	92 10 20 01 	mov  1, %o1                                    <== NOT EXECUTED
    rtems_rfs_fs_close (fs);                                          
 200ea40:	40 00 35 e5 	call  201c1d4 <rtems_rfs_fs_close>             <== NOT EXECUTED
 200ea44:	d0 07 bf f8 	ld  [ %fp + -8 ], %o0                          <== NOT EXECUTED
 200ea48:	30 80 00 43 	b,a   200eb54 <rtems_rfs_format+0xc44>         <== NOT EXECUTED
    return rc;                                                        
  }                                                                   
                                                                      
  rc = rtems_rfs_inode_initialise (&inode, 0,                         
 200ea4c:	92 10 20 00 	clr  %o1                                       
 200ea50:	15 00 00 10 	sethi  %hi(0x4000), %o2                        
 200ea54:	96 10 20 00 	clr  %o3                                       
 200ea58:	94 12 a1 c9 	or  %o2, 0x1c9, %o2                            
 200ea5c:	40 00 03 31 	call  200f720 <rtems_rfs_inode_initialise>     
 200ea60:	98 10 20 00 	clr  %o4                                       
                                   (RTEMS_RFS_S_IFDIR | RTEMS_RFS_S_IRWXU |
                                    RTEMS_RFS_S_IXGRP | RTEMS_RFS_S_IXOTH),
                                   0, 0);                             
  if (rc > 0)                                                         
 200ea64:	ba 92 20 00 	orcc  %o0, 0, %i5                              
 200ea68:	24 80 00 0a 	ble,a   200ea90 <rtems_rfs_format+0xb80>       <== ALWAYS TAKEN
 200ea6c:	d0 07 bf f8 	ld  [ %fp + -8 ], %o0                          
    printf ("rtems-rfs: format: inode initialise failed: %d: %s\n",   
 200ea70:	40 00 45 09 	call  201fe94 <strerror>                       <== NOT EXECUTED
 200ea74:	01 00 00 00 	nop                                            <== NOT EXECUTED
 200ea78:	92 10 00 1d 	mov  %i5, %o1                                  <== NOT EXECUTED
 200ea7c:	94 10 00 08 	mov  %o0, %o2                                  <== NOT EXECUTED
 200ea80:	11 00 80 b9 	sethi  %hi(0x202e400), %o0                     <== NOT EXECUTED
 200ea84:	40 00 41 d1 	call  201f1c8 <printf>                         <== NOT EXECUTED
 200ea88:	90 12 20 a8 	or  %o0, 0xa8, %o0	! 202e4a8 <ramdisk_ops+0x7ec><== NOT EXECUTED
            rc, strerror (rc));                                       
                                                                      
  rc = rtems_rfs_dir_add_entry (fs, &inode, ".", 1, ino);             
 200ea8c:	d0 07 bf f8 	ld  [ %fp + -8 ], %o0                          <== NOT EXECUTED
 200ea90:	d8 07 bf fc 	ld  [ %fp + -4 ], %o4                          
 200ea94:	92 07 bf ac 	add  %fp, -84, %o1                             
 200ea98:	15 00 80 b4 	sethi  %hi(0x202d000), %o2                     
 200ea9c:	96 10 20 01 	mov  1, %o3                                    
 200eaa0:	40 00 2c e2 	call  2019e28 <rtems_rfs_dir_add_entry>        
 200eaa4:	94 12 a0 a0 	or  %o2, 0xa0, %o2                             
  if (rc > 0)                                                         
 200eaa8:	ba 92 20 00 	orcc  %o0, 0, %i5                              
 200eaac:	24 80 00 0a 	ble,a   200ead4 <rtems_rfs_format+0xbc4>       <== ALWAYS TAKEN
 200eab0:	d0 07 bf f8 	ld  [ %fp + -8 ], %o0                          
    printf ("rtems-rfs: format: directory add failed: %d: %s\n",      
 200eab4:	40 00 44 f8 	call  201fe94 <strerror>                       <== NOT EXECUTED
 200eab8:	01 00 00 00 	nop                                            <== NOT EXECUTED
 200eabc:	92 10 00 1d 	mov  %i5, %o1                                  <== NOT EXECUTED
 200eac0:	94 10 00 08 	mov  %o0, %o2                                  <== NOT EXECUTED
 200eac4:	11 00 80 b9 	sethi  %hi(0x202e400), %o0                     <== NOT EXECUTED
 200eac8:	40 00 41 c0 	call  201f1c8 <printf>                         <== NOT EXECUTED
 200eacc:	90 12 20 e0 	or  %o0, 0xe0, %o0	! 202e4e0 <ramdisk_ops+0x824><== NOT EXECUTED
            rc, strerror (rc));                                       
                                                                      
  rc = rtems_rfs_inode_close (fs, &inode);                            
 200ead0:	d0 07 bf f8 	ld  [ %fp + -8 ], %o0                          <== NOT EXECUTED
 200ead4:	40 00 02 93 	call  200f520 <rtems_rfs_inode_close>          
 200ead8:	92 07 bf ac 	add  %fp, -84, %o1                             
  if (rc > 0)                                                         
 200eadc:	ba 92 20 00 	orcc  %o0, 0, %i5                              
 200eae0:	04 80 00 09 	ble  200eb04 <rtems_rfs_format+0xbf4>          <== ALWAYS TAKEN
 200eae4:	01 00 00 00 	nop                                            
    printf ("rtems-rfs: format: inode close failed: %d: %s\n",        
 200eae8:	40 00 44 eb 	call  201fe94 <strerror>                       <== NOT EXECUTED
 200eaec:	01 00 00 00 	nop                                            <== NOT EXECUTED
 200eaf0:	92 10 00 1d 	mov  %i5, %o1                                  <== NOT EXECUTED
 200eaf4:	94 10 00 08 	mov  %o0, %o2                                  <== NOT EXECUTED
 200eaf8:	11 00 80 b9 	sethi  %hi(0x202e400), %o0                     <== NOT EXECUTED
 200eafc:	40 00 41 b3 	call  201f1c8 <printf>                         <== NOT EXECUTED
 200eb00:	90 12 21 18 	or  %o0, 0x118, %o0	! 202e518 <ramdisk_ops+0x85c><== NOT EXECUTED
            rc, strerror (rc));                                       
                                                                      
  rc = rtems_rfs_fs_close (fs);                                       
 200eb04:	40 00 35 b4 	call  201c1d4 <rtems_rfs_fs_close>             
 200eb08:	d0 07 bf f8 	ld  [ %fp + -8 ], %o0                          
  if (rc < 0)                                                         
 200eb0c:	ba 92 20 00 	orcc  %o0, 0, %i5                              
 200eb10:	16 80 00 0f 	bge  200eb4c <rtems_rfs_format+0xc3c>          <== ALWAYS TAKEN
 200eb14:	80 a7 60 00 	cmp  %i5, 0                                    
    printf ("rtems-rfs: format: file system close failed: %d: %s\n",  
            errno, strerror (errno));                                 
 200eb18:	40 00 3e 44 	call  201e428 <__errno>                        <== NOT EXECUTED
 200eb1c:	01 00 00 00 	nop                                            <== NOT EXECUTED
 200eb20:	40 00 3e 42 	call  201e428 <__errno>                        <== NOT EXECUTED
 200eb24:	fa 02 00 00 	ld  [ %o0 ], %i5                               <== NOT EXECUTED
    printf ("rtems-rfs: format: inode close failed: %d: %s\n",        
            rc, strerror (rc));                                       
                                                                      
  rc = rtems_rfs_fs_close (fs);                                       
  if (rc < 0)                                                         
    printf ("rtems-rfs: format: file system close failed: %d: %s\n",  
 200eb28:	40 00 44 db 	call  201fe94 <strerror>                       <== NOT EXECUTED
 200eb2c:	d0 02 00 00 	ld  [ %o0 ], %o0                               <== NOT EXECUTED
 200eb30:	94 10 00 08 	mov  %o0, %o2                                  <== NOT EXECUTED
 200eb34:	11 00 80 b9 	sethi  %hi(0x202e400), %o0                     <== NOT EXECUTED
 200eb38:	90 12 21 48 	or  %o0, 0x148, %o0	! 202e548 <ramdisk_ops+0x88c><== NOT EXECUTED
 200eb3c:	40 00 41 a3 	call  201f1c8 <printf>                         <== NOT EXECUTED
 200eb40:	92 10 00 1d 	mov  %i5, %o1                                  <== NOT EXECUTED
    printf ("rtems-rfs: format: writing root dir failed: %d: %s\n",   
            rc, strerror (rc));                                       
    return -1;                                                        
  }                                                                   
                                                                      
  return 0;                                                           
 200eb44:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 200eb48:	91 e8 20 00 	restore  %g0, 0, %o0                           <== NOT EXECUTED
            rc, strerror (rc));                                       
    return -1;                                                        
  }                                                                   
                                                                      
  rc = rtems_rfs_write_root_dir (name);                               
  if (rc > 0)                                                         
 200eb4c:	04 bf fe bf 	ble  200e648 <rtems_rfs_format+0x738>          <== ALWAYS TAKEN
 200eb50:	b0 10 20 00 	clr  %i0                                       
  {                                                                   
    printf ("rtems-rfs: format: writing root dir failed: %d: %s\n",   
 200eb54:	40 00 44 d0 	call  201fe94 <strerror>                       <== NOT EXECUTED
 200eb58:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
 200eb5c:	92 10 00 1d 	mov  %i5, %o1                                  <== NOT EXECUTED
 200eb60:	94 10 00 08 	mov  %o0, %o2                                  <== NOT EXECUTED
            rc, strerror (rc));                                       
    return -1;                                                        
 200eb64:	b0 10 3f ff 	mov  -1, %i0                                   <== NOT EXECUTED
  }                                                                   
                                                                      
  rc = rtems_rfs_write_root_dir (name);                               
  if (rc > 0)                                                         
  {                                                                   
    printf ("rtems-rfs: format: writing root dir failed: %d: %s\n",   
 200eb68:	11 00 80 b9 	sethi  %hi(0x202e400), %o0                     <== NOT EXECUTED
 200eb6c:	40 00 41 97 	call  201f1c8 <printf>                         <== NOT EXECUTED
 200eb70:	90 12 21 80 	or  %o0, 0x180, %o0	! 202e580 <ramdisk_ops+0x8c4><== NOT EXECUTED
            rc, strerror (rc));                                       
    return -1;                                                        
  }                                                                   
                                                                      
  return 0;                                                           
}                                                                     
 200eb74:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 200eb78:	81 e8 00 00 	restore                                        <== NOT EXECUTED
   * Check the configuration data.                                    
   */                                                                 
  if (!rtems_rfs_check_config (&fs, config))                          
    return -1;                                                        
                                                                      
  if (config->verbose)                                                
 200eb7c:	c2 0e 60 15 	ldub  [ %i1 + 0x15 ], %g1                      
 200eb80:	80 a0 60 00 	cmp  %g1, 0                                    
 200eb84:	02 bf fd e1 	be  200e308 <rtems_rfs_format+0x3f8>           <== ALWAYS TAKEN
 200eb88:	d2 07 bf 34 	ld  [ %fp + -204 ], %o1                        
 200eb8c:	30 bf fd 92 	b,a   200e1d4 <rtems_rfs_format+0x2c4>         <== NOT EXECUTED
                                                                      

0201c1d4 <rtems_rfs_fs_close>: return 0; } int rtems_rfs_fs_close (rtems_rfs_file_system* fs) {
 201c1d4:	9d e3 bf a0 	save  %sp, -96, %sp                            
  int group;                                                          
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_CLOSE))                        
 201c1d8:	90 10 20 00 	clr  %o0                                       
 201c1dc:	7f ff d4 17 	call  2011238 <rtems_rfs_trace>                
 201c1e0:	92 10 20 02 	mov  2, %o1                                    
 201c1e4:	80 8a 20 ff 	btst  0xff, %o0                                
 201c1e8:	22 80 00 06 	be,a   201c200 <rtems_rfs_fs_close+0x2c>       <== ALWAYS TAKEN
 201c1ec:	b8 10 20 00 	clr  %i4                                       
    printf ("rtems-rfs: close\n");                                    
 201c1f0:	11 00 80 c1 	sethi  %hi(0x2030400), %o0                     <== NOT EXECUTED
 201c1f4:	40 00 0c 36 	call  201f2cc <puts>                           <== NOT EXECUTED
 201c1f8:	90 12 23 78 	or  %o0, 0x378, %o0	! 2030778 <CSWTCH.1+0x1378><== NOT EXECUTED
  return 0;                                                           
}                                                                     
                                                                      
int                                                                   
rtems_rfs_fs_close (rtems_rfs_file_system* fs)                        
{                                                                     
 201c1fc:	b8 10 20 00 	clr  %i4                                       <== NOT EXECUTED
 201c200:	10 80 00 07 	b  201c21c <rtems_rfs_fs_close+0x48>           
 201c204:	ba 10 20 00 	clr  %i5                                       
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_CLOSE))                        
    printf ("rtems-rfs: close\n");                                    
                                                                      
  for (group = 0; group < fs->group_count; group++)                   
    rtems_rfs_group_close (fs, &fs->groups[group]);                   
 201c208:	90 10 00 18 	mov  %i0, %o0                                  
 201c20c:	92 02 40 1c 	add  %o1, %i4, %o1                             
 201c210:	7f ff ca df 	call  200ed8c <rtems_rfs_group_close>          
 201c214:	ba 07 60 01 	inc  %i5                                       
  int group;                                                          
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_CLOSE))                        
    printf ("rtems-rfs: close\n");                                    
                                                                      
  for (group = 0; group < fs->group_count; group++)                   
 201c218:	b8 07 20 50 	add  %i4, 0x50, %i4                            
 201c21c:	c2 06 20 20 	ld  [ %i0 + 0x20 ], %g1                        
 201c220:	80 a7 40 01 	cmp  %i5, %g1                                  
 201c224:	26 bf ff f9 	bl,a   201c208 <rtems_rfs_fs_close+0x34>       
 201c228:	d2 06 20 1c 	ld  [ %i0 + 0x1c ], %o1                        
    rtems_rfs_group_close (fs, &fs->groups[group]);                   
                                                                      
  rtems_rfs_buffer_close (fs);                                        
 201c22c:	7f ff f5 9b 	call  2019898 <rtems_rfs_buffer_close>         
 201c230:	90 10 00 18 	mov  %i0, %o0                                  
                                                                      
  free (fs);                                                          
 201c234:	90 10 00 18 	mov  %i0, %o0                                  
 201c238:	7f ff a6 8d 	call  2005c6c <free>                           
 201c23c:	b0 10 20 00 	clr  %i0                                       
  return 0;                                                           
}                                                                     
 201c240:	81 c7 e0 08 	ret                                            
 201c244:	81 e8 00 00 	restore                                        
                                                                      

0201b998 <rtems_rfs_fs_open>: int rtems_rfs_fs_open (const char* name, void* user, uint32_t flags, rtems_rfs_file_system** fs) {
 201b998:	9d e3 bf 68 	save  %sp, -152, %sp                           
  size_t                 group_base;                                  
  rtems_rfs_inode_handle inode;                                       
  uint16_t               mode;                                        
  int                    rc;                                          
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_OPEN))                         
 201b99c:	90 10 20 00 	clr  %o0                                       
 201b9a0:	7f ff d6 26 	call  2011238 <rtems_rfs_trace>                
 201b9a4:	92 10 20 01 	mov  1, %o1                                    
 201b9a8:	80 8a 20 ff 	btst  0xff, %o0                                
 201b9ac:	02 80 00 05 	be  201b9c0 <rtems_rfs_fs_open+0x28>           <== ALWAYS TAKEN
 201b9b0:	11 00 80 c1 	sethi  %hi(0x2030400), %o0                     
    printf ("rtems-rfs: open: %s\n", name);                           
 201b9b4:	92 10 00 18 	mov  %i0, %o1                                  <== NOT EXECUTED
 201b9b8:	40 00 0e 04 	call  201f1c8 <printf>                         <== NOT EXECUTED
 201b9bc:	90 12 20 38 	or  %o0, 0x38, %o0                             <== NOT EXECUTED
                                                                      
  *fs = malloc (sizeof (rtems_rfs_file_system));                      
 201b9c0:	7f ff aa 66 	call  2006358 <malloc>                         
 201b9c4:	90 10 20 80 	mov  0x80, %o0                                 
  if (!*fs)                                                           
 201b9c8:	80 a2 20 00 	cmp  %o0, 0                                    
 201b9cc:	12 80 00 0f 	bne  201ba08 <rtems_rfs_fs_open+0x70>          <== ALWAYS TAKEN
 201b9d0:	d0 26 c0 00 	st  %o0, [ %i3 ]                               
  {                                                                   
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_OPEN))                       
 201b9d4:	90 10 20 00 	clr  %o0                                       <== NOT EXECUTED
 201b9d8:	7f ff d6 18 	call  2011238 <rtems_rfs_trace>                <== NOT EXECUTED
 201b9dc:	92 10 20 01 	mov  1, %o1                                    <== NOT EXECUTED
 201b9e0:	80 8a 20 ff 	btst  0xff, %o0                                <== NOT EXECUTED
 201b9e4:	02 80 00 05 	be  201b9f8 <rtems_rfs_fs_open+0x60>           <== NOT EXECUTED
 201b9e8:	01 00 00 00 	nop                                            <== NOT EXECUTED
      printf ("rtems-rfs: open: no memory for file system data\n");   
 201b9ec:	11 00 80 c1 	sethi  %hi(0x2030400), %o0                     <== NOT EXECUTED
 201b9f0:	40 00 0e 37 	call  201f2cc <puts>                           <== NOT EXECUTED
 201b9f4:	90 12 20 50 	or  %o0, 0x50, %o0	! 2030450 <CSWTCH.1+0x1050> <== NOT EXECUTED
    errno = ENOMEM;                                                   
 201b9f8:	40 00 0a 8c 	call  201e428 <__errno>                        <== NOT EXECUTED
 201b9fc:	01 00 00 00 	nop                                            <== NOT EXECUTED
 201ba00:	10 80 01 cb 	b  201c12c <rtems_rfs_fs_open+0x794>           <== NOT EXECUTED
 201ba04:	82 10 20 0c 	mov  0xc, %g1	! c <PROM_START+0xc>             <== NOT EXECUTED
    return -1;                                                        
  }                                                                   
                                                                      
  memset (*fs, 0, sizeof (rtems_rfs_file_system));                    
 201ba08:	92 10 20 00 	clr  %o1                                       
 201ba0c:	40 00 0d 9d 	call  201f080 <memset>                         
 201ba10:	94 10 20 80 	mov  0x80, %o2                                 
                                                                      
  (*fs)->user = user;                                                 
 201ba14:	c2 06 c0 00 	ld  [ %i3 ], %g1                               
  group_base = 0;                                                     
                                                                      
  /*                                                                  
   * Open the buffer interface.                                       
   */                                                                 
  rc = rtems_rfs_buffer_open (name, *fs);                             
 201ba18:	90 10 00 18 	mov  %i0, %o0                                  
    return -1;                                                        
  }                                                                   
                                                                      
  memset (*fs, 0, sizeof (rtems_rfs_file_system));                    
                                                                      
  (*fs)->user = user;                                                 
 201ba1c:	f2 20 60 7c 	st  %i1, [ %g1 + 0x7c ]                        
  rtems_chain_initialize_empty (&(*fs)->buffers);                     
 201ba20:	c2 06 c0 00 	ld  [ %i3 ], %g1                               
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
                                                                      
  head->next = tail;                                                  
  head->previous = NULL;                                              
 201ba24:	c0 20 60 44 	clr  [ %g1 + 0x44 ]                            
RTEMS_INLINE_ROUTINE void _Chain_Initialize_empty(                    
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
 201ba28:	84 00 60 40 	add  %g1, 0x40, %g2                            
 201ba2c:	86 00 60 44 	add  %g1, 0x44, %g3                            
                                                                      
  head->next = tail;                                                  
  head->previous = NULL;                                              
  tail->previous = head;                                              
 201ba30:	c4 20 60 48 	st  %g2, [ %g1 + 0x48 ]                        
)                                                                     
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
                                                                      
  head->next = tail;                                                  
 201ba34:	c6 20 60 40 	st  %g3, [ %g1 + 0x40 ]                        
  rtems_chain_initialize_empty (&(*fs)->release);                     
 201ba38:	c2 06 c0 00 	ld  [ %i3 ], %g1                               
  head->previous = NULL;                                              
 201ba3c:	c0 20 60 54 	clr  [ %g1 + 0x54 ]                            
RTEMS_INLINE_ROUTINE void _Chain_Initialize_empty(                    
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
 201ba40:	84 00 60 50 	add  %g1, 0x50, %g2                            
 201ba44:	86 00 60 54 	add  %g1, 0x54, %g3                            
                                                                      
  head->next = tail;                                                  
  head->previous = NULL;                                              
  tail->previous = head;                                              
 201ba48:	c4 20 60 58 	st  %g2, [ %g1 + 0x58 ]                        
)                                                                     
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
                                                                      
  head->next = tail;                                                  
 201ba4c:	c6 20 60 50 	st  %g3, [ %g1 + 0x50 ]                        
  rtems_chain_initialize_empty (&(*fs)->release_modified);            
 201ba50:	c2 06 c0 00 	ld  [ %i3 ], %g1                               
  head->previous = NULL;                                              
 201ba54:	c0 20 60 64 	clr  [ %g1 + 0x64 ]                            
RTEMS_INLINE_ROUTINE void _Chain_Initialize_empty(                    
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
 201ba58:	84 00 60 60 	add  %g1, 0x60, %g2                            
 201ba5c:	86 00 60 64 	add  %g1, 0x64, %g3                            
                                                                      
  head->next = tail;                                                  
  head->previous = NULL;                                              
  tail->previous = head;                                              
 201ba60:	c4 20 60 68 	st  %g2, [ %g1 + 0x68 ]                        
)                                                                     
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
                                                                      
  head->next = tail;                                                  
 201ba64:	c6 20 60 60 	st  %g3, [ %g1 + 0x60 ]                        
  rtems_chain_initialize_empty (&(*fs)->file_shares);                 
 201ba68:	c2 06 c0 00 	ld  [ %i3 ], %g1                               
  head->previous = NULL;                                              
 201ba6c:	c0 20 60 74 	clr  [ %g1 + 0x74 ]                            
RTEMS_INLINE_ROUTINE void _Chain_Initialize_empty(                    
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
 201ba70:	84 00 60 70 	add  %g1, 0x70, %g2                            
 201ba74:	86 00 60 74 	add  %g1, 0x74, %g3                            
                                                                      
  head->next = tail;                                                  
  head->previous = NULL;                                              
  tail->previous = head;                                              
 201ba78:	c4 20 60 78 	st  %g2, [ %g1 + 0x78 ]                        
)                                                                     
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
                                                                      
  head->next = tail;                                                  
 201ba7c:	c6 20 60 70 	st  %g3, [ %g1 + 0x70 ]                        
                                                                      
  (*fs)->max_held_buffers = RTEMS_RFS_FS_MAX_HELD_BUFFERS;            
 201ba80:	d2 06 c0 00 	ld  [ %i3 ], %o1                               
 201ba84:	82 10 20 05 	mov  5, %g1                                    
  (*fs)->buffers_count = 0;                                           
 201ba88:	c0 22 60 4c 	clr  [ %o1 + 0x4c ]                            
  rtems_chain_initialize_empty (&(*fs)->buffers);                     
  rtems_chain_initialize_empty (&(*fs)->release);                     
  rtems_chain_initialize_empty (&(*fs)->release_modified);            
  rtems_chain_initialize_empty (&(*fs)->file_shares);                 
                                                                      
  (*fs)->max_held_buffers = RTEMS_RFS_FS_MAX_HELD_BUFFERS;            
 201ba8c:	c2 22 60 3c 	st  %g1, [ %o1 + 0x3c ]                        
  (*fs)->buffers_count = 0;                                           
  (*fs)->release_count = 0;                                           
 201ba90:	c0 22 60 5c 	clr  [ %o1 + 0x5c ]                            
  (*fs)->release_modified_count = 0;                                  
 201ba94:	c0 22 60 6c 	clr  [ %o1 + 0x6c ]                            
  group_base = 0;                                                     
                                                                      
  /*                                                                  
   * Open the buffer interface.                                       
   */                                                                 
  rc = rtems_rfs_buffer_open (name, *fs);                             
 201ba98:	7f ff f6 af 	call  2019554 <rtems_rfs_buffer_open>          
 201ba9c:	f4 22 40 00 	st  %i2, [ %o1 ]                               
  if (rc > 0)                                                         
 201baa0:	ba 92 20 00 	orcc  %o0, 0, %i5                              
 201baa4:	04 80 00 10 	ble  201bae4 <rtems_rfs_fs_open+0x14c>         <== ALWAYS TAKEN
 201baa8:	f0 06 c0 00 	ld  [ %i3 ], %i0                               
  {                                                                   
    free (*fs);                                                       
 201baac:	7f ff a8 70 	call  2005c6c <free>                           <== NOT EXECUTED
 201bab0:	90 10 00 18 	mov  %i0, %o0                                  <== NOT EXECUTED
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_OPEN))                       
 201bab4:	90 10 20 00 	clr  %o0                                       <== NOT EXECUTED
 201bab8:	7f ff d5 e0 	call  2011238 <rtems_rfs_trace>                <== NOT EXECUTED
 201babc:	92 10 20 01 	mov  1, %o1                                    <== NOT EXECUTED
 201bac0:	80 8a 20 ff 	btst  0xff, %o0                                <== NOT EXECUTED
 201bac4:	02 80 01 b2 	be  201c18c <rtems_rfs_fs_open+0x7f4>          <== NOT EXECUTED
 201bac8:	01 00 00 00 	nop                                            <== NOT EXECUTED
      printf ("rtems-rfs: open: buffer open failed: %d: %s\n",        
 201bacc:	40 00 10 f2 	call  201fe94 <strerror>                       <== NOT EXECUTED
 201bad0:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
 201bad4:	94 10 00 08 	mov  %o0, %o2                                  <== NOT EXECUTED
 201bad8:	11 00 80 c1 	sethi  %hi(0x2030400), %o0                     <== NOT EXECUTED
 201badc:	10 80 01 aa 	b  201c184 <rtems_rfs_fs_open+0x7ec>           <== NOT EXECUTED
 201bae0:	90 12 20 80 	or  %o0, 0x80, %o0	! 2030480 <CSWTCH.1+0x1080> <== NOT EXECUTED
 */                                                                   
static inline int                                                     
rtems_rfs_buffer_handle_open (rtems_rfs_file_system*   fs,            
                              rtems_rfs_buffer_handle* handle)        
{                                                                     
  handle->dirty = false;                                              
 201bae4:	c0 2f bf f4 	clrb  [ %fp + -12 ]                            
  handle->bnum  = 0;                                                  
 201bae8:	c0 27 bf f8 	clr  [ %fp + -8 ]                              
  handle->buffer = NULL;                                              
 201baec:	c0 27 bf fc 	clr  [ %fp + -4 ]                              
      printf ("rtems-rfs: read-superblock: handle open failed: %d: %s\n",
              rc, strerror (rc));                                     
    return rc;                                                        
  }                                                                   
                                                                      
  rc = rtems_rfs_buffer_handle_request (fs, &handle, 0, true);        
 201baf0:	90 10 00 18 	mov  %i0, %o0                                  
 201baf4:	92 07 bf f4 	add  %fp, -12, %o1                             
 201baf8:	94 10 20 00 	clr  %o2                                       
 201bafc:	7f ff f5 ef 	call  20192b8 <rtems_rfs_buffer_handle_request>
 201bb00:	96 10 20 01 	mov  1, %o3                                    
  if (rc > 0)                                                         
 201bb04:	b4 92 20 00 	orcc  %o0, 0, %i2                              
 201bb08:	04 80 00 0d 	ble  201bb3c <rtems_rfs_fs_open+0x1a4>         <== ALWAYS TAKEN
 201bb0c:	90 10 20 00 	clr  %o0                                       
  {                                                                   
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_OPEN))                       
 201bb10:	7f ff d5 ca 	call  2011238 <rtems_rfs_trace>                <== NOT EXECUTED
 201bb14:	92 10 20 01 	mov  1, %o1                                    <== NOT EXECUTED
 201bb18:	80 8a 20 ff 	btst  0xff, %o0                                <== NOT EXECUTED
 201bb1c:	02 80 01 3b 	be  201c008 <rtems_rfs_fs_open+0x670>          <== NOT EXECUTED
 201bb20:	01 00 00 00 	nop                                            <== NOT EXECUTED
      printf ("rtems-rfs: read-superblock: request failed%d: %s\n",   
 201bb24:	40 00 10 dc 	call  201fe94 <strerror>                       <== NOT EXECUTED
 201bb28:	90 10 00 1a 	mov  %i2, %o0                                  <== NOT EXECUTED
 201bb2c:	94 10 00 08 	mov  %o0, %o2                                  <== NOT EXECUTED
 201bb30:	11 00 80 c1 	sethi  %hi(0x2030400), %o0                     <== NOT EXECUTED
 201bb34:	10 80 00 e7 	b  201bed0 <rtems_rfs_fs_open+0x538>           <== NOT EXECUTED
 201bb38:	90 12 20 b0 	or  %o0, 0xb0, %o0	! 20304b0 <CSWTCH.1+0x10b0> <== NOT EXECUTED
              rc, strerror (rc));                                     
    return rc;                                                        
  }                                                                   
                                                                      
  sb = rtems_rfs_buffer_data (&handle);                               
 201bb3c:	c2 07 bf fc 	ld  [ %fp + -4 ], %g1                          
 201bb40:	fa 00 60 24 	ld  [ %g1 + 0x24 ], %i5                        
                                                                      
#define read_sb(_o) rtems_rfs_read_u32 (sb + (_o))                    
                                                                      
  if (read_sb (RTEMS_RFS_SB_OFFSET_MAGIC) != RTEMS_RFS_SB_MAGIC)      
 201bb44:	c2 0f 60 01 	ldub  [ %i5 + 1 ], %g1                         
 201bb48:	c4 0f 40 00 	ldub  [ %i5 ], %g2                             
 201bb4c:	83 28 60 10 	sll  %g1, 0x10, %g1                            
 201bb50:	85 28 a0 18 	sll  %g2, 0x18, %g2                            
 201bb54:	84 10 80 01 	or  %g2, %g1, %g2                              
 201bb58:	c2 0f 60 03 	ldub  [ %i5 + 3 ], %g1                         
 201bb5c:	84 10 80 01 	or  %g2, %g1, %g2                              
 201bb60:	c2 0f 60 02 	ldub  [ %i5 + 2 ], %g1                         
 201bb64:	83 28 60 08 	sll  %g1, 8, %g1                               
 201bb68:	84 10 80 01 	or  %g2, %g1, %g2                              
 201bb6c:	03 0a 02 48 	sethi  %hi(0x28092000), %g1                    
 201bb70:	82 10 60 01 	or  %g1, 1, %g1	! 28092001 <RAM_END+0x25c92001>
 201bb74:	80 a0 80 01 	cmp  %g2, %g1                                  
 201bb78:	22 80 00 0b 	be,a   201bba4 <rtems_rfs_fs_open+0x20c>       <== ALWAYS TAKEN
 201bb7c:	c2 0f 60 0d 	ldub  [ %i5 + 0xd ], %g1                       
  {                                                                   
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_OPEN))                       
 201bb80:	90 10 20 00 	clr  %o0                                       <== NOT EXECUTED
 201bb84:	7f ff d5 ad 	call  2011238 <rtems_rfs_trace>                <== NOT EXECUTED
 201bb88:	92 10 20 01 	mov  1, %o1                                    <== NOT EXECUTED
 201bb8c:	80 8a 20 ff 	btst  0xff, %o0                                <== NOT EXECUTED
 201bb90:	22 80 00 57 	be,a   201bcec <rtems_rfs_fs_open+0x354>       <== NOT EXECUTED
 201bb94:	90 10 00 18 	mov  %i0, %o0                                  <== NOT EXECUTED
      printf ("rtems-rfs: read-superblock: invalid superblock, bad magic\n");
 201bb98:	11 00 80 c1 	sethi  %hi(0x2030400), %o0                     <== NOT EXECUTED
 201bb9c:	10 80 00 2f 	b  201bc58 <rtems_rfs_fs_open+0x2c0>           <== NOT EXECUTED
 201bba0:	90 12 20 e8 	or  %o0, 0xe8, %o0	! 20304e8 <CSWTCH.1+0x10e8> <== NOT EXECUTED
    rtems_rfs_buffer_handle_close (fs, &handle);                      
    return EIO;                                                       
  }                                                                   
                                                                      
  fs->blocks     = read_sb (RTEMS_RFS_SB_OFFSET_BLOCKS);              
 201bba4:	d6 0f 60 0c 	ldub  [ %i5 + 0xc ], %o3                       
 201bba8:	83 28 60 10 	sll  %g1, 0x10, %g1                            
 201bbac:	97 2a e0 18 	sll  %o3, 0x18, %o3                            
 201bbb0:	96 12 c0 01 	or  %o3, %g1, %o3                              
 201bbb4:	c2 0f 60 0f 	ldub  [ %i5 + 0xf ], %g1                       
uint64_t                                                              
rtems_rfs_fs_size (rtems_rfs_file_system* fs)                         
{                                                                     
  uint64_t blocks = rtems_rfs_fs_blocks (fs);                         
  uint64_t block_size = rtems_rfs_fs_block_size (fs);                 
  return blocks * block_size;                                         
 201bbb8:	94 10 20 00 	clr  %o2                                       
      printf ("rtems-rfs: read-superblock: invalid superblock, bad magic\n");
    rtems_rfs_buffer_handle_close (fs, &handle);                      
    return EIO;                                                       
  }                                                                   
                                                                      
  fs->blocks     = read_sb (RTEMS_RFS_SB_OFFSET_BLOCKS);              
 201bbbc:	96 12 c0 01 	or  %o3, %g1, %o3                              
 201bbc0:	c2 0f 60 0e 	ldub  [ %i5 + 0xe ], %g1                       
uint64_t                                                              
rtems_rfs_fs_size (rtems_rfs_file_system* fs)                         
{                                                                     
  uint64_t blocks = rtems_rfs_fs_blocks (fs);                         
  uint64_t block_size = rtems_rfs_fs_block_size (fs);                 
  return blocks * block_size;                                         
 201bbc4:	90 10 20 00 	clr  %o0                                       
      printf ("rtems-rfs: read-superblock: invalid superblock, bad magic\n");
    rtems_rfs_buffer_handle_close (fs, &handle);                      
    return EIO;                                                       
  }                                                                   
                                                                      
  fs->blocks     = read_sb (RTEMS_RFS_SB_OFFSET_BLOCKS);              
 201bbc8:	83 28 60 08 	sll  %g1, 8, %g1                               
 201bbcc:	96 12 c0 01 	or  %o3, %g1, %o3                              
 201bbd0:	d6 26 20 04 	st  %o3, [ %i0 + 4 ]                           
  fs->block_size = read_sb (RTEMS_RFS_SB_OFFSET_BLOCK_SIZE);          
 201bbd4:	c2 0f 60 09 	ldub  [ %i5 + 9 ], %g1                         
 201bbd8:	f8 0f 60 08 	ldub  [ %i5 + 8 ], %i4                         
 201bbdc:	83 28 60 10 	sll  %g1, 0x10, %g1                            
 201bbe0:	b9 2f 20 18 	sll  %i4, 0x18, %i4                            
 201bbe4:	b8 17 00 01 	or  %i4, %g1, %i4                              
 201bbe8:	c2 0f 60 0b 	ldub  [ %i5 + 0xb ], %g1                       
 201bbec:	b8 17 00 01 	or  %i4, %g1, %i4                              
 201bbf0:	c2 0f 60 0a 	ldub  [ %i5 + 0xa ], %g1                       
 201bbf4:	83 28 60 08 	sll  %g1, 8, %g1                               
 201bbf8:	b8 17 00 01 	or  %i4, %g1, %i4                              
 201bbfc:	f8 26 20 08 	st  %i4, [ %i0 + 8 ]                           
uint64_t                                                              
rtems_rfs_fs_size (rtems_rfs_file_system* fs)                         
{                                                                     
  uint64_t blocks = rtems_rfs_fs_blocks (fs);                         
  uint64_t block_size = rtems_rfs_fs_block_size (fs);                 
  return blocks * block_size;                                         
 201bc00:	40 00 3e 9b 	call  202b66c <__muldi3>                       
 201bc04:	92 10 00 1c 	mov  %i4, %o1                                  
 201bc08:	b4 10 00 08 	mov  %o0, %i2                                  
 201bc0c:	b2 10 00 09 	mov  %o1, %i1                                  
  }                                                                   
                                                                      
  fs->blocks     = read_sb (RTEMS_RFS_SB_OFFSET_BLOCKS);              
  fs->block_size = read_sb (RTEMS_RFS_SB_OFFSET_BLOCK_SIZE);          
                                                                      
  if (rtems_rfs_fs_size(fs) > rtems_rfs_fs_media_size (fs))           
 201bc10:	7f ff ff 58 	call  201b970 <rtems_rfs_fs_media_size>        
 201bc14:	90 10 00 18 	mov  %i0, %o0                                  
 201bc18:	80 a6 80 08 	cmp  %i2, %o0                                  
 201bc1c:	38 80 00 08 	bgu,a   201bc3c <rtems_rfs_fs_open+0x2a4>      <== NEVER TAKEN
 201bc20:	90 10 20 00 	clr  %o0                                       <== NOT EXECUTED
 201bc24:	32 80 00 11 	bne,a   201bc68 <rtems_rfs_fs_open+0x2d0>      <== NEVER TAKEN
 201bc28:	c4 0f 60 24 	ldub  [ %i5 + 0x24 ], %g2                      <== NOT EXECUTED
 201bc2c:	80 a6 40 09 	cmp  %i1, %o1                                  
 201bc30:	28 80 00 0e 	bleu,a   201bc68 <rtems_rfs_fs_open+0x2d0>     <== ALWAYS TAKEN
 201bc34:	c4 0f 60 24 	ldub  [ %i5 + 0x24 ], %g2                      
  {                                                                   
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_OPEN))                       
 201bc38:	90 10 20 00 	clr  %o0                                       <== NOT EXECUTED
 201bc3c:	7f ff d5 7f 	call  2011238 <rtems_rfs_trace>                <== NOT EXECUTED
 201bc40:	92 10 20 01 	mov  1, %o1                                    <== NOT EXECUTED
 201bc44:	80 8a 20 ff 	btst  0xff, %o0                                <== NOT EXECUTED
 201bc48:	22 80 00 29 	be,a   201bcec <rtems_rfs_fs_open+0x354>       <== NOT EXECUTED
 201bc4c:	90 10 00 18 	mov  %i0, %o0                                  <== NOT EXECUTED
      printf ("rtems-rfs: read-superblock: invalid superblock block/size count\n");
 201bc50:	11 00 80 c1 	sethi  %hi(0x2030400), %o0                     <== NOT EXECUTED
 201bc54:	90 12 21 28 	or  %o0, 0x128, %o0	! 2030528 <CSWTCH.1+0x1128><== NOT EXECUTED
 201bc58:	40 00 0d 9d 	call  201f2cc <puts>                           <== NOT EXECUTED
 201bc5c:	01 00 00 00 	nop                                            <== NOT EXECUTED
 */                                                                   
static inline int                                                     
rtems_rfs_buffer_handle_close (rtems_rfs_file_system*   fs,           
                               rtems_rfs_buffer_handle* handle)       
{                                                                     
  rtems_rfs_buffer_handle_release (fs, handle);                       
 201bc60:	10 80 00 23 	b  201bcec <rtems_rfs_fs_open+0x354>           <== NOT EXECUTED
 201bc64:	90 10 00 18 	mov  %i0, %o0                                  <== NOT EXECUTED
              read_sb (RTEMS_RFS_SB_OFFSET_VERSION), RTEMS_RFS_VERSION_MASK);
    rtems_rfs_buffer_handle_close (fs, &handle);                      
    return EIO;                                                       
  }                                                                   
                                                                      
  if (read_sb (RTEMS_RFS_SB_OFFSET_INODE_SIZE) != RTEMS_RFS_INODE_SIZE)
 201bc68:	c2 0f 60 25 	ldub  [ %i5 + 0x25 ], %g1                      
 201bc6c:	85 28 a0 18 	sll  %g2, 0x18, %g2                            
 201bc70:	83 28 60 10 	sll  %g1, 0x10, %g1                            
 201bc74:	82 10 80 01 	or  %g2, %g1, %g1                              
 201bc78:	c4 0f 60 27 	ldub  [ %i5 + 0x27 ], %g2                      
 201bc7c:	82 10 40 02 	or  %g1, %g2, %g1                              
 201bc80:	c4 0f 60 26 	ldub  [ %i5 + 0x26 ], %g2                      
 201bc84:	85 28 a0 08 	sll  %g2, 8, %g2                               
 201bc88:	82 10 40 02 	or  %g1, %g2, %g1                              
 201bc8c:	80 a0 60 38 	cmp  %g1, 0x38                                 
 201bc90:	22 80 00 1b 	be,a   201bcfc <rtems_rfs_fs_open+0x364>       <== ALWAYS TAKEN
 201bc94:	c4 0f 60 10 	ldub  [ %i5 + 0x10 ], %g2                      
  {                                                                   
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_OPEN))                       
 201bc98:	90 10 20 00 	clr  %o0                                       <== NOT EXECUTED
 201bc9c:	7f ff d5 67 	call  2011238 <rtems_rfs_trace>                <== NOT EXECUTED
 201bca0:	92 10 20 01 	mov  1, %o1                                    <== NOT EXECUTED
 201bca4:	80 8a 20 ff 	btst  0xff, %o0                                <== NOT EXECUTED
 201bca8:	22 80 00 11 	be,a   201bcec <rtems_rfs_fs_open+0x354>       <== NOT EXECUTED
 201bcac:	90 10 00 18 	mov  %i0, %o0                                  <== NOT EXECUTED
      printf ("rtems-rfs: read-superblock: inode size mismatch: fs:%" PRId32 " target:%" PRId32 "\n",
              read_sb (RTEMS_RFS_SB_OFFSET_VERSION), RTEMS_RFS_VERSION_MASK);
 201bcb0:	c2 0f 60 05 	ldub  [ %i5 + 5 ], %g1                         <== NOT EXECUTED
 201bcb4:	d2 0f 60 04 	ldub  [ %i5 + 4 ], %o1                         <== NOT EXECUTED
 201bcb8:	83 28 60 10 	sll  %g1, 0x10, %g1                            <== NOT EXECUTED
 201bcbc:	93 2a 60 18 	sll  %o1, 0x18, %o1                            <== NOT EXECUTED
 201bcc0:	92 12 40 01 	or  %o1, %g1, %o1                              <== NOT EXECUTED
 201bcc4:	c2 0f 60 07 	ldub  [ %i5 + 7 ], %g1                         <== NOT EXECUTED
  }                                                                   
                                                                      
  if (read_sb (RTEMS_RFS_SB_OFFSET_INODE_SIZE) != RTEMS_RFS_INODE_SIZE)
  {                                                                   
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_OPEN))                       
      printf ("rtems-rfs: read-superblock: inode size mismatch: fs:%" PRId32 " target:%" PRId32 "\n",
 201bcc8:	11 00 80 c1 	sethi  %hi(0x2030400), %o0                     <== NOT EXECUTED
              read_sb (RTEMS_RFS_SB_OFFSET_VERSION), RTEMS_RFS_VERSION_MASK);
 201bccc:	92 12 40 01 	or  %o1, %g1, %o1                              <== NOT EXECUTED
 201bcd0:	c2 0f 60 06 	ldub  [ %i5 + 6 ], %g1                         <== NOT EXECUTED
  }                                                                   
                                                                      
  if (read_sb (RTEMS_RFS_SB_OFFSET_INODE_SIZE) != RTEMS_RFS_INODE_SIZE)
  {                                                                   
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_OPEN))                       
      printf ("rtems-rfs: read-superblock: inode size mismatch: fs:%" PRId32 " target:%" PRId32 "\n",
 201bcd4:	90 12 21 68 	or  %o0, 0x168, %o0                            <== NOT EXECUTED
              read_sb (RTEMS_RFS_SB_OFFSET_VERSION), RTEMS_RFS_VERSION_MASK);
 201bcd8:	83 28 60 08 	sll  %g1, 8, %g1                               <== NOT EXECUTED
  }                                                                   
                                                                      
  if (read_sb (RTEMS_RFS_SB_OFFSET_INODE_SIZE) != RTEMS_RFS_INODE_SIZE)
  {                                                                   
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_OPEN))                       
      printf ("rtems-rfs: read-superblock: inode size mismatch: fs:%" PRId32 " target:%" PRId32 "\n",
 201bcdc:	94 10 20 00 	clr  %o2                                       <== NOT EXECUTED
 201bce0:	40 00 0d 3a 	call  201f1c8 <printf>                         <== NOT EXECUTED
 201bce4:	92 12 40 01 	or  %o1, %g1, %o1                              <== NOT EXECUTED
 201bce8:	90 10 00 18 	mov  %i0, %o0                                  <== NOT EXECUTED
 201bcec:	92 07 bf f4 	add  %fp, -12, %o1                             <== NOT EXECUTED
 201bcf0:	7f ff f5 00 	call  20190f0 <rtems_rfs_buffer_handle_release><== NOT EXECUTED
 201bcf4:	b4 10 20 05 	mov  5, %i2                                    <== NOT EXECUTED
 201bcf8:	30 80 00 c4 	b,a   201c008 <rtems_rfs_fs_open+0x670>        <== NOT EXECUTED
              read_sb (RTEMS_RFS_SB_OFFSET_VERSION), RTEMS_RFS_VERSION_MASK);
    rtems_rfs_buffer_handle_close (fs, &handle);                      
    return EIO;                                                       
  }                                                                   
                                                                      
  fs->bad_blocks      = read_sb (RTEMS_RFS_SB_OFFSET_BAD_BLOCKS);     
 201bcfc:	c2 0f 60 11 	ldub  [ %i5 + 0x11 ], %g1                      
 201bd00:	85 28 a0 18 	sll  %g2, 0x18, %g2                            
 201bd04:	83 28 60 10 	sll  %g1, 0x10, %g1                            
 201bd08:	82 10 80 01 	or  %g2, %g1, %g1                              
 201bd0c:	c4 0f 60 13 	ldub  [ %i5 + 0x13 ], %g2                      
  fs->group_count     = read_sb (RTEMS_RFS_SB_OFFSET_GROUPS);         
  fs->group_blocks    = read_sb (RTEMS_RFS_SB_OFFSET_GROUP_BLOCKS);   
  fs->group_inodes    = read_sb (RTEMS_RFS_SB_OFFSET_GROUP_INODES);   
                                                                      
  fs->blocks_per_block =                                              
    rtems_rfs_fs_block_size (fs) / sizeof (rtems_rfs_inode_block);    
 201bd10:	91 37 20 02 	srl  %i4, 2, %o0                               
              read_sb (RTEMS_RFS_SB_OFFSET_VERSION), RTEMS_RFS_VERSION_MASK);
    rtems_rfs_buffer_handle_close (fs, &handle);                      
    return EIO;                                                       
  }                                                                   
                                                                      
  fs->bad_blocks      = read_sb (RTEMS_RFS_SB_OFFSET_BAD_BLOCKS);     
 201bd14:	82 10 40 02 	or  %g1, %g2, %g1                              
 201bd18:	c4 0f 60 12 	ldub  [ %i5 + 0x12 ], %g2                      
    rtems_rfs_fs_block_size (fs) / sizeof (rtems_rfs_inode_block);    
                                                                      
  fs->block_map_singly_blocks =                                       
    fs->blocks_per_block * RTEMS_RFS_INODE_BLOCKS;                    
  fs->block_map_doubly_blocks =                                       
    fs->blocks_per_block * fs->blocks_per_block * RTEMS_RFS_INODE_BLOCKS;
 201bd1c:	92 10 00 08 	mov  %o0, %o1                                  
              read_sb (RTEMS_RFS_SB_OFFSET_VERSION), RTEMS_RFS_VERSION_MASK);
    rtems_rfs_buffer_handle_close (fs, &handle);                      
    return EIO;                                                       
  }                                                                   
                                                                      
  fs->bad_blocks      = read_sb (RTEMS_RFS_SB_OFFSET_BAD_BLOCKS);     
 201bd20:	85 28 a0 08 	sll  %g2, 8, %g2                               
 201bd24:	82 10 40 02 	or  %g1, %g2, %g1                              
 201bd28:	c2 26 20 14 	st  %g1, [ %i0 + 0x14 ]                        
  fs->max_name_length = read_sb (RTEMS_RFS_SB_OFFSET_MAX_NAME_LENGTH);
 201bd2c:	c4 0f 60 14 	ldub  [ %i5 + 0x14 ], %g2                      
 201bd30:	c2 0f 60 15 	ldub  [ %i5 + 0x15 ], %g1                      
 201bd34:	85 28 a0 18 	sll  %g2, 0x18, %g2                            
 201bd38:	83 28 60 10 	sll  %g1, 0x10, %g1                            
 201bd3c:	82 10 80 01 	or  %g2, %g1, %g1                              
 201bd40:	c4 0f 60 17 	ldub  [ %i5 + 0x17 ], %g2                      
 201bd44:	82 10 40 02 	or  %g1, %g2, %g1                              
 201bd48:	c4 0f 60 16 	ldub  [ %i5 + 0x16 ], %g2                      
 201bd4c:	85 28 a0 08 	sll  %g2, 8, %g2                               
 201bd50:	82 10 40 02 	or  %g1, %g2, %g1                              
 201bd54:	c2 26 20 18 	st  %g1, [ %i0 + 0x18 ]                        
  fs->group_count     = read_sb (RTEMS_RFS_SB_OFFSET_GROUPS);         
 201bd58:	c2 0f 60 19 	ldub  [ %i5 + 0x19 ], %g1                      
 201bd5c:	f2 0f 60 18 	ldub  [ %i5 + 0x18 ], %i1                      
 201bd60:	83 28 60 10 	sll  %g1, 0x10, %g1                            
 201bd64:	b3 2e 60 18 	sll  %i1, 0x18, %i1                            
 201bd68:	b2 16 40 01 	or  %i1, %g1, %i1                              
 201bd6c:	c2 0f 60 1b 	ldub  [ %i5 + 0x1b ], %g1                      
 201bd70:	b2 16 40 01 	or  %i1, %g1, %i1                              
 201bd74:	c2 0f 60 1a 	ldub  [ %i5 + 0x1a ], %g1                      
 201bd78:	83 28 60 08 	sll  %g1, 8, %g1                               
 201bd7c:	b2 16 40 01 	or  %i1, %g1, %i1                              
 201bd80:	f2 26 20 20 	st  %i1, [ %i0 + 0x20 ]                        
  fs->group_blocks    = read_sb (RTEMS_RFS_SB_OFFSET_GROUP_BLOCKS);   
 201bd84:	c2 0f 60 1d 	ldub  [ %i5 + 0x1d ], %g1                      
 201bd88:	f4 0f 60 1c 	ldub  [ %i5 + 0x1c ], %i2                      
 201bd8c:	83 28 60 10 	sll  %g1, 0x10, %g1                            
 201bd90:	b5 2e a0 18 	sll  %i2, 0x18, %i2                            
 201bd94:	b4 16 80 01 	or  %i2, %g1, %i2                              
 201bd98:	c2 0f 60 1f 	ldub  [ %i5 + 0x1f ], %g1                      
 201bd9c:	b4 16 80 01 	or  %i2, %g1, %i2                              
 201bda0:	c2 0f 60 1e 	ldub  [ %i5 + 0x1e ], %g1                      
 201bda4:	83 28 60 08 	sll  %g1, 8, %g1                               
 201bda8:	b4 16 80 01 	or  %i2, %g1, %i2                              
 201bdac:	f4 26 20 24 	st  %i2, [ %i0 + 0x24 ]                        
  fs->group_inodes    = read_sb (RTEMS_RFS_SB_OFFSET_GROUP_INODES);   
 201bdb0:	c2 0f 60 21 	ldub  [ %i5 + 0x21 ], %g1                      
 201bdb4:	c4 0f 60 20 	ldub  [ %i5 + 0x20 ], %g2                      
 201bdb8:	83 28 60 10 	sll  %g1, 0x10, %g1                            
 201bdbc:	85 28 a0 18 	sll  %g2, 0x18, %g2                            
 201bdc0:	84 10 80 01 	or  %g2, %g1, %g2                              
 201bdc4:	c2 0f 60 23 	ldub  [ %i5 + 0x23 ], %g1                      
 201bdc8:	84 10 80 01 	or  %g2, %g1, %g2                              
 201bdcc:	c2 0f 60 22 	ldub  [ %i5 + 0x22 ], %g1                      
                                                                      
  fs->blocks_per_block =                                              
 201bdd0:	d0 26 20 30 	st  %o0, [ %i0 + 0x30 ]                        
                                                                      
  fs->bad_blocks      = read_sb (RTEMS_RFS_SB_OFFSET_BAD_BLOCKS);     
  fs->max_name_length = read_sb (RTEMS_RFS_SB_OFFSET_MAX_NAME_LENGTH);
  fs->group_count     = read_sb (RTEMS_RFS_SB_OFFSET_GROUPS);         
  fs->group_blocks    = read_sb (RTEMS_RFS_SB_OFFSET_GROUP_BLOCKS);   
  fs->group_inodes    = read_sb (RTEMS_RFS_SB_OFFSET_GROUP_INODES);   
 201bdd4:	83 28 60 08 	sll  %g1, 8, %g1                               
 201bdd8:	ba 10 80 01 	or  %g2, %g1, %i5                              
                                                                      
  fs->blocks_per_block =                                              
    rtems_rfs_fs_block_size (fs) / sizeof (rtems_rfs_inode_block);    
                                                                      
  fs->block_map_singly_blocks =                                       
    fs->blocks_per_block * RTEMS_RFS_INODE_BLOCKS;                    
 201bddc:	83 2a 20 02 	sll  %o0, 2, %g1                               
 201bde0:	82 00 40 08 	add  %g1, %o0, %g1                             
                                                                      
  fs->bad_blocks      = read_sb (RTEMS_RFS_SB_OFFSET_BAD_BLOCKS);     
  fs->max_name_length = read_sb (RTEMS_RFS_SB_OFFSET_MAX_NAME_LENGTH);
  fs->group_count     = read_sb (RTEMS_RFS_SB_OFFSET_GROUPS);         
  fs->group_blocks    = read_sb (RTEMS_RFS_SB_OFFSET_GROUP_BLOCKS);   
  fs->group_inodes    = read_sb (RTEMS_RFS_SB_OFFSET_GROUP_INODES);   
 201bde4:	fa 26 20 28 	st  %i5, [ %i0 + 0x28 ]                        
    rtems_rfs_fs_block_size (fs) / sizeof (rtems_rfs_inode_block);    
                                                                      
  fs->block_map_singly_blocks =                                       
    fs->blocks_per_block * RTEMS_RFS_INODE_BLOCKS;                    
  fs->block_map_doubly_blocks =                                       
    fs->blocks_per_block * fs->blocks_per_block * RTEMS_RFS_INODE_BLOCKS;
 201bde8:	40 00 3c 8f 	call  202b024 <.umul>                          
 201bdec:	c2 26 20 34 	st  %g1, [ %i0 + 0x34 ]                        
 201bdf0:	83 2a 20 02 	sll  %o0, 2, %g1                               
 201bdf4:	82 00 40 08 	add  %g1, %o0, %g1                             
                                                                      
  fs->inodes = fs->group_count * fs->group_inodes;                    
 201bdf8:	92 10 00 19 	mov  %i1, %o1                                  
  fs->blocks_per_block =                                              
    rtems_rfs_fs_block_size (fs) / sizeof (rtems_rfs_inode_block);    
                                                                      
  fs->block_map_singly_blocks =                                       
    fs->blocks_per_block * RTEMS_RFS_INODE_BLOCKS;                    
  fs->block_map_doubly_blocks =                                       
 201bdfc:	c2 26 20 38 	st  %g1, [ %i0 + 0x38 ]                        
    fs->blocks_per_block * fs->blocks_per_block * RTEMS_RFS_INODE_BLOCKS;
                                                                      
  fs->inodes = fs->group_count * fs->group_inodes;                    
 201be00:	40 00 3c 89 	call  202b024 <.umul>                          
 201be04:	90 10 00 1d 	mov  %i5, %o0                                  
                                                                      
  fs->inodes_per_block = fs->block_size / RTEMS_RFS_INODE_SIZE;       
 201be08:	92 10 20 38 	mov  0x38, %o1                                 
  fs->block_map_singly_blocks =                                       
    fs->blocks_per_block * RTEMS_RFS_INODE_BLOCKS;                    
  fs->block_map_doubly_blocks =                                       
    fs->blocks_per_block * fs->blocks_per_block * RTEMS_RFS_INODE_BLOCKS;
                                                                      
  fs->inodes = fs->group_count * fs->group_inodes;                    
 201be0c:	d0 26 20 10 	st  %o0, [ %i0 + 0x10 ]                        
                                                                      
  fs->inodes_per_block = fs->block_size / RTEMS_RFS_INODE_SIZE;       
 201be10:	40 00 3c bf 	call  202b10c <.udiv>                          
 201be14:	90 10 00 1c 	mov  %i4, %o0                                  
 201be18:	d0 26 20 2c 	st  %o0, [ %i0 + 0x2c ]                        
                                                                      
  if (fs->group_blocks >                                              
      rtems_rfs_bitmap_numof_bits (rtems_rfs_fs_block_size (fs)))     
 201be1c:	b9 2f 20 03 	sll  %i4, 3, %i4                               
 201be20:	90 10 00 18 	mov  %i0, %o0                                  
                                                                      
  fs->inodes = fs->group_count * fs->group_inodes;                    
                                                                      
  fs->inodes_per_block = fs->block_size / RTEMS_RFS_INODE_SIZE;       
                                                                      
  if (fs->group_blocks >                                              
 201be24:	80 a6 80 1c 	cmp  %i2, %i4                                  
 201be28:	08 80 00 0f 	bleu  201be64 <rtems_rfs_fs_open+0x4cc>        <== ALWAYS TAKEN
 201be2c:	92 07 bf f4 	add  %fp, -12, %o1                             
 201be30:	7f ff f4 b0 	call  20190f0 <rtems_rfs_buffer_handle_release><== NOT EXECUTED
 201be34:	b4 10 20 05 	mov  5, %i2                                    <== NOT EXECUTED
      rtems_rfs_bitmap_numof_bits (rtems_rfs_fs_block_size (fs)))     
  {                                                                   
    rtems_rfs_buffer_handle_close (fs, &handle);                      
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_OPEN))                       
 201be38:	90 10 20 00 	clr  %o0                                       <== NOT EXECUTED
  handle->dirty = false;                                              
 201be3c:	c0 2f bf f4 	clrb  [ %fp + -12 ]                            <== NOT EXECUTED
  handle->bnum  = 0;                                                  
 201be40:	c0 27 bf f8 	clr  [ %fp + -8 ]                              <== NOT EXECUTED
  handle->buffer = NULL;                                              
 201be44:	c0 27 bf fc 	clr  [ %fp + -4 ]                              <== NOT EXECUTED
 201be48:	7f ff d4 fc 	call  2011238 <rtems_rfs_trace>                <== NOT EXECUTED
 201be4c:	92 10 20 01 	mov  1, %o1                                    <== NOT EXECUTED
 201be50:	80 8a 20 ff 	btst  0xff, %o0                                <== NOT EXECUTED
 201be54:	02 80 00 6d 	be  201c008 <rtems_rfs_fs_open+0x670>          <== NOT EXECUTED
 201be58:	11 00 80 c1 	sethi  %hi(0x2030400), %o0                     <== NOT EXECUTED
      printf ("rtems-rfs: read-superblock: groups blocks larger than block bits\n");
 201be5c:	10 80 00 36 	b  201bf34 <rtems_rfs_fs_open+0x59c>           <== NOT EXECUTED
 201be60:	90 12 21 b0 	or  %o0, 0x1b0, %o0	! 20305b0 <CSWTCH.1+0x11b0><== NOT EXECUTED
 */                                                                   
static inline int                                                     
rtems_rfs_buffer_handle_close (rtems_rfs_file_system*   fs,           
                               rtems_rfs_buffer_handle* handle)       
{                                                                     
  rtems_rfs_buffer_handle_release (fs, handle);                       
 201be64:	7f ff f4 a3 	call  20190f0 <rtems_rfs_buffer_handle_release>
 201be68:	01 00 00 00 	nop                                            
  rtems_rfs_buffer_handle_close (fs, &handle);                        
                                                                      
  /*                                                                  
   * Change the block size to the value in the superblock.            
   */                                                                 
  rc = rtems_rfs_buffer_setblksize (fs, rtems_rfs_fs_block_size (fs));
 201be6c:	d2 06 20 08 	ld  [ %i0 + 8 ], %o1                           
  handle->dirty = false;                                              
 201be70:	c0 2f bf f4 	clrb  [ %fp + -12 ]                            
  handle->bnum  = 0;                                                  
 201be74:	c0 27 bf f8 	clr  [ %fp + -8 ]                              
  handle->buffer = NULL;                                              
 201be78:	c0 27 bf fc 	clr  [ %fp + -4 ]                              
 201be7c:	7f ff f6 4c 	call  20197ac <rtems_rfs_buffer_setblksize>    
 201be80:	90 10 00 18 	mov  %i0, %o0                                  
  if (rc > 0)                                                         
 201be84:	b4 92 20 00 	orcc  %o0, 0, %i2                              
 201be88:	04 80 00 15 	ble  201bedc <rtems_rfs_fs_open+0x544>         <== ALWAYS TAKEN
 201be8c:	92 07 bf f4 	add  %fp, -12, %o1                             
 */                                                                   
static inline int                                                     
rtems_rfs_buffer_handle_close (rtems_rfs_file_system*   fs,           
                               rtems_rfs_buffer_handle* handle)       
{                                                                     
  rtems_rfs_buffer_handle_release (fs, handle);                       
 201be90:	7f ff f4 98 	call  20190f0 <rtems_rfs_buffer_handle_release><== NOT EXECUTED
 201be94:	90 10 00 18 	mov  %i0, %o0                                  <== NOT EXECUTED
  {                                                                   
    rtems_rfs_buffer_handle_close (fs, &handle);                      
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_OPEN))                       
 201be98:	90 10 20 00 	clr  %o0                                       <== NOT EXECUTED
  handle->dirty = false;                                              
 201be9c:	c0 2f bf f4 	clrb  [ %fp + -12 ]                            <== NOT EXECUTED
  handle->bnum  = 0;                                                  
 201bea0:	c0 27 bf f8 	clr  [ %fp + -8 ]                              <== NOT EXECUTED
  handle->buffer = NULL;                                              
 201bea4:	c0 27 bf fc 	clr  [ %fp + -4 ]                              <== NOT EXECUTED
 201bea8:	7f ff d4 e4 	call  2011238 <rtems_rfs_trace>                <== NOT EXECUTED
 201beac:	92 10 20 01 	mov  1, %o1                                    <== NOT EXECUTED
 201beb0:	80 8a 20 ff 	btst  0xff, %o0                                <== NOT EXECUTED
 201beb4:	02 80 00 55 	be  201c008 <rtems_rfs_fs_open+0x670>          <== NOT EXECUTED
 201beb8:	01 00 00 00 	nop                                            <== NOT EXECUTED
      printf ("rtems-rfs: read-superblock: invalid superblock block size%d: %s\n",
 201bebc:	40 00 0f f6 	call  201fe94 <strerror>                       <== NOT EXECUTED
 201bec0:	90 10 00 1a 	mov  %i2, %o0                                  <== NOT EXECUTED
 201bec4:	94 10 00 08 	mov  %o0, %o2                                  <== NOT EXECUTED
 201bec8:	11 00 80 c1 	sethi  %hi(0x2030400), %o0                     <== NOT EXECUTED
 201becc:	90 12 21 f8 	or  %o0, 0x1f8, %o0	! 20305f8 <CSWTCH.1+0x11f8><== NOT EXECUTED
 201bed0:	40 00 0c be 	call  201f1c8 <printf>                         <== NOT EXECUTED
 201bed4:	92 10 00 1a 	mov  %i2, %o1                                  <== NOT EXECUTED
 201bed8:	30 80 00 4c 	b,a   201c008 <rtems_rfs_fs_open+0x670>        <== NOT EXECUTED
              rc, strerror (rc));                                     
    return rc;                                                        
  }                                                                   
                                                                      
  fs->groups = calloc (fs->group_count, sizeof (rtems_rfs_group));    
 201bedc:	d0 06 20 20 	ld  [ %i0 + 0x20 ], %o0                        
 201bee0:	7f ff a6 30 	call  20057a0 <calloc>                         
 201bee4:	92 10 20 50 	mov  0x50, %o1                                 
 201bee8:	d0 26 20 1c 	st  %o0, [ %i0 + 0x1c ]                        
                                                                      
  if (!fs->groups)                                                    
 201beec:	b8 10 20 00 	clr  %i4                                       
 201bef0:	80 a2 20 00 	cmp  %o0, 0                                    
 201bef4:	12 80 00 3f 	bne  201bff0 <rtems_rfs_fs_open+0x658>         <== ALWAYS TAKEN
 201bef8:	ba 10 20 00 	clr  %i5                                       
 */                                                                   
static inline int                                                     
rtems_rfs_buffer_handle_close (rtems_rfs_file_system*   fs,           
                               rtems_rfs_buffer_handle* handle)       
{                                                                     
  rtems_rfs_buffer_handle_release (fs, handle);                       
 201befc:	92 07 bf f4 	add  %fp, -12, %o1                             <== NOT EXECUTED
 201bf00:	7f ff f4 7c 	call  20190f0 <rtems_rfs_buffer_handle_release><== NOT EXECUTED
 201bf04:	90 10 00 18 	mov  %i0, %o0                                  <== NOT EXECUTED
  {                                                                   
    rtems_rfs_buffer_handle_close (fs, &handle);                      
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_OPEN))                       
 201bf08:	90 10 20 00 	clr  %o0                                       <== NOT EXECUTED
  handle->dirty = false;                                              
 201bf0c:	c0 2f bf f4 	clrb  [ %fp + -12 ]                            <== NOT EXECUTED
  handle->bnum  = 0;                                                  
 201bf10:	c0 27 bf f8 	clr  [ %fp + -8 ]                              <== NOT EXECUTED
  handle->buffer = NULL;                                              
 201bf14:	c0 27 bf fc 	clr  [ %fp + -4 ]                              <== NOT EXECUTED
 201bf18:	92 10 20 01 	mov  1, %o1                                    <== NOT EXECUTED
 201bf1c:	7f ff d4 c7 	call  2011238 <rtems_rfs_trace>                <== NOT EXECUTED
 201bf20:	b4 10 20 0c 	mov  0xc, %i2                                  <== NOT EXECUTED
 201bf24:	80 8a 20 ff 	btst  0xff, %o0                                <== NOT EXECUTED
 201bf28:	02 80 00 38 	be  201c008 <rtems_rfs_fs_open+0x670>          <== NOT EXECUTED
 201bf2c:	11 00 80 c1 	sethi  %hi(0x2030400), %o0                     <== NOT EXECUTED
      printf ("rtems-rfs: read-superblock: no memory for group table\n");
 201bf30:	90 12 22 40 	or  %o0, 0x240, %o0	! 2030640 <CSWTCH.1+0x1240><== NOT EXECUTED
 201bf34:	40 00 0c e6 	call  201f2cc <puts>                           <== NOT EXECUTED
 201bf38:	01 00 00 00 	nop                                            <== NOT EXECUTED
 201bf3c:	30 80 00 33 	b,a   201c008 <rtems_rfs_fs_open+0x670>        <== NOT EXECUTED
   * close everything.                                                
   */                                                                 
  for (group = 0; group < fs->group_count; group++)                   
  {                                                                   
    rc = rtems_rfs_group_open (fs,                                    
                               rtems_rfs_fs_block (fs, group, 0),     
 201bf40:	90 10 00 1d 	mov  %i5, %o0                                  
 201bf44:	40 00 3c 38 	call  202b024 <.umul>                          
 201bf48:	92 10 00 1a 	mov  %i2, %o1                                  
   * know how far the initialisation has gone if an error occurs and we need to
   * close everything.                                                
   */                                                                 
  for (group = 0; group < fs->group_count; group++)                   
  {                                                                   
    rc = rtems_rfs_group_open (fs,                                    
 201bf4c:	d8 06 20 1c 	ld  [ %i0 + 0x1c ], %o4                        
 201bf50:	d6 06 20 28 	ld  [ %i0 + 0x28 ], %o3                        
                               rtems_rfs_fs_block (fs, group, 0),     
 201bf54:	92 02 20 01 	add  %o0, 1, %o1                               
   * know how far the initialisation has gone if an error occurs and we need to
   * close everything.                                                
   */                                                                 
  for (group = 0; group < fs->group_count; group++)                   
  {                                                                   
    rc = rtems_rfs_group_open (fs,                                    
 201bf58:	94 10 00 1a 	mov  %i2, %o2                                  
 201bf5c:	98 03 00 1c 	add  %o4, %i4, %o4                             
 201bf60:	90 10 00 18 	mov  %i0, %o0                                  
 201bf64:	7f ff cb 0b 	call  200eb90 <rtems_rfs_group_open>           
 201bf68:	b8 07 20 50 	add  %i4, 0x50, %i4                            
                               rtems_rfs_fs_block (fs, group, 0),     
                               fs->group_blocks,                      
                               fs->group_inodes,                      
                               &fs->groups[group]);                   
    if (rc > 0)                                                       
 201bf6c:	80 a2 20 00 	cmp  %o0, 0                                    
 201bf70:	04 80 00 1f 	ble  201bfec <rtems_rfs_fs_open+0x654>         <== ALWAYS TAKEN
 201bf74:	b4 10 00 08 	mov  %o0, %i2                                  
 201bf78:	b2 10 20 00 	clr  %i1                                       <== NOT EXECUTED
 201bf7c:	10 80 00 07 	b  201bf98 <rtems_rfs_fs_open+0x600>           <== NOT EXECUTED
 201bf80:	b8 10 20 00 	clr  %i4                                       <== NOT EXECUTED
    {                                                                 
      int g;                                                          
      for (g = 0; g < group; g++)                                     
        rtems_rfs_group_close (fs, &fs->groups[g]);                   
 201bf84:	90 10 00 18 	mov  %i0, %o0                                  <== NOT EXECUTED
 201bf88:	92 02 40 19 	add  %o1, %i1, %o1                             <== NOT EXECUTED
 201bf8c:	7f ff cb 80 	call  200ed8c <rtems_rfs_group_close>          <== NOT EXECUTED
 201bf90:	b8 07 20 01 	inc  %i4                                       <== NOT EXECUTED
                               fs->group_inodes,                      
                               &fs->groups[group]);                   
    if (rc > 0)                                                       
    {                                                                 
      int g;                                                          
      for (g = 0; g < group; g++)                                     
 201bf94:	b2 06 60 50 	add  %i1, 0x50, %i1                            <== NOT EXECUTED
 201bf98:	80 a7 00 1d 	cmp  %i4, %i5                                  <== NOT EXECUTED
 201bf9c:	26 bf ff fa 	bl,a   201bf84 <rtems_rfs_fs_open+0x5ec>       <== NOT EXECUTED
 201bfa0:	d2 06 20 1c 	ld  [ %i0 + 0x1c ], %o1                        <== NOT EXECUTED
 */                                                                   
static inline int                                                     
rtems_rfs_buffer_handle_close (rtems_rfs_file_system*   fs,           
                               rtems_rfs_buffer_handle* handle)       
{                                                                     
  rtems_rfs_buffer_handle_release (fs, handle);                       
 201bfa4:	92 07 bf f4 	add  %fp, -12, %o1                             <== NOT EXECUTED
 201bfa8:	7f ff f4 52 	call  20190f0 <rtems_rfs_buffer_handle_release><== NOT EXECUTED
 201bfac:	90 10 00 18 	mov  %i0, %o0                                  <== NOT EXECUTED
        rtems_rfs_group_close (fs, &fs->groups[g]);                   
      rtems_rfs_buffer_handle_close (fs, &handle);                    
      if (rtems_rfs_trace (RTEMS_RFS_TRACE_OPEN))                     
 201bfb0:	90 10 20 00 	clr  %o0                                       <== NOT EXECUTED
  handle->dirty = false;                                              
 201bfb4:	c0 2f bf f4 	clrb  [ %fp + -12 ]                            <== NOT EXECUTED
  handle->bnum  = 0;                                                  
 201bfb8:	c0 27 bf f8 	clr  [ %fp + -8 ]                              <== NOT EXECUTED
  handle->buffer = NULL;                                              
 201bfbc:	c0 27 bf fc 	clr  [ %fp + -4 ]                              <== NOT EXECUTED
 201bfc0:	7f ff d4 9e 	call  2011238 <rtems_rfs_trace>                <== NOT EXECUTED
 201bfc4:	92 10 20 01 	mov  1, %o1                                    <== NOT EXECUTED
 201bfc8:	80 8a 20 ff 	btst  0xff, %o0                                <== NOT EXECUTED
 201bfcc:	02 80 00 0f 	be  201c008 <rtems_rfs_fs_open+0x670>          <== NOT EXECUTED
 201bfd0:	01 00 00 00 	nop                                            <== NOT EXECUTED
        printf ("rtems-rfs: read-superblock: no memory for group table%d: %s\n",
 201bfd4:	40 00 0f b0 	call  201fe94 <strerror>                       <== NOT EXECUTED
 201bfd8:	90 10 00 1a 	mov  %i2, %o0                                  <== NOT EXECUTED
 201bfdc:	94 10 00 08 	mov  %o0, %o2                                  <== NOT EXECUTED
 201bfe0:	11 00 80 c1 	sethi  %hi(0x2030400), %o0                     <== NOT EXECUTED
 201bfe4:	10 bf ff bb 	b  201bed0 <rtems_rfs_fs_open+0x538>           <== NOT EXECUTED
 201bfe8:	90 12 22 78 	or  %o0, 0x278, %o0	! 2030678 <CSWTCH.1+0x1278><== NOT EXECUTED
  /*                                                                  
   * Perform each phase of group initialisation at the same time. This way we
   * know how far the initialisation has gone if an error occurs and we need to
   * close everything.                                                
   */                                                                 
  for (group = 0; group < fs->group_count; group++)                   
 201bfec:	ba 07 60 01 	inc  %i5                                       
 201bff0:	c2 06 20 20 	ld  [ %i0 + 0x20 ], %g1                        
 201bff4:	80 a7 40 01 	cmp  %i5, %g1                                  
 201bff8:	26 bf ff d2 	bl,a   201bf40 <rtems_rfs_fs_open+0x5a8>       
 201bffc:	f4 06 20 24 	ld  [ %i0 + 0x24 ], %i2                        
              rc, strerror (rc));                                     
    errno = rc;                                                       
    return -1;                                                        
  }                                                                   
                                                                      
  rc = rtems_rfs_inode_open (*fs, RTEMS_RFS_ROOT_INO, &inode, true);  
 201c000:	10 80 00 6d 	b  201c1b4 <rtems_rfs_fs_open+0x81c>           
 201c004:	d0 06 c0 00 	ld  [ %i3 ], %o0                               
  }                                                                   
                                                                      
  rc = rtems_rfs_fs_read_superblock (*fs);                            
  if (rc > 0)                                                         
  {                                                                   
    rtems_rfs_buffer_close (*fs);                                     
 201c008:	7f ff f6 24 	call  2019898 <rtems_rfs_buffer_close>         <== NOT EXECUTED
 201c00c:	d0 06 c0 00 	ld  [ %i3 ], %o0                               <== NOT EXECUTED
    free (*fs);                                                       
 201c010:	7f ff a7 17 	call  2005c6c <free>                           <== NOT EXECUTED
 201c014:	d0 06 c0 00 	ld  [ %i3 ], %o0                               <== NOT EXECUTED
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_OPEN))                       
 201c018:	90 10 20 00 	clr  %o0                                       <== NOT EXECUTED
 201c01c:	7f ff d4 87 	call  2011238 <rtems_rfs_trace>                <== NOT EXECUTED
 201c020:	92 10 20 01 	mov  1, %o1                                    <== NOT EXECUTED
 201c024:	80 8a 20 ff 	btst  0xff, %o0                                <== NOT EXECUTED
 201c028:	02 80 00 09 	be  201c04c <rtems_rfs_fs_open+0x6b4>          <== NOT EXECUTED
 201c02c:	01 00 00 00 	nop                                            <== NOT EXECUTED
      printf ("rtems-rfs: open: reading superblock: %d: %s\n",        
 201c030:	40 00 0f 99 	call  201fe94 <strerror>                       <== NOT EXECUTED
 201c034:	90 10 00 1a 	mov  %i2, %o0                                  <== NOT EXECUTED
 201c038:	92 10 00 1a 	mov  %i2, %o1                                  <== NOT EXECUTED
 201c03c:	94 10 00 08 	mov  %o0, %o2                                  <== NOT EXECUTED
 201c040:	11 00 80 c1 	sethi  %hi(0x2030400), %o0                     <== NOT EXECUTED
 201c044:	40 00 0c 61 	call  201f1c8 <printf>                         <== NOT EXECUTED
 201c048:	90 12 22 b8 	or  %o0, 0x2b8, %o0	! 20306b8 <CSWTCH.1+0x12b8><== NOT EXECUTED
              rc, strerror (rc));                                     
    errno = rc;                                                       
 201c04c:	40 00 08 f7 	call  201e428 <__errno>                        <== NOT EXECUTED
 201c050:	b0 10 3f ff 	mov  -1, %i0                                   <== NOT EXECUTED
 201c054:	f4 22 00 00 	st  %i2, [ %o0 ]                               <== NOT EXECUTED
 201c058:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 201c05c:	81 e8 00 00 	restore                                        <== NOT EXECUTED
  }                                                                   
                                                                      
  rc = rtems_rfs_inode_open (*fs, RTEMS_RFS_ROOT_INO, &inode, true);  
  if (rc > 0)                                                         
  {                                                                   
    rtems_rfs_buffer_close (*fs);                                     
 201c060:	7f ff f6 0e 	call  2019898 <rtems_rfs_buffer_close>         <== NOT EXECUTED
 201c064:	d0 06 c0 00 	ld  [ %i3 ], %o0                               <== NOT EXECUTED
    free (*fs);                                                       
 201c068:	7f ff a7 01 	call  2005c6c <free>                           <== NOT EXECUTED
 201c06c:	d0 06 c0 00 	ld  [ %i3 ], %o0                               <== NOT EXECUTED
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_OPEN))                       
 201c070:	90 10 20 00 	clr  %o0                                       <== NOT EXECUTED
 201c074:	7f ff d4 71 	call  2011238 <rtems_rfs_trace>                <== NOT EXECUTED
 201c078:	92 10 20 01 	mov  1, %o1                                    <== NOT EXECUTED
 201c07c:	80 8a 20 ff 	btst  0xff, %o0                                <== NOT EXECUTED
 201c080:	02 80 00 43 	be  201c18c <rtems_rfs_fs_open+0x7f4>          <== NOT EXECUTED
 201c084:	01 00 00 00 	nop                                            <== NOT EXECUTED
      printf ("rtems-rfs: open: reading root inode: %d: %s\n",        
 201c088:	40 00 0f 83 	call  201fe94 <strerror>                       <== NOT EXECUTED
 201c08c:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
 201c090:	94 10 00 08 	mov  %o0, %o2                                  <== NOT EXECUTED
 201c094:	11 00 80 c1 	sethi  %hi(0x2030400), %o0                     <== NOT EXECUTED
 201c098:	10 80 00 3b 	b  201c184 <rtems_rfs_fs_open+0x7ec>           <== NOT EXECUTED
 201c09c:	90 12 22 e8 	or  %o0, 0x2e8, %o0	! 20306e8 <CSWTCH.1+0x12e8><== NOT EXECUTED
              rc, strerror (rc));                                     
    errno = rc;                                                       
    return -1;                                                        
  }                                                                   
                                                                      
  if (((*fs)->flags & RTEMS_RFS_FS_FORCE_OPEN) == 0)                  
 201c0a0:	c2 02 00 00 	ld  [ %o0 ], %g1                               
 201c0a4:	80 88 60 04 	btst  4, %g1                                   
 201c0a8:	12 80 00 23 	bne  201c134 <rtems_rfs_fs_open+0x79c>         
 201c0ac:	c4 07 bf d8 	ld  [ %fp + -40 ], %g2                         
 * @return uint16_t The mode.                                         
 */                                                                   
static inline uint16_t                                                
rtems_rfs_inode_get_mode (rtems_rfs_inode_handle* handle)             
{                                                                     
  return rtems_rfs_read_u16 (&handle->node->mode);                    
 201c0b0:	c2 08 a0 02 	ldub  [ %g2 + 2 ], %g1                         
  {                                                                   
    mode = rtems_rfs_inode_get_mode (&inode);                         
                                                                      
    if ((mode == 0xffff) || !RTEMS_RFS_S_ISDIR (mode))                
 201c0b4:	c4 08 a0 03 	ldub  [ %g2 + 3 ], %g2                         
 201c0b8:	83 28 60 08 	sll  %g1, 8, %g1                               
 201c0bc:	82 10 80 01 	or  %g2, %g1, %g1                              
 201c0c0:	05 00 00 3f 	sethi  %hi(0xfc00), %g2                        
 201c0c4:	84 10 a3 ff 	or  %g2, 0x3ff, %g2	! ffff <PROM_START+0xffff> 
 201c0c8:	80 a0 40 02 	cmp  %g1, %g2                                  
 201c0cc:	02 80 00 07 	be  201c0e8 <rtems_rfs_fs_open+0x750>          <== NEVER TAKEN
 201c0d0:	05 00 00 3c 	sethi  %hi(0xf000), %g2                        
 201c0d4:	82 08 40 02 	and  %g1, %g2, %g1                             
 201c0d8:	05 00 00 10 	sethi  %hi(0x4000), %g2                        
 201c0dc:	80 a0 40 02 	cmp  %g1, %g2                                  
 201c0e0:	02 80 00 15 	be  201c134 <rtems_rfs_fs_open+0x79c>          <== ALWAYS TAKEN
 201c0e4:	01 00 00 00 	nop                                            
    {                                                                 
      rtems_rfs_inode_close (*fs, &inode);                            
 201c0e8:	7f ff cd 0e 	call  200f520 <rtems_rfs_inode_close>          <== NOT EXECUTED
 201c0ec:	92 07 bf cc 	add  %fp, -52, %o1                             <== NOT EXECUTED
      rtems_rfs_buffer_close (*fs);                                   
 201c0f0:	7f ff f5 ea 	call  2019898 <rtems_rfs_buffer_close>         <== NOT EXECUTED
 201c0f4:	d0 06 c0 00 	ld  [ %i3 ], %o0                               <== NOT EXECUTED
      free (*fs);                                                     
 201c0f8:	7f ff a6 dd 	call  2005c6c <free>                           <== NOT EXECUTED
 201c0fc:	d0 06 c0 00 	ld  [ %i3 ], %o0                               <== NOT EXECUTED
      if (rtems_rfs_trace (RTEMS_RFS_TRACE_OPEN))                     
 201c100:	90 10 20 00 	clr  %o0                                       <== NOT EXECUTED
 201c104:	7f ff d4 4d 	call  2011238 <rtems_rfs_trace>                <== NOT EXECUTED
 201c108:	92 10 20 01 	mov  1, %o1                                    <== NOT EXECUTED
 201c10c:	80 8a 20 ff 	btst  0xff, %o0                                <== NOT EXECUTED
 201c110:	02 80 00 04 	be  201c120 <rtems_rfs_fs_open+0x788>          <== NOT EXECUTED
 201c114:	11 00 80 c1 	sethi  %hi(0x2030400), %o0                     <== NOT EXECUTED
        printf ("rtems-rfs: open: invalid root inode mode\n");        
 201c118:	40 00 0c 6d 	call  201f2cc <puts>                           <== NOT EXECUTED
 201c11c:	90 12 23 18 	or  %o0, 0x318, %o0	! 2030718 <CSWTCH.1+0x1318><== NOT EXECUTED
      errno = EIO;                                                    
 201c120:	40 00 08 c2 	call  201e428 <__errno>                        <== NOT EXECUTED
 201c124:	01 00 00 00 	nop                                            <== NOT EXECUTED
 201c128:	82 10 20 05 	mov  5, %g1	! 5 <PROM_START+0x5>               <== NOT EXECUTED
 201c12c:	10 80 00 1b 	b  201c198 <rtems_rfs_fs_open+0x800>           <== NOT EXECUTED
 201c130:	c2 22 00 00 	st  %g1, [ %o0 ]                               <== NOT EXECUTED
      return -1;                                                      
    }                                                                 
  }                                                                   
                                                                      
  rc = rtems_rfs_inode_close (*fs, &inode);                           
 201c134:	7f ff cc fb 	call  200f520 <rtems_rfs_inode_close>          
 201c138:	92 07 bf cc 	add  %fp, -52, %o1                             
  if (rc > 0)                                                         
 201c13c:	ba 92 20 00 	orcc  %o0, 0, %i5                              
 201c140:	04 80 00 18 	ble  201c1a0 <rtems_rfs_fs_open+0x808>         <== ALWAYS TAKEN
 201c144:	01 00 00 00 	nop                                            
  {                                                                   
    rtems_rfs_buffer_close (*fs);                                     
 201c148:	7f ff f5 d4 	call  2019898 <rtems_rfs_buffer_close>         <== NOT EXECUTED
 201c14c:	d0 06 c0 00 	ld  [ %i3 ], %o0                               <== NOT EXECUTED
    free (*fs);                                                       
 201c150:	7f ff a6 c7 	call  2005c6c <free>                           <== NOT EXECUTED
 201c154:	d0 06 c0 00 	ld  [ %i3 ], %o0                               <== NOT EXECUTED
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_OPEN))                       
 201c158:	90 10 20 00 	clr  %o0                                       <== NOT EXECUTED
 201c15c:	7f ff d4 37 	call  2011238 <rtems_rfs_trace>                <== NOT EXECUTED
 201c160:	92 10 20 01 	mov  1, %o1                                    <== NOT EXECUTED
 201c164:	80 8a 20 ff 	btst  0xff, %o0                                <== NOT EXECUTED
 201c168:	02 80 00 09 	be  201c18c <rtems_rfs_fs_open+0x7f4>          <== NOT EXECUTED
 201c16c:	01 00 00 00 	nop                                            <== NOT EXECUTED
      printf ("rtems-rfs: open: closing root inode: %d: %s\n", rc, strerror (rc));
 201c170:	40 00 0f 49 	call  201fe94 <strerror>                       <== NOT EXECUTED
 201c174:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
 201c178:	94 10 00 08 	mov  %o0, %o2                                  <== NOT EXECUTED
 201c17c:	11 00 80 c1 	sethi  %hi(0x2030400), %o0                     <== NOT EXECUTED
 201c180:	90 12 23 48 	or  %o0, 0x348, %o0	! 2030748 <CSWTCH.1+0x1348><== NOT EXECUTED
 201c184:	40 00 0c 11 	call  201f1c8 <printf>                         <== NOT EXECUTED
 201c188:	92 10 00 1d 	mov  %i5, %o1                                  <== NOT EXECUTED
    errno = rc;                                                       
 201c18c:	40 00 08 a7 	call  201e428 <__errno>                        <== NOT EXECUTED
 201c190:	01 00 00 00 	nop                                            <== NOT EXECUTED
 201c194:	fa 22 00 00 	st  %i5, [ %o0 ]                               <== NOT EXECUTED
    return -1;                                                        
 201c198:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 201c19c:	91 e8 3f ff 	restore  %g0, -1, %o0                          <== NOT EXECUTED
  }                                                                   
                                                                      
  errno = 0;                                                          
 201c1a0:	40 00 08 a2 	call  201e428 <__errno>                        
 201c1a4:	b0 10 20 00 	clr  %i0                                       
 201c1a8:	c0 22 00 00 	clr  [ %o0 ]                                   
  return 0;                                                           
}                                                                     
 201c1ac:	81 c7 e0 08 	ret                                            
 201c1b0:	81 e8 00 00 	restore                                        
              rc, strerror (rc));                                     
    errno = rc;                                                       
    return -1;                                                        
  }                                                                   
                                                                      
  rc = rtems_rfs_inode_open (*fs, RTEMS_RFS_ROOT_INO, &inode, true);  
 201c1b4:	92 10 20 01 	mov  1, %o1                                    
 201c1b8:	94 07 bf cc 	add  %fp, -52, %o2                             
 201c1bc:	7f ff cc 67 	call  200f358 <rtems_rfs_inode_open>           
 201c1c0:	96 10 20 01 	mov  1, %o3                                    
  if (rc > 0)                                                         
 201c1c4:	ba 92 20 00 	orcc  %o0, 0, %i5                              
 201c1c8:	24 bf ff b6 	ble,a   201c0a0 <rtems_rfs_fs_open+0x708>      <== ALWAYS TAKEN
 201c1cc:	d0 06 c0 00 	ld  [ %i3 ], %o0                               
 201c1d0:	30 bf ff a4 	b,a   201c060 <rtems_rfs_fs_open+0x6c8>        <== NOT EXECUTED
                                                                      

0201b94c <rtems_rfs_fs_size>: #include <rtems/rfs/rtems-rfs-inode.h> #include <rtems/rfs/rtems-rfs-trace.h> uint64_t rtems_rfs_fs_size (rtems_rfs_file_system* fs) {
 201b94c:	9d e3 bf a0 	save  %sp, -96, %sp                            <== NOT EXECUTED
  uint64_t blocks = rtems_rfs_fs_blocks (fs);                         
  uint64_t block_size = rtems_rfs_fs_block_size (fs);                 
  return blocks * block_size;                                         
 201b950:	d2 06 20 08 	ld  [ %i0 + 8 ], %o1                           <== NOT EXECUTED
 201b954:	d6 06 20 04 	ld  [ %i0 + 4 ], %o3                           <== NOT EXECUTED
 201b958:	94 10 20 00 	clr  %o2                                       <== NOT EXECUTED
 201b95c:	40 00 3f 44 	call  202b66c <__muldi3>                       <== NOT EXECUTED
 201b960:	90 10 20 00 	clr  %o0                                       <== NOT EXECUTED
}                                                                     
 201b964:	b0 10 00 08 	mov  %o0, %i0                                  <== NOT EXECUTED
 201b968:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 201b96c:	93 e8 00 09 	restore  %g0, %o1, %o1                         <== NOT EXECUTED
                                                                      

0200ee1c <rtems_rfs_group_bitmap_alloc>: int rtems_rfs_group_bitmap_alloc (rtems_rfs_file_system* fs, rtems_rfs_bitmap_bit goal, bool inode, rtems_rfs_bitmap_bit* result) {
 200ee1c:	9d e3 bf 98 	save  %sp, -104, %sp                           
  rtems_rfs_bitmap_bit bit;                                           
  int                  offset;                                        
  bool                 updown;                                        
  int                  direction;                                     
                                                                      
  if (inode)                                                          
 200ee20:	80 a6 a0 00 	cmp  %i2, 0                                    
 200ee24:	02 80 00 05 	be  200ee38 <rtems_rfs_group_bitmap_alloc+0x1c>
 200ee28:	ba 10 00 18 	mov  %i0, %i5                                  
  {                                                                   
    size = fs->group_inodes;                                          
 200ee2c:	e4 06 20 28 	ld  [ %i0 + 0x28 ], %l2                        
    goal -= RTEMS_RFS_ROOT_INO;                                       
 200ee30:	10 80 00 03 	b  200ee3c <rtems_rfs_group_bitmap_alloc+0x20> 
 200ee34:	b2 06 7f ff 	add  %i1, -1, %i1                              
  }                                                                   
  else                                                                
    size = fs->group_blocks;                                          
 200ee38:	e4 06 20 24 	ld  [ %i0 + 0x24 ], %l2                        
                                                                      
  group_start = goal / size;                                          
 200ee3c:	90 10 00 19 	mov  %i1, %o0                                  
 200ee40:	40 00 70 b3 	call  202b10c <.udiv>                          
 200ee44:	92 10 00 12 	mov  %l2, %o1                                  
  bit = (rtems_rfs_bitmap_bit) (goal % size);                         
 200ee48:	92 10 00 12 	mov  %l2, %o1                                  
    goal -= RTEMS_RFS_ROOT_INO;                                       
  }                                                                   
  else                                                                
    size = fs->group_blocks;                                          
                                                                      
  group_start = goal / size;                                          
 200ee4c:	a8 10 00 08 	mov  %o0, %l4                                  
  bit = (rtems_rfs_bitmap_bit) (goal % size);                         
  offset = 0;                                                         
  updown = true;                                                      
 200ee50:	a2 10 20 01 	mov  1, %l1                                    
  }                                                                   
  else                                                                
    size = fs->group_blocks;                                          
                                                                      
  group_start = goal / size;                                          
  bit = (rtems_rfs_bitmap_bit) (goal % size);                         
 200ee54:	90 10 00 19 	mov  %i1, %o0                                  
 200ee58:	40 00 71 59 	call  202b3bc <.urem>                          
 200ee5c:	a0 10 20 00 	clr  %l0                                       
  offset = 0;                                                         
  updown = true;                                                      
  direction = 1;                                                      
 200ee60:	b2 10 20 01 	mov  1, %i1                                    
  }                                                                   
  else                                                                
    size = fs->group_blocks;                                          
                                                                      
  group_start = goal / size;                                          
  bit = (rtems_rfs_bitmap_bit) (goal % size);                         
 200ee64:	10 80 00 03 	b  200ee70 <rtems_rfs_group_bitmap_alloc+0x54> 
 200ee68:	d0 27 bf f8 	st  %o0, [ %fp + -8 ]                          
    if ((group < 0) || (group >= fs->group_count))                    
    {                                                                 
      if (!updown)                                                    
        break;                                                        
      direction = direction > 0 ? -1 : 1;                             
      updown = false;                                                 
 200ee6c:	a2 10 20 00 	clr  %l1                                       <== NOT EXECUTED
   */                                                                 
  while (true)                                                        
  {                                                                   
    rtems_rfs_bitmap_control* bitmap;                                 
    int                       group;                                  
    bool                      allocated = false;                      
 200ee70:	c0 2f bf ff 	clrb  [ %fp + -1 ]                             
                                                                      
    /*                                                                
     * We can start at any location and we move out from that point in each
     * direction. The offset grows until we find a free bit or we hit an end.
     */                                                               
    group = group_start + (direction * offset);                       
 200ee74:	90 10 00 19 	mov  %i1, %o0                                  
 200ee78:	40 00 70 6b 	call  202b024 <.umul>                          
 200ee7c:	92 10 00 10 	mov  %l0, %o1                                  
    if (offset)                                                       
 200ee80:	80 a4 20 00 	cmp  %l0, 0                                    
 200ee84:	02 80 00 07 	be  200eea0 <rtems_rfs_group_bitmap_alloc+0x84><== ALWAYS TAKEN
 200ee88:	b8 05 00 08 	add  %l4, %o0, %i4                             
      bit = direction > 0 ? 0 : size - 1;                             
 200ee8c:	80 a6 60 01 	cmp  %i1, 1                                    <== NOT EXECUTED
 200ee90:	02 80 00 03 	be  200ee9c <rtems_rfs_group_bitmap_alloc+0x80><== NOT EXECUTED
 200ee94:	82 10 20 00 	clr  %g1                                       <== NOT EXECUTED
 200ee98:	82 04 bf ff 	add  %l2, -1, %g1                              <== NOT EXECUTED
 200ee9c:	c2 27 bf f8 	st  %g1, [ %fp + -8 ]                          <== NOT EXECUTED
    /*                                                                
     * If we are still looking up and down and if the group is out of range we
     * have reached one end. Stopping looking up and down and just move in the
     * one direction one group at a time.                             
     */                                                               
    if ((group < 0) || (group >= fs->group_count))                    
 200eea0:	80 a7 20 00 	cmp  %i4, 0                                    
 200eea4:	06 80 00 07 	bl  200eec0 <rtems_rfs_group_bitmap_alloc+0xa4><== NEVER TAKEN
 200eea8:	80 8c 60 ff 	btst  0xff, %l1                                
 200eeac:	c2 07 60 20 	ld  [ %i5 + 0x20 ], %g1                        
 200eeb0:	80 a7 00 01 	cmp  %i4, %g1                                  
 200eeb4:	26 80 00 09 	bl,a   200eed8 <rtems_rfs_group_bitmap_alloc+0xbc><== ALWAYS TAKEN
 200eeb8:	c2 07 60 1c 	ld  [ %i5 + 0x1c ], %g1                        
    {                                                                 
      if (!updown)                                                    
 200eebc:	80 8c 60 ff 	btst  0xff, %l1                                <== NOT EXECUTED
 200eec0:	02 80 00 4c 	be  200eff0 <rtems_rfs_group_bitmap_alloc+0x1d4><== NOT EXECUTED
 200eec4:	80 a6 60 01 	cmp  %i1, 1                                    <== NOT EXECUTED
        break;                                                        
      direction = direction > 0 ? -1 : 1;                             
 200eec8:	22 bf ff e9 	be,a   200ee6c <rtems_rfs_group_bitmap_alloc+0x50><== NOT EXECUTED
 200eecc:	b2 10 3f ff 	mov  -1, %i1                                   <== NOT EXECUTED
 200eed0:	10 bf ff e7 	b  200ee6c <rtems_rfs_group_bitmap_alloc+0x50> <== NOT EXECUTED
 200eed4:	b2 10 20 01 	mov  1, %i1                                    <== NOT EXECUTED
 200eed8:	a7 2f 20 04 	sll  %i4, 4, %l3                               
 200eedc:	85 2f 20 06 	sll  %i4, 6, %g2                               
      updown = false;                                                 
      continue;                                                       
    }                                                                 
                                                                      
   if (inode)                                                         
 200eee0:	80 a6 a0 00 	cmp  %i2, 0                                    
      bitmap = &fs->groups[group].inode_bitmap;                       
 200eee4:	a6 04 c0 02 	add  %l3, %g2, %l3                             
      direction = direction > 0 ? -1 : 1;                             
      updown = false;                                                 
      continue;                                                       
    }                                                                 
                                                                      
   if (inode)                                                         
 200eee8:	02 80 00 04 	be  200eef8 <rtems_rfs_group_bitmap_alloc+0xdc>
 200eeec:	a6 00 40 13 	add  %g1, %l3, %l3                             
      bitmap = &fs->groups[group].inode_bitmap;                       
 200eef0:	10 80 00 03 	b  200eefc <rtems_rfs_group_bitmap_alloc+0xe0> 
 200eef4:	a6 04 e0 2c 	add  %l3, 0x2c, %l3                            
    else                                                              
      bitmap = &fs->groups[group].block_bitmap;                       
 200eef8:	a6 04 e0 08 	add  %l3, 8, %l3                               
                                                                      
    rc = rtems_rfs_bitmap_map_alloc (bitmap, bit, &allocated, &bit);  
 200eefc:	d2 07 bf f8 	ld  [ %fp + -8 ], %o1                          
 200ef00:	90 10 00 13 	mov  %l3, %o0                                  
 200ef04:	94 07 bf ff 	add  %fp, -1, %o2                              
 200ef08:	40 00 23 78 	call  2017ce8 <rtems_rfs_bitmap_map_alloc>     
 200ef0c:	96 07 bf f8 	add  %fp, -8, %o3                              
    if (rc > 0)                                                       
 200ef10:	b0 92 20 00 	orcc  %o0, 0, %i0                              
 200ef14:	14 80 00 40 	bg  200f014 <rtems_rfs_group_bitmap_alloc+0x1f8><== NEVER TAKEN
 200ef18:	01 00 00 00 	nop                                            
      return rc;                                                      
                                                                      
    if (rtems_rfs_fs_release_bitmaps (fs))                            
 200ef1c:	c2 07 40 00 	ld  [ %i5 ], %g1                               
 200ef20:	80 88 60 01 	btst  1, %g1                                   
 200ef24:	12 80 00 06 	bne  200ef3c <rtems_rfs_group_bitmap_alloc+0x120><== NEVER TAKEN
 200ef28:	c2 0f bf ff 	ldub  [ %fp + -1 ], %g1                        
      rtems_rfs_bitmap_release_buffer (fs, bitmap);                   
 200ef2c:	d2 04 c0 00 	ld  [ %l3 ], %o1                               
 200ef30:	40 00 28 70 	call  20190f0 <rtems_rfs_buffer_handle_release>
 200ef34:	90 10 00 1d 	mov  %i5, %o0                                  
                                                                      
    if (allocated)                                                    
 200ef38:	c2 0f bf ff 	ldub  [ %fp + -1 ], %g1                        
 200ef3c:	80 a0 60 00 	cmp  %g1, 0                                    
 200ef40:	02 80 00 25 	be  200efd4 <rtems_rfs_group_bitmap_alloc+0x1b8><== NEVER TAKEN
 200ef44:	80 8c 60 ff 	btst  0xff, %l1                                
    {                                                                 
      if (inode)                                                      
 200ef48:	80 a6 a0 00 	cmp  %i2, 0                                    
 200ef4c:	02 80 00 08 	be  200ef6c <rtems_rfs_group_bitmap_alloc+0x150>
 200ef50:	f2 07 bf f8 	ld  [ %fp + -8 ], %i1                          
        *result = rtems_rfs_group_inode (fs, group, bit);             
 200ef54:	d2 07 60 28 	ld  [ %i5 + 0x28 ], %o1                        
 200ef58:	b2 06 60 01 	inc  %i1                                       
 200ef5c:	40 00 70 32 	call  202b024 <.umul>                          
 200ef60:	90 10 00 1c 	mov  %i4, %o0                                  
 200ef64:	10 80 00 08 	b  200ef84 <rtems_rfs_group_bitmap_alloc+0x168>
 200ef68:	b2 06 40 08 	add  %i1, %o0, %i1                             
      else                                                            
        *result = rtems_rfs_group_block (&fs->groups[group], bit);    
 200ef6c:	c2 07 60 1c 	ld  [ %i5 + 0x1c ], %g1                        
 200ef70:	85 2f 20 04 	sll  %i4, 4, %g2                               
 200ef74:	b9 2f 20 06 	sll  %i4, 6, %i4                               
 200ef78:	b8 00 80 1c 	add  %g2, %i4, %i4                             
 200ef7c:	c2 00 40 1c 	ld  [ %g1 + %i4 ], %g1                         
 200ef80:	b2 06 40 01 	add  %i1, %g1, %i1                             
 200ef84:	f2 26 c0 00 	st  %i1, [ %i3 ]                               
      if (rtems_rfs_trace (RTEMS_RFS_TRACE_GROUP_BITMAPS))            
 200ef88:	90 10 20 00 	clr  %o0                                       
 200ef8c:	13 00 00 80 	sethi  %hi(0x20000), %o1                       
 200ef90:	40 00 08 aa 	call  2011238 <rtems_rfs_trace>                
 200ef94:	b0 10 20 00 	clr  %i0                                       
 200ef98:	80 8a 20 ff 	btst  0xff, %o0                                
 200ef9c:	02 80 00 0c 	be  200efcc <rtems_rfs_group_bitmap_alloc+0x1b0><== ALWAYS TAKEN
 200efa0:	13 00 80 b9 	sethi  %hi(0x202e400), %o1                     
        printf ("rtems-rfs: group-bitmap-alloc: %s allocated: %" PRId32 "\n",
 200efa4:	80 a6 a0 00 	cmp  %i2, 0                                    <== NOT EXECUTED
 200efa8:	02 80 00 04 	be  200efb8 <rtems_rfs_group_bitmap_alloc+0x19c><== NOT EXECUTED
 200efac:	92 12 62 e0 	or  %o1, 0x2e0, %o1                            <== NOT EXECUTED
 200efb0:	13 00 80 b9 	sethi  %hi(0x202e400), %o1                     <== NOT EXECUTED
 200efb4:	92 12 62 d8 	or  %o1, 0x2d8, %o1	! 202e6d8 <ramdisk_ops+0xa1c><== NOT EXECUTED
 200efb8:	d4 06 c0 00 	ld  [ %i3 ], %o2                               <== NOT EXECUTED
 200efbc:	11 00 80 b9 	sethi  %hi(0x202e400), %o0                     <== NOT EXECUTED
                inode ? "inode" : "block", *result);                  
      return 0;                                                       
 200efc0:	b0 10 20 00 	clr  %i0                                       <== NOT EXECUTED
      if (inode)                                                      
        *result = rtems_rfs_group_inode (fs, group, bit);             
      else                                                            
        *result = rtems_rfs_group_block (&fs->groups[group], bit);    
      if (rtems_rfs_trace (RTEMS_RFS_TRACE_GROUP_BITMAPS))            
        printf ("rtems-rfs: group-bitmap-alloc: %s allocated: %" PRId32 "\n",
 200efc4:	40 00 40 81 	call  201f1c8 <printf>                         <== NOT EXECUTED
 200efc8:	90 12 22 e8 	or  %o0, 0x2e8, %o0                            <== NOT EXECUTED
 200efcc:	81 c7 e0 08 	ret                                            
 200efd0:	81 e8 00 00 	restore                                        
                inode ? "inode" : "block", *result);                  
      return 0;                                                       
    }                                                                 
                                                                      
    if (updown)                                                       
 200efd4:	02 bf ff a7 	be  200ee70 <rtems_rfs_group_bitmap_alloc+0x54><== NOT EXECUTED
 200efd8:	a0 04 20 01 	inc  %l0                                       <== NOT EXECUTED
      direction = direction > 0 ? -1 : 1;                             
 200efdc:	b2 1e 60 01 	xor  %i1, 1, %i1                               <== NOT EXECUTED
 200efe0:	80 a0 00 19 	cmp  %g0, %i1                                  <== NOT EXECUTED
 200efe4:	b2 40 3f ff 	addx  %g0, -1, %i1                             <== NOT EXECUTED
 200efe8:	10 bf ff a2 	b  200ee70 <rtems_rfs_group_bitmap_alloc+0x54> <== NOT EXECUTED
 200efec:	b2 16 60 01 	or  %i1, 1, %i1                                <== NOT EXECUTED
                                                                      
    offset++;                                                         
  }                                                                   
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_GROUP_BITMAPS))                
 200eff0:	90 10 20 00 	clr  %o0                                       <== NOT EXECUTED
 200eff4:	13 00 00 80 	sethi  %hi(0x20000), %o1                       <== NOT EXECUTED
 200eff8:	40 00 08 90 	call  2011238 <rtems_rfs_trace>                <== NOT EXECUTED
 200effc:	b0 10 20 1c 	mov  0x1c, %i0                                 <== NOT EXECUTED
 200f000:	80 8a 20 ff 	btst  0xff, %o0                                <== NOT EXECUTED
 200f004:	02 bf ff f2 	be  200efcc <rtems_rfs_group_bitmap_alloc+0x1b0><== NOT EXECUTED
 200f008:	11 00 80 b9 	sethi  %hi(0x202e400), %o0                     <== NOT EXECUTED
    printf ("rtems-rfs: group-bitmap-alloc: no blocks available\n");  
 200f00c:	40 00 40 b0 	call  201f2cc <puts>                           <== NOT EXECUTED
 200f010:	90 12 23 20 	or  %o0, 0x320, %o0	! 202e720 <ramdisk_ops+0xa64><== NOT EXECUTED
                                                                      
  return ENOSPC;                                                      
}                                                                     
 200f014:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 200f018:	81 e8 00 00 	restore                                        <== NOT EXECUTED
                                                                      

0200f01c <rtems_rfs_group_bitmap_free>: int rtems_rfs_group_bitmap_free (rtems_rfs_file_system* fs, bool inode, rtems_rfs_bitmap_bit no) {
 200f01c:	9d e3 bf a0 	save  %sp, -96, %sp                            
  unsigned int              group;                                    
  rtems_rfs_bitmap_bit      bit;                                      
  size_t                    size;                                     
  int                       rc;                                       
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_GROUP_BITMAPS))                
 200f020:	90 10 20 00 	clr  %o0                                       
 200f024:	13 00 00 80 	sethi  %hi(0x20000), %o1                       
 200f028:	40 00 08 84 	call  2011238 <rtems_rfs_trace>                
 200f02c:	ba 10 00 18 	mov  %i0, %i5                                  
 200f030:	80 8a 20 ff 	btst  0xff, %o0                                
 200f034:	02 80 00 0c 	be  200f064 <rtems_rfs_group_bitmap_free+0x48> <== ALWAYS TAKEN
 200f038:	80 a6 60 00 	cmp  %i1, 0                                    
    printf ("rtems-rfs: group-bitmap-free: %s free: %" PRId32 "\n",   
 200f03c:	13 00 80 b9 	sethi  %hi(0x202e400), %o1                     <== NOT EXECUTED
 200f040:	02 80 00 04 	be  200f050 <rtems_rfs_group_bitmap_free+0x34> <== NOT EXECUTED
 200f044:	92 12 62 e0 	or  %o1, 0x2e0, %o1	! 202e6e0 <ramdisk_ops+0xa24><== NOT EXECUTED
 200f048:	13 00 80 b9 	sethi  %hi(0x202e400), %o1                     <== NOT EXECUTED
 200f04c:	92 12 62 d8 	or  %o1, 0x2d8, %o1	! 202e6d8 <ramdisk_ops+0xa1c><== NOT EXECUTED
 200f050:	11 00 80 b9 	sethi  %hi(0x202e400), %o0                     <== NOT EXECUTED
 200f054:	94 10 00 1a 	mov  %i2, %o2                                  <== NOT EXECUTED
 200f058:	40 00 40 5c 	call  201f1c8 <printf>                         <== NOT EXECUTED
 200f05c:	90 12 23 58 	or  %o0, 0x358, %o0                            <== NOT EXECUTED
            inode ? "inode" : "block", no);                           
                                                                      
  if (inode)                                                          
 200f060:	80 a6 60 00 	cmp  %i1, 0                                    <== NOT EXECUTED
 200f064:	02 80 00 04 	be  200f074 <rtems_rfs_group_bitmap_free+0x58> <== NEVER TAKEN
 200f068:	b4 06 bf ff 	add  %i2, -1, %i2                              
  {                                                                   
    no -= RTEMS_RFS_ROOT_INO;                                         
    size = fs->group_inodes;                                          
 200f06c:	10 80 00 03 	b  200f078 <rtems_rfs_group_bitmap_free+0x5c>  
 200f070:	f8 07 60 28 	ld  [ %i5 + 0x28 ], %i4                        
  }                                                                   
  else                                                                
  {                                                                   
    no -= RTEMS_RFS_SUPERBLOCK_SIZE;                                  
    size = fs->group_blocks;                                          
 200f074:	f8 07 60 24 	ld  [ %i5 + 0x24 ], %i4                        <== NOT EXECUTED
  }                                                                   
                                                                      
  group = no / size;                                                  
 200f078:	90 10 00 1a 	mov  %i2, %o0                                  
 200f07c:	40 00 70 24 	call  202b10c <.udiv>                          
 200f080:	92 10 00 1c 	mov  %i4, %o1                                  
  bit = (rtems_rfs_bitmap_bit) (no % size);                           
 200f084:	92 10 00 1c 	mov  %i4, %o1                                  
  {                                                                   
    no -= RTEMS_RFS_SUPERBLOCK_SIZE;                                  
    size = fs->group_blocks;                                          
  }                                                                   
                                                                      
  group = no / size;                                                  
 200f088:	b6 10 00 08 	mov  %o0, %i3                                  
  bit = (rtems_rfs_bitmap_bit) (no % size);                           
 200f08c:	40 00 70 cc 	call  202b3bc <.urem>                          
 200f090:	90 10 00 1a 	mov  %i2, %o0                                  
 200f094:	c2 07 60 1c 	ld  [ %i5 + 0x1c ], %g1                        
 200f098:	b5 2e e0 04 	sll  %i3, 4, %i2                               
 200f09c:	92 10 00 08 	mov  %o0, %o1                                  
 200f0a0:	b7 2e e0 06 	sll  %i3, 6, %i3                               
                                                                      
  if (inode)                                                          
 200f0a4:	80 a6 60 00 	cmp  %i1, 0                                    
    bitmap = &fs->groups[group].inode_bitmap;                         
 200f0a8:	b4 06 80 1b 	add  %i2, %i3, %i2                             
  }                                                                   
                                                                      
  group = no / size;                                                  
  bit = (rtems_rfs_bitmap_bit) (no % size);                           
                                                                      
  if (inode)                                                          
 200f0ac:	02 80 00 04 	be  200f0bc <rtems_rfs_group_bitmap_free+0xa0> <== NEVER TAKEN
 200f0b0:	b4 00 40 1a 	add  %g1, %i2, %i2                             
    bitmap = &fs->groups[group].inode_bitmap;                         
 200f0b4:	10 80 00 03 	b  200f0c0 <rtems_rfs_group_bitmap_free+0xa4>  
 200f0b8:	b4 06 a0 2c 	add  %i2, 0x2c, %i2                            
  else                                                                
    bitmap = &fs->groups[group].block_bitmap;                         
 200f0bc:	b4 06 a0 08 	add  %i2, 8, %i2                               <== NOT EXECUTED
                                                                      
  rc = rtems_rfs_bitmap_map_clear (bitmap, bit);                      
 200f0c0:	40 00 22 7f 	call  2017abc <rtems_rfs_bitmap_map_clear>     
 200f0c4:	90 10 00 1a 	mov  %i2, %o0                                  
                                                                      
  rtems_rfs_bitmap_release_buffer (fs, bitmap);                       
 200f0c8:	d2 06 80 00 	ld  [ %i2 ], %o1                               
  if (inode)                                                          
    bitmap = &fs->groups[group].inode_bitmap;                         
  else                                                                
    bitmap = &fs->groups[group].block_bitmap;                         
                                                                      
  rc = rtems_rfs_bitmap_map_clear (bitmap, bit);                      
 200f0cc:	b0 10 00 08 	mov  %o0, %i0                                  
                                                                      
  rtems_rfs_bitmap_release_buffer (fs, bitmap);                       
 200f0d0:	40 00 28 08 	call  20190f0 <rtems_rfs_buffer_handle_release>
 200f0d4:	90 10 00 1d 	mov  %i5, %o0                                  
                                                                      
  return rc;                                                          
}                                                                     
 200f0d8:	81 c7 e0 08 	ret                                            
 200f0dc:	81 e8 00 00 	restore                                        
                                                                      

0200f0e0 <rtems_rfs_group_bitmap_test>: int rtems_rfs_group_bitmap_test (rtems_rfs_file_system* fs, bool inode, rtems_rfs_bitmap_bit no, bool* state) {
 200f0e0:	9d e3 bf a0 	save  %sp, -96, %sp                            <== NOT EXECUTED
  unsigned int              group;                                    
  rtems_rfs_bitmap_bit      bit;                                      
  size_t                    size;                                     
  int                       rc;                                       
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_GROUP_BITMAPS))                
 200f0e4:	90 10 20 00 	clr  %o0                                       <== NOT EXECUTED
 200f0e8:	13 00 00 80 	sethi  %hi(0x20000), %o1                       <== NOT EXECUTED
 200f0ec:	40 00 08 53 	call  2011238 <rtems_rfs_trace>                <== NOT EXECUTED
 200f0f0:	ba 10 00 18 	mov  %i0, %i5                                  <== NOT EXECUTED
 200f0f4:	80 8a 20 ff 	btst  0xff, %o0                                <== NOT EXECUTED
 200f0f8:	02 80 00 0c 	be  200f128 <rtems_rfs_group_bitmap_test+0x48> <== NOT EXECUTED
 200f0fc:	80 a6 60 00 	cmp  %i1, 0                                    <== NOT EXECUTED
    printf ("rtems-rfs: group-bitmap-test: %s test: %" PRId32 "\n",   
 200f100:	13 00 80 b9 	sethi  %hi(0x202e400), %o1                     <== NOT EXECUTED
 200f104:	02 80 00 04 	be  200f114 <rtems_rfs_group_bitmap_test+0x34> <== NOT EXECUTED
 200f108:	92 12 62 e0 	or  %o1, 0x2e0, %o1	! 202e6e0 <ramdisk_ops+0xa24><== NOT EXECUTED
 200f10c:	13 00 80 b9 	sethi  %hi(0x202e400), %o1                     <== NOT EXECUTED
 200f110:	92 12 62 d8 	or  %o1, 0x2d8, %o1	! 202e6d8 <ramdisk_ops+0xa1c><== NOT EXECUTED
 200f114:	11 00 80 b9 	sethi  %hi(0x202e400), %o0                     <== NOT EXECUTED
 200f118:	94 10 00 1a 	mov  %i2, %o2                                  <== NOT EXECUTED
 200f11c:	40 00 40 2b 	call  201f1c8 <printf>                         <== NOT EXECUTED
 200f120:	90 12 23 88 	or  %o0, 0x388, %o0                            <== NOT EXECUTED
            inode ? "inode" : "block", no);                           
                                                                      
  if (inode)                                                          
 200f124:	80 a6 60 00 	cmp  %i1, 0                                    <== NOT EXECUTED
 200f128:	22 80 00 0b 	be,a   200f154 <rtems_rfs_group_bitmap_test+0x74><== NOT EXECUTED
 200f12c:	c2 07 60 04 	ld  [ %i5 + 4 ], %g1                           <== NOT EXECUTED
  {                                                                   
    if ((no < RTEMS_RFS_ROOT_INO) || (no > rtems_rfs_fs_inodes (fs))) 
 200f130:	80 a6 a0 00 	cmp  %i2, 0                                    <== NOT EXECUTED
 200f134:	04 80 00 25 	ble  200f1c8 <rtems_rfs_group_bitmap_test+0xe8><== NOT EXECUTED
 200f138:	b0 10 20 16 	mov  0x16, %i0                                 <== NOT EXECUTED
 200f13c:	c2 07 60 10 	ld  [ %i5 + 0x10 ], %g1                        <== NOT EXECUTED
 200f140:	80 a6 80 01 	cmp  %i2, %g1                                  <== NOT EXECUTED
 200f144:	18 80 00 21 	bgu  200f1c8 <rtems_rfs_group_bitmap_test+0xe8><== NOT EXECUTED
 200f148:	b4 06 bf ff 	add  %i2, -1, %i2                              <== NOT EXECUTED
        return EINVAL;                                                
    no -= RTEMS_RFS_ROOT_INO;                                         
    size = fs->group_inodes;                                          
 200f14c:	10 80 00 06 	b  200f164 <rtems_rfs_group_bitmap_test+0x84>  <== NOT EXECUTED
 200f150:	f0 07 60 28 	ld  [ %i5 + 0x28 ], %i0                        <== NOT EXECUTED
  }                                                                   
  else                                                                
  {                                                                   
    if (no >= rtems_rfs_fs_blocks (fs))                               
 200f154:	80 a6 80 01 	cmp  %i2, %g1                                  <== NOT EXECUTED
 200f158:	1a 80 00 1c 	bcc  200f1c8 <rtems_rfs_group_bitmap_test+0xe8><== NOT EXECUTED
 200f15c:	b0 10 20 16 	mov  0x16, %i0                                 <== NOT EXECUTED
        return EINVAL;                                                
    size = fs->group_blocks;                                          
 200f160:	f0 07 60 24 	ld  [ %i5 + 0x24 ], %i0                        <== NOT EXECUTED
  }                                                                   
                                                                      
  group = no / size;                                                  
 200f164:	90 10 00 1a 	mov  %i2, %o0                                  <== NOT EXECUTED
 200f168:	40 00 6f e9 	call  202b10c <.udiv>                          <== NOT EXECUTED
 200f16c:	92 10 00 18 	mov  %i0, %o1                                  <== NOT EXECUTED
  bit = (rtems_rfs_bitmap_bit) (no % size);                           
 200f170:	92 10 00 18 	mov  %i0, %o1                                  <== NOT EXECUTED
    if (no >= rtems_rfs_fs_blocks (fs))                               
        return EINVAL;                                                
    size = fs->group_blocks;                                          
  }                                                                   
                                                                      
  group = no / size;                                                  
 200f174:	b8 10 00 08 	mov  %o0, %i4                                  <== NOT EXECUTED
  bit = (rtems_rfs_bitmap_bit) (no % size);                           
 200f178:	40 00 70 91 	call  202b3bc <.urem>                          <== NOT EXECUTED
 200f17c:	90 10 00 1a 	mov  %i2, %o0                                  <== NOT EXECUTED
 200f180:	c2 07 60 1c 	ld  [ %i5 + 0x1c ], %g1                        <== NOT EXECUTED
 200f184:	b5 2f 20 04 	sll  %i4, 4, %i2                               <== NOT EXECUTED
 200f188:	92 10 00 08 	mov  %o0, %o1                                  <== NOT EXECUTED
 200f18c:	b9 2f 20 06 	sll  %i4, 6, %i4                               <== NOT EXECUTED
                                                                      
  if (inode)                                                          
 200f190:	80 a6 60 00 	cmp  %i1, 0                                    <== NOT EXECUTED
    bitmap = &fs->groups[group].inode_bitmap;                         
 200f194:	b4 06 80 1c 	add  %i2, %i4, %i2                             <== NOT EXECUTED
  }                                                                   
                                                                      
  group = no / size;                                                  
  bit = (rtems_rfs_bitmap_bit) (no % size);                           
                                                                      
  if (inode)                                                          
 200f198:	02 80 00 04 	be  200f1a8 <rtems_rfs_group_bitmap_test+0xc8> <== NOT EXECUTED
 200f19c:	b4 00 40 1a 	add  %g1, %i2, %i2                             <== NOT EXECUTED
    bitmap = &fs->groups[group].inode_bitmap;                         
 200f1a0:	10 80 00 03 	b  200f1ac <rtems_rfs_group_bitmap_test+0xcc>  <== NOT EXECUTED
 200f1a4:	b4 06 a0 2c 	add  %i2, 0x2c, %i2                            <== NOT EXECUTED
  else                                                                
    bitmap = &fs->groups[group].block_bitmap;                         
 200f1a8:	b4 06 a0 08 	add  %i2, 8, %i2                               <== NOT EXECUTED
                                                                      
  rc = rtems_rfs_bitmap_map_test (bitmap, bit, state);                
 200f1ac:	90 10 00 1a 	mov  %i2, %o0                                  <== NOT EXECUTED
 200f1b0:	40 00 22 65 	call  2017b44 <rtems_rfs_bitmap_map_test>      <== NOT EXECUTED
 200f1b4:	94 10 00 1b 	mov  %i3, %o2                                  <== NOT EXECUTED
                                                                      
  rtems_rfs_bitmap_release_buffer (fs, bitmap);                       
 200f1b8:	d2 06 80 00 	ld  [ %i2 ], %o1                               <== NOT EXECUTED
  if (inode)                                                          
    bitmap = &fs->groups[group].inode_bitmap;                         
  else                                                                
    bitmap = &fs->groups[group].block_bitmap;                         
                                                                      
  rc = rtems_rfs_bitmap_map_test (bitmap, bit, state);                
 200f1bc:	b0 10 00 08 	mov  %o0, %i0                                  <== NOT EXECUTED
                                                                      
  rtems_rfs_bitmap_release_buffer (fs, bitmap);                       
 200f1c0:	40 00 27 cc 	call  20190f0 <rtems_rfs_buffer_handle_release><== NOT EXECUTED
 200f1c4:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
                                                                      
  return rc;                                                          
}                                                                     
 200f1c8:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 200f1cc:	81 e8 00 00 	restore                                        <== NOT EXECUTED
                                                                      

0200ed8c <rtems_rfs_group_close>: int rtems_rfs_group_close (rtems_rfs_file_system* fs, rtems_rfs_group* group) {
 200ed8c:	9d e3 bf a0 	save  %sp, -96, %sp                            
  int result = 0;                                                     
  int rc;                                                             
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_GROUP_CLOSE))                  
 200ed90:	90 10 20 00 	clr  %o0                                       
 200ed94:	13 00 00 40 	sethi  %hi(0x10000), %o1                       
 200ed98:	40 00 09 28 	call  2011238 <rtems_rfs_trace>                
 200ed9c:	ba 10 00 18 	mov  %i0, %i5                                  
 200eda0:	80 8a 20 ff 	btst  0xff, %o0                                
 200eda4:	02 80 00 06 	be  200edbc <rtems_rfs_group_close+0x30>       <== ALWAYS TAKEN
 200eda8:	01 00 00 00 	nop                                            
    printf ("rtems-rfs: group-close: base=%" PRId32 "\n", group->base);
 200edac:	d2 06 40 00 	ld  [ %i1 ], %o1                               <== NOT EXECUTED
 200edb0:	11 00 80 b9 	sethi  %hi(0x202e400), %o0                     <== NOT EXECUTED
 200edb4:	40 00 41 05 	call  201f1c8 <printf>                         <== NOT EXECUTED
 200edb8:	90 12 22 b0 	or  %o0, 0x2b0, %o0	! 202e6b0 <ramdisk_ops+0x9f4><== NOT EXECUTED
  /*                                                                  
   * We need to close as much as possible and also return any error if one
   * occurs but this may result in one even more important error being lost but
   * we cannot OR the errors together so this is a reasonable compromise.
   */                                                                 
  rc = rtems_rfs_bitmap_close (&group->inode_bitmap);                 
 200edbc:	40 00 24 4c 	call  2017eec <rtems_rfs_bitmap_close>         
 200edc0:	90 06 60 2c 	add  %i1, 0x2c, %o0                            
 */                                                                   
static inline int                                                     
rtems_rfs_buffer_handle_close (rtems_rfs_file_system*   fs,           
                               rtems_rfs_buffer_handle* handle)       
{                                                                     
  rtems_rfs_buffer_handle_release (fs, handle);                       
 200edc4:	92 06 60 44 	add  %i1, 0x44, %o1                            
 200edc8:	b8 10 00 08 	mov  %o0, %i4                                  
 200edcc:	40 00 28 c9 	call  20190f0 <rtems_rfs_buffer_handle_release>
 200edd0:	90 10 00 1d 	mov  %i5, %o0                                  
  if (rc > 0)                                                         
    result = rc;                                                      
  rc = rtems_rfs_buffer_handle_close (fs, &group->inode_bitmap_buffer);
  if (rc > 0)                                                         
    result = rc;                                                      
  rc = rtems_rfs_bitmap_close (&group->block_bitmap);                 
 200edd4:	90 06 60 08 	add  %i1, 8, %o0                               
  handle->dirty = false;                                              
 200edd8:	c0 2e 60 44 	clrb  [ %i1 + 0x44 ]                           
  handle->bnum  = 0;                                                  
 200eddc:	c0 26 60 48 	clr  [ %i1 + 0x48 ]                            
 200ede0:	40 00 24 43 	call  2017eec <rtems_rfs_bitmap_close>         
 200ede4:	c0 26 60 4c 	clr  [ %i1 + 0x4c ]                            
  if (rc > 0)                                                         
 200ede8:	b0 92 20 00 	orcc  %o0, 0, %i0                              
 200edec:	14 80 00 05 	bg  200ee00 <rtems_rfs_group_close+0x74>       <== NEVER TAKEN
 200edf0:	90 10 00 1d 	mov  %i5, %o0                                  
 200edf4:	b0 38 00 1c 	xnor  %g0, %i4, %i0                            
 200edf8:	b1 3e 20 1f 	sra  %i0, 0x1f, %i0                            
 200edfc:	b0 0f 00 18 	and  %i4, %i0, %i0                             
 */                                                                   
static inline int                                                     
rtems_rfs_buffer_handle_close (rtems_rfs_file_system*   fs,           
                               rtems_rfs_buffer_handle* handle)       
{                                                                     
  rtems_rfs_buffer_handle_release (fs, handle);                       
 200ee00:	40 00 28 bc 	call  20190f0 <rtems_rfs_buffer_handle_release>
 200ee04:	92 06 60 20 	add  %i1, 0x20, %o1                            
  handle->dirty = false;                                              
 200ee08:	c0 2e 60 20 	clrb  [ %i1 + 0x20 ]                           
  handle->bnum  = 0;                                                  
 200ee0c:	c0 26 60 24 	clr  [ %i1 + 0x24 ]                            
  handle->buffer = NULL;                                              
 200ee10:	c0 26 60 28 	clr  [ %i1 + 0x28 ]                            
  rc = rtems_rfs_buffer_handle_close (fs, &group->block_bitmap_buffer);
  if (rc > 0)                                                         
    result = rc;                                                      
                                                                      
  return result;                                                      
}                                                                     
 200ee14:	81 c7 e0 08 	ret                                            
 200ee18:	81 e8 00 00 	restore                                        
                                                                      

0200eb90 <rtems_rfs_group_open>: rtems_rfs_group_open (rtems_rfs_file_system* fs, rtems_rfs_buffer_block base, size_t size, size_t inodes, rtems_rfs_group* group) {
 200eb90:	9d e3 bf a0 	save  %sp, -96, %sp                            
  int rc;                                                             
                                                                      
  if (base >= rtems_rfs_fs_blocks (fs))                               
 200eb94:	c2 06 20 04 	ld  [ %i0 + 4 ], %g1                           
 200eb98:	80 a6 40 01 	cmp  %i1, %g1                                  
 200eb9c:	0a 80 00 10 	bcs  200ebdc <rtems_rfs_group_open+0x4c>       <== ALWAYS TAKEN
 200eba0:	ba 10 00 18 	mov  %i0, %i5                                  
  {                                                                   
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_GROUP_OPEN))                 
 200eba4:	90 10 20 00 	clr  %o0                                       <== NOT EXECUTED
 200eba8:	13 00 00 20 	sethi  %hi(0x8000), %o1                        <== NOT EXECUTED
 200ebac:	40 00 09 a3 	call  2011238 <rtems_rfs_trace>                <== NOT EXECUTED
 200ebb0:	b0 10 20 05 	mov  5, %i0                                    <== NOT EXECUTED
 200ebb4:	80 8a 20 ff 	btst  0xff, %o0                                <== NOT EXECUTED
 200ebb8:	02 80 00 73 	be  200ed84 <rtems_rfs_group_open+0x1f4>       <== NOT EXECUTED
 200ebbc:	01 00 00 00 	nop                                            <== NOT EXECUTED
      printf ("rtems-rfs: group-open: base outside file system range: %d: %s\n",
 200ebc0:	40 00 44 b5 	call  201fe94 <strerror>                       <== NOT EXECUTED
 200ebc4:	90 10 20 05 	mov  5, %o0	! 5 <PROM_START+0x5>               <== NOT EXECUTED
 200ebc8:	92 10 20 05 	mov  5, %o1                                    <== NOT EXECUTED
 200ebcc:	94 10 00 08 	mov  %o0, %o2                                  <== NOT EXECUTED
 200ebd0:	11 00 80 b9 	sethi  %hi(0x202e400), %o0                     <== NOT EXECUTED
 200ebd4:	10 80 00 5e 	b  200ed4c <rtems_rfs_group_open+0x1bc>        <== NOT EXECUTED
 200ebd8:	90 12 21 b8 	or  %o0, 0x1b8, %o0	! 202e5b8 <ramdisk_ops+0x8fc><== NOT EXECUTED
              EIO, strerror (EIO));                                   
    return EIO;                                                       
  }                                                                   
                                                                      
  if ((base + size) >= rtems_rfs_fs_blocks (fs))                      
 200ebdc:	84 06 80 19 	add  %i2, %i1, %g2                             
 200ebe0:	80 a0 80 01 	cmp  %g2, %g1                                  
 200ebe4:	3a 80 00 02 	bcc,a   200ebec <rtems_rfs_group_open+0x5c>    <== ALWAYS TAKEN
 200ebe8:	b4 20 40 19 	sub  %g1, %i1, %i2                             
    size = rtems_rfs_fs_blocks (fs) - base;                           
 200ebec:	80 a6 80 1b 	cmp  %i2, %i3                                  
 200ebf0:	08 80 00 03 	bleu  200ebfc <rtems_rfs_group_open+0x6c>      <== NEVER TAKEN
 200ebf4:	a0 10 00 1a 	mov  %i2, %l0                                  
 200ebf8:	a0 10 00 1b 	mov  %i3, %l0                                  
   * the format configuration needs reviewing.                        
   */                                                                 
  if (inodes > size)                                                  
    inodes = size;                                                    
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_GROUP_OPEN))                   
 200ebfc:	90 10 20 00 	clr  %o0                                       
 200ec00:	40 00 09 8e 	call  2011238 <rtems_rfs_trace>                
 200ec04:	13 00 00 20 	sethi  %hi(0x8000), %o1                        
 200ec08:	80 8a 20 ff 	btst  0xff, %o0                                
 200ec0c:	22 80 00 09 	be,a   200ec30 <rtems_rfs_group_open+0xa0>     <== ALWAYS TAKEN
 200ec10:	f2 27 00 00 	st  %i1, [ %i4 ]                               
    printf ("rtems-rfs: group-open: base=%" PRId32 ", blocks=%zd inodes=%zd\n",
 200ec14:	11 00 80 b9 	sethi  %hi(0x202e400), %o0                     <== NOT EXECUTED
 200ec18:	92 10 00 19 	mov  %i1, %o1                                  <== NOT EXECUTED
 200ec1c:	90 12 21 f8 	or  %o0, 0x1f8, %o0                            <== NOT EXECUTED
 200ec20:	94 10 00 1a 	mov  %i2, %o2                                  <== NOT EXECUTED
 200ec24:	40 00 41 69 	call  201f1c8 <printf>                         <== NOT EXECUTED
 200ec28:	96 10 00 10 	mov  %l0, %o3                                  <== NOT EXECUTED
            base, size, inodes);                                      
                                                                      
  group->base = base;                                                 
 200ec2c:	f2 27 00 00 	st  %i1, [ %i4 ]                               <== NOT EXECUTED
  group->size = size;                                                 
 200ec30:	f4 27 20 04 	st  %i2, [ %i4 + 4 ]                           
 */                                                                   
static inline int                                                     
rtems_rfs_buffer_handle_open (rtems_rfs_file_system*   fs,            
                              rtems_rfs_buffer_handle* handle)        
{                                                                     
  handle->dirty = false;                                              
 200ec34:	c0 2f 20 20 	clrb  [ %i4 + 0x20 ]                           
  handle->bnum  = 0;                                                  
 200ec38:	c0 27 20 24 	clr  [ %i4 + 0x24 ]                            
  handle->buffer = NULL;                                              
 200ec3c:	c0 27 20 28 	clr  [ %i4 + 0x28 ]                            
      printf ("rtems-rfs: group-open: could not open block bitmap handle: %d: %s\n",
              rc, strerror (rc));                                     
    return rc;                                                        
  }                                                                   
                                                                      
  rc = rtems_rfs_bitmap_open (&group->block_bitmap, fs,               
 200ec40:	a2 07 20 08 	add  %i4, 8, %l1                               
 200ec44:	b6 07 20 20 	add  %i4, 0x20, %i3                            
 200ec48:	90 10 00 11 	mov  %l1, %o0                                  
 200ec4c:	92 10 00 1d 	mov  %i5, %o1                                  
 200ec50:	94 10 00 1b 	mov  %i3, %o2                                  
 200ec54:	96 10 00 1a 	mov  %i2, %o3                                  
 200ec58:	40 00 24 94 	call  2017ea8 <rtems_rfs_bitmap_open>          
 200ec5c:	98 10 00 19 	mov  %i1, %o4                                  
                              &group->block_bitmap_buffer, size,      
                              group->base + RTEMS_RFS_GROUP_BLOCK_BITMAP_BLOCK);
  if (rc > 0)                                                         
 200ec60:	b0 92 20 00 	orcc  %o0, 0, %i0                              
 200ec64:	04 80 00 13 	ble  200ecb0 <rtems_rfs_group_open+0x120>      <== ALWAYS TAKEN
 200ec68:	92 10 00 1b 	mov  %i3, %o1                                  
 */                                                                   
static inline int                                                     
rtems_rfs_buffer_handle_close (rtems_rfs_file_system*   fs,           
                               rtems_rfs_buffer_handle* handle)       
{                                                                     
  rtems_rfs_buffer_handle_release (fs, handle);                       
 200ec6c:	40 00 29 21 	call  20190f0 <rtems_rfs_buffer_handle_release><== NOT EXECUTED
 200ec70:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
  {                                                                   
    rtems_rfs_buffer_handle_close (fs, &group->block_bitmap_buffer);  
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_GROUP_OPEN))                 
 200ec74:	90 10 20 00 	clr  %o0                                       <== NOT EXECUTED
  handle->dirty = false;                                              
 200ec78:	c0 2f 20 20 	clrb  [ %i4 + 0x20 ]                           <== NOT EXECUTED
  handle->bnum  = 0;                                                  
 200ec7c:	c0 27 20 24 	clr  [ %i4 + 0x24 ]                            <== NOT EXECUTED
  handle->buffer = NULL;                                              
 200ec80:	c0 27 20 28 	clr  [ %i4 + 0x28 ]                            <== NOT EXECUTED
 200ec84:	40 00 09 6d 	call  2011238 <rtems_rfs_trace>                <== NOT EXECUTED
 200ec88:	13 00 00 20 	sethi  %hi(0x8000), %o1                        <== NOT EXECUTED
 200ec8c:	80 8a 20 ff 	btst  0xff, %o0                                <== NOT EXECUTED
 200ec90:	02 80 00 3d 	be  200ed84 <rtems_rfs_group_open+0x1f4>       <== NOT EXECUTED
 200ec94:	01 00 00 00 	nop                                            <== NOT EXECUTED
      printf ("rtems-rfs: group-open: could not open block bitmap: %d: %s\n",
 200ec98:	40 00 44 7f 	call  201fe94 <strerror>                       <== NOT EXECUTED
 200ec9c:	90 10 00 18 	mov  %i0, %o0                                  <== NOT EXECUTED
 200eca0:	94 10 00 08 	mov  %o0, %o2                                  <== NOT EXECUTED
 200eca4:	11 00 80 b9 	sethi  %hi(0x202e400), %o0                     <== NOT EXECUTED
 200eca8:	10 80 00 28 	b  200ed48 <rtems_rfs_group_open+0x1b8>        <== NOT EXECUTED
 200ecac:	90 12 22 30 	or  %o0, 0x230, %o0	! 202e630 <ramdisk_ops+0x974><== NOT EXECUTED
      printf ("rtems-rfs: group-open: could not open inode bitmap handle: %d: %s\n",
              rc, strerror (rc));                                     
    return rc;                                                        
  }                                                                   
                                                                      
  rc = rtems_rfs_bitmap_open (&group->inode_bitmap, fs,               
 200ecb0:	d8 07 00 00 	ld  [ %i4 ], %o4                               
 */                                                                   
static inline int                                                     
rtems_rfs_buffer_handle_open (rtems_rfs_file_system*   fs,            
                              rtems_rfs_buffer_handle* handle)        
{                                                                     
  handle->dirty = false;                                              
 200ecb4:	c0 2f 20 44 	clrb  [ %i4 + 0x44 ]                           
  handle->bnum  = 0;                                                  
 200ecb8:	c0 27 20 48 	clr  [ %i4 + 0x48 ]                            
  handle->buffer = NULL;                                              
 200ecbc:	c0 27 20 4c 	clr  [ %i4 + 0x4c ]                            
 200ecc0:	b4 07 20 44 	add  %i4, 0x44, %i2                            
 200ecc4:	90 07 20 2c 	add  %i4, 0x2c, %o0                            
 200ecc8:	92 10 00 1d 	mov  %i5, %o1                                  
 200eccc:	94 10 00 1a 	mov  %i2, %o2                                  
 200ecd0:	96 10 00 10 	mov  %l0, %o3                                  
 200ecd4:	40 00 24 75 	call  2017ea8 <rtems_rfs_bitmap_open>          
 200ecd8:	98 03 20 01 	inc  %o4                                       
                              &group->inode_bitmap_buffer, inodes,    
                              group->base + RTEMS_RFS_GROUP_INODE_BITMAP_BLOCK);
  if (rc > 0)                                                         
 200ecdc:	b0 92 20 00 	orcc  %o0, 0, %i0                              
 200ece0:	04 80 00 1f 	ble  200ed5c <rtems_rfs_group_open+0x1cc>      <== ALWAYS TAKEN
 200ece4:	92 10 00 1a 	mov  %i2, %o1                                  
 */                                                                   
static inline int                                                     
rtems_rfs_buffer_handle_close (rtems_rfs_file_system*   fs,           
                               rtems_rfs_buffer_handle* handle)       
{                                                                     
  rtems_rfs_buffer_handle_release (fs, handle);                       
 200ece8:	40 00 29 02 	call  20190f0 <rtems_rfs_buffer_handle_release><== NOT EXECUTED
 200ecec:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
  {                                                                   
    rtems_rfs_buffer_handle_close (fs, &group->inode_bitmap_buffer);  
    rtems_rfs_bitmap_close (&group->block_bitmap);                    
 200ecf0:	90 10 00 11 	mov  %l1, %o0                                  <== NOT EXECUTED
  handle->dirty = false;                                              
 200ecf4:	c0 2f 20 44 	clrb  [ %i4 + 0x44 ]                           <== NOT EXECUTED
  handle->bnum  = 0;                                                  
 200ecf8:	c0 27 20 48 	clr  [ %i4 + 0x48 ]                            <== NOT EXECUTED
 200ecfc:	40 00 24 7c 	call  2017eec <rtems_rfs_bitmap_close>         <== NOT EXECUTED
 200ed00:	c0 27 20 4c 	clr  [ %i4 + 0x4c ]                            <== NOT EXECUTED
 */                                                                   
static inline int                                                     
rtems_rfs_buffer_handle_close (rtems_rfs_file_system*   fs,           
                               rtems_rfs_buffer_handle* handle)       
{                                                                     
  rtems_rfs_buffer_handle_release (fs, handle);                       
 200ed04:	92 10 00 1b 	mov  %i3, %o1                                  <== NOT EXECUTED
 200ed08:	40 00 28 fa 	call  20190f0 <rtems_rfs_buffer_handle_release><== NOT EXECUTED
 200ed0c:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
    rtems_rfs_buffer_handle_close (fs, &group->block_bitmap_buffer);  
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_GROUP_OPEN))                 
 200ed10:	90 10 20 00 	clr  %o0                                       <== NOT EXECUTED
  handle->dirty = false;                                              
 200ed14:	c0 2f 20 20 	clrb  [ %i4 + 0x20 ]                           <== NOT EXECUTED
  handle->bnum  = 0;                                                  
 200ed18:	c0 27 20 24 	clr  [ %i4 + 0x24 ]                            <== NOT EXECUTED
  handle->buffer = NULL;                                              
 200ed1c:	c0 27 20 28 	clr  [ %i4 + 0x28 ]                            <== NOT EXECUTED
 200ed20:	40 00 09 46 	call  2011238 <rtems_rfs_trace>                <== NOT EXECUTED
 200ed24:	13 00 00 20 	sethi  %hi(0x8000), %o1                        <== NOT EXECUTED
 200ed28:	80 8a 20 ff 	btst  0xff, %o0                                <== NOT EXECUTED
 200ed2c:	02 80 00 16 	be  200ed84 <rtems_rfs_group_open+0x1f4>       <== NOT EXECUTED
 200ed30:	01 00 00 00 	nop                                            <== NOT EXECUTED
      printf ("rtems-rfs: group-open: could not open inode bitmap: %d: %s\n",
 200ed34:	40 00 44 58 	call  201fe94 <strerror>                       <== NOT EXECUTED
 200ed38:	90 10 00 18 	mov  %i0, %o0                                  <== NOT EXECUTED
 200ed3c:	94 10 00 08 	mov  %o0, %o2                                  <== NOT EXECUTED
 200ed40:	11 00 80 b9 	sethi  %hi(0x202e400), %o0                     <== NOT EXECUTED
 200ed44:	90 12 22 70 	or  %o0, 0x270, %o0	! 202e670 <ramdisk_ops+0x9b4><== NOT EXECUTED
 200ed48:	92 10 00 18 	mov  %i0, %o1                                  <== NOT EXECUTED
 200ed4c:	40 00 41 1f 	call  201f1c8 <printf>                         <== NOT EXECUTED
 200ed50:	01 00 00 00 	nop                                            <== NOT EXECUTED
 200ed54:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 200ed58:	81 e8 00 00 	restore                                        <== NOT EXECUTED
              rc, strerror (rc));                                     
    return rc;                                                        
  }                                                                   
                                                                      
  if (rtems_rfs_fs_release_bitmaps (fs))                              
 200ed5c:	c2 07 40 00 	ld  [ %i5 ], %g1                               
 200ed60:	80 88 60 01 	btst  1, %g1                                   
 200ed64:	12 bf ff fc 	bne  200ed54 <rtems_rfs_group_open+0x1c4>      <== NEVER TAKEN
 200ed68:	b0 10 20 00 	clr  %i0                                       
  {                                                                   
    rtems_rfs_bitmap_release_buffer (fs, &group->block_bitmap);       
 200ed6c:	d2 07 20 08 	ld  [ %i4 + 8 ], %o1                           
 200ed70:	40 00 28 e0 	call  20190f0 <rtems_rfs_buffer_handle_release>
 200ed74:	90 10 00 1d 	mov  %i5, %o0                                  
    rtems_rfs_bitmap_release_buffer (fs, &group->inode_bitmap);       
 200ed78:	d2 07 20 2c 	ld  [ %i4 + 0x2c ], %o1                        
 200ed7c:	40 00 28 dd 	call  20190f0 <rtems_rfs_buffer_handle_release>
 200ed80:	90 10 00 1d 	mov  %i5, %o0                                  
  }                                                                   
                                                                      
  return 0;                                                           
}                                                                     
 200ed84:	81 c7 e0 08 	ret                                            
 200ed88:	81 e8 00 00 	restore                                        
                                                                      

0200f1d0 <rtems_rfs_group_usage>: int rtems_rfs_group_usage (rtems_rfs_file_system* fs, size_t* blocks, size_t* inodes) {
 200f1d0:	9d e3 bf a0 	save  %sp, -96, %sp                            <== NOT EXECUTED
  int g;                                                              
                                                                      
  *blocks = 0;                                                        
 200f1d4:	c0 26 40 00 	clr  [ %i1 ]                                   <== NOT EXECUTED
  *inodes = 0;                                                        
 200f1d8:	c0 26 80 00 	clr  [ %i2 ]                                   <== NOT EXECUTED
                                                                      
  for (g = 0; g < fs->group_count; g++)                               
 200f1dc:	86 10 20 00 	clr  %g3                                       <== NOT EXECUTED
 200f1e0:	10 80 00 11 	b  200f224 <rtems_rfs_group_usage+0x54>        <== NOT EXECUTED
 200f1e4:	84 10 20 00 	clr  %g2                                       <== NOT EXECUTED
  {                                                                   
    rtems_rfs_group* group = &fs->groups[g];                          
 200f1e8:	c2 06 20 1c 	ld  [ %i0 + 0x1c ], %g1                        <== NOT EXECUTED
  int g;                                                              
                                                                      
  *blocks = 0;                                                        
  *inodes = 0;                                                        
                                                                      
  for (g = 0; g < fs->group_count; g++)                               
 200f1ec:	84 00 a0 01 	inc  %g2                                       <== NOT EXECUTED
  {                                                                   
    rtems_rfs_group* group = &fs->groups[g];                          
 200f1f0:	82 00 40 03 	add  %g1, %g3, %g1                             <== NOT EXECUTED
    *blocks +=                                                        
      rtems_rfs_bitmap_map_size(&group->block_bitmap) -               
 200f1f4:	da 00 60 14 	ld  [ %g1 + 0x14 ], %o5                        <== NOT EXECUTED
 200f1f8:	de 00 60 18 	ld  [ %g1 + 0x18 ], %o7                        <== NOT EXECUTED
  int g;                                                              
                                                                      
  *blocks = 0;                                                        
  *inodes = 0;                                                        
                                                                      
  for (g = 0; g < fs->group_count; g++)                               
 200f1fc:	86 00 e0 50 	add  %g3, 0x50, %g3                            <== NOT EXECUTED
  {                                                                   
    rtems_rfs_group* group = &fs->groups[g];                          
    *blocks +=                                                        
      rtems_rfs_bitmap_map_size(&group->block_bitmap) -               
 200f200:	9e 23 40 0f 	sub  %o5, %o7, %o7                             <== NOT EXECUTED
  *inodes = 0;                                                        
                                                                      
  for (g = 0; g < fs->group_count; g++)                               
  {                                                                   
    rtems_rfs_group* group = &fs->groups[g];                          
    *blocks +=                                                        
 200f204:	88 01 00 0f 	add  %g4, %o7, %g4                             <== NOT EXECUTED
 200f208:	c8 26 40 00 	st  %g4, [ %i1 ]                               <== NOT EXECUTED
      rtems_rfs_bitmap_map_size(&group->block_bitmap) -               
      rtems_rfs_bitmap_map_free (&group->block_bitmap);               
    *inodes +=                                                        
      rtems_rfs_bitmap_map_size (&group->inode_bitmap) -              
 200f20c:	c8 00 60 38 	ld  [ %g1 + 0x38 ], %g4                        <== NOT EXECUTED
 200f210:	c2 00 60 3c 	ld  [ %g1 + 0x3c ], %g1                        <== NOT EXECUTED
 200f214:	82 21 00 01 	sub  %g4, %g1, %g1                             <== NOT EXECUTED
  {                                                                   
    rtems_rfs_group* group = &fs->groups[g];                          
    *blocks +=                                                        
      rtems_rfs_bitmap_map_size(&group->block_bitmap) -               
      rtems_rfs_bitmap_map_free (&group->block_bitmap);               
    *inodes +=                                                        
 200f218:	c8 06 80 00 	ld  [ %i2 ], %g4                               <== NOT EXECUTED
 200f21c:	82 01 00 01 	add  %g4, %g1, %g1                             <== NOT EXECUTED
 200f220:	c2 26 80 00 	st  %g1, [ %i2 ]                               <== NOT EXECUTED
  int g;                                                              
                                                                      
  *blocks = 0;                                                        
  *inodes = 0;                                                        
                                                                      
  for (g = 0; g < fs->group_count; g++)                               
 200f224:	c2 06 20 20 	ld  [ %i0 + 0x20 ], %g1                        <== NOT EXECUTED
 200f228:	80 a0 80 01 	cmp  %g2, %g1                                  <== NOT EXECUTED
 200f22c:	06 bf ff ef 	bl  200f1e8 <rtems_rfs_group_usage+0x18>       <== NOT EXECUTED
 200f230:	c8 06 40 00 	ld  [ %i1 ], %g4                               <== NOT EXECUTED
    *inodes +=                                                        
      rtems_rfs_bitmap_map_size (&group->inode_bitmap) -              
      rtems_rfs_bitmap_map_free (&group->inode_bitmap);               
  }                                                                   
                                                                      
  if (*blocks > rtems_rfs_fs_blocks (fs))                             
 200f234:	c4 06 20 04 	ld  [ %i0 + 4 ], %g2                           <== NOT EXECUTED
 200f238:	80 a1 00 02 	cmp  %g4, %g2                                  <== NOT EXECUTED
 200f23c:	08 80 00 03 	bleu  200f248 <rtems_rfs_group_usage+0x78>     <== NOT EXECUTED
 200f240:	82 10 00 04 	mov  %g4, %g1                                  <== NOT EXECUTED
 200f244:	82 10 00 02 	mov  %g2, %g1                                  <== NOT EXECUTED
 200f248:	c2 26 40 00 	st  %g1, [ %i1 ]                               <== NOT EXECUTED
    *blocks = rtems_rfs_fs_blocks (fs);                               
  if (*inodes > rtems_rfs_fs_inodes (fs))                             
 200f24c:	c4 06 20 10 	ld  [ %i0 + 0x10 ], %g2                        <== NOT EXECUTED
 200f250:	c2 06 80 00 	ld  [ %i2 ], %g1                               <== NOT EXECUTED
 200f254:	80 a0 40 02 	cmp  %g1, %g2                                  <== NOT EXECUTED
 200f258:	38 80 00 02 	bgu,a   200f260 <rtems_rfs_group_usage+0x90>   <== NOT EXECUTED
 200f25c:	82 10 00 02 	mov  %g2, %g1                                  <== NOT EXECUTED
 200f260:	c2 26 80 00 	st  %g1, [ %i2 ]                               <== NOT EXECUTED
    *inodes = rtems_rfs_fs_inodes (fs);                               
                                                                      
  return 0;                                                           
}                                                                     
 200f264:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 200f268:	91 e8 20 00 	restore  %g0, 0, %o0                           <== NOT EXECUTED
                                                                      

0200f520 <rtems_rfs_inode_close>: } int rtems_rfs_inode_close (rtems_rfs_file_system* fs, rtems_rfs_inode_handle* handle) {
 200f520:	9d e3 bf a0 	save  %sp, -96, %sp                            
  int rc;                                                             
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_INODE_CLOSE))                  
 200f524:	90 10 20 00 	clr  %o0                                       
 200f528:	40 00 07 44 	call  2011238 <rtems_rfs_trace>                
 200f52c:	13 00 02 00 	sethi  %hi(0x80000), %o1                       
 200f530:	80 8a 20 ff 	btst  0xff, %o0                                
 200f534:	22 80 00 07 	be,a   200f550 <rtems_rfs_inode_close+0x30>    <== ALWAYS TAKEN
 200f538:	90 10 00 18 	mov  %i0, %o0                                  
    printf ("rtems-rfs: inode-close: ino: %" PRIu32 "\n", handle->ino);
 200f53c:	d2 06 60 08 	ld  [ %i1 + 8 ], %o1                           <== NOT EXECUTED
 200f540:	11 00 80 ba 	sethi  %hi(0x202e800), %o0                     <== NOT EXECUTED
 200f544:	40 00 3f 21 	call  201f1c8 <printf>                         <== NOT EXECUTED
 200f548:	90 12 20 60 	or  %o0, 0x60, %o0	! 202e860 <ramdisk_ops+0xba4><== NOT EXECUTED
                                                                      
  rc = rtems_rfs_inode_unload (fs, handle, true);                     
 200f54c:	90 10 00 18 	mov  %i0, %o0                                  <== NOT EXECUTED
 200f550:	92 10 00 19 	mov  %i1, %o1                                  
 200f554:	7f ff ff b7 	call  200f430 <rtems_rfs_inode_unload>         
 200f558:	94 10 20 01 	mov  1, %o2                                    
                                                                      
  if ((rc == 0) && (handle->loads > 0))                               
 200f55c:	b0 92 20 00 	orcc  %o0, 0, %i0                              
 200f560:	32 80 00 11 	bne,a   200f5a4 <rtems_rfs_inode_close+0x84>   <== NEVER TAKEN
 200f564:	c0 26 60 08 	clr  [ %i1 + 8 ]                               <== NOT EXECUTED
 200f568:	c2 06 60 24 	ld  [ %i1 + 0x24 ], %g1                        
 200f56c:	80 a0 60 00 	cmp  %g1, 0                                    
 200f570:	04 80 00 0c 	ble  200f5a0 <rtems_rfs_inode_close+0x80>      <== ALWAYS TAKEN
 200f574:	13 00 02 00 	sethi  %hi(0x80000), %o1                       
  {                                                                   
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_INODE_CLOSE))                
 200f578:	90 10 20 00 	clr  %o0                                       <== NOT EXECUTED
 200f57c:	40 00 07 2f 	call  2011238 <rtems_rfs_trace>                <== NOT EXECUTED
 200f580:	b0 10 20 05 	mov  5, %i0                                    <== NOT EXECUTED
 200f584:	80 8a 20 ff 	btst  0xff, %o0                                <== NOT EXECUTED
 200f588:	22 80 00 07 	be,a   200f5a4 <rtems_rfs_inode_close+0x84>    <== NOT EXECUTED
 200f58c:	c0 26 60 08 	clr  [ %i1 + 8 ]                               <== NOT EXECUTED
      printf ("rtems-rfs: inode-close: bad loads number: %d\n",       
 200f590:	d2 06 60 24 	ld  [ %i1 + 0x24 ], %o1                        <== NOT EXECUTED
 200f594:	11 00 80 ba 	sethi  %hi(0x202e800), %o0                     <== NOT EXECUTED
 200f598:	40 00 3f 0c 	call  201f1c8 <printf>                         <== NOT EXECUTED
 200f59c:	90 12 20 88 	or  %o0, 0x88, %o0	! 202e888 <ramdisk_ops+0xbcc><== NOT EXECUTED
              handle->loads);                                         
    rc = EIO;                                                         
  }                                                                   
                                                                      
  handle->ino = 0;                                                    
 200f5a0:	c0 26 60 08 	clr  [ %i1 + 8 ]                               
  return rc;                                                          
}                                                                     
 200f5a4:	81 c7 e0 08 	ret                                            
 200f5a8:	81 e8 00 00 	restore                                        
                                                                      

0200f878 <rtems_rfs_inode_create>: uint16_t mode, uint16_t links, uid_t uid, gid_t gid, rtems_rfs_ino* ino) {
 200f878:	9d e3 bf 50 	save  %sp, -176, %sp                           
  rtems_rfs_inode_handle parent_inode;                                
  rtems_rfs_inode_handle inode;                                       
  int                    rc;                                          
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_INODE_CREATE))                 
 200f87c:	90 10 20 00 	clr  %o0                                       
                        uint16_t                mode,                 
                        uint16_t                links,                
                        uid_t                   uid,                  
                        gid_t                   gid,                  
                        rtems_rfs_ino*          ino)                  
{                                                                     
 200f880:	e2 07 a0 64 	ld  [ %fp + 0x64 ], %l1                        
 200f884:	e6 17 a0 5e 	lduh  [ %fp + 0x5e ], %l3                      
 200f888:	e4 17 a0 62 	lduh  [ %fp + 0x62 ], %l2                      
  rtems_rfs_inode_handle parent_inode;                                
  rtems_rfs_inode_handle inode;                                       
  int                    rc;                                          
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_INODE_CREATE))                 
 200f88c:	40 00 06 6b 	call  2011238 <rtems_rfs_trace>                
 200f890:	13 00 10 00 	sethi  %hi(0x400000), %o1                      
 200f894:	80 8a 20 ff 	btst  0xff, %o0                                
 200f898:	02 80 00 32 	be  200f960 <rtems_rfs_inode_create+0xe8>      <== ALWAYS TAKEN
 200f89c:	21 00 00 3c 	sethi  %hi(0xf000), %l0                        
  {                                                                   
    const char* type = "unknown";                                     
    int         c;                                                    
    if (RTEMS_RFS_S_ISDIR (mode))                                     
 200f8a0:	03 00 00 3c 	sethi  %hi(0xf000), %g1                        <== NOT EXECUTED
      type = "dir";                                                   
 200f8a4:	21 00 80 ba 	sethi  %hi(0x202e800), %l0                     <== NOT EXECUTED
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_INODE_CREATE))                 
  {                                                                   
    const char* type = "unknown";                                     
    int         c;                                                    
    if (RTEMS_RFS_S_ISDIR (mode))                                     
 200f8a8:	82 0f 00 01 	and  %i4, %g1, %g1                             <== NOT EXECUTED
 200f8ac:	05 00 00 10 	sethi  %hi(0x4000), %g2                        <== NOT EXECUTED
 200f8b0:	80 a0 40 02 	cmp  %g1, %g2                                  <== NOT EXECUTED
 200f8b4:	02 80 00 18 	be  200f914 <rtems_rfs_inode_create+0x9c>      <== NOT EXECUTED
 200f8b8:	a0 14 20 e8 	or  %l0, 0xe8, %l0                             <== NOT EXECUTED
      type = "dir";                                                   
    else if (RTEMS_RFS_S_ISCHR (mode))                                
      type = "char";                                                  
 200f8bc:	21 00 80 ba 	sethi  %hi(0x202e800), %l0                     <== NOT EXECUTED
  {                                                                   
    const char* type = "unknown";                                     
    int         c;                                                    
    if (RTEMS_RFS_S_ISDIR (mode))                                     
      type = "dir";                                                   
    else if (RTEMS_RFS_S_ISCHR (mode))                                
 200f8c0:	05 00 00 08 	sethi  %hi(0x2000), %g2                        <== NOT EXECUTED
 200f8c4:	80 a0 40 02 	cmp  %g1, %g2                                  <== NOT EXECUTED
 200f8c8:	02 80 00 13 	be  200f914 <rtems_rfs_inode_create+0x9c>      <== NOT EXECUTED
 200f8cc:	a0 14 20 f0 	or  %l0, 0xf0, %l0                             <== NOT EXECUTED
      type = "char";                                                  
    else if (RTEMS_RFS_S_ISBLK (mode))                                
      type = "block";                                                 
 200f8d0:	21 00 80 b9 	sethi  %hi(0x202e400), %l0                     <== NOT EXECUTED
    int         c;                                                    
    if (RTEMS_RFS_S_ISDIR (mode))                                     
      type = "dir";                                                   
    else if (RTEMS_RFS_S_ISCHR (mode))                                
      type = "char";                                                  
    else if (RTEMS_RFS_S_ISBLK (mode))                                
 200f8d4:	05 00 00 18 	sethi  %hi(0x6000), %g2                        <== NOT EXECUTED
 200f8d8:	80 a0 40 02 	cmp  %g1, %g2                                  <== NOT EXECUTED
 200f8dc:	02 80 00 0e 	be  200f914 <rtems_rfs_inode_create+0x9c>      <== NOT EXECUTED
 200f8e0:	a0 14 22 e0 	or  %l0, 0x2e0, %l0                            <== NOT EXECUTED
      type = "block";                                                 
    else if (RTEMS_RFS_S_ISREG (mode))                                
      type = "file";                                                  
 200f8e4:	21 00 80 ba 	sethi  %hi(0x202e800), %l0                     <== NOT EXECUTED
      type = "dir";                                                   
    else if (RTEMS_RFS_S_ISCHR (mode))                                
      type = "char";                                                  
    else if (RTEMS_RFS_S_ISBLK (mode))                                
      type = "block";                                                 
    else if (RTEMS_RFS_S_ISREG (mode))                                
 200f8e8:	05 00 00 20 	sethi  %hi(0x8000), %g2                        <== NOT EXECUTED
 200f8ec:	80 a0 40 02 	cmp  %g1, %g2                                  <== NOT EXECUTED
 200f8f0:	02 80 00 09 	be  200f914 <rtems_rfs_inode_create+0x9c>      <== NOT EXECUTED
 200f8f4:	a0 14 20 f8 	or  %l0, 0xf8, %l0                             <== NOT EXECUTED
      type = "file";                                                  
    else if (RTEMS_RFS_S_ISLNK (mode))                                
      type = "link";                                                  
 200f8f8:	21 00 80 ba 	sethi  %hi(0x202e800), %l0                     <== NOT EXECUTED
      type = "char";                                                  
    else if (RTEMS_RFS_S_ISBLK (mode))                                
      type = "block";                                                 
    else if (RTEMS_RFS_S_ISREG (mode))                                
      type = "file";                                                  
    else if (RTEMS_RFS_S_ISLNK (mode))                                
 200f8fc:	05 00 00 28 	sethi  %hi(0xa000), %g2                        <== NOT EXECUTED
 200f900:	80 a0 40 02 	cmp  %g1, %g2                                  <== NOT EXECUTED
 200f904:	02 80 00 04 	be  200f914 <rtems_rfs_inode_create+0x9c>      <== NOT EXECUTED
 200f908:	a0 14 21 08 	or  %l0, 0x108, %l0                            <== NOT EXECUTED
  rtems_rfs_inode_handle inode;                                       
  int                    rc;                                          
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_INODE_CREATE))                 
  {                                                                   
    const char* type = "unknown";                                     
 200f90c:	21 00 80 ba 	sethi  %hi(0x202e800), %l0                     <== NOT EXECUTED
 200f910:	a0 14 21 00 	or  %l0, 0x100, %l0	! 202e900 <ramdisk_ops+0xc44><== NOT EXECUTED
      type = "block";                                                 
    else if (RTEMS_RFS_S_ISREG (mode))                                
      type = "file";                                                  
    else if (RTEMS_RFS_S_ISLNK (mode))                                
      type = "link";                                                  
    printf("rtems-rfs: inode-create: parent:%" PRIu32 " name:", parent);
 200f914:	11 00 80 ba 	sethi  %hi(0x202e800), %o0                     <== NOT EXECUTED
 200f918:	92 10 00 19 	mov  %i1, %o1                                  <== NOT EXECUTED
 200f91c:	90 12 21 10 	or  %o0, 0x110, %o0                            <== NOT EXECUTED
 200f920:	40 00 3e 2a 	call  201f1c8 <printf>                         <== NOT EXECUTED
 200f924:	a8 10 20 00 	clr  %l4                                       <== NOT EXECUTED
    for (c = 0; c < length; c++)                                      
 200f928:	10 80 00 05 	b  200f93c <rtems_rfs_inode_create+0xc4>       <== NOT EXECUTED
 200f92c:	80 a5 00 1b 	cmp  %l4, %i3                                  <== NOT EXECUTED
      printf ("%c", name[c]);                                         
 200f930:	40 00 3e 39 	call  201f214 <putchar>                        <== NOT EXECUTED
 200f934:	a8 05 20 01 	inc  %l4                                       <== NOT EXECUTED
    else if (RTEMS_RFS_S_ISREG (mode))                                
      type = "file";                                                  
    else if (RTEMS_RFS_S_ISLNK (mode))                                
      type = "link";                                                  
    printf("rtems-rfs: inode-create: parent:%" PRIu32 " name:", parent);
    for (c = 0; c < length; c++)                                      
 200f938:	80 a5 00 1b 	cmp  %l4, %i3                                  <== NOT EXECUTED
 200f93c:	32 bf ff fd 	bne,a   200f930 <rtems_rfs_inode_create+0xb8>  <== NOT EXECUTED
 200f940:	d0 4e 80 14 	ldsb  [ %i2 + %l4 ], %o0                       <== NOT EXECUTED
      printf ("%c", name[c]);                                         
    printf (" type:%s mode:%04x (%03o)\n", type, mode, mode & ((1 << 10) - 1));
 200f944:	11 00 80 ba 	sethi  %hi(0x202e800), %o0                     <== NOT EXECUTED
 200f948:	92 10 00 10 	mov  %l0, %o1                                  <== NOT EXECUTED
 200f94c:	90 12 21 40 	or  %o0, 0x140, %o0                            <== NOT EXECUTED
 200f950:	94 10 00 1c 	mov  %i4, %o2                                  <== NOT EXECUTED
 200f954:	40 00 3e 1d 	call  201f1c8 <printf>                         <== NOT EXECUTED
 200f958:	96 0f 23 ff 	and  %i4, 0x3ff, %o3                           <== NOT EXECUTED
  }                                                                   
                                                                      
  /*                                                                  
   * The file type is field within the mode. Check we have a sane mode set.
   */                                                                 
  switch (mode & RTEMS_RFS_S_IFMT)                                    
 200f95c:	21 00 00 3c 	sethi  %hi(0xf000), %l0                        <== NOT EXECUTED
 200f960:	03 00 00 18 	sethi  %hi(0x6000), %g1                        
 200f964:	a0 0f 00 10 	and  %i4, %l0, %l0                             
 200f968:	80 a4 00 01 	cmp  %l0, %g1                                  
 200f96c:	02 80 00 11 	be  200f9b0 <rtems_rfs_inode_create+0x138>     <== NEVER TAKEN
 200f970:	90 10 00 18 	mov  %i0, %o0                                  
 200f974:	14 80 00 08 	bg  200f994 <rtems_rfs_inode_create+0x11c>     
 200f978:	03 00 00 20 	sethi  %hi(0x8000), %g1                        
 200f97c:	03 00 00 08 	sethi  %hi(0x2000), %g1                        
 200f980:	80 a4 00 01 	cmp  %l0, %g1                                  
 200f984:	02 80 00 0b 	be  200f9b0 <rtems_rfs_inode_create+0x138>     <== NEVER TAKEN
 200f988:	03 00 00 10 	sethi  %hi(0x4000), %g1                        
 200f98c:	10 80 00 06 	b  200f9a4 <rtems_rfs_inode_create+0x12c>      
 200f990:	80 a4 00 01 	cmp  %l0, %g1                                  
 200f994:	80 a4 00 01 	cmp  %l0, %g1                                  
 200f998:	02 80 00 05 	be  200f9ac <rtems_rfs_inode_create+0x134>     
 200f99c:	03 00 00 28 	sethi  %hi(0xa000), %g1                        
 200f9a0:	80 a4 00 01 	cmp  %l0, %g1                                  
 200f9a4:	12 80 00 80 	bne  200fba4 <rtems_rfs_inode_create+0x32c>    <== NEVER TAKEN
 200f9a8:	a8 10 20 16 	mov  0x16, %l4                                 
      break;                                                          
    default:                                                          
      return EINVAL;                                                  
  }                                                                   
                                                                      
  rc = rtems_rfs_inode_alloc (fs, parent, ino);                       
 200f9ac:	90 10 00 18 	mov  %i0, %o0                                  
 200f9b0:	92 10 00 19 	mov  %i1, %o1                                  
 200f9b4:	7f ff fe 2e 	call  200f26c <rtems_rfs_inode_alloc>          
 200f9b8:	94 10 00 11 	mov  %l1, %o2                                  
  if (rc > 0)                                                         
 200f9bc:	a8 92 20 00 	orcc  %o0, 0, %l4                              
 200f9c0:	34 80 00 7a 	bg,a   200fba8 <rtems_rfs_inode_create+0x330>  <== NEVER TAKEN
 200f9c4:	b0 10 00 14 	mov  %l4, %i0                                  <== NOT EXECUTED
    return rc;                                                        
                                                                      
  rc = rtems_rfs_inode_open (fs, *ino, &inode, true);                 
 200f9c8:	d2 04 40 00 	ld  [ %l1 ], %o1                               
 200f9cc:	90 10 00 18 	mov  %i0, %o0                                  
 200f9d0:	94 07 bf d8 	add  %fp, -40, %o2                             
 200f9d4:	7f ff fe 61 	call  200f358 <rtems_rfs_inode_open>           
 200f9d8:	96 10 20 01 	mov  1, %o3                                    
  if (rc > 0)                                                         
 200f9dc:	a8 92 20 00 	orcc  %o0, 0, %l4                              
 200f9e0:	34 80 00 6d 	bg,a   200fb94 <rtems_rfs_inode_create+0x31c>  <== NEVER TAKEN
 200f9e4:	d2 04 40 00 	ld  [ %l1 ], %o1                               <== NOT EXECUTED
  {                                                                   
    rtems_rfs_inode_free (fs, *ino);                                  
    return rc;                                                        
  }                                                                   
                                                                      
  rc = rtems_rfs_inode_initialise (&inode, links, mode, uid, gid);    
 200f9e8:	90 07 bf d8 	add  %fp, -40, %o0                             
 200f9ec:	92 10 00 1d 	mov  %i5, %o1                                  
 200f9f0:	94 10 00 1c 	mov  %i4, %o2                                  
 200f9f4:	96 10 00 13 	mov  %l3, %o3                                  
 200f9f8:	7f ff ff 4a 	call  200f720 <rtems_rfs_inode_initialise>     
 200f9fc:	98 10 00 12 	mov  %l2, %o4                                  
  if (rc > 0)                                                         
 200fa00:	a8 92 20 00 	orcc  %o0, 0, %l4                              
 200fa04:	04 80 00 07 	ble  200fa20 <rtems_rfs_inode_create+0x1a8>    <== ALWAYS TAKEN
 200fa08:	03 00 00 10 	sethi  %hi(0x4000), %g1                        
  {                                                                   
    rtems_rfs_inode_close (fs, &inode);                               
 200fa0c:	90 10 00 18 	mov  %i0, %o0                                  <== NOT EXECUTED
 200fa10:	7f ff fe c4 	call  200f520 <rtems_rfs_inode_close>          <== NOT EXECUTED
 200fa14:	92 07 bf d8 	add  %fp, -40, %o1                             <== NOT EXECUTED
  }                                                                   
                                                                      
  rc = rtems_rfs_inode_close (fs, &inode);                            
  if (rc > 0)                                                         
  {                                                                   
    rtems_rfs_inode_free (fs, *ino);                                  
 200fa18:	10 80 00 5f 	b  200fb94 <rtems_rfs_inode_create+0x31c>      <== NOT EXECUTED
 200fa1c:	d2 04 40 00 	ld  [ %l1 ], %o1                               <== NOT EXECUTED
  /*                                                                  
   * Only handle the specifics of a directory. Let caller handle the others.
   *                                                                  
   * The inode delete will free the inode.                            
   */                                                                 
  if (RTEMS_RFS_S_ISDIR (mode))                                       
 200fa20:	80 a4 00 01 	cmp  %l0, %g1                                  
 200fa24:	12 80 00 17 	bne  200fa80 <rtems_rfs_inode_create+0x208>    
 200fa28:	90 10 00 18 	mov  %i0, %o0                                  
  {                                                                   
    rc = rtems_rfs_dir_add_entry (fs, &inode, ".", 1, *ino);          
 200fa2c:	d8 04 40 00 	ld  [ %l1 ], %o4                               
 200fa30:	92 07 bf d8 	add  %fp, -40, %o1                             
 200fa34:	15 00 80 b4 	sethi  %hi(0x202d000), %o2                     
 200fa38:	96 10 20 01 	mov  1, %o3                                    
 200fa3c:	40 00 28 fb 	call  2019e28 <rtems_rfs_dir_add_entry>        
 200fa40:	94 12 a0 a0 	or  %o2, 0xa0, %o2                             
    if (rc == 0)                                                      
 200fa44:	a8 92 20 00 	orcc  %o0, 0, %l4                              
 200fa48:	12 80 00 0b 	bne  200fa74 <rtems_rfs_inode_create+0x1fc>    <== NEVER TAKEN
 200fa4c:	80 a5 20 00 	cmp  %l4, 0                                    
      rc = rtems_rfs_dir_add_entry (fs, &inode, "..", 2, parent);     
 200fa50:	90 10 00 18 	mov  %i0, %o0                                  
 200fa54:	92 07 bf d8 	add  %fp, -40, %o1                             
 200fa58:	15 00 80 b3 	sethi  %hi(0x202cc00), %o2                     
 200fa5c:	96 10 20 02 	mov  2, %o3                                    
 200fa60:	94 12 a3 28 	or  %o2, 0x328, %o2                            
 200fa64:	40 00 28 f1 	call  2019e28 <rtems_rfs_dir_add_entry>        
 200fa68:	98 10 00 19 	mov  %i1, %o4                                  
 200fa6c:	a8 10 00 08 	mov  %o0, %l4                                  
    if (rc > 0)                                                       
 200fa70:	80 a5 20 00 	cmp  %l4, 0                                    
 200fa74:	14 80 00 0b 	bg  200faa0 <rtems_rfs_inode_create+0x228>     <== NEVER TAKEN
 200fa78:	90 10 00 18 	mov  %i0, %o0                                  
      rtems_rfs_inode_close (fs, &inode);                             
      return rc;                                                      
    }                                                                 
  }                                                                   
                                                                      
  rc = rtems_rfs_inode_open (fs, parent, &parent_inode, true);        
 200fa7c:	90 10 00 18 	mov  %i0, %o0                                  
 200fa80:	92 10 00 19 	mov  %i1, %o1                                  
 200fa84:	94 07 bf b0 	add  %fp, -80, %o2                             
 200fa88:	7f ff fe 34 	call  200f358 <rtems_rfs_inode_open>           
 200fa8c:	96 10 20 01 	mov  1, %o3                                    
 200fa90:	a8 10 00 08 	mov  %o0, %l4                                  
  if (rc > 0)                                                         
 200fa94:	80 a5 20 00 	cmp  %l4, 0                                    
 200fa98:	04 80 00 04 	ble  200faa8 <rtems_rfs_inode_create+0x230>    <== ALWAYS TAKEN
 200fa9c:	90 10 00 18 	mov  %i0, %o0                                  
  {                                                                   
    rtems_rfs_inode_delete (fs, &inode);                              
 200faa0:	10 80 00 30 	b  200fb60 <rtems_rfs_inode_create+0x2e8>      <== NOT EXECUTED
 200faa4:	92 07 bf d8 	add  %fp, -40, %o1                             <== NOT EXECUTED
    rtems_rfs_inode_close (fs, &inode);                               
    return rc;                                                        
  }                                                                   
                                                                      
  rc = rtems_rfs_dir_add_entry (fs, &parent_inode, name, length, *ino);
 200faa8:	d8 04 40 00 	ld  [ %l1 ], %o4                               
 200faac:	92 07 bf b0 	add  %fp, -80, %o1                             
 200fab0:	94 10 00 1a 	mov  %i2, %o2                                  
 200fab4:	40 00 28 dd 	call  2019e28 <rtems_rfs_dir_add_entry>        
 200fab8:	96 10 00 1b 	mov  %i3, %o3                                  
  if (rc > 0)                                                         
 200fabc:	a8 92 20 00 	orcc  %o0, 0, %l4                              
 200fac0:	04 80 00 0b 	ble  200faec <rtems_rfs_inode_create+0x274>    <== ALWAYS TAKEN
 200fac4:	03 00 00 10 	sethi  %hi(0x4000), %g1                        
  {                                                                   
    rtems_rfs_inode_delete (fs, &inode);                              
 200fac8:	92 07 bf d8 	add  %fp, -40, %o1                             <== NOT EXECUTED
 200facc:	7f ff fe b8 	call  200f5ac <rtems_rfs_inode_delete>         <== NOT EXECUTED
 200fad0:	90 10 00 18 	mov  %i0, %o0                                  <== NOT EXECUTED
    rtems_rfs_inode_close (fs, &inode);                               
 200fad4:	92 07 bf d8 	add  %fp, -40, %o1                             <== NOT EXECUTED
 200fad8:	7f ff fe 92 	call  200f520 <rtems_rfs_inode_close>          <== NOT EXECUTED
 200fadc:	90 10 00 18 	mov  %i0, %o0                                  <== NOT EXECUTED
    rtems_rfs_inode_close (fs, &parent_inode);                        
 200fae0:	90 10 00 18 	mov  %i0, %o0                                  <== NOT EXECUTED
 200fae4:	10 80 00 23 	b  200fb70 <rtems_rfs_inode_create+0x2f8>      <== NOT EXECUTED
 200fae8:	92 07 bf b0 	add  %fp, -80, %o1                             <== NOT EXECUTED
                                                                      
  /*                                                                  
   * If the node is a directory update the parent link count as the   
   * new directory has the '..' link that points to the parent.       
   */                                                                 
  if (RTEMS_RFS_S_ISDIR (mode))                                       
 200faec:	80 a4 00 01 	cmp  %l0, %g1                                  
 200faf0:	12 80 00 15 	bne  200fb44 <rtems_rfs_inode_create+0x2cc>    
 200faf4:	92 07 bf b0 	add  %fp, -80, %o1                             
    rtems_rfs_inode_set_links (&parent_inode,                         
                               rtems_rfs_inode_get_links (&parent_inode) + 1);
 200faf8:	c2 07 bf bc 	ld  [ %fp + -68 ], %g1                         
static inline uint16_t                                                
rtems_rfs_inode_get_links (rtems_rfs_inode_handle* handle)            
{                                                                     
  uint16_t links;                                                     
  links = rtems_rfs_read_u16 (&handle->node->links);                  
  if (links == 0xffff)                                                
 200fafc:	09 3f ff c0 	sethi  %hi(0xffff0000), %g4                    
 */                                                                   
static inline uint16_t                                                
rtems_rfs_inode_get_links (rtems_rfs_inode_handle* handle)            
{                                                                     
  uint16_t links;                                                     
  links = rtems_rfs_read_u16 (&handle->node->links);                  
 200fb00:	c6 08 60 01 	ldub  [ %g1 + 1 ], %g3                         
 200fb04:	c4 08 40 00 	ldub  [ %g1 ], %g2                             
 200fb08:	85 28 a0 08 	sll  %g2, 8, %g2                               
 200fb0c:	84 10 80 03 	or  %g2, %g3, %g2                              
  if (links == 0xffff)                                                
 200fb10:	87 28 a0 10 	sll  %g2, 0x10, %g3                            
 200fb14:	87 30 e0 10 	srl  %g3, 0x10, %g3                            
    links = 0;                                                        
 200fb18:	86 39 00 03 	xnor  %g4, %g3, %g3                            
 200fb1c:	80 a0 00 03 	cmp  %g0, %g3                                  
 200fb20:	86 60 20 00 	subx  %g0, 0, %g3                              
 200fb24:	84 08 80 03 	and  %g2, %g3, %g2                             
  /*                                                                  
   * If the node is a directory update the parent link count as the   
   * new directory has the '..' link that points to the parent.       
   */                                                                 
  if (RTEMS_RFS_S_ISDIR (mode))                                       
    rtems_rfs_inode_set_links (&parent_inode,                         
 200fb28:	84 00 a0 01 	inc  %g2                                       
 * @prarm links The links.                                            
 */                                                                   
static inline void                                                    
rtems_rfs_inode_set_links (rtems_rfs_inode_handle* handle, uint16_t links)
{                                                                     
  rtems_rfs_write_u16 (&handle->node->links, links);                  
 200fb2c:	87 30 a0 08 	srl  %g2, 8, %g3                               
 200fb30:	c6 28 40 00 	stb  %g3, [ %g1 ]                              
 200fb34:	c2 07 bf bc 	ld  [ %fp + -68 ], %g1                         
 200fb38:	c4 28 60 01 	stb  %g2, [ %g1 + 1 ]                          
  rtems_rfs_buffer_mark_dirty (&handle->buffer);                      
 200fb3c:	82 10 20 01 	mov  1, %g1                                    
 200fb40:	c2 2f bf c0 	stb  %g1, [ %fp + -64 ]                        
                               rtems_rfs_inode_get_links (&parent_inode) + 1);
                                                                      
  rc = rtems_rfs_inode_close (fs, &parent_inode);                     
 200fb44:	7f ff fe 77 	call  200f520 <rtems_rfs_inode_close>          
 200fb48:	90 10 00 18 	mov  %i0, %o0                                  
  if (rc > 0)                                                         
  {                                                                   
    rtems_rfs_inode_delete (fs, &inode);                              
 200fb4c:	92 07 bf d8 	add  %fp, -40, %o1                             
   */                                                                 
  if (RTEMS_RFS_S_ISDIR (mode))                                       
    rtems_rfs_inode_set_links (&parent_inode,                         
                               rtems_rfs_inode_get_links (&parent_inode) + 1);
                                                                      
  rc = rtems_rfs_inode_close (fs, &parent_inode);                     
 200fb50:	a8 10 00 08 	mov  %o0, %l4                                  
  if (rc > 0)                                                         
 200fb54:	80 a5 20 00 	cmp  %l4, 0                                    
 200fb58:	04 80 00 09 	ble  200fb7c <rtems_rfs_inode_create+0x304>    <== ALWAYS TAKEN
 200fb5c:	90 10 00 18 	mov  %i0, %o0                                  
  {                                                                   
    rtems_rfs_inode_delete (fs, &inode);                              
 200fb60:	7f ff fe 93 	call  200f5ac <rtems_rfs_inode_delete>         <== NOT EXECUTED
 200fb64:	01 00 00 00 	nop                                            <== NOT EXECUTED
    rtems_rfs_inode_close (fs, &inode);                               
 200fb68:	90 10 00 18 	mov  %i0, %o0                                  <== NOT EXECUTED
 200fb6c:	92 07 bf d8 	add  %fp, -40, %o1                             <== NOT EXECUTED
 200fb70:	7f ff fe 6c 	call  200f520 <rtems_rfs_inode_close>          <== NOT EXECUTED
 200fb74:	b0 10 00 14 	mov  %l4, %i0                                  <== NOT EXECUTED
    return rc;                                                        
 200fb78:	30 80 00 0c 	b,a   200fba8 <rtems_rfs_inode_create+0x330>   <== NOT EXECUTED
  }                                                                   
                                                                      
  rc = rtems_rfs_inode_close (fs, &inode);                            
 200fb7c:	7f ff fe 69 	call  200f520 <rtems_rfs_inode_close>          
 200fb80:	01 00 00 00 	nop                                            
  if (rc > 0)                                                         
 200fb84:	a8 92 20 00 	orcc  %o0, 0, %l4                              
 200fb88:	24 80 00 07 	ble,a   200fba4 <rtems_rfs_inode_create+0x32c> <== ALWAYS TAKEN
 200fb8c:	a8 10 20 00 	clr  %l4                                       
  {                                                                   
    rtems_rfs_inode_free (fs, *ino);                                  
 200fb90:	d2 04 40 00 	ld  [ %l1 ], %o1                               <== NOT EXECUTED
 200fb94:	7f ff fd c0 	call  200f294 <rtems_rfs_inode_free>           <== NOT EXECUTED
 200fb98:	90 10 00 18 	mov  %i0, %o0                                  <== NOT EXECUTED
    return rc;                                                        
 200fb9c:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 200fba0:	91 e8 00 14 	restore  %g0, %l4, %o0                         <== NOT EXECUTED
  }                                                                   
                                                                      
  return 0;                                                           
}                                                                     
 200fba4:	b0 10 00 14 	mov  %l4, %i0                                  
 200fba8:	81 c7 e0 08 	ret                                            
 200fbac:	81 e8 00 00 	restore                                        
                                                                      

0200f5ac <rtems_rfs_inode_delete>: } int rtems_rfs_inode_delete (rtems_rfs_file_system* fs, rtems_rfs_inode_handle* handle) {
 200f5ac:	9d e3 bf 50 	save  %sp, -176, %sp                           
  int rc = 0;                                                         
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_INODE_DELETE))                 
 200f5b0:	90 10 20 00 	clr  %o0                                       
 200f5b4:	13 00 20 00 	sethi  %hi(0x800000), %o1                      
 200f5b8:	40 00 07 20 	call  2011238 <rtems_rfs_trace>                
 200f5bc:	ba 10 00 18 	mov  %i0, %i5                                  
 200f5c0:	80 8a 20 ff 	btst  0xff, %o0                                
 200f5c4:	02 80 00 0d 	be  200f5f8 <rtems_rfs_inode_delete+0x4c>      <== ALWAYS TAKEN
 200f5c8:	c2 06 60 0c 	ld  [ %i1 + 0xc ], %g1                         
    printf("rtems-rfs: inode-delete: ino:%" PRIu32 " loaded:%s\n",    
 200f5cc:	15 00 80 b9 	sethi  %hi(0x202e400), %o2                     <== NOT EXECUTED
 200f5d0:	d2 06 60 08 	ld  [ %i1 + 8 ], %o1                           <== NOT EXECUTED
 200f5d4:	80 a0 60 00 	cmp  %g1, 0                                    <== NOT EXECUTED
 200f5d8:	02 80 00 04 	be  200f5e8 <rtems_rfs_inode_delete+0x3c>      <== NOT EXECUTED
 200f5dc:	94 12 a3 c0 	or  %o2, 0x3c0, %o2                            <== NOT EXECUTED
 200f5e0:	15 00 80 b9 	sethi  %hi(0x202e400), %o2                     <== NOT EXECUTED
 200f5e4:	94 12 a3 b8 	or  %o2, 0x3b8, %o2	! 202e7b8 <ramdisk_ops+0xafc><== NOT EXECUTED
 200f5e8:	11 00 80 ba 	sethi  %hi(0x202e800), %o0                     <== NOT EXECUTED
 200f5ec:	40 00 3e f7 	call  201f1c8 <printf>                         <== NOT EXECUTED
 200f5f0:	90 12 20 b8 	or  %o0, 0xb8, %o0	! 202e8b8 <ramdisk_ops+0xbfc><== NOT EXECUTED
           rtems_rfs_inode_ino (handle),                              
           rtems_rfs_inode_is_loaded (handle) ? "yes" : "no");        
                                                                      
  if (rtems_rfs_inode_is_loaded (handle))                             
 200f5f4:	c2 06 60 0c 	ld  [ %i1 + 0xc ], %g1                         <== NOT EXECUTED
 200f5f8:	80 a0 60 00 	cmp  %g1, 0                                    
 200f5fc:	02 80 00 1e 	be  200f674 <rtems_rfs_inode_delete+0xc8>      <== NEVER TAKEN
 200f600:	90 10 20 00 	clr  %o0                                       
    rtems_rfs_block_map map;                                          
                                                                      
    /*                                                                
     * Free the ino number.                                           
     */                                                               
    rc = rtems_rfs_inode_free (fs, handle->ino);                      
 200f604:	d2 06 60 08 	ld  [ %i1 + 8 ], %o1                           
 200f608:	7f ff ff 23 	call  200f294 <rtems_rfs_inode_free>           
 200f60c:	90 10 00 1d 	mov  %i5, %o0                                  
    if (rc > 0)                                                       
 200f610:	80 a2 20 00 	cmp  %o0, 0                                    
 200f614:	14 80 00 18 	bg  200f674 <rtems_rfs_inode_delete+0xc8>      <== NEVER TAKEN
 200f618:	92 10 00 19 	mov  %i1, %o1                                  
      return rc;                                                      
                                                                      
    /*                                                                
     * Free the blocks the inode may have attached.                   
     */                                                               
    rc = rtems_rfs_block_map_open (fs, handle, &map);                 
 200f61c:	90 10 00 1d 	mov  %i5, %o0                                  
 200f620:	40 00 23 35 	call  20182f4 <rtems_rfs_block_map_open>       
 200f624:	94 07 bf b0 	add  %fp, -80, %o2                             
    if (rc == 0)                                                      
 200f628:	80 a2 20 00 	cmp  %o0, 0                                    
 200f62c:	12 80 00 12 	bne  200f674 <rtems_rfs_inode_delete+0xc8>     <== NEVER TAKEN
 200f630:	92 07 bf b0 	add  %fp, -80, %o1                             
    {                                                                 
      int rrc;                                                        
      rrc = rtems_rfs_block_map_free_all (fs, &map);                  
 200f634:	40 00 26 4b 	call  2018f60 <rtems_rfs_block_map_free_all>   
 200f638:	90 10 00 1d 	mov  %i5, %o0                                  
      rc = rtems_rfs_block_map_close (fs, &map);                      
 200f63c:	92 07 bf b0 	add  %fp, -80, %o1                             
 200f640:	40 00 23 8f 	call  201847c <rtems_rfs_block_map_close>      
 200f644:	90 10 00 1d 	mov  %i5, %o0                                  
      if (rc > 0)                                                     
        rrc = rc;                                                     
      memset (handle->node, 0xff, RTEMS_RFS_INODE_SIZE);              
 200f648:	d0 06 60 0c 	ld  [ %i1 + 0xc ], %o0                         
 200f64c:	92 10 20 ff 	mov  0xff, %o1                                 
 200f650:	40 00 3e 8c 	call  201f080 <memset>                         
 200f654:	94 10 20 38 	mov  0x38, %o2                                 
      rtems_rfs_buffer_mark_dirty (&handle->buffer);                  
 200f658:	82 10 20 01 	mov  1, %g1                                    
      /*                                                              
       * Do the release here to avoid the ctime field being set on a  
       * close. Also if there loads is greater then one then other loads
       * active. Forcing the loads count to 0.                        
       */                                                             
      rc = rtems_rfs_buffer_handle_release (fs, &handle->buffer);     
 200f65c:	90 10 00 1d 	mov  %i5, %o0                                  
      rrc = rtems_rfs_block_map_free_all (fs, &map);                  
      rc = rtems_rfs_block_map_close (fs, &map);                      
      if (rc > 0)                                                     
        rrc = rc;                                                     
      memset (handle->node, 0xff, RTEMS_RFS_INODE_SIZE);              
      rtems_rfs_buffer_mark_dirty (&handle->buffer);                  
 200f660:	c2 2e 60 10 	stb  %g1, [ %i1 + 0x10 ]                       
      /*                                                              
       * Do the release here to avoid the ctime field being set on a  
       * close. Also if there loads is greater then one then other loads
       * active. Forcing the loads count to 0.                        
       */                                                             
      rc = rtems_rfs_buffer_handle_release (fs, &handle->buffer);     
 200f664:	40 00 26 a3 	call  20190f0 <rtems_rfs_buffer_handle_release>
 200f668:	92 06 60 10 	add  %i1, 0x10, %o1                            
      handle->loads = 0;                                              
 200f66c:	c0 26 60 24 	clr  [ %i1 + 0x24 ]                            
      handle->node = NULL;                                            
 200f670:	c0 26 60 0c 	clr  [ %i1 + 0xc ]                             
    }                                                                 
  }                                                                   
  return rc;                                                          
}                                                                     
 200f674:	81 c7 e0 08 	ret                                            
 200f678:	91 e8 00 08 	restore  %g0, %o0, %o0                         
                                                                      

0201ce74 <rtems_rfs_inode_get_block.isra.0>: * @return uint32_t The block number. */ static inline uint32_t rtems_rfs_inode_get_block (rtems_rfs_inode_handle* handle, int block) { return rtems_rfs_read_u32 (&handle->node->data.blocks[block]);
 201ce74:	84 02 20 1c 	add  %o0, 0x1c, %g2                            <== NOT EXECUTED
 201ce78:	83 2a 60 02 	sll  %o1, 2, %g1                               <== NOT EXECUTED
 201ce7c:	92 02 60 06 	add  %o1, 6, %o1                               <== NOT EXECUTED
 201ce80:	82 00 80 01 	add  %g2, %g1, %g1                             <== NOT EXECUTED
 201ce84:	93 2a 60 02 	sll  %o1, 2, %o1                               <== NOT EXECUTED
 201ce88:	c4 08 60 03 	ldub  [ %g1 + 3 ], %g2                         <== NOT EXECUTED
 201ce8c:	90 02 00 09 	add  %o0, %o1, %o0                             <== NOT EXECUTED
 201ce90:	d0 0a 20 04 	ldub  [ %o0 + 4 ], %o0                         <== NOT EXECUTED
 201ce94:	91 2a 20 18 	sll  %o0, 0x18, %o0                            <== NOT EXECUTED
 201ce98:	90 10 80 08 	or  %g2, %o0, %o0                              <== NOT EXECUTED
 201ce9c:	c4 08 60 01 	ldub  [ %g1 + 1 ], %g2                         <== NOT EXECUTED
 201cea0:	c2 08 60 02 	ldub  [ %g1 + 2 ], %g1                         <== NOT EXECUTED
 201cea4:	85 28 a0 10 	sll  %g2, 0x10, %g2                            <== NOT EXECUTED
 201cea8:	83 28 60 08 	sll  %g1, 8, %g1                               <== NOT EXECUTED
 201ceac:	90 12 00 02 	or  %o0, %g2, %o0                              <== NOT EXECUTED
}                                                                     
 201ceb0:	81 c3 e0 08 	retl                                           <== NOT EXECUTED
 201ceb4:	90 12 00 01 	or  %o0, %g1, %o0                              <== NOT EXECUTED
                                                                      

0200fd94 <rtems_rfs_inode_get_block.isra.9>: * @return uint32_t The block number. */ static inline uint32_t rtems_rfs_inode_get_block (rtems_rfs_inode_handle* handle, int block) { return rtems_rfs_read_u32 (&handle->node->data.blocks[block]);
 200fd94:	84 02 20 1c 	add  %o0, 0x1c, %g2                            <== NOT EXECUTED
 200fd98:	83 2a 60 02 	sll  %o1, 2, %g1                               <== NOT EXECUTED
 200fd9c:	92 02 60 06 	add  %o1, 6, %o1                               <== NOT EXECUTED
 200fda0:	82 00 80 01 	add  %g2, %g1, %g1                             <== NOT EXECUTED
 200fda4:	93 2a 60 02 	sll  %o1, 2, %o1                               <== NOT EXECUTED
 200fda8:	c4 08 60 03 	ldub  [ %g1 + 3 ], %g2                         <== NOT EXECUTED
 200fdac:	90 02 00 09 	add  %o0, %o1, %o0                             <== NOT EXECUTED
 200fdb0:	d0 0a 20 04 	ldub  [ %o0 + 4 ], %o0                         <== NOT EXECUTED
 200fdb4:	91 2a 20 18 	sll  %o0, 0x18, %o0                            <== NOT EXECUTED
 200fdb8:	90 10 80 08 	or  %g2, %o0, %o0                              <== NOT EXECUTED
 200fdbc:	c4 08 60 01 	ldub  [ %g1 + 1 ], %g2                         <== NOT EXECUTED
 200fdc0:	c2 08 60 02 	ldub  [ %g1 + 2 ], %g1                         <== NOT EXECUTED
 200fdc4:	85 28 a0 10 	sll  %g2, 0x10, %g2                            <== NOT EXECUTED
 200fdc8:	83 28 60 08 	sll  %g1, 8, %g1                               <== NOT EXECUTED
 200fdcc:	90 12 00 02 	or  %o0, %g2, %o0                              <== NOT EXECUTED
}                                                                     
 200fdd0:	81 c3 e0 08 	retl                                           <== NOT EXECUTED
 200fdd4:	90 12 00 01 	or  %o0, %g1, %o0                              <== NOT EXECUTED
                                                                      

0200f2a8 <rtems_rfs_inode_load>: } int rtems_rfs_inode_load (rtems_rfs_file_system* fs, rtems_rfs_inode_handle* handle) {
 200f2a8:	9d e3 bf a0 	save  %sp, -96, %sp                            
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_INODE_LOAD))                   
 200f2ac:	90 10 20 00 	clr  %o0                                       
 200f2b0:	40 00 07 e2 	call  2011238 <rtems_rfs_trace>                
 200f2b4:	13 00 04 00 	sethi  %hi(0x100000), %o1                      
 200f2b8:	80 8a 20 ff 	btst  0xff, %o0                                
 200f2bc:	02 80 00 0e 	be  200f2f4 <rtems_rfs_inode_load+0x4c>        <== ALWAYS TAKEN
 200f2c0:	c2 06 60 0c 	ld  [ %i1 + 0xc ], %g1                         
    printf ("rtems-rfs: inode-load: ino=%" PRIu32 " loads=%i loaded=%s\n",
 200f2c4:	17 00 80 b9 	sethi  %hi(0x202e400), %o3                     <== NOT EXECUTED
 200f2c8:	d2 06 60 08 	ld  [ %i1 + 8 ], %o1                           <== NOT EXECUTED
 200f2cc:	d4 06 60 24 	ld  [ %i1 + 0x24 ], %o2                        <== NOT EXECUTED
 200f2d0:	80 a0 60 00 	cmp  %g1, 0                                    <== NOT EXECUTED
 200f2d4:	02 80 00 04 	be  200f2e4 <rtems_rfs_inode_load+0x3c>        <== NOT EXECUTED
 200f2d8:	96 12 e3 c0 	or  %o3, 0x3c0, %o3                            <== NOT EXECUTED
 200f2dc:	17 00 80 b9 	sethi  %hi(0x202e400), %o3                     <== NOT EXECUTED
 200f2e0:	96 12 e3 b8 	or  %o3, 0x3b8, %o3	! 202e7b8 <ramdisk_ops+0xafc><== NOT EXECUTED
 200f2e4:	11 00 80 b9 	sethi  %hi(0x202e400), %o0                     <== NOT EXECUTED
 200f2e8:	40 00 3f b8 	call  201f1c8 <printf>                         <== NOT EXECUTED
 200f2ec:	90 12 23 c8 	or  %o0, 0x3c8, %o0	! 202e7c8 <ramdisk_ops+0xb0c><== NOT EXECUTED
                                                                      
  /*                                                                  
   * An inode does not move so once loaded no need to do again.       
   */                                                                 
                                                                      
  if (!rtems_rfs_inode_is_loaded (handle))                            
 200f2f0:	c2 06 60 0c 	ld  [ %i1 + 0xc ], %g1                         <== NOT EXECUTED
 200f2f4:	80 a0 60 00 	cmp  %g1, 0                                    
 200f2f8:	32 80 00 13 	bne,a   200f344 <rtems_rfs_inode_load+0x9c>    
 200f2fc:	c2 06 60 24 	ld  [ %i1 + 0x24 ], %g1                        
  {                                                                   
    int rc;                                                           
                                                                      
    rc = rtems_rfs_buffer_handle_request (fs,&handle->buffer,         
 200f300:	d4 06 60 1c 	ld  [ %i1 + 0x1c ], %o2                        
 200f304:	90 10 00 18 	mov  %i0, %o0                                  
 200f308:	92 06 60 10 	add  %i1, 0x10, %o1                            
 200f30c:	40 00 27 eb 	call  20192b8 <rtems_rfs_buffer_handle_request>
 200f310:	96 10 20 01 	mov  1, %o3                                    
                                          handle->block, true);       
    if (rc > 0)                                                       
 200f314:	b0 92 20 00 	orcc  %o0, 0, %i0                              
 200f318:	14 80 00 0e 	bg  200f350 <rtems_rfs_inode_load+0xa8>        <== NEVER TAKEN
 200f31c:	01 00 00 00 	nop                                            
      return rc;                                                      
                                                                      
    handle->node = rtems_rfs_buffer_data (&handle->buffer);           
 200f320:	c4 06 60 18 	ld  [ %i1 + 0x18 ], %g2                        
    handle->node += handle->offset;                                   
 200f324:	c2 06 60 20 	ld  [ %i1 + 0x20 ], %g1                        
 200f328:	c4 00 a0 24 	ld  [ %g2 + 0x24 ], %g2                        
 200f32c:	87 28 60 03 	sll  %g1, 3, %g3                               
 200f330:	83 28 60 06 	sll  %g1, 6, %g1                               
 200f334:	82 20 40 03 	sub  %g1, %g3, %g1                             
 200f338:	82 00 80 01 	add  %g2, %g1, %g1                             
 200f33c:	c2 26 60 0c 	st  %g1, [ %i1 + 0xc ]                         
  }                                                                   
                                                                      
  handle->loads++;                                                    
 200f340:	c2 06 60 24 	ld  [ %i1 + 0x24 ], %g1                        
                                                                      
  return 0;                                                           
 200f344:	b0 10 20 00 	clr  %i0                                       
                                                                      
    handle->node = rtems_rfs_buffer_data (&handle->buffer);           
    handle->node += handle->offset;                                   
  }                                                                   
                                                                      
  handle->loads++;                                                    
 200f348:	82 00 60 01 	inc  %g1                                       
 200f34c:	c2 26 60 24 	st  %g1, [ %i1 + 0x24 ]                        
                                                                      
  return 0;                                                           
}                                                                     
 200f350:	81 c7 e0 08 	ret                                            
 200f354:	81 e8 00 00 	restore                                        
                                                                      

0200f358 <rtems_rfs_inode_open>: int rtems_rfs_inode_open (rtems_rfs_file_system* fs, rtems_rfs_ino ino, rtems_rfs_inode_handle* handle, bool load) {
 200f358:	9d e3 bf a0 	save  %sp, -96, %sp                            
  int group;                                                          
  int gino;                                                           
  int index;                                                          
  int rc;                                                             
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_INODE_OPEN))                   
 200f35c:	90 10 20 00 	clr  %o0                                       
 200f360:	40 00 07 b6 	call  2011238 <rtems_rfs_trace>                
 200f364:	13 00 01 00 	sethi  %hi(0x40000), %o1                       
 200f368:	80 8a 20 ff 	btst  0xff, %o0                                
 200f36c:	02 80 00 07 	be  200f388 <rtems_rfs_inode_open+0x30>        <== ALWAYS TAKEN
 200f370:	80 a6 60 00 	cmp  %i1, 0                                    
    printf ("rtems-rfs: inode-open: ino: %" PRIu32 "\n", ino);        
 200f374:	11 00 80 ba 	sethi  %hi(0x202e800), %o0                     <== NOT EXECUTED
 200f378:	92 10 00 19 	mov  %i1, %o1                                  <== NOT EXECUTED
 200f37c:	40 00 3f 93 	call  201f1c8 <printf>                         <== NOT EXECUTED
 200f380:	90 12 20 00 	mov  %o0, %o0                                  <== NOT EXECUTED
                                                                      
  if (ino == RTEMS_RFS_EMPTY_INO)                                     
 200f384:	80 a6 60 00 	cmp  %i1, 0                                    <== NOT EXECUTED
 200f388:	02 80 00 28 	be  200f428 <rtems_rfs_inode_open+0xd0>        <== NEVER TAKEN
 200f38c:	82 10 20 16 	mov  0x16, %g1                                 
    return EINVAL;                                                    
                                                                      
  if ((ino - RTEMS_RFS_ROOT_INO) > rtems_rfs_fs_inodes (fs))          
 200f390:	c4 06 20 10 	ld  [ %i0 + 0x10 ], %g2                        
 200f394:	ba 06 7f ff 	add  %i1, -1, %i5                              
 200f398:	80 a7 40 02 	cmp  %i5, %g2                                  
 200f39c:	18 80 00 23 	bgu  200f428 <rtems_rfs_inode_open+0xd0>       <== NEVER TAKEN
 200f3a0:	90 10 00 1d 	mov  %i5, %o0                                  
  handle->ino = ino;                                                  
  handle->node = NULL;                                                
  handle->loads = 0;                                                  
                                                                      
  gino  = ino - RTEMS_RFS_ROOT_INO;                                   
  group = gino / fs->group_inodes;                                    
 200f3a4:	f8 06 20 28 	ld  [ %i0 + 0x28 ], %i4                        
    return EINVAL;                                                    
                                                                      
  if ((ino - RTEMS_RFS_ROOT_INO) > rtems_rfs_fs_inodes (fs))          
    return EINVAL;                                                    
                                                                      
  handle->ino = ino;                                                  
 200f3a8:	f2 26 a0 08 	st  %i1, [ %i2 + 8 ]                           
  handle->node = NULL;                                                
  handle->loads = 0;                                                  
                                                                      
  gino  = ino - RTEMS_RFS_ROOT_INO;                                   
  group = gino / fs->group_inodes;                                    
  gino  = gino % fs->group_inodes;                                    
 200f3ac:	92 10 00 1c 	mov  %i4, %o1                                  
                                                                      
  if ((ino - RTEMS_RFS_ROOT_INO) > rtems_rfs_fs_inodes (fs))          
    return EINVAL;                                                    
                                                                      
  handle->ino = ino;                                                  
  handle->node = NULL;                                                
 200f3b0:	c0 26 a0 0c 	clr  [ %i2 + 0xc ]                             
  handle->loads = 0;                                                  
                                                                      
  gino  = ino - RTEMS_RFS_ROOT_INO;                                   
  group = gino / fs->group_inodes;                                    
  gino  = gino % fs->group_inodes;                                    
 200f3b4:	40 00 70 02 	call  202b3bc <.urem>                          
 200f3b8:	c0 26 a0 24 	clr  [ %i2 + 0x24 ]                            
  index = (gino / fs->inodes_per_block) + RTEMS_RFS_GROUP_INODE_BLOCK;
 200f3bc:	f2 06 20 2c 	ld  [ %i0 + 0x2c ], %i1                        
  handle->node = NULL;                                                
  handle->loads = 0;                                                  
                                                                      
  gino  = ino - RTEMS_RFS_ROOT_INO;                                   
  group = gino / fs->group_inodes;                                    
  gino  = gino % fs->group_inodes;                                    
 200f3c0:	a0 10 00 08 	mov  %o0, %l0                                  
  index = (gino / fs->inodes_per_block) + RTEMS_RFS_GROUP_INODE_BLOCK;
                                                                      
  handle->offset = gino % fs->inodes_per_block;                       
 200f3c4:	40 00 6f fe 	call  202b3bc <.urem>                          
 200f3c8:	92 10 00 19 	mov  %i1, %o1                                  
  handle->ino = ino;                                                  
  handle->node = NULL;                                                
  handle->loads = 0;                                                  
                                                                      
  gino  = ino - RTEMS_RFS_ROOT_INO;                                   
  group = gino / fs->group_inodes;                                    
 200f3cc:	92 10 00 1c 	mov  %i4, %o1                                  
  gino  = gino % fs->group_inodes;                                    
  index = (gino / fs->inodes_per_block) + RTEMS_RFS_GROUP_INODE_BLOCK;
                                                                      
  handle->offset = gino % fs->inodes_per_block;                       
 200f3d0:	d0 26 a0 20 	st  %o0, [ %i2 + 0x20 ]                        
  handle->ino = ino;                                                  
  handle->node = NULL;                                                
  handle->loads = 0;                                                  
                                                                      
  gino  = ino - RTEMS_RFS_ROOT_INO;                                   
  group = gino / fs->group_inodes;                                    
 200f3d4:	40 00 6f 4e 	call  202b10c <.udiv>                          
 200f3d8:	90 10 00 1d 	mov  %i5, %o0                                  
  gino  = gino % fs->group_inodes;                                    
  index = (gino / fs->inodes_per_block) + RTEMS_RFS_GROUP_INODE_BLOCK;
                                                                      
  handle->offset = gino % fs->inodes_per_block;                       
  handle->block  = rtems_rfs_group_block (&fs->groups[group], index); 
 200f3dc:	c2 06 20 1c 	ld  [ %i0 + 0x1c ], %g1                        
 200f3e0:	85 2a 20 04 	sll  %o0, 4, %g2                               
 200f3e4:	91 2a 20 06 	sll  %o0, 6, %o0                               
 200f3e8:	90 00 80 08 	add  %g2, %o0, %o0                             
  handle->loads = 0;                                                  
                                                                      
  gino  = ino - RTEMS_RFS_ROOT_INO;                                   
  group = gino / fs->group_inodes;                                    
  gino  = gino % fs->group_inodes;                                    
  index = (gino / fs->inodes_per_block) + RTEMS_RFS_GROUP_INODE_BLOCK;
 200f3ec:	fa 00 40 08 	ld  [ %g1 + %o0 ], %i5                         
 200f3f0:	92 10 00 19 	mov  %i1, %o1                                  
 200f3f4:	ba 07 60 02 	add  %i5, 2, %i5                               
 200f3f8:	40 00 6f 45 	call  202b10c <.udiv>                          
 200f3fc:	90 10 00 10 	mov  %l0, %o0                                  
 */                                                                   
static inline int                                                     
rtems_rfs_buffer_handle_open (rtems_rfs_file_system*   fs,            
                              rtems_rfs_buffer_handle* handle)        
{                                                                     
  handle->dirty = false;                                              
 200f400:	c0 2e a0 10 	clrb  [ %i2 + 0x10 ]                           
                                                                      
  handle->offset = gino % fs->inodes_per_block;                       
  handle->block  = rtems_rfs_group_block (&fs->groups[group], index); 
 200f404:	ba 07 40 08 	add  %i5, %o0, %i5                             
  handle->bnum  = 0;                                                  
 200f408:	c0 26 a0 14 	clr  [ %i2 + 0x14 ]                            
 200f40c:	fa 26 a0 1c 	st  %i5, [ %i2 + 0x1c ]                        
  handle->buffer = NULL;                                              
 200f410:	c0 26 a0 18 	clr  [ %i2 + 0x18 ]                            
                                                                      
  rc = rtems_rfs_buffer_handle_open (fs, &handle->buffer);            
  if ((rc == 0) && load)                                              
 200f414:	80 a6 e0 00 	cmp  %i3, 0                                    
 200f418:	02 80 00 04 	be  200f428 <rtems_rfs_inode_open+0xd0>        <== NEVER TAKEN
 200f41c:	82 10 20 00 	clr  %g1                                       
    rc = rtems_rfs_inode_load (fs, handle);                           
 200f420:	7f ff ff a2 	call  200f2a8 <rtems_rfs_inode_load>           
 200f424:	93 e8 00 1a 	restore  %g0, %i2, %o1                         
  return rc;                                                          
}                                                                     
 200f428:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 200f42c:	91 e8 00 01 	restore  %g0, %g1, %o0                         <== NOT EXECUTED
                                                                      

0200deb4 <rtems_rfs_inode_overhead>: /** * Return the inode overhead given a number of inodes. */ static int rtems_rfs_inode_overhead (rtems_rfs_file_system* fs) {
 200deb4:	9d e3 bf a0 	save  %sp, -96, %sp                            <== NOT EXECUTED
  int blocks;                                                         
  int bits_per_block;                                                 
  blocks = rtems_rfs_rup_quotient(fs->group_inodes * RTEMS_RFS_INODE_SIZE,
 200deb8:	c2 06 20 28 	ld  [ %i0 + 0x28 ], %g1                        <== NOT EXECUTED
                                  rtems_rfs_fs_block_size (fs));      
 200debc:	fa 06 20 08 	ld  [ %i0 + 8 ], %i5                           <== NOT EXECUTED
static int                                                            
rtems_rfs_inode_overhead (rtems_rfs_file_system* fs)                  
{                                                                     
  int blocks;                                                         
  int bits_per_block;                                                 
  blocks = rtems_rfs_rup_quotient(fs->group_inodes * RTEMS_RFS_INODE_SIZE,
 200dec0:	85 28 60 03 	sll  %g1, 3, %g2                               <== NOT EXECUTED
 200dec4:	83 28 60 06 	sll  %g1, 6, %g1                               <== NOT EXECUTED
 200dec8:	92 10 00 1d 	mov  %i5, %o1                                  <== NOT EXECUTED
 200decc:	7f ff ff ef 	call  200de88 <rtems_rfs_rup_quotient>         <== NOT EXECUTED
 200ded0:	90 20 40 02 	sub  %g1, %g2, %o0                             <== NOT EXECUTED
                                  rtems_rfs_fs_block_size (fs));      
  bits_per_block = rtems_rfs_bits_per_block (fs);                     
  /*                                                                  
   * There could be more bits than blocks, eg 512K disk with 512 blocks.
   */                                                                 
  if (bits_per_block > (rtems_rfs_fs_blocks (fs) - RTEMS_RFS_SUPERBLOCK_SIZE))
 200ded4:	d2 06 20 04 	ld  [ %i0 + 4 ], %o1                           <== NOT EXECUTED
 * Return the number of bits that fit in the block size.              
 */                                                                   
static int                                                            
rtems_rfs_bits_per_block (rtems_rfs_file_system* fs)                  
{                                                                     
  return rtems_rfs_bitmap_numof_bits (rtems_rfs_fs_block_size (fs));  
 200ded8:	bb 2f 60 03 	sll  %i5, 3, %i5                               <== NOT EXECUTED
                                  rtems_rfs_fs_block_size (fs));      
  bits_per_block = rtems_rfs_bits_per_block (fs);                     
  /*                                                                  
   * There could be more bits than blocks, eg 512K disk with 512 blocks.
   */                                                                 
  if (bits_per_block > (rtems_rfs_fs_blocks (fs) - RTEMS_RFS_SUPERBLOCK_SIZE))
 200dedc:	92 02 7f ff 	add  %o1, -1, %o1                              <== NOT EXECUTED
 200dee0:	80 a7 40 09 	cmp  %i5, %o1                                  <== NOT EXECUTED
 200dee4:	28 80 00 02 	bleu,a   200deec <rtems_rfs_inode_overhead+0x38><== NOT EXECUTED
 200dee8:	92 10 00 1d 	mov  %i5, %o1                                  <== NOT EXECUTED
    bits_per_block = rtems_rfs_fs_blocks (fs) - RTEMS_RFS_SUPERBLOCK_SIZE;
  return ((blocks + 1) * 100 * 10) / bits_per_block;                  
 200deec:	90 02 20 01 	inc  %o0                                       <== NOT EXECUTED
 200def0:	85 2a 20 07 	sll  %o0, 7, %g2                               <== NOT EXECUTED
 200def4:	83 2a 20 02 	sll  %o0, 2, %g1                               <== NOT EXECUTED
 200def8:	82 20 80 01 	sub  %g2, %g1, %g1                             <== NOT EXECUTED
 200defc:	90 00 40 08 	add  %g1, %o0, %o0                             <== NOT EXECUTED
 200df00:	40 00 74 85 	call  202b114 <.div>                           <== NOT EXECUTED
 200df04:	91 2a 20 03 	sll  %o0, 3, %o0                               <== NOT EXECUTED
}                                                                     
 200df08:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 200df0c:	91 e8 00 08 	restore  %g0, %o0, %o0                         <== NOT EXECUTED
                                                                      

0200fc10 <rtems_rfs_inode_set_block>: * @param bno The block number. */ static inline void rtems_rfs_inode_set_block (rtems_rfs_inode_handle* handle, int block, uint32_t bno) { rtems_rfs_write_u32 (&handle->node->data.blocks[block], bno);
 200fc10:	c4 02 20 0c 	ld  [ %o0 + 0xc ], %g2                         <== NOT EXECUTED
 200fc14:	82 02 60 06 	add  %o1, 6, %g1                               <== NOT EXECUTED
 200fc18:	83 28 60 02 	sll  %g1, 2, %g1                               <== NOT EXECUTED
 200fc1c:	82 00 80 01 	add  %g2, %g1, %g1                             <== NOT EXECUTED
 200fc20:	85 32 a0 18 	srl  %o2, 0x18, %g2                            <== NOT EXECUTED
 200fc24:	c4 28 60 04 	stb  %g2, [ %g1 + 4 ]                          <== NOT EXECUTED
 200fc28:	c2 02 20 0c 	ld  [ %o0 + 0xc ], %g1                         <== NOT EXECUTED
 200fc2c:	93 2a 60 02 	sll  %o1, 2, %o1                               <== NOT EXECUTED
 200fc30:	82 00 40 09 	add  %g1, %o1, %g1                             <== NOT EXECUTED
 200fc34:	85 32 a0 10 	srl  %o2, 0x10, %g2                            <== NOT EXECUTED
 200fc38:	c4 28 60 1d 	stb  %g2, [ %g1 + 0x1d ]                       <== NOT EXECUTED
 200fc3c:	c2 02 20 0c 	ld  [ %o0 + 0xc ], %g1                         <== NOT EXECUTED
 200fc40:	85 32 a0 08 	srl  %o2, 8, %g2                               <== NOT EXECUTED
 200fc44:	82 00 40 09 	add  %g1, %o1, %g1                             <== NOT EXECUTED
 200fc48:	c4 28 60 1e 	stb  %g2, [ %g1 + 0x1e ]                       <== NOT EXECUTED
 200fc4c:	c2 02 20 0c 	ld  [ %o0 + 0xc ], %g1                         <== NOT EXECUTED
 200fc50:	92 00 40 09 	add  %g1, %o1, %o1                             <== NOT EXECUTED
 200fc54:	d4 2a 60 1f 	stb  %o2, [ %o1 + 0x1f ]                       <== NOT EXECUTED
  rtems_rfs_buffer_mark_dirty (&handle->buffer);                      
 200fc58:	82 10 20 01 	mov  1, %g1                                    <== NOT EXECUTED
}                                                                     
 200fc5c:	81 c3 e0 08 	retl                                           <== NOT EXECUTED
 200fc60:	c2 2a 20 10 	stb  %g1, [ %o0 + 0x10 ]                       <== NOT EXECUTED
                                                                      

0200f67c <rtems_rfs_inode_time_stamp_now>: int rtems_rfs_inode_time_stamp_now (rtems_rfs_inode_handle* handle, bool atime, bool mtime) {
 200f67c:	9d e3 bf a0 	save  %sp, -96, %sp                            
  time_t now;                                                         
  if (!rtems_rfs_inode_is_loaded (handle))                            
 200f680:	c2 06 20 0c 	ld  [ %i0 + 0xc ], %g1                         
                                                                      
int                                                                   
rtems_rfs_inode_time_stamp_now (rtems_rfs_inode_handle* handle,       
                                bool                    atime,        
                                bool                    mtime)        
{                                                                     
 200f684:	ba 10 00 18 	mov  %i0, %i5                                  
  time_t now;                                                         
  if (!rtems_rfs_inode_is_loaded (handle))                            
 200f688:	80 a0 60 00 	cmp  %g1, 0                                    
 200f68c:	02 80 00 23 	be  200f718 <rtems_rfs_inode_time_stamp_now+0x9c><== NEVER TAKEN
 200f690:	b0 10 20 06 	mov  6, %i0                                    
    return ENXIO;                                                     
  now = time (NULL);                                                  
 200f694:	40 00 4c 32 	call  202275c <time>                           
 200f698:	90 10 20 00 	clr  %o0                                       
  if (atime)                                                          
 200f69c:	80 a6 60 00 	cmp  %i1, 0                                    
 200f6a0:	02 80 00 0f 	be  200f6dc <rtems_rfs_inode_time_stamp_now+0x60><== NEVER TAKEN
 200f6a4:	80 a6 a0 00 	cmp  %i2, 0                                    
 */                                                                   
static inline void                                                    
rtems_rfs_inode_set_atime (rtems_rfs_inode_handle* handle,            
                           rtems_rfs_time          atime)             
{                                                                     
  rtems_rfs_write_u32 (&handle->node->atime, atime);                  
 200f6a8:	c2 07 60 0c 	ld  [ %i5 + 0xc ], %g1                         
 200f6ac:	85 32 20 18 	srl  %o0, 0x18, %g2                            
 200f6b0:	c4 28 60 10 	stb  %g2, [ %g1 + 0x10 ]                       
 200f6b4:	c2 07 60 0c 	ld  [ %i5 + 0xc ], %g1                         
 200f6b8:	85 32 20 10 	srl  %o0, 0x10, %g2                            
 200f6bc:	c4 28 60 11 	stb  %g2, [ %g1 + 0x11 ]                       
 200f6c0:	c2 07 60 0c 	ld  [ %i5 + 0xc ], %g1                         
 200f6c4:	85 32 20 08 	srl  %o0, 8, %g2                               
 200f6c8:	c4 28 60 12 	stb  %g2, [ %g1 + 0x12 ]                       
 200f6cc:	c2 07 60 0c 	ld  [ %i5 + 0xc ], %g1                         
 200f6d0:	d0 28 60 13 	stb  %o0, [ %g1 + 0x13 ]                       
  rtems_rfs_buffer_mark_dirty (&handle->buffer);                      
 200f6d4:	82 10 20 01 	mov  1, %g1                                    
 200f6d8:	c2 2f 60 10 	stb  %g1, [ %i5 + 0x10 ]                       
    rtems_rfs_inode_set_atime (handle, now);                          
  if (mtime)                                                          
 200f6dc:	02 80 00 0f 	be  200f718 <rtems_rfs_inode_time_stamp_now+0x9c><== NEVER TAKEN
 200f6e0:	b0 10 20 00 	clr  %i0                                       
 */                                                                   
static inline void                                                    
rtems_rfs_inode_set_mtime (rtems_rfs_inode_handle* handle,            
                           rtems_rfs_time          mtime)             
{                                                                     
  rtems_rfs_write_u32 (&handle->node->mtime, mtime);                  
 200f6e4:	c2 07 60 0c 	ld  [ %i5 + 0xc ], %g1                         
 200f6e8:	85 32 20 18 	srl  %o0, 0x18, %g2                            
 200f6ec:	c4 28 60 14 	stb  %g2, [ %g1 + 0x14 ]                       
 200f6f0:	c2 07 60 0c 	ld  [ %i5 + 0xc ], %g1                         
 200f6f4:	85 32 20 10 	srl  %o0, 0x10, %g2                            
 200f6f8:	c4 28 60 15 	stb  %g2, [ %g1 + 0x15 ]                       
 200f6fc:	c2 07 60 0c 	ld  [ %i5 + 0xc ], %g1                         
 200f700:	85 32 20 08 	srl  %o0, 8, %g2                               
 200f704:	c4 28 60 16 	stb  %g2, [ %g1 + 0x16 ]                       
 200f708:	c2 07 60 0c 	ld  [ %i5 + 0xc ], %g1                         
 200f70c:	d0 28 60 17 	stb  %o0, [ %g1 + 0x17 ]                       
  rtems_rfs_buffer_mark_dirty (&handle->buffer);                      
 200f710:	82 10 20 01 	mov  1, %g1                                    
 200f714:	c2 2f 60 10 	stb  %g1, [ %i5 + 0x10 ]                       
    rtems_rfs_inode_set_mtime (handle, now);                          
  return 0;                                                           
}                                                                     
 200f718:	81 c7 e0 08 	ret                                            
 200f71c:	81 e8 00 00 	restore                                        
                                                                      

0200f430 <rtems_rfs_inode_unload>: int rtems_rfs_inode_unload (rtems_rfs_file_system* fs, rtems_rfs_inode_handle* handle, bool update_ctime) {
 200f430:	9d e3 bf a0 	save  %sp, -96, %sp                            
  int rc = 0;                                                         
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_INODE_UNLOAD))                 
 200f434:	90 10 20 00 	clr  %o0                                       
 200f438:	13 00 08 00 	sethi  %hi(0x200000), %o1                      
 200f43c:	40 00 07 7f 	call  2011238 <rtems_rfs_trace>                
 200f440:	ba 10 00 18 	mov  %i0, %i5                                  
 200f444:	80 8a 20 ff 	btst  0xff, %o0                                
 200f448:	02 80 00 0e 	be  200f480 <rtems_rfs_inode_unload+0x50>      <== ALWAYS TAKEN
 200f44c:	c2 06 60 0c 	ld  [ %i1 + 0xc ], %g1                         
    printf ("rtems-rfs: inode-unload: ino=%" PRIu32 " loads=%i loaded=%s\n",
 200f450:	17 00 80 b9 	sethi  %hi(0x202e400), %o3                     <== NOT EXECUTED
 200f454:	d2 06 60 08 	ld  [ %i1 + 8 ], %o1                           <== NOT EXECUTED
 200f458:	d4 06 60 24 	ld  [ %i1 + 0x24 ], %o2                        <== NOT EXECUTED
 200f45c:	80 a0 60 00 	cmp  %g1, 0                                    <== NOT EXECUTED
 200f460:	02 80 00 04 	be  200f470 <rtems_rfs_inode_unload+0x40>      <== NOT EXECUTED
 200f464:	96 12 e3 c0 	or  %o3, 0x3c0, %o3                            <== NOT EXECUTED
 200f468:	17 00 80 b9 	sethi  %hi(0x202e400), %o3                     <== NOT EXECUTED
 200f46c:	96 12 e3 b8 	or  %o3, 0x3b8, %o3	! 202e7b8 <ramdisk_ops+0xafc><== NOT EXECUTED
 200f470:	11 00 80 ba 	sethi  %hi(0x202e800), %o0                     <== NOT EXECUTED
 200f474:	40 00 3f 55 	call  201f1c8 <printf>                         <== NOT EXECUTED
 200f478:	90 12 20 28 	or  %o0, 0x28, %o0	! 202e828 <ramdisk_ops+0xb6c><== NOT EXECUTED
            handle->ino, handle->loads,                               
            rtems_rfs_inode_is_loaded (handle) ? "yes" : "no");       
                                                                      
  if (rtems_rfs_inode_is_loaded (handle))                             
 200f47c:	c2 06 60 0c 	ld  [ %i1 + 0xc ], %g1                         <== NOT EXECUTED
 200f480:	80 a0 60 00 	cmp  %g1, 0                                    
 200f484:	02 80 00 25 	be  200f518 <rtems_rfs_inode_unload+0xe8>      
 200f488:	90 10 20 00 	clr  %o0                                       
  {                                                                   
    if (handle->loads == 0)                                           
 200f48c:	c2 06 60 24 	ld  [ %i1 + 0x24 ], %g1                        
 200f490:	80 a0 60 00 	cmp  %g1, 0                                    
 200f494:	02 80 00 21 	be  200f518 <rtems_rfs_inode_unload+0xe8>      <== NEVER TAKEN
 200f498:	90 10 20 05 	mov  5, %o0                                    
      return EIO;                                                     
                                                                      
    handle->loads--;                                                  
 200f49c:	82 00 7f ff 	add  %g1, -1, %g1                              
 200f4a0:	c2 26 60 24 	st  %g1, [ %i1 + 0x24 ]                        
                                                                      
    if (handle->loads == 0)                                           
 200f4a4:	80 a0 60 00 	cmp  %g1, 0                                    
 200f4a8:	12 80 00 1c 	bne  200f518 <rtems_rfs_inode_unload+0xe8>     
 200f4ac:	90 10 20 00 	clr  %o0                                       
    {                                                                 
      /*                                                              
       * If the buffer is dirty it will be release. Also set the ctime.
       */                                                             
      if (rtems_rfs_buffer_dirty (&handle->buffer) && update_ctime)   
 200f4b0:	c2 0e 60 10 	ldub  [ %i1 + 0x10 ], %g1                      
 200f4b4:	80 a0 60 00 	cmp  %g1, 0                                    
 200f4b8:	22 80 00 15 	be,a   200f50c <rtems_rfs_inode_unload+0xdc>   
 200f4bc:	90 10 00 1d 	mov  %i5, %o0                                  
 200f4c0:	80 a6 a0 00 	cmp  %i2, 0                                    
 200f4c4:	22 80 00 12 	be,a   200f50c <rtems_rfs_inode_unload+0xdc>   <== NEVER TAKEN
 200f4c8:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
        rtems_rfs_inode_set_ctime (handle, time (NULL));              
 200f4cc:	40 00 4c a4 	call  202275c <time>                           
 200f4d0:	01 00 00 00 	nop                                            
 */                                                                   
static inline void                                                    
rtems_rfs_inode_set_ctime (rtems_rfs_inode_handle* handle,            
                           rtems_rfs_time          ctime)             
{                                                                     
  rtems_rfs_write_u32 (&handle->node->ctime, ctime);                  
 200f4d4:	c2 06 60 0c 	ld  [ %i1 + 0xc ], %g1                         
 200f4d8:	85 32 20 18 	srl  %o0, 0x18, %g2                            
 200f4dc:	c4 28 60 18 	stb  %g2, [ %g1 + 0x18 ]                       
 200f4e0:	c2 06 60 0c 	ld  [ %i1 + 0xc ], %g1                         
 200f4e4:	85 32 20 10 	srl  %o0, 0x10, %g2                            
 200f4e8:	c4 28 60 19 	stb  %g2, [ %g1 + 0x19 ]                       
 200f4ec:	c2 06 60 0c 	ld  [ %i1 + 0xc ], %g1                         
 200f4f0:	85 32 20 08 	srl  %o0, 8, %g2                               
 200f4f4:	c4 28 60 1a 	stb  %g2, [ %g1 + 0x1a ]                       
 200f4f8:	c2 06 60 0c 	ld  [ %i1 + 0xc ], %g1                         
 200f4fc:	d0 28 60 1b 	stb  %o0, [ %g1 + 0x1b ]                       
  rtems_rfs_buffer_mark_dirty (&handle->buffer);                      
 200f500:	82 10 20 01 	mov  1, %g1                                    
 200f504:	c2 2e 60 10 	stb  %g1, [ %i1 + 0x10 ]                       
      rc = rtems_rfs_buffer_handle_release (fs, &handle->buffer);     
 200f508:	90 10 00 1d 	mov  %i5, %o0                                  
 200f50c:	40 00 26 f9 	call  20190f0 <rtems_rfs_buffer_handle_release>
 200f510:	92 06 60 10 	add  %i1, 0x10, %o1                            
      handle->node = NULL;                                            
 200f514:	c0 26 60 0c 	clr  [ %i1 + 0xc ]                             
    }                                                                 
  }                                                                   
                                                                      
  return rc;                                                          
}                                                                     
 200f518:	81 c7 e0 08 	ret                                            
 200f51c:	91 e8 00 08 	restore  %g0, %o0, %o0                         
                                                                      

0201c248 <rtems_rfs_link>: const char* name, int length, rtems_rfs_ino parent, rtems_rfs_ino target, bool link_dir) {
 201c248:	9d e3 bf 50 	save  %sp, -176, %sp                           
  rtems_rfs_inode_handle parent_inode;                                
  rtems_rfs_inode_handle target_inode;                                
  uint16_t               links;                                       
  int                    rc;                                          
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_LINK))                         
 201c24c:	90 10 20 00 	clr  %o0                                       
 201c250:	7f ff d3 fa 	call  2011238 <rtems_rfs_trace>                
 201c254:	13 00 40 00 	sethi  %hi(0x1000000), %o1                     
 201c258:	80 8a 20 ff 	btst  0xff, %o0                                
 201c25c:	02 80 00 13 	be  201c2a8 <rtems_rfs_link+0x60>              <== ALWAYS TAKEN
 201c260:	90 10 00 18 	mov  %i0, %o0                                  
  {                                                                   
    int c;                                                            
    printf ("rtems-rfs: link: parent(%" PRIu32 ") -> ", parent);      
 201c264:	11 00 80 c1 	sethi  %hi(0x2030400), %o0                     <== NOT EXECUTED
 201c268:	92 10 00 1b 	mov  %i3, %o1                                  <== NOT EXECUTED
 201c26c:	90 12 23 90 	or  %o0, 0x390, %o0                            <== NOT EXECUTED
 201c270:	40 00 0b d6 	call  201f1c8 <printf>                         <== NOT EXECUTED
 201c274:	a0 10 20 00 	clr  %l0                                       <== NOT EXECUTED
    for (c = 0; c < length; c++)                                      
 201c278:	10 80 00 05 	b  201c28c <rtems_rfs_link+0x44>               <== NOT EXECUTED
 201c27c:	80 a4 00 1a 	cmp  %l0, %i2                                  <== NOT EXECUTED
      printf ("%c", name[c]);                                         
 201c280:	40 00 0b e5 	call  201f214 <putchar>                        <== NOT EXECUTED
 201c284:	a0 04 20 01 	inc  %l0                                       <== NOT EXECUTED
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_LINK))                         
  {                                                                   
    int c;                                                            
    printf ("rtems-rfs: link: parent(%" PRIu32 ") -> ", parent);      
    for (c = 0; c < length; c++)                                      
 201c288:	80 a4 00 1a 	cmp  %l0, %i2                                  <== NOT EXECUTED
 201c28c:	26 bf ff fd 	bl,a   201c280 <rtems_rfs_link+0x38>           <== NOT EXECUTED
 201c290:	d0 4e 40 10 	ldsb  [ %i1 + %l0 ], %o0                       <== NOT EXECUTED
      printf ("%c", name[c]);                                         
    printf ("(%" PRIu32 ")\n", target);                               
 201c294:	11 00 80 c1 	sethi  %hi(0x2030400), %o0                     <== NOT EXECUTED
 201c298:	92 10 00 1c 	mov  %i4, %o1                                  <== NOT EXECUTED
 201c29c:	40 00 0b cb 	call  201f1c8 <printf>                         <== NOT EXECUTED
 201c2a0:	90 12 23 b8 	or  %o0, 0x3b8, %o0                            <== NOT EXECUTED
  }                                                                   
                                                                      
  rc = rtems_rfs_inode_open (fs, target, &target_inode, true);        
 201c2a4:	90 10 00 18 	mov  %i0, %o0                                  <== NOT EXECUTED
 201c2a8:	92 10 00 1c 	mov  %i4, %o1                                  
 201c2ac:	94 07 bf d8 	add  %fp, -40, %o2                             
 201c2b0:	7f ff cc 2a 	call  200f358 <rtems_rfs_inode_open>           
 201c2b4:	96 10 20 01 	mov  1, %o3                                    
  if (rc)                                                             
 201c2b8:	a0 92 20 00 	orcc  %o0, 0, %l0                              
 201c2bc:	12 80 00 50 	bne  201c3fc <rtems_rfs_link+0x1b4>            <== NEVER TAKEN
 201c2c0:	80 a7 60 00 	cmp  %i5, 0                                    
                                                                      
  /*                                                                  
   * If the target inode is a directory and we cannot link directories
   * return a not supported error code.                               
   */                                                                 
  if (!link_dir && S_ISDIR (rtems_rfs_inode_get_mode (&target_inode)))
 201c2c4:	12 80 00 10 	bne  201c304 <rtems_rfs_link+0xbc>             <== NEVER TAKEN
 201c2c8:	90 10 00 18 	mov  %i0, %o0                                  
 201c2cc:	c2 07 bf e4 	ld  [ %fp + -28 ], %g1                         
 201c2d0:	c4 08 60 02 	ldub  [ %g1 + 2 ], %g2                         
 201c2d4:	03 00 00 3c 	sethi  %hi(0xf000), %g1                        
 201c2d8:	85 28 a0 08 	sll  %g2, 8, %g2                               
 201c2dc:	84 08 80 01 	and  %g2, %g1, %g2                             
 201c2e0:	03 00 00 10 	sethi  %hi(0x4000), %g1                        
 201c2e4:	80 a0 80 01 	cmp  %g2, %g1                                  
 201c2e8:	12 80 00 08 	bne  201c308 <rtems_rfs_link+0xc0>             <== ALWAYS TAKEN
 201c2ec:	92 10 00 1b 	mov  %i3, %o1                                  
  {                                                                   
    rtems_rfs_inode_close (fs, &target_inode);                        
 201c2f0:	92 07 bf d8 	add  %fp, -40, %o1                             <== NOT EXECUTED
 201c2f4:	7f ff cc 8b 	call  200f520 <rtems_rfs_inode_close>          <== NOT EXECUTED
 201c2f8:	a0 10 20 86 	mov  0x86, %l0                                 <== NOT EXECUTED
    return ENOTSUP;                                                   
 201c2fc:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 201c300:	91 e8 00 10 	restore  %g0, %l0, %o0                         <== NOT EXECUTED
  }                                                                   
                                                                      
  rc = rtems_rfs_inode_open (fs, parent, &parent_inode, true);        
 201c304:	92 10 00 1b 	mov  %i3, %o1                                  <== NOT EXECUTED
 201c308:	94 07 bf b0 	add  %fp, -80, %o2                             
 201c30c:	7f ff cc 13 	call  200f358 <rtems_rfs_inode_open>           
 201c310:	96 10 20 01 	mov  1, %o3                                    
 201c314:	a0 10 00 08 	mov  %o0, %l0                                  
  if (rc)                                                             
 201c318:	80 a4 20 00 	cmp  %l0, 0                                    
 201c31c:	12 80 00 0f 	bne  201c358 <rtems_rfs_link+0x110>            <== NEVER TAKEN
 201c320:	90 10 00 18 	mov  %i0, %o0                                  
  {                                                                   
    rtems_rfs_inode_close (fs, &target_inode);                        
    return rc;                                                        
  }                                                                   
                                                                      
  rc = rtems_rfs_dir_add_entry (fs, &parent_inode, name, length, target);
 201c324:	92 07 bf b0 	add  %fp, -80, %o1                             
 201c328:	94 10 00 19 	mov  %i1, %o2                                  
 201c32c:	96 10 00 1a 	mov  %i2, %o3                                  
 201c330:	7f ff f6 be 	call  2019e28 <rtems_rfs_dir_add_entry>        
 201c334:	98 10 00 1c 	mov  %i4, %o4                                  
  if (rc > 0)                                                         
 201c338:	a0 92 20 00 	orcc  %o0, 0, %l0                              
 201c33c:	04 80 00 0b 	ble  201c368 <rtems_rfs_link+0x120>            <== ALWAYS TAKEN
 201c340:	c2 07 bf e4 	ld  [ %fp + -28 ], %g1                         
  {                                                                   
    rtems_rfs_inode_close (fs, &parent_inode);                        
 201c344:	90 10 00 18 	mov  %i0, %o0                                  <== NOT EXECUTED
 201c348:	92 07 bf b0 	add  %fp, -80, %o1                             <== NOT EXECUTED
 201c34c:	7f ff cc 75 	call  200f520 <rtems_rfs_inode_close>          <== NOT EXECUTED
 201c350:	01 00 00 00 	nop                                            <== NOT EXECUTED
    rtems_rfs_inode_close (fs, &target_inode);                        
 201c354:	90 10 00 18 	mov  %i0, %o0                                  <== NOT EXECUTED
 201c358:	92 07 bf d8 	add  %fp, -40, %o1                             <== NOT EXECUTED
 201c35c:	7f ff cc 71 	call  200f520 <rtems_rfs_inode_close>          <== NOT EXECUTED
 201c360:	b0 10 00 10 	mov  %l0, %i0                                  <== NOT EXECUTED
    return rc;                                                        
 201c364:	30 80 00 27 	b,a   201c400 <rtems_rfs_link+0x1b8>           <== NOT EXECUTED
static inline uint16_t                                                
rtems_rfs_inode_get_links (rtems_rfs_inode_handle* handle)            
{                                                                     
  uint16_t links;                                                     
  links = rtems_rfs_read_u16 (&handle->node->links);                  
  if (links == 0xffff)                                                
 201c368:	09 3f ff c0 	sethi  %hi(0xffff0000), %g4                    
 */                                                                   
static inline uint16_t                                                
rtems_rfs_inode_get_links (rtems_rfs_inode_handle* handle)            
{                                                                     
  uint16_t links;                                                     
  links = rtems_rfs_read_u16 (&handle->node->links);                  
 201c36c:	c6 08 60 01 	ldub  [ %g1 + 1 ], %g3                         
 201c370:	c4 08 40 00 	ldub  [ %g1 ], %g2                             
  }                                                                   
                                                                      
  links = rtems_rfs_inode_get_links (&target_inode) + 1;              
  rtems_rfs_inode_set_links (&target_inode, links);                   
                                                                      
  rc = rtems_rfs_inode_time_stamp_now (&parent_inode, true, true);    
 201c374:	92 10 20 01 	mov  1, %o1                                    
 201c378:	85 28 a0 08 	sll  %g2, 8, %g2                               
 201c37c:	84 10 80 03 	or  %g2, %g3, %g2                              
  if (links == 0xffff)                                                
 201c380:	87 28 a0 10 	sll  %g2, 0x10, %g3                            
 201c384:	87 30 e0 10 	srl  %g3, 0x10, %g3                            
    links = 0;                                                        
 201c388:	86 39 00 03 	xnor  %g4, %g3, %g3                            
 201c38c:	80 a0 00 03 	cmp  %g0, %g3                                  
 201c390:	86 60 20 00 	subx  %g0, 0, %g3                              
 201c394:	84 08 80 03 	and  %g2, %g3, %g2                             
    rtems_rfs_inode_close (fs, &parent_inode);                        
    rtems_rfs_inode_close (fs, &target_inode);                        
    return rc;                                                        
  }                                                                   
                                                                      
  links = rtems_rfs_inode_get_links (&target_inode) + 1;              
 201c398:	84 00 a0 01 	inc  %g2                                       
 * @prarm links The links.                                            
 */                                                                   
static inline void                                                    
rtems_rfs_inode_set_links (rtems_rfs_inode_handle* handle, uint16_t links)
{                                                                     
  rtems_rfs_write_u16 (&handle->node->links, links);                  
 201c39c:	87 30 a0 08 	srl  %g2, 8, %g3                               
 201c3a0:	c6 28 40 00 	stb  %g3, [ %g1 ]                              
 201c3a4:	c2 07 bf e4 	ld  [ %fp + -28 ], %g1                         
  rtems_rfs_inode_set_links (&target_inode, links);                   
                                                                      
  rc = rtems_rfs_inode_time_stamp_now (&parent_inode, true, true);    
 201c3a8:	90 07 bf b0 	add  %fp, -80, %o0                             
 201c3ac:	c4 28 60 01 	stb  %g2, [ %g1 + 1 ]                          
  rtems_rfs_buffer_mark_dirty (&handle->buffer);                      
 201c3b0:	82 10 20 01 	mov  1, %g1                                    
 201c3b4:	94 10 20 01 	mov  1, %o2                                    
 201c3b8:	7f ff cc b1 	call  200f67c <rtems_rfs_inode_time_stamp_now> 
 201c3bc:	c2 2f bf e8 	stb  %g1, [ %fp + -24 ]                        
  if (rc > 0)                                                         
  {                                                                   
    rtems_rfs_inode_close (fs, &parent_inode);                        
 201c3c0:	92 07 bf b0 	add  %fp, -80, %o1                             
  }                                                                   
                                                                      
  links = rtems_rfs_inode_get_links (&target_inode) + 1;              
  rtems_rfs_inode_set_links (&target_inode, links);                   
                                                                      
  rc = rtems_rfs_inode_time_stamp_now (&parent_inode, true, true);    
 201c3c4:	a0 10 00 08 	mov  %o0, %l0                                  
  if (rc > 0)                                                         
 201c3c8:	80 a4 20 00 	cmp  %l0, 0                                    
 201c3cc:	14 bf ff e0 	bg  201c34c <rtems_rfs_link+0x104>             <== NEVER TAKEN
 201c3d0:	90 10 00 18 	mov  %i0, %o0                                  
    rtems_rfs_inode_close (fs, &parent_inode);                        
    rtems_rfs_inode_close (fs, &target_inode);                        
    return rc;                                                        
  }                                                                   
                                                                      
  rc = rtems_rfs_inode_close (fs, &parent_inode);                     
 201c3d4:	7f ff cc 53 	call  200f520 <rtems_rfs_inode_close>          
 201c3d8:	01 00 00 00 	nop                                            
  if (rc > 0)                                                         
  {                                                                   
    rtems_rfs_inode_close (fs, &target_inode);                        
 201c3dc:	92 07 bf d8 	add  %fp, -40, %o1                             
    rtems_rfs_inode_close (fs, &parent_inode);                        
    rtems_rfs_inode_close (fs, &target_inode);                        
    return rc;                                                        
  }                                                                   
                                                                      
  rc = rtems_rfs_inode_close (fs, &parent_inode);                     
 201c3e0:	a0 10 00 08 	mov  %o0, %l0                                  
  if (rc > 0)                                                         
 201c3e4:	80 a4 20 00 	cmp  %l0, 0                                    
 201c3e8:	14 bf ff dd 	bg  201c35c <rtems_rfs_link+0x114>             <== NEVER TAKEN
 201c3ec:	90 10 00 18 	mov  %i0, %o0                                  
  {                                                                   
    rtems_rfs_inode_close (fs, &target_inode);                        
    return rc;                                                        
  }                                                                   
                                                                      
  rc = rtems_rfs_inode_close (fs, &target_inode);                     
 201c3f0:	7f ff cc 4c 	call  200f520 <rtems_rfs_inode_close>          
 201c3f4:	01 00 00 00 	nop                                            
 201c3f8:	a0 10 00 08 	mov  %o0, %l0                                  
                                                                      
  return rc;                                                          
}                                                                     
 201c3fc:	b0 10 00 10 	mov  %l0, %i0                                  
 201c400:	81 c7 e0 08 	ret                                            
 201c404:	81 e8 00 00 	restore                                        
                                                                      

0201cc2c <rtems_rfs_mutex_create>: RTEMS_NO_INHERIT_PRIORITY | RTEMS_NO_PRIORITY_CEILING | RTEMS_LOCAL) #endif int rtems_rfs_mutex_create (rtems_rfs_mutex* mutex) {
 201cc2c:	9d e3 bf a0 	save  %sp, -96, %sp                            
#if __rtems__                                                         
  rtems_status_code sc;                                               
  sc = rtems_semaphore_create (rtems_build_name ('R', 'F', 'S', 'm'), 
 201cc30:	11 14 91 94 	sethi  %hi(0x52465000), %o0                    
 201cc34:	98 10 00 18 	mov  %i0, %o4                                  
 201cc38:	90 12 23 6d 	or  %o0, 0x36d, %o0                            
 201cc3c:	92 10 20 01 	mov  1, %o1                                    
 201cc40:	94 10 20 24 	mov  0x24, %o2                                 
 201cc44:	96 10 20 00 	clr  %o3                                       
 201cc48:	7f ff b4 3d 	call  2009d3c <rtems_semaphore_create>         
 201cc4c:	b0 10 20 00 	clr  %i0                                       
                               1, RTEMS_RFS_MUTEX_ATTRIBS, 0,         
                               mutex);                                
  if (sc != RTEMS_SUCCESSFUL)                                         
 201cc50:	80 a2 20 00 	cmp  %o0, 0                                    
 201cc54:	02 80 00 0f 	be  201cc90 <rtems_rfs_mutex_create+0x64>      <== ALWAYS TAKEN
 201cc58:	ba 10 00 08 	mov  %o0, %i5                                  
  {                                                                   
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_MUTEX))                      
 201cc5c:	90 10 20 00 	clr  %o0                                       <== NOT EXECUTED
 201cc60:	92 10 20 04 	mov  4, %o1                                    <== NOT EXECUTED
 201cc64:	7f ff d1 75 	call  2011238 <rtems_rfs_trace>                <== NOT EXECUTED
 201cc68:	b0 10 20 05 	mov  5, %i0                                    <== NOT EXECUTED
 201cc6c:	80 8a 20 ff 	btst  0xff, %o0                                <== NOT EXECUTED
 201cc70:	02 80 00 08 	be  201cc90 <rtems_rfs_mutex_create+0x64>      <== NOT EXECUTED
 201cc74:	01 00 00 00 	nop                                            <== NOT EXECUTED
      printf ("rtems-rfs: mutex: open failed: %s\n",                  
 201cc78:	7f ff e0 d5 	call  2014fcc <rtems_status_text>              <== NOT EXECUTED
 201cc7c:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
 201cc80:	92 10 00 08 	mov  %o0, %o1                                  <== NOT EXECUTED
 201cc84:	11 00 80 c2 	sethi  %hi(0x2030800), %o0                     <== NOT EXECUTED
 201cc88:	40 00 09 50 	call  201f1c8 <printf>                         <== NOT EXECUTED
 201cc8c:	90 12 21 e8 	or  %o0, 0x1e8, %o0	! 20309e8 <CSWTCH.1+0x15e8><== NOT EXECUTED
              rtems_status_text (sc));                                
    return EIO;                                                       
  }                                                                   
#endif                                                                
  return 0;                                                           
}                                                                     
 201cc90:	81 c7 e0 08 	ret                                            
 201cc94:	81 e8 00 00 	restore                                        
                                                                      

0201cc98 <rtems_rfs_mutex_destroy>: int rtems_rfs_mutex_destroy (rtems_rfs_mutex* mutex) {
 201cc98:	9d e3 bf a0 	save  %sp, -96, %sp                            
#if __rtems__                                                         
  rtems_status_code sc;                                               
  sc = rtems_semaphore_delete (*mutex);                               
 201cc9c:	d0 06 00 00 	ld  [ %i0 ], %o0                               
 201cca0:	7f ff b4 92 	call  2009ee8 <rtems_semaphore_delete>         
 201cca4:	b0 10 20 00 	clr  %i0                                       
  if (sc != RTEMS_SUCCESSFUL)                                         
 201cca8:	80 a2 20 00 	cmp  %o0, 0                                    
 201ccac:	02 80 00 0f 	be  201cce8 <rtems_rfs_mutex_destroy+0x50>     <== ALWAYS TAKEN
 201ccb0:	ba 10 00 08 	mov  %o0, %i5                                  
  {                                                                   
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_MUTEX))                      
 201ccb4:	90 10 20 00 	clr  %o0                                       <== NOT EXECUTED
 201ccb8:	92 10 20 04 	mov  4, %o1                                    <== NOT EXECUTED
 201ccbc:	7f ff d1 5f 	call  2011238 <rtems_rfs_trace>                <== NOT EXECUTED
 201ccc0:	b0 10 20 05 	mov  5, %i0                                    <== NOT EXECUTED
 201ccc4:	80 8a 20 ff 	btst  0xff, %o0                                <== NOT EXECUTED
 201ccc8:	02 80 00 08 	be  201cce8 <rtems_rfs_mutex_destroy+0x50>     <== NOT EXECUTED
 201cccc:	01 00 00 00 	nop                                            <== NOT EXECUTED
      printf ("rtems-rfs: mutex: close failed: %s\n",                 
 201ccd0:	7f ff e0 bf 	call  2014fcc <rtems_status_text>              <== NOT EXECUTED
 201ccd4:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
 201ccd8:	92 10 00 08 	mov  %o0, %o1                                  <== NOT EXECUTED
 201ccdc:	11 00 80 c2 	sethi  %hi(0x2030800), %o0                     <== NOT EXECUTED
 201cce0:	40 00 09 3a 	call  201f1c8 <printf>                         <== NOT EXECUTED
 201cce4:	90 12 22 10 	or  %o0, 0x210, %o0	! 2030a10 <CSWTCH.1+0x1610><== NOT EXECUTED
              rtems_status_text (sc));                                
    return EIO;                                                       
  }                                                                   
#endif                                                                
  return 0;                                                           
}                                                                     
 201cce8:	81 c7 e0 08 	ret                                            
 201ccec:	81 e8 00 00 	restore                                        
                                                                      

0200fdd8 <rtems_rfs_mutex_lock.isra.15>: * @param mutex The mutex to lock. * @retval true The mutex is locked. * @retval false The mutex could not be locked. */ static inline int rtems_rfs_mutex_lock (rtems_rfs_mutex* mutex)
 200fdd8:	9d e3 bf a0 	save  %sp, -96, %sp                            
{                                                                     
#if __rtems__                                                         
  rtems_status_code sc = rtems_semaphore_obtain (*mutex, RTEMS_WAIT, 0);
 200fddc:	92 10 20 00 	clr  %o1                                       
 200fde0:	90 10 00 18 	mov  %i0, %o0                                  
 200fde4:	94 10 20 00 	clr  %o2                                       
 200fde8:	7f ff e8 6f 	call  2009fa4 <rtems_semaphore_obtain>         
 200fdec:	b0 10 20 00 	clr  %i0                                       
  if (sc != RTEMS_SUCCESSFUL)                                         
 200fdf0:	80 a2 20 00 	cmp  %o0, 0                                    
 200fdf4:	02 80 00 0f 	be  200fe30 <rtems_rfs_mutex_lock.isra.15+0x58><== ALWAYS TAKEN
 200fdf8:	ba 10 00 08 	mov  %o0, %i5                                  
  {                                                                   
#if RTEMS_RFS_TRACE                                                   
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_MUTEX))                      
 200fdfc:	90 10 20 00 	clr  %o0                                       <== NOT EXECUTED
 200fe00:	92 10 20 04 	mov  4, %o1                                    <== NOT EXECUTED
 200fe04:	40 00 05 0d 	call  2011238 <rtems_rfs_trace>                <== NOT EXECUTED
 200fe08:	b0 10 20 05 	mov  5, %i0                                    <== NOT EXECUTED
 200fe0c:	80 8a 20 ff 	btst  0xff, %o0                                <== NOT EXECUTED
 200fe10:	02 80 00 08 	be  200fe30 <rtems_rfs_mutex_lock.isra.15+0x58><== NOT EXECUTED
 200fe14:	01 00 00 00 	nop                                            <== NOT EXECUTED
      printf ("rtems-rfs: mutex: obtain failed: %s\n",                
 200fe18:	40 00 14 6d 	call  2014fcc <rtems_status_text>              <== NOT EXECUTED
 200fe1c:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
 200fe20:	92 10 00 08 	mov  %o0, %o1                                  <== NOT EXECUTED
 200fe24:	11 00 80 ba 	sethi  %hi(0x202e800), %o0                     <== NOT EXECUTED
 200fe28:	40 00 3c e8 	call  201f1c8 <printf>                         <== NOT EXECUTED
 200fe2c:	90 12 21 88 	or  %o0, 0x188, %o0	! 202e988 <ramdisk_ops+0xccc><== NOT EXECUTED
#endif                                                                
    return EIO;                                                       
  }                                                                   
#endif                                                                
  return 0;                                                           
}                                                                     
 200fe30:	81 c7 e0 08 	ret                                            
 200fe34:	81 e8 00 00 	restore                                        
                                                                      

02018f70 <rtems_rfs_release_chain>: static int rtems_rfs_release_chain (rtems_chain_control* chain, uint32_t* count, bool modified) {
 2018f70:	9d e3 bf a0 	save  %sp, -96, %sp                            
  rtems_rfs_buffer* buffer;                                           
  int               rrc = 0;                                          
  int               rc;                                               
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_CHAINS))                
 2018f74:	90 10 20 00 	clr  %o0                                       
 2018f78:	92 10 20 80 	mov  0x80, %o1                                 
 2018f7c:	7f ff e0 af 	call  2011238 <rtems_rfs_trace>                
 2018f80:	ba 10 00 18 	mov  %i0, %i5                                  
 2018f84:	80 8a 20 ff 	btst  0xff, %o0                                
 2018f88:	22 80 00 07 	be,a   2018fa4 <rtems_rfs_release_chain+0x34>  <== ALWAYS TAKEN
 2018f8c:	b0 10 20 00 	clr  %i0                                       
    printf ("rtems-rfs: release-chain: count=%" PRIu32 "\n", *count); 
 2018f90:	d2 06 40 00 	ld  [ %i1 ], %o1                               <== NOT EXECUTED
 2018f94:	11 00 80 bd 	sethi  %hi(0x202f400), %o0                     <== NOT EXECUTED
 2018f98:	40 00 18 8c 	call  201f1c8 <printf>                         <== NOT EXECUTED
 2018f9c:	90 12 21 08 	or  %o0, 0x108, %o0	! 202f508 <CSWTCH.1+0x108> <== NOT EXECUTED
    (*count)--;                                                       
                                                                      
    buffer->user = (void*) 0;                                         
                                                                      
    rc = rtems_rfs_buffer_io_release (buffer, modified);              
    if ((rc > 0) && (rrc == 0))                                       
 2018fa0:	b0 10 20 00 	clr  %i0                                       <== NOT EXECUTED
 2018fa4:	10 80 00 10 	b  2018fe4 <rtems_rfs_release_chain+0x74>      
 2018fa8:	b8 07 60 04 	add  %i5, 4, %i4                               
 */                                                                   
RTEMS_INLINE_ROUTINE rtems_chain_node *rtems_chain_get(               
  rtems_chain_control *the_chain                                      
)                                                                     
{                                                                     
  return _Chain_Get( the_chain );                                     
 2018fac:	7f ff c6 d4 	call  200aafc <_Chain_Get>                     
 2018fb0:	90 10 00 1d 	mov  %i5, %o0                                  
    printf ("rtems-rfs: release-chain: count=%" PRIu32 "\n", *count); 
                                                                      
  while (!rtems_chain_is_empty (chain))                               
  {                                                                   
    buffer = (rtems_rfs_buffer*) rtems_chain_get (chain);             
    (*count)--;                                                       
 2018fb4:	c2 06 40 00 	ld  [ %i1 ], %g1                               
                                                                      
    buffer->user = (void*) 0;                                         
                                                                      
    rc = rtems_rfs_buffer_io_release (buffer, modified);              
 2018fb8:	92 10 00 1a 	mov  %i2, %o1                                  
    printf ("rtems-rfs: release-chain: count=%" PRIu32 "\n", *count); 
                                                                      
  while (!rtems_chain_is_empty (chain))                               
  {                                                                   
    buffer = (rtems_rfs_buffer*) rtems_chain_get (chain);             
    (*count)--;                                                       
 2018fbc:	82 00 7f ff 	add  %g1, -1, %g1                              
 2018fc0:	c2 26 40 00 	st  %g1, [ %i1 ]                               
                                                                      
    buffer->user = (void*) 0;                                         
                                                                      
    rc = rtems_rfs_buffer_io_release (buffer, modified);              
 2018fc4:	40 00 14 3a 	call  201e0ac <rtems_rfs_buffer_bdbuf_release> 
 2018fc8:	c0 22 20 3c 	clr  [ %o0 + 0x3c ]                            
    if ((rc > 0) && (rrc == 0))                                       
 2018fcc:	80 a2 20 00 	cmp  %o0, 0                                    
 2018fd0:	24 80 00 06 	ble,a   2018fe8 <rtems_rfs_release_chain+0x78> <== ALWAYS TAKEN
 2018fd4:	c2 07 40 00 	ld  [ %i5 ], %g1                               
 2018fd8:	80 a6 20 00 	cmp  %i0, 0                                    <== NOT EXECUTED
 2018fdc:	22 80 00 02 	be,a   2018fe4 <rtems_rfs_release_chain+0x74>  <== NOT EXECUTED
 2018fe0:	b0 10 00 08 	mov  %o0, %i0                                  <== NOT EXECUTED
  int               rc;                                               
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_CHAINS))                
    printf ("rtems-rfs: release-chain: count=%" PRIu32 "\n", *count); 
                                                                      
  while (!rtems_chain_is_empty (chain))                               
 2018fe4:	c2 07 40 00 	ld  [ %i5 ], %g1                               
 2018fe8:	80 a0 40 1c 	cmp  %g1, %i4                                  
 2018fec:	12 bf ff f0 	bne  2018fac <rtems_rfs_release_chain+0x3c>    
 2018ff0:	01 00 00 00 	nop                                            
    rc = rtems_rfs_buffer_io_release (buffer, modified);              
    if ((rc > 0) && (rrc == 0))                                       
      rrc = rc;                                                       
  }                                                                   
  return rrc;                                                         
}                                                                     
 2018ff4:	81 c7 e0 08 	ret                                            
 2018ff8:	81 e8 00 00 	restore                                        
                                                                      

02010318 <rtems_rfs_rtems_chown>: static int rtems_rfs_rtems_chown (rtems_filesystem_location_info_t *pathloc, uid_t owner, gid_t group) {
 2010318:	9d e3 bf 78 	save  %sp, -136, %sp                           
  rtems_rfs_file_system* fs = rtems_rfs_rtems_pathloc_dev (pathloc);  
 201031c:	c2 06 20 10 	ld  [ %i0 + 0x10 ], %g1                        
  rtems_rfs_ino          ino = rtems_rfs_rtems_get_pathloc_ino (pathloc);
 2010320:	f8 06 00 00 	ld  [ %i0 ], %i4                               
static int                                                            
rtems_rfs_rtems_chown (rtems_filesystem_location_info_t *pathloc,     
                       uid_t                             owner,       
                       gid_t                             group)       
{                                                                     
  rtems_rfs_file_system* fs = rtems_rfs_rtems_pathloc_dev (pathloc);  
 2010324:	fa 00 60 34 	ld  [ %g1 + 0x34 ], %i5                        
                                                                      
  if (rtems_rfs_rtems_trace (RTEMS_RFS_RTEMS_DEBUG_CHOWN))            
    printf ("rtems-rfs-rtems: chown: in: ino:%" PRId32 " uid:%d gid:%d\n",
            ino, owner, group);                                       
                                                                      
  rtems_rfs_rtems_lock (fs);                                          
 2010328:	7f ff fe f8 	call  200ff08 <rtems_rfs_rtems_lock.isra.16>   
 201032c:	d0 07 60 7c 	ld  [ %i5 + 0x7c ], %o0                        
                                                                      
  rc = rtems_rfs_inode_open (fs, ino, &inode, true);                  
 2010330:	92 10 00 1c 	mov  %i4, %o1                                  
 2010334:	90 10 00 1d 	mov  %i5, %o0                                  
 2010338:	94 07 bf d8 	add  %fp, -40, %o2                             
 201033c:	7f ff fc 07 	call  200f358 <rtems_rfs_inode_open>           
 2010340:	96 10 20 01 	mov  1, %o3                                    
  if (rc > 0)                                                         
 2010344:	b8 92 20 00 	orcc  %o0, 0, %i4                              
 2010348:	04 80 00 09 	ble  201036c <rtems_rfs_rtems_chown+0x54>      <== ALWAYS TAKEN
 201034c:	c2 07 bf e4 	ld  [ %fp + -28 ], %g1                         
  {                                                                   
    rtems_rfs_rtems_unlock (fs);                                      
 2010350:	7f ff fe 6a 	call  200fcf8 <rtems_rfs_rtems_unlock>         <== NOT EXECUTED
 2010354:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
    return rtems_rfs_rtems_error ("chown: opening inode", rc);        
 2010358:	40 00 38 34 	call  201e428 <__errno>                        <== NOT EXECUTED
 201035c:	b0 10 3f ff 	mov  -1, %i0                                   <== NOT EXECUTED
 2010360:	f8 22 00 00 	st  %i4, [ %o0 ]                               <== NOT EXECUTED
 2010364:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2010368:	81 e8 00 00 	restore                                        <== NOT EXECUTED
 */                                                                   
static inline void                                                    
rtems_rfs_inode_set_uid_gid (rtems_rfs_inode_handle* handle,          
                             uint16_t uid, uint16_t gid)              
{                                                                     
  rtems_rfs_write_u32 (&handle->node->owner, (((uint32_t) gid) << 16) | uid);
 201036c:	b5 2e a0 10 	sll  %i2, 0x10, %i2                            
 2010370:	b4 16 80 19 	or  %i2, %i1, %i2                              
 2010374:	85 36 a0 18 	srl  %i2, 0x18, %g2                            
 2010378:	c4 28 60 04 	stb  %g2, [ %g1 + 4 ]                          
 201037c:	c2 07 bf e4 	ld  [ %fp + -28 ], %g1                         
 2010380:	85 36 a0 10 	srl  %i2, 0x10, %g2                            
 2010384:	c4 28 60 05 	stb  %g2, [ %g1 + 5 ]                          
 2010388:	c2 07 bf e4 	ld  [ %fp + -28 ], %g1                         
 201038c:	b5 36 a0 08 	srl  %i2, 8, %i2                               
 2010390:	f4 28 60 06 	stb  %i2, [ %g1 + 6 ]                          
 2010394:	c2 07 bf e4 	ld  [ %fp + -28 ], %g1                         
  }                                                                   
#endif                                                                
                                                                      
  rtems_rfs_inode_set_uid_gid (&inode, owner, group);                 
                                                                      
  rc = rtems_rfs_inode_close (fs, &inode);                            
 2010398:	90 10 00 1d 	mov  %i5, %o0                                  
 201039c:	f2 28 60 07 	stb  %i1, [ %g1 + 7 ]                          
  rtems_rfs_buffer_mark_dirty (&handle->buffer);                      
 20103a0:	82 10 20 01 	mov  1, %g1                                    
 20103a4:	92 07 bf d8 	add  %fp, -40, %o1                             
 20103a8:	7f ff fc 5e 	call  200f520 <rtems_rfs_inode_close>          
 20103ac:	c2 2f bf e8 	stb  %g1, [ %fp + -24 ]                        
 20103b0:	b4 10 00 08 	mov  %o0, %i2                                  
  if (rc)                                                             
 20103b4:	80 a6 a0 00 	cmp  %i2, 0                                    
 20103b8:	02 80 00 09 	be  20103dc <rtems_rfs_rtems_chown+0xc4>       <== ALWAYS TAKEN
 20103bc:	90 10 00 1d 	mov  %i5, %o0                                  
  {                                                                   
    rtems_rfs_rtems_unlock (fs);                                      
 20103c0:	7f ff fe 4e 	call  200fcf8 <rtems_rfs_rtems_unlock>         <== NOT EXECUTED
 20103c4:	b0 10 3f ff 	mov  -1, %i0                                   <== NOT EXECUTED
    return rtems_rfs_rtems_error ("chown: closing inode", rc);        
 20103c8:	40 00 38 18 	call  201e428 <__errno>                        <== NOT EXECUTED
 20103cc:	01 00 00 00 	nop                                            <== NOT EXECUTED
 20103d0:	f4 22 00 00 	st  %i2, [ %o0 ]                               <== NOT EXECUTED
 20103d4:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 20103d8:	81 e8 00 00 	restore                                        <== NOT EXECUTED
  }                                                                   
                                                                      
  rtems_rfs_rtems_unlock (fs);                                        
 20103dc:	7f ff fe 47 	call  200fcf8 <rtems_rfs_rtems_unlock>         
 20103e0:	b0 10 20 00 	clr  %i0                                       
                                                                      
  return 0;                                                           
}                                                                     
 20103e4:	81 c7 e0 08 	ret                                            
 20103e8:	81 e8 00 00 	restore                                        
                                                                      

0201cde8 <rtems_rfs_rtems_device_close>: * @return int */ static int rtems_rfs_rtems_device_close (rtems_libio_t* iop) {
 201cde8:	9d e3 bf 90 	save  %sp, -112, %sp                           <== NOT EXECUTED
  rtems_status_code             status;                               
  int                           major;                                
  int                           minor;                                
                                                                      
  major = (int) iop->data0;                                           
  minor = (intptr_t) iop->data1;                                      
 201cdec:	d2 06 20 38 	ld  [ %i0 + 0x38 ], %o1                        <== NOT EXECUTED
  rtems_libio_open_close_args_t args;                                 
  rtems_status_code             status;                               
  int                           major;                                
  int                           minor;                                
                                                                      
  major = (int) iop->data0;                                           
 201cdf0:	d0 06 20 34 	ld  [ %i0 + 0x34 ], %o0                        <== NOT EXECUTED
                                                                      
  args.iop   = iop;                                                   
  args.flags = 0;                                                     
  args.mode  = 0;                                                     
                                                                      
  status = rtems_io_close (major, minor, (void *) &args);             
 201cdf4:	94 07 bf f4 	add  %fp, -12, %o2                             <== NOT EXECUTED
  int                           minor;                                
                                                                      
  major = (int) iop->data0;                                           
  minor = (intptr_t) iop->data1;                                      
                                                                      
  args.iop   = iop;                                                   
 201cdf8:	f0 27 bf f4 	st  %i0, [ %fp + -12 ]                         <== NOT EXECUTED
  args.flags = 0;                                                     
 201cdfc:	c0 27 bf f8 	clr  [ %fp + -8 ]                              <== NOT EXECUTED
  args.mode  = 0;                                                     
                                                                      
  status = rtems_io_close (major, minor, (void *) &args);             
 201ce00:	40 00 03 d8 	call  201dd60 <rtems_io_close>                 <== NOT EXECUTED
 201ce04:	c0 27 bf fc 	clr  [ %fp + -4 ]                              <== NOT EXECUTED
                                                                      
  return rtems_deviceio_errno (status);                               
 201ce08:	40 00 02 82 	call  201d810 <rtems_deviceio_errno>           <== NOT EXECUTED
 201ce0c:	01 00 00 00 	nop                                            <== NOT EXECUTED
}                                                                     
 201ce10:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 201ce14:	91 e8 00 08 	restore  %g0, %o0, %o0                         <== NOT EXECUTED
                                                                      

0201ccfc <rtems_rfs_rtems_device_ftruncate>: static int rtems_rfs_rtems_device_ftruncate (rtems_libio_t* iop, rtems_off64_t length) { return 0; }
 201ccfc:	81 c3 e0 08 	retl                                           <== NOT EXECUTED
 201cd00:	90 10 20 00 	clr  %o0                                       <== NOT EXECUTED
                                                                      

0201cd04 <rtems_rfs_rtems_device_ioctl>: static int rtems_rfs_rtems_device_ioctl (rtems_libio_t* iop, uint32_t command, void* buffer) {
 201cd04:	9d e3 bf 90 	save  %sp, -112, %sp                           <== NOT EXECUTED
  rtems_libio_ioctl_args_t args;                                      
  rtems_status_code        status;                                    
  int                      major;                                     
  int                      minor;                                     
                                                                      
  major = (int) iop->data0;                                           
 201cd08:	d0 06 20 34 	ld  [ %i0 + 0x34 ], %o0                        <== NOT EXECUTED
  minor = (intptr_t) iop->data1;                                      
 201cd0c:	d2 06 20 38 	ld  [ %i0 + 0x38 ], %o1                        <== NOT EXECUTED
                                                                      
  args.iop     = iop;                                                 
  args.command = command;                                             
 201cd10:	f0 3f bf f0 	std  %i0, [ %fp + -16 ]                        <== NOT EXECUTED
  args.buffer  = buffer;                                              
 201cd14:	f4 27 bf f8 	st  %i2, [ %fp + -8 ]                          <== NOT EXECUTED
                                                                      
  status = rtems_io_control (major, minor, (void *) &args);           
 201cd18:	40 00 04 28 	call  201ddb8 <rtems_io_control>               <== NOT EXECUTED
 201cd1c:	94 07 bf f0 	add  %fp, -16, %o2                             <== NOT EXECUTED
  if (status)                                                         
 201cd20:	80 a2 20 00 	cmp  %o0, 0                                    <== NOT EXECUTED
 201cd24:	02 80 00 05 	be  201cd38 <rtems_rfs_rtems_device_ioctl+0x34><== NOT EXECUTED
 201cd28:	f0 07 bf fc 	ld  [ %fp + -4 ], %i0                          <== NOT EXECUTED
    return rtems_deviceio_errno (status);                             
 201cd2c:	40 00 02 b9 	call  201d810 <rtems_deviceio_errno>           <== NOT EXECUTED
 201cd30:	01 00 00 00 	nop                                            <== NOT EXECUTED
 201cd34:	b0 10 00 08 	mov  %o0, %i0                                  <== NOT EXECUTED
                                                                      
  return args.ioctl_return;                                           
}                                                                     
 201cd38:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 201cd3c:	81 e8 00 00 	restore                                        <== NOT EXECUTED
                                                                      

0201ccf0 <rtems_rfs_rtems_device_lseek>: rtems_rfs_rtems_device_lseek (rtems_libio_t* iop, rtems_off64_t offset, int whence) { return offset; }
 201ccf0:	90 10 00 09 	mov  %o1, %o0                                  <== NOT EXECUTED
 201ccf4:	81 c3 e0 08 	retl                                           <== NOT EXECUTED
 201ccf8:	92 10 00 0a 	mov  %o2, %o1                                  <== NOT EXECUTED
                                                                      

0201ceb8 <rtems_rfs_rtems_device_open>: static int rtems_rfs_rtems_device_open ( rtems_libio_t *iop, const char *pathname, uint32_t flag, uint32_t mode) {
 201ceb8:	9d e3 bf 68 	save  %sp, -152, %sp                           <== NOT EXECUTED
  rtems_libio_open_close_args_t args;                                 
  rtems_rfs_file_system*        fs = rtems_rfs_rtems_pathloc_dev (&iop->pathinfo);
 201cebc:	c2 06 20 2c 	ld  [ %i0 + 0x2c ], %g1                        <== NOT EXECUTED
  rtems_rfs_ino                 ino = rtems_rfs_rtems_get_iop_ino (iop);
 201cec0:	f8 06 20 1c 	ld  [ %i0 + 0x1c ], %i4                        <== NOT EXECUTED
                              const char    *pathname,                
                              uint32_t       flag,                    
                              uint32_t       mode)                    
{                                                                     
  rtems_libio_open_close_args_t args;                                 
  rtems_rfs_file_system*        fs = rtems_rfs_rtems_pathloc_dev (&iop->pathinfo);
 201cec4:	fa 00 60 34 	ld  [ %g1 + 0x34 ], %i5                        <== NOT EXECUTED
 */                                                                   
static inline int                                                     
rtems_rfs_mutex_lock (rtems_rfs_mutex* mutex)                         
{                                                                     
#if __rtems__                                                         
  rtems_status_code sc = rtems_semaphore_obtain (*mutex, RTEMS_WAIT, 0);
 201cec8:	92 10 20 00 	clr  %o1                                       <== NOT EXECUTED
  .fpathconf_h = rtems_filesystem_default_fpathconf,                  
  .fsync_h     = rtems_filesystem_default_fsync,                      
  .fdatasync_h = rtems_filesystem_default_fdatasync,                  
  .fcntl_h     = rtems_filesystem_default_fcntl,                      
  .rmnod_h     = rtems_rfs_rtems_rmnod                                
};                                                                    
 201cecc:	c2 07 60 7c 	ld  [ %i5 + 0x7c ], %g1                        <== NOT EXECUTED
 201ced0:	94 10 20 00 	clr  %o2                                       <== NOT EXECUTED
 201ced4:	7f ff b4 34 	call  2009fa4 <rtems_semaphore_obtain>         <== NOT EXECUTED
 201ced8:	d0 00 40 00 	ld  [ %g1 ], %o0                               <== NOT EXECUTED
  if (sc != RTEMS_SUCCESSFUL)                                         
 201cedc:	b4 92 20 00 	orcc  %o0, 0, %i2                              <== NOT EXECUTED
 201cee0:	22 80 00 0f 	be,a   201cf1c <rtems_rfs_rtems_device_open+0x64><== NOT EXECUTED
 201cee4:	92 10 00 1c 	mov  %i4, %o1                                  <== NOT EXECUTED
  {                                                                   
#if RTEMS_RFS_TRACE                                                   
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_MUTEX))                      
 201cee8:	90 10 20 00 	clr  %o0                                       <== NOT EXECUTED
 201ceec:	7f ff d0 d3 	call  2011238 <rtems_rfs_trace>                <== NOT EXECUTED
 201cef0:	92 10 20 04 	mov  4, %o1                                    <== NOT EXECUTED
 201cef4:	80 8a 20 ff 	btst  0xff, %o0                                <== NOT EXECUTED
 201cef8:	02 80 00 09 	be  201cf1c <rtems_rfs_rtems_device_open+0x64> <== NOT EXECUTED
 201cefc:	92 10 00 1c 	mov  %i4, %o1                                  <== NOT EXECUTED
      printf ("rtems-rfs: mutex: obtain failed: %s\n",                
 201cf00:	7f ff e0 33 	call  2014fcc <rtems_status_text>              <== NOT EXECUTED
 201cf04:	90 10 00 1a 	mov  %i2, %o0                                  <== NOT EXECUTED
 201cf08:	92 10 00 08 	mov  %o0, %o1                                  <== NOT EXECUTED
 201cf0c:	11 00 80 ba 	sethi  %hi(0x202e800), %o0                     <== NOT EXECUTED
 201cf10:	40 00 08 ae 	call  201f1c8 <printf>                         <== NOT EXECUTED
 201cf14:	90 12 21 88 	or  %o0, 0x188, %o0	! 202e988 <ramdisk_ops+0xccc><== NOT EXECUTED
  rtems_status_code             status;                               
  int                           rc;                                   
                                                                      
  rtems_rfs_rtems_lock (fs);                                          
                                                                      
  rc = rtems_rfs_inode_open (fs, ino, &inode, true);                  
 201cf18:	92 10 00 1c 	mov  %i4, %o1                                  <== NOT EXECUTED
 201cf1c:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
 201cf20:	94 07 bf cc 	add  %fp, -52, %o2                             <== NOT EXECUTED
 201cf24:	7f ff c9 0d 	call  200f358 <rtems_rfs_inode_open>           <== NOT EXECUTED
 201cf28:	96 10 20 01 	mov  1, %o3                                    <== NOT EXECUTED
  if (rc > 0)                                                         
 201cf2c:	b8 92 20 00 	orcc  %o0, 0, %i4                              <== NOT EXECUTED
 201cf30:	24 80 00 09 	ble,a   201cf54 <rtems_rfs_rtems_device_open+0x9c><== NOT EXECUTED
 201cf34:	f8 07 bf d8 	ld  [ %fp + -40 ], %i4                         <== NOT EXECUTED
  {                                                                   
    rtems_rfs_rtems_unlock (fs);                                      
 201cf38:	7f ff ff b8 	call  201ce18 <rtems_rfs_rtems_unlock>         <== NOT EXECUTED
 201cf3c:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
    return rtems_rfs_rtems_error ("device_open: opening inode", rc);  
 201cf40:	40 00 05 3a 	call  201e428 <__errno>                        <== NOT EXECUTED
 201cf44:	b0 10 3f ff 	mov  -1, %i0                                   <== NOT EXECUTED
 201cf48:	f8 22 00 00 	st  %i4, [ %o0 ]                               <== NOT EXECUTED
 201cf4c:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 201cf50:	81 e8 00 00 	restore                                        <== NOT EXECUTED
  }                                                                   
                                                                      
  major = rtems_rfs_inode_get_block (&inode, 0);                      
 201cf54:	92 10 20 00 	clr  %o1                                       <== NOT EXECUTED
 201cf58:	7f ff ff c7 	call  201ce74 <rtems_rfs_inode_get_block.isra.0><== NOT EXECUTED
 201cf5c:	90 10 00 1c 	mov  %i4, %o0                                  <== NOT EXECUTED
  minor = rtems_rfs_inode_get_block (&inode, 1);                      
 201cf60:	92 10 20 01 	mov  1, %o1                                    <== NOT EXECUTED
  {                                                                   
    rtems_rfs_rtems_unlock (fs);                                      
    return rtems_rfs_rtems_error ("device_open: opening inode", rc);  
  }                                                                   
                                                                      
  major = rtems_rfs_inode_get_block (&inode, 0);                      
 201cf64:	b4 10 00 08 	mov  %o0, %i2                                  <== NOT EXECUTED
  minor = rtems_rfs_inode_get_block (&inode, 1);                      
 201cf68:	7f ff ff c3 	call  201ce74 <rtems_rfs_inode_get_block.isra.0><== NOT EXECUTED
 201cf6c:	90 10 00 1c 	mov  %i4, %o0                                  <== NOT EXECUTED
                                                                      
  rc = rtems_rfs_inode_close (fs, &inode);                            
 201cf70:	92 07 bf cc 	add  %fp, -52, %o1                             <== NOT EXECUTED
    rtems_rfs_rtems_unlock (fs);                                      
    return rtems_rfs_rtems_error ("device_open: opening inode", rc);  
  }                                                                   
                                                                      
  major = rtems_rfs_inode_get_block (&inode, 0);                      
  minor = rtems_rfs_inode_get_block (&inode, 1);                      
 201cf74:	b8 10 00 08 	mov  %o0, %i4                                  <== NOT EXECUTED
                                                                      
  rc = rtems_rfs_inode_close (fs, &inode);                            
 201cf78:	7f ff c9 6a 	call  200f520 <rtems_rfs_inode_close>          <== NOT EXECUTED
 201cf7c:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
 201cf80:	b2 10 00 08 	mov  %o0, %i1                                  <== NOT EXECUTED
  if (rc > 0)                                                         
 201cf84:	80 a6 60 00 	cmp  %i1, 0                                    <== NOT EXECUTED
 201cf88:	04 80 00 09 	ble  201cfac <rtems_rfs_rtems_device_open+0xf4><== NOT EXECUTED
 201cf8c:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
  {                                                                   
    rtems_rfs_rtems_unlock (fs);                                      
 201cf90:	7f ff ff a2 	call  201ce18 <rtems_rfs_rtems_unlock>         <== NOT EXECUTED
 201cf94:	b0 10 3f ff 	mov  -1, %i0                                   <== NOT EXECUTED
    return rtems_rfs_rtems_error ("device_open: closing inode", rc);  
 201cf98:	40 00 05 24 	call  201e428 <__errno>                        <== NOT EXECUTED
 201cf9c:	01 00 00 00 	nop                                            <== NOT EXECUTED
 201cfa0:	f2 22 00 00 	st  %i1, [ %o0 ]                               <== NOT EXECUTED
 201cfa4:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 201cfa8:	81 e8 00 00 	restore                                        <== NOT EXECUTED
  }                                                                   
                                                                      
  rtems_rfs_rtems_unlock (fs);                                        
 201cfac:	7f ff ff 9b 	call  201ce18 <rtems_rfs_rtems_unlock>         <== NOT EXECUTED
 201cfb0:	01 00 00 00 	nop                                            <== NOT EXECUTED
                                                                      
  iop->data0 = major;                                                 
  iop->data1 = (void*)((intptr_t) minor);                             
                                                                      
  args.iop   = iop;                                                   
  args.flags = iop->flags;                                            
 201cfb4:	c2 06 20 18 	ld  [ %i0 + 0x18 ], %g1                        <== NOT EXECUTED
  args.mode  = mode;                                                  
                                                                      
  status = rtems_io_open (major, minor, (void *) &args);              
 201cfb8:	92 10 00 1c 	mov  %i4, %o1                                  <== NOT EXECUTED
 201cfbc:	94 07 bf f4 	add  %fp, -12, %o2                             <== NOT EXECUTED
    return rtems_rfs_rtems_error ("device_open: closing inode", rc);  
  }                                                                   
                                                                      
  rtems_rfs_rtems_unlock (fs);                                        
                                                                      
  iop->data0 = major;                                                 
 201cfc0:	f4 26 20 34 	st  %i2, [ %i0 + 0x34 ]                        <== NOT EXECUTED
  iop->data1 = (void*)((intptr_t) minor);                             
 201cfc4:	f8 26 20 38 	st  %i4, [ %i0 + 0x38 ]                        <== NOT EXECUTED
                                                                      
  args.iop   = iop;                                                   
 201cfc8:	f0 27 bf f4 	st  %i0, [ %fp + -12 ]                         <== NOT EXECUTED
  args.flags = iop->flags;                                            
 201cfcc:	c2 27 bf f8 	st  %g1, [ %fp + -8 ]                          <== NOT EXECUTED
  args.mode  = mode;                                                  
 201cfd0:	f6 27 bf fc 	st  %i3, [ %fp + -4 ]                          <== NOT EXECUTED
                                                                      
  status = rtems_io_open (major, minor, (void *) &args);              
 201cfd4:	40 00 03 8f 	call  201de10 <rtems_io_open>                  <== NOT EXECUTED
 201cfd8:	90 10 00 1a 	mov  %i2, %o0                                  <== NOT EXECUTED
                                                                      
  return rtems_deviceio_errno (status);                               
 201cfdc:	40 00 02 0d 	call  201d810 <rtems_deviceio_errno>           <== NOT EXECUTED
 201cfe0:	01 00 00 00 	nop                                            <== NOT EXECUTED
}                                                                     
 201cfe4:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 201cfe8:	91 e8 00 08 	restore  %g0, %o0, %o0                         <== NOT EXECUTED
                                                                      

0201cd94 <rtems_rfs_rtems_device_read>: * @return ssize_t */ static ssize_t rtems_rfs_rtems_device_read (rtems_libio_t* iop, void* buffer, size_t count) {
 201cd94:	9d e3 bf 80 	save  %sp, -128, %sp                           <== NOT EXECUTED
                                                                      
  major = (int) iop->data0;                                           
  minor = (intptr_t) iop->data1;                                      
                                                                      
  args.iop         = iop;                                             
  args.offset      = iop->offset;                                     
 201cd98:	c4 1e 20 10 	ldd  [ %i0 + 0x10 ], %g2                       <== NOT EXECUTED
  args.buffer      = buffer;                                          
  args.count       = count;                                           
  args.flags       = iop->flags;                                      
 201cd9c:	c2 06 20 18 	ld  [ %i0 + 0x18 ], %g1                        <== NOT EXECUTED
  rtems_libio_rw_args_t args;                                         
  rtems_status_code     status;                                       
  int                   major;                                        
  int                   minor;                                        
                                                                      
  major = (int) iop->data0;                                           
 201cda0:	d0 06 20 34 	ld  [ %i0 + 0x34 ], %o0                        <== NOT EXECUTED
  minor = (intptr_t) iop->data1;                                      
 201cda4:	d2 06 20 38 	ld  [ %i0 + 0x38 ], %o1                        <== NOT EXECUTED
                                                                      
  args.iop         = iop;                                             
 201cda8:	f0 27 bf e0 	st  %i0, [ %fp + -32 ]                         <== NOT EXECUTED
  args.offset      = iop->offset;                                     
 201cdac:	c4 3f bf e8 	std  %g2, [ %fp + -24 ]                        <== NOT EXECUTED
  args.buffer      = buffer;                                          
 201cdb0:	f2 27 bf f0 	st  %i1, [ %fp + -16 ]                         <== NOT EXECUTED
  args.count       = count;                                           
 201cdb4:	f4 27 bf f4 	st  %i2, [ %fp + -12 ]                         <== NOT EXECUTED
  args.flags       = iop->flags;                                      
 201cdb8:	c2 27 bf f8 	st  %g1, [ %fp + -8 ]                          <== NOT EXECUTED
  args.bytes_moved = 0;                                               
 201cdbc:	c0 27 bf fc 	clr  [ %fp + -4 ]                              <== NOT EXECUTED
                                                                      
  status = rtems_io_read (major, minor, (void *) &args);              
 201cdc0:	40 00 04 2a 	call  201de68 <rtems_io_read>                  <== NOT EXECUTED
 201cdc4:	94 07 bf e0 	add  %fp, -32, %o2                             <== NOT EXECUTED
  if (status)                                                         
 201cdc8:	80 a2 20 00 	cmp  %o0, 0                                    <== NOT EXECUTED
 201cdcc:	02 80 00 05 	be  201cde0 <rtems_rfs_rtems_device_read+0x4c> <== NOT EXECUTED
 201cdd0:	f0 07 bf fc 	ld  [ %fp + -4 ], %i0                          <== NOT EXECUTED
    return rtems_deviceio_errno (status);                             
 201cdd4:	40 00 02 8f 	call  201d810 <rtems_deviceio_errno>           <== NOT EXECUTED
 201cdd8:	01 00 00 00 	nop                                            <== NOT EXECUTED
 201cddc:	b0 10 00 08 	mov  %o0, %i0                                  <== NOT EXECUTED
                                                                      
  return (ssize_t) args.bytes_moved;                                  
}                                                                     
 201cde0:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 201cde4:	81 e8 00 00 	restore                                        <== NOT EXECUTED
                                                                      

0201cd40 <rtems_rfs_rtems_device_write>: static ssize_t rtems_rfs_rtems_device_write (rtems_libio_t* iop, const void* buffer, size_t count) {
 201cd40:	9d e3 bf 80 	save  %sp, -128, %sp                           <== NOT EXECUTED
                                                                      
  major = (int) iop->data0;                                           
  minor = (intptr_t) iop->data1;                                      
                                                                      
  args.iop         = iop;                                             
  args.offset      = iop->offset;                                     
 201cd44:	c4 1e 20 10 	ldd  [ %i0 + 0x10 ], %g2                       <== NOT EXECUTED
  args.buffer      = (void *) buffer;                                 
  args.count       = count;                                           
  args.flags       = iop->flags;                                      
 201cd48:	c2 06 20 18 	ld  [ %i0 + 0x18 ], %g1                        <== NOT EXECUTED
  rtems_libio_rw_args_t args;                                         
  rtems_status_code     status;                                       
  int                   major;                                        
  int                   minor;                                        
                                                                      
  major = (int) iop->data0;                                           
 201cd4c:	d0 06 20 34 	ld  [ %i0 + 0x34 ], %o0                        <== NOT EXECUTED
  minor = (intptr_t) iop->data1;                                      
 201cd50:	d2 06 20 38 	ld  [ %i0 + 0x38 ], %o1                        <== NOT EXECUTED
                                                                      
  args.iop         = iop;                                             
 201cd54:	f0 27 bf e0 	st  %i0, [ %fp + -32 ]                         <== NOT EXECUTED
  args.offset      = iop->offset;                                     
 201cd58:	c4 3f bf e8 	std  %g2, [ %fp + -24 ]                        <== NOT EXECUTED
  args.buffer      = (void *) buffer;                                 
 201cd5c:	f2 27 bf f0 	st  %i1, [ %fp + -16 ]                         <== NOT EXECUTED
  args.count       = count;                                           
 201cd60:	f4 27 bf f4 	st  %i2, [ %fp + -12 ]                         <== NOT EXECUTED
  args.flags       = iop->flags;                                      
 201cd64:	c2 27 bf f8 	st  %g1, [ %fp + -8 ]                          <== NOT EXECUTED
  args.bytes_moved = 0;                                               
 201cd68:	c0 27 bf fc 	clr  [ %fp + -4 ]                              <== NOT EXECUTED
                                                                      
  status = rtems_io_write (major, minor, (void *) &args);             
 201cd6c:	40 00 04 55 	call  201dec0 <rtems_io_write>                 <== NOT EXECUTED
 201cd70:	94 07 bf e0 	add  %fp, -32, %o2                             <== NOT EXECUTED
  if (status)                                                         
 201cd74:	80 a2 20 00 	cmp  %o0, 0                                    <== NOT EXECUTED
 201cd78:	02 80 00 05 	be  201cd8c <rtems_rfs_rtems_device_write+0x4c><== NOT EXECUTED
 201cd7c:	f0 07 bf fc 	ld  [ %fp + -4 ], %i0                          <== NOT EXECUTED
    return rtems_deviceio_errno (status);                             
 201cd80:	40 00 02 a4 	call  201d810 <rtems_deviceio_errno>           <== NOT EXECUTED
 201cd84:	01 00 00 00 	nop                                            <== NOT EXECUTED
 201cd88:	b0 10 00 08 	mov  %o0, %i0                                  <== NOT EXECUTED
                                                                      
  return (ssize_t) args.bytes_moved;                                  
}                                                                     
 201cd8c:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 201cd90:	81 e8 00 00 	restore                                        <== NOT EXECUTED
                                                                      

0201d050 <rtems_rfs_rtems_dir_lseek>: */ static rtems_off64_t rtems_rfs_rtems_dir_lseek (rtems_libio_t* iop, rtems_off64_t offset, int whence) {
 201d050:	9d e3 bf a0 	save  %sp, -96, %sp                            <== NOT EXECUTED
  switch (whence)                                                     
 201d054:	80 a6 e0 01 	cmp  %i3, 1                                    <== NOT EXECUTED
 201d058:	28 80 00 09 	bleu,a   201d07c <rtems_rfs_rtems_dir_lseek+0x2c><== NOT EXECUTED
 201d05c:	b0 10 20 00 	clr  %i0                                       <== NOT EXECUTED
      break;                                                          
                                                                      
     case SEEK_END:   /* Movement past the end of the directory via lseek */
                      /* is not a permitted operation                     */
    default:                                                          
      return rtems_rfs_rtems_error ("dir_lseek: bad whence", EINVAL); 
 201d060:	40 00 04 f2 	call  201e428 <__errno>                        <== NOT EXECUTED
 201d064:	31 3f ff ff 	sethi  %hi(0xfffffc00), %i0                    <== NOT EXECUTED
 201d068:	82 10 20 16 	mov  0x16, %g1                                 <== NOT EXECUTED
 201d06c:	c2 22 00 00 	st  %g1, [ %o0 ]                               <== NOT EXECUTED
 201d070:	b0 16 23 ff 	or  %i0, 0x3ff, %i0                            <== NOT EXECUTED
 201d074:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 201d078:	93 e8 00 18 	restore  %g0, %i0, %o1                         <== NOT EXECUTED
      break;                                                          
  }                                                                   
  return 0;                                                           
}                                                                     
 201d07c:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 201d080:	93 e8 20 00 	restore  %g0, 0, %o1                           <== NOT EXECUTED
                                                                      

0201d1c8 <rtems_rfs_rtems_dir_open>: static int rtems_rfs_rtems_dir_open (rtems_libio_t* iop, const char* pathname, uint32_t flag, uint32_t mode) {
 201d1c8:	9d e3 bf 78 	save  %sp, -136, %sp                           
  rtems_rfs_file_system* fs = rtems_rfs_rtems_pathloc_dev (&iop->pathinfo);
 201d1cc:	c2 06 20 2c 	ld  [ %i0 + 0x2c ], %g1                        
  rtems_rfs_ino          ino = rtems_rfs_rtems_get_iop_ino (iop);     
 201d1d0:	f8 06 20 1c 	ld  [ %i0 + 0x1c ], %i4                        
rtems_rfs_rtems_dir_open (rtems_libio_t* iop,                         
                          const char*    pathname,                    
                          uint32_t       flag,                        
                          uint32_t       mode)                        
{                                                                     
  rtems_rfs_file_system* fs = rtems_rfs_rtems_pathloc_dev (&iop->pathinfo);
 201d1d4:	fa 00 60 34 	ld  [ %g1 + 0x34 ], %i5                        
  rtems_rfs_ino          ino = rtems_rfs_rtems_get_iop_ino (iop);     
  rtems_rfs_inode_handle inode;                                       
  int                    rc;                                          
                                                                      
  rtems_rfs_rtems_lock (fs);                                          
 201d1d8:	7f ff ff ab 	call  201d084 <rtems_rfs_rtems_lock.isra.3>    
 201d1dc:	d0 07 60 7c 	ld  [ %i5 + 0x7c ], %o0                        
                                                                      
  rc = rtems_rfs_inode_open (fs, ino, &inode, true);                  
 201d1e0:	92 10 00 1c 	mov  %i4, %o1                                  
 201d1e4:	90 10 00 1d 	mov  %i5, %o0                                  
 201d1e8:	94 07 bf d8 	add  %fp, -40, %o2                             
 201d1ec:	7f ff c8 5b 	call  200f358 <rtems_rfs_inode_open>           
 201d1f0:	96 10 20 01 	mov  1, %o3                                    
  if (rc)                                                             
 201d1f4:	b8 92 20 00 	orcc  %o0, 0, %i4                              
 201d1f8:	02 80 00 09 	be  201d21c <rtems_rfs_rtems_dir_open+0x54>    <== ALWAYS TAKEN
 201d1fc:	c2 07 bf e4 	ld  [ %fp + -28 ], %g1                         
  {                                                                   
    rtems_rfs_rtems_unlock (fs);                                      
 201d200:	7f ff ff 7d 	call  201cff4 <rtems_rfs_rtems_unlock>         <== NOT EXECUTED
 201d204:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
    return rtems_rfs_rtems_error ("dir_open: opening inode", rc);     
 201d208:	40 00 04 88 	call  201e428 <__errno>                        <== NOT EXECUTED
 201d20c:	b0 10 3f ff 	mov  -1, %i0                                   <== NOT EXECUTED
 201d210:	f8 22 00 00 	st  %i4, [ %o0 ]                               <== NOT EXECUTED
 201d214:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 201d218:	81 e8 00 00 	restore                                        <== NOT EXECUTED
 * @return uint16_t The mode.                                         
 */                                                                   
static inline uint16_t                                                
rtems_rfs_inode_get_mode (rtems_rfs_inode_handle* handle)             
{                                                                     
  return rtems_rfs_read_u16 (&handle->node->mode);                    
 201d21c:	c4 08 60 02 	ldub  [ %g1 + 2 ], %g2                         
  }                                                                   
                                                                      
  if (!RTEMS_RFS_S_ISDIR (rtems_rfs_inode_get_mode (&inode)))         
 201d220:	03 00 00 3c 	sethi  %hi(0xf000), %g1                        
 201d224:	85 28 a0 08 	sll  %g2, 8, %g2                               
 201d228:	84 08 80 01 	and  %g2, %g1, %g2                             
 201d22c:	03 00 00 10 	sethi  %hi(0x4000), %g1                        
 201d230:	80 a0 80 01 	cmp  %g2, %g1                                  
 201d234:	02 80 00 0c 	be  201d264 <rtems_rfs_rtems_dir_open+0x9c>    <== ALWAYS TAKEN
 201d238:	92 07 bf d8 	add  %fp, -40, %o1                             
  {                                                                   
    rtems_rfs_inode_close (fs, &inode);                               
 201d23c:	7f ff c8 b9 	call  200f520 <rtems_rfs_inode_close>          <== NOT EXECUTED
 201d240:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
    rtems_rfs_rtems_unlock (fs);                                      
 201d244:	7f ff ff 6c 	call  201cff4 <rtems_rfs_rtems_unlock>         <== NOT EXECUTED
 201d248:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
    return rtems_rfs_rtems_error ("dir_open: not dir", ENOTDIR);      
 201d24c:	40 00 04 77 	call  201e428 <__errno>                        <== NOT EXECUTED
 201d250:	b0 10 3f ff 	mov  -1, %i0                                   <== NOT EXECUTED
 201d254:	82 10 20 14 	mov  0x14, %g1                                 <== NOT EXECUTED
 201d258:	c2 22 00 00 	st  %g1, [ %o0 ]                               <== NOT EXECUTED
 201d25c:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 201d260:	81 e8 00 00 	restore                                        <== NOT EXECUTED
  }                                                                   
                                                                      
  iop->offset = 0;                                                    
 201d264:	c0 26 20 10 	clr  [ %i0 + 0x10 ]                            
 201d268:	c0 26 20 14 	clr  [ %i0 + 0x14 ]                            
                                                                      
  rtems_rfs_inode_close (fs, &inode);                                 
 201d26c:	7f ff c8 ad 	call  200f520 <rtems_rfs_inode_close>          
 201d270:	90 10 00 1d 	mov  %i5, %o0                                  
  rtems_rfs_rtems_unlock (fs);                                        
 201d274:	90 10 00 1d 	mov  %i5, %o0                                  
 201d278:	7f ff ff 5f 	call  201cff4 <rtems_rfs_rtems_unlock>         
 201d27c:	b0 10 20 00 	clr  %i0                                       
  return 0;                                                           
}                                                                     
 201d280:	81 c7 e0 08 	ret                                            
 201d284:	81 e8 00 00 	restore                                        
                                                                      

0201d0dc <rtems_rfs_rtems_dir_read>: */ static ssize_t rtems_rfs_rtems_dir_read (rtems_libio_t* iop, void* buffer, size_t count) {
 201d0dc:	9d e3 bf 70 	save  %sp, -144, %sp                           <== NOT EXECUTED
  rtems_rfs_file_system* fs = rtems_rfs_rtems_pathloc_dev (&iop->pathinfo);
 201d0e0:	c2 06 20 2c 	ld  [ %i0 + 0x2c ], %g1                        <== NOT EXECUTED
  struct dirent*         dirent;                                      
  ssize_t                bytes_transferred;                           
  int                    d;                                           
  int                    rc;                                          
                                                                      
  count  = count / sizeof (struct dirent);                            
 201d0e4:	92 10 21 18 	mov  0x118, %o1                                <== NOT EXECUTED
static ssize_t                                                        
rtems_rfs_rtems_dir_read (rtems_libio_t* iop,                         
                          void*          buffer,                      
                          size_t         count)                       
{                                                                     
  rtems_rfs_file_system* fs = rtems_rfs_rtems_pathloc_dev (&iop->pathinfo);
 201d0e8:	f8 00 60 34 	ld  [ %g1 + 0x34 ], %i4                        <== NOT EXECUTED
  struct dirent*         dirent;                                      
  ssize_t                bytes_transferred;                           
  int                    d;                                           
  int                    rc;                                          
                                                                      
  count  = count / sizeof (struct dirent);                            
 201d0ec:	40 00 38 08 	call  202b10c <.udiv>                          <== NOT EXECUTED
 201d0f0:	90 10 00 1a 	mov  %i2, %o0                                  <== NOT EXECUTED
 201d0f4:	b4 10 00 08 	mov  %o0, %i2                                  <== NOT EXECUTED
  dirent = buffer;                                                    
                                                                      
  rtems_rfs_rtems_lock (fs);                                          
 201d0f8:	d0 07 20 7c 	ld  [ %i4 + 0x7c ], %o0                        <== NOT EXECUTED
 201d0fc:	7f ff ff e2 	call  201d084 <rtems_rfs_rtems_lock.isra.3>    <== NOT EXECUTED
 201d100:	f6 06 20 1c 	ld  [ %i0 + 0x1c ], %i3                        <== NOT EXECUTED
                                                                      
  rc = rtems_rfs_inode_open (fs, ino, &inode, true);                  
 201d104:	92 10 00 1b 	mov  %i3, %o1                                  <== NOT EXECUTED
 */                                                                   
static ssize_t                                                        
rtems_rfs_rtems_dir_read (rtems_libio_t* iop,                         
                          void*          buffer,                      
                          size_t         count)                       
{                                                                     
 201d108:	ba 10 00 18 	mov  %i0, %i5                                  <== NOT EXECUTED
  count  = count / sizeof (struct dirent);                            
  dirent = buffer;                                                    
                                                                      
  rtems_rfs_rtems_lock (fs);                                          
                                                                      
  rc = rtems_rfs_inode_open (fs, ino, &inode, true);                  
 201d10c:	a0 07 bf d4 	add  %fp, -44, %l0                             <== NOT EXECUTED
 201d110:	90 10 00 1c 	mov  %i4, %o0                                  <== NOT EXECUTED
 201d114:	94 10 00 10 	mov  %l0, %o2                                  <== NOT EXECUTED
 201d118:	96 10 20 01 	mov  1, %o3                                    <== NOT EXECUTED
 201d11c:	7f ff c8 8f 	call  200f358 <rtems_rfs_inode_open>           <== NOT EXECUTED
 201d120:	b0 10 20 00 	clr  %i0                                       <== NOT EXECUTED
  if (rc)                                                             
 201d124:	b6 92 20 00 	orcc  %o0, 0, %i3                              <== NOT EXECUTED
 201d128:	02 80 00 1f 	be  201d1a4 <rtems_rfs_rtems_dir_read+0xc8>    <== NOT EXECUTED
 201d12c:	80 a6 c0 1a 	cmp  %i3, %i2                                  <== NOT EXECUTED
  {                                                                   
    rtems_rfs_rtems_unlock (fs);                                      
 201d130:	7f ff ff b1 	call  201cff4 <rtems_rfs_rtems_unlock>         <== NOT EXECUTED
 201d134:	90 10 00 1c 	mov  %i4, %o0                                  <== NOT EXECUTED
    return rtems_rfs_rtems_error ("dir_read: read inode", rc);        
 201d138:	40 00 04 bc 	call  201e428 <__errno>                        <== NOT EXECUTED
 201d13c:	b0 10 3f ff 	mov  -1, %i0                                   <== NOT EXECUTED
 201d140:	f6 22 00 00 	st  %i3, [ %o0 ]                               <== NOT EXECUTED
 201d144:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 201d148:	81 e8 00 00 	restore                                        <== NOT EXECUTED
  bytes_transferred = 0;                                              
                                                                      
  for (d = 0; d < count; d++, dirent++)                               
  {                                                                   
    size_t size;                                                      
    rc = rtems_rfs_dir_read (fs, &inode, iop->offset, dirent, &size); 
 201d14c:	d4 1f 60 10 	ldd  [ %i5 + 0x10 ], %o2                       <== NOT EXECUTED
 201d150:	90 10 00 1c 	mov  %i4, %o0                                  <== NOT EXECUTED
 201d154:	92 10 00 10 	mov  %l0, %o1                                  <== NOT EXECUTED
 201d158:	7f ff f5 18 	call  201a5b8 <rtems_rfs_dir_read>             <== NOT EXECUTED
 201d15c:	9a 07 bf fc 	add  %fp, -4, %o5                              <== NOT EXECUTED
    if (rc == ENOENT)                                                 
 201d160:	80 a2 20 02 	cmp  %o0, 2                                    <== NOT EXECUTED
 201d164:	02 80 00 12 	be  201d1ac <rtems_rfs_rtems_dir_read+0xd0>    <== NOT EXECUTED
 201d168:	a2 10 00 08 	mov  %o0, %l1                                  <== NOT EXECUTED
    {                                                                 
      rc = 0;                                                         
      break;                                                          
    }                                                                 
    if (rc > 0)                                                       
 201d16c:	80 a2 20 00 	cmp  %o0, 0                                    <== NOT EXECUTED
 201d170:	24 80 00 06 	ble,a   201d188 <rtems_rfs_rtems_dir_read+0xac><== NOT EXECUTED
 201d174:	d8 1f 60 10 	ldd  [ %i5 + 0x10 ], %o4                       <== NOT EXECUTED
    {                                                                 
      bytes_transferred = rtems_rfs_rtems_error ("dir_read: dir read", rc);
 201d178:	40 00 04 ac 	call  201e428 <__errno>                        <== NOT EXECUTED
 201d17c:	b0 10 3f ff 	mov  -1, %i0                                   <== NOT EXECUTED
 201d180:	10 80 00 0b 	b  201d1ac <rtems_rfs_rtems_dir_read+0xd0>     <== NOT EXECUTED
 201d184:	e2 22 00 00 	st  %l1, [ %o0 ]                               <== NOT EXECUTED
      break;                                                          
    }                                                                 
    iop->offset += size;                                              
 201d188:	c4 07 bf fc 	ld  [ %fp + -4 ], %g2                          <== NOT EXECUTED
 * exisiting file, the remaining entries will be placed in the buffer and the
 * returned value will be equal to -m actual- times the size of a directory
 * entry.                                                             
 */                                                                   
static ssize_t                                                        
rtems_rfs_rtems_dir_read (rtems_libio_t* iop,                         
 201d18c:	b0 06 21 18 	add  %i0, 0x118, %i0                           <== NOT EXECUTED
    if (rc > 0)                                                       
    {                                                                 
      bytes_transferred = rtems_rfs_rtems_error ("dir_read: dir read", rc);
      break;                                                          
    }                                                                 
    iop->offset += size;                                              
 201d190:	86 83 40 02 	addcc  %o5, %g2, %g3                           <== NOT EXECUTED
    return rtems_rfs_rtems_error ("dir_read: read inode", rc);        
  }                                                                   
                                                                      
  bytes_transferred = 0;                                              
                                                                      
  for (d = 0; d < count; d++, dirent++)                               
 201d194:	b6 06 e0 01 	inc  %i3                                       <== NOT EXECUTED
    if (rc > 0)                                                       
    {                                                                 
      bytes_transferred = rtems_rfs_rtems_error ("dir_read: dir read", rc);
      break;                                                          
    }                                                                 
    iop->offset += size;                                              
 201d198:	84 43 20 00 	addx  %o4, 0, %g2                              <== NOT EXECUTED
 201d19c:	c4 3f 60 10 	std  %g2, [ %i5 + 0x10 ]                       <== NOT EXECUTED
    return rtems_rfs_rtems_error ("dir_read: read inode", rc);        
  }                                                                   
                                                                      
  bytes_transferred = 0;                                              
                                                                      
  for (d = 0; d < count; d++, dirent++)                               
 201d1a0:	80 a6 c0 1a 	cmp  %i3, %i2                                  <== NOT EXECUTED
 201d1a4:	12 bf ff ea 	bne  201d14c <rtems_rfs_rtems_dir_read+0x70>   <== NOT EXECUTED
 201d1a8:	98 06 40 18 	add  %i1, %i0, %o4                             <== NOT EXECUTED
    }                                                                 
    iop->offset += size;                                              
    bytes_transferred += sizeof (struct dirent);                      
  }                                                                   
                                                                      
  rtems_rfs_inode_close (fs, &inode);                                 
 201d1ac:	90 10 00 1c 	mov  %i4, %o0                                  <== NOT EXECUTED
 201d1b0:	7f ff c8 dc 	call  200f520 <rtems_rfs_inode_close>          <== NOT EXECUTED
 201d1b4:	92 07 bf d4 	add  %fp, -44, %o1                             <== NOT EXECUTED
  rtems_rfs_rtems_unlock (fs);                                        
 201d1b8:	7f ff ff 8f 	call  201cff4 <rtems_rfs_rtems_unlock>         <== NOT EXECUTED
 201d1bc:	90 10 00 1c 	mov  %i4, %o0                                  <== NOT EXECUTED
                                                                      
  return bytes_transferred;                                           
}                                                                     
 201d1c0:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 201d1c4:	81 e8 00 00 	restore                                        <== NOT EXECUTED
                                                                      

0201d288 <rtems_rfs_rtems_dir_rmnod>: } static int rtems_rfs_rtems_dir_rmnod (rtems_filesystem_location_info_t* parent_pathloc, rtems_filesystem_location_info_t* pathloc) {
 201d288:	9d e3 bf a0 	save  %sp, -96, %sp                            <== NOT EXECUTED
  rtems_rfs_file_system* fs = rtems_rfs_rtems_pathloc_dev (pathloc);  
 201d28c:	c2 06 60 10 	ld  [ %i1 + 0x10 ], %g1                        <== NOT EXECUTED
  rtems_rfs_ino          parent = rtems_rfs_rtems_get_pathloc_ino (parent_pathloc);
  rtems_rfs_ino          ino = rtems_rfs_rtems_get_pathloc_ino (pathloc);
 201d290:	f6 06 40 00 	ld  [ %i1 ], %i3                               <== NOT EXECUTED
                                                                      
static int                                                            
rtems_rfs_rtems_dir_rmnod (rtems_filesystem_location_info_t* parent_pathloc,
                           rtems_filesystem_location_info_t* pathloc) 
{                                                                     
  rtems_rfs_file_system* fs = rtems_rfs_rtems_pathloc_dev (pathloc);  
 201d294:	fa 00 60 34 	ld  [ %g1 + 0x34 ], %i5                        <== NOT EXECUTED
  rtems_rfs_ino          parent = rtems_rfs_rtems_get_pathloc_ino (parent_pathloc);
 201d298:	f4 06 00 00 	ld  [ %i0 ], %i2                               <== NOT EXECUTED
                                                                      
  if (rtems_rfs_rtems_trace (RTEMS_RFS_RTEMS_DEBUG_DIR_RMNOD))        
    printf ("rtems-rfs: dir-rmnod: parent:%" PRId32 " doff:%" PRIu32 ", ino:%" PRId32 "\n",
            parent, doff, ino);                                       
                                                                      
  if (ino == RTEMS_RFS_ROOT_INO)                                      
 201d29c:	80 a6 e0 01 	cmp  %i3, 1                                    <== NOT EXECUTED
 201d2a0:	12 80 00 08 	bne  201d2c0 <rtems_rfs_rtems_dir_rmnod+0x38>  <== NOT EXECUTED
 201d2a4:	f8 06 60 04 	ld  [ %i1 + 4 ], %i4                           <== NOT EXECUTED
    return rtems_rfs_rtems_error ("dir_rmnod: root inode", EBUSY);    
 201d2a8:	40 00 04 60 	call  201e428 <__errno>                        <== NOT EXECUTED
 201d2ac:	b0 10 3f ff 	mov  -1, %i0                                   <== NOT EXECUTED
 201d2b0:	82 10 20 10 	mov  0x10, %g1                                 <== NOT EXECUTED
 201d2b4:	c2 22 00 00 	st  %g1, [ %o0 ]                               <== NOT EXECUTED
 201d2b8:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 201d2bc:	81 e8 00 00 	restore                                        <== NOT EXECUTED
                                                                      
  rtems_rfs_rtems_lock (fs);                                          
 201d2c0:	7f ff ff 71 	call  201d084 <rtems_rfs_rtems_lock.isra.3>    <== NOT EXECUTED
 201d2c4:	d0 07 60 7c 	ld  [ %i5 + 0x7c ], %o0                        <== NOT EXECUTED
                                                                      
  rc = rtems_rfs_unlink (fs, parent, ino, doff, rtems_rfs_unlink_dir_if_empty);
 201d2c8:	96 10 00 1c 	mov  %i4, %o3                                  <== NOT EXECUTED
 201d2cc:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
 201d2d0:	92 10 00 1a 	mov  %i2, %o1                                  <== NOT EXECUTED
 201d2d4:	94 10 00 1b 	mov  %i3, %o2                                  <== NOT EXECUTED
 201d2d8:	7f ff fc 4c 	call  201c408 <rtems_rfs_unlink>               <== NOT EXECUTED
 201d2dc:	98 10 20 01 	mov  1, %o4                                    <== NOT EXECUTED
 201d2e0:	b8 10 00 08 	mov  %o0, %i4                                  <== NOT EXECUTED
  if (rc)                                                             
 201d2e4:	80 a7 20 00 	cmp  %i4, 0                                    <== NOT EXECUTED
 201d2e8:	02 80 00 09 	be  201d30c <rtems_rfs_rtems_dir_rmnod+0x84>   <== NOT EXECUTED
 201d2ec:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
  {                                                                   
    rtems_rfs_rtems_unlock (fs);                                      
 201d2f0:	7f ff ff 41 	call  201cff4 <rtems_rfs_rtems_unlock>         <== NOT EXECUTED
 201d2f4:	b0 10 3f ff 	mov  -1, %i0                                   <== NOT EXECUTED
    return rtems_rfs_rtems_error ("dir_rmnod: unlinking", rc);        
 201d2f8:	40 00 04 4c 	call  201e428 <__errno>                        <== NOT EXECUTED
 201d2fc:	01 00 00 00 	nop                                            <== NOT EXECUTED
 201d300:	f8 22 00 00 	st  %i4, [ %o0 ]                               <== NOT EXECUTED
 201d304:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 201d308:	81 e8 00 00 	restore                                        <== NOT EXECUTED
  }                                                                   
                                                                      
  rtems_rfs_rtems_unlock (fs);                                        
 201d30c:	7f ff ff 3a 	call  201cff4 <rtems_rfs_rtems_unlock>         <== NOT EXECUTED
 201d310:	b0 10 20 00 	clr  %i0                                       <== NOT EXECUTED
  return 0;                                                           
}                                                                     
 201d314:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 201d318:	81 e8 00 00 	restore                                        <== NOT EXECUTED
                                                                      

0201061c <rtems_rfs_rtems_eval_for_make>: */ static int rtems_rfs_rtems_eval_for_make (const char* path, rtems_filesystem_location_info_t* pathloc, const char** name) {
 201061c:	9d e3 bf 68 	save  %sp, -152, %sp                           
  rtems_rfs_file_system* fs = rtems_rfs_rtems_pathloc_dev (pathloc);  
 2010620:	c2 06 60 10 	ld  [ %i1 + 0x10 ], %g1                        
  rtems_rfs_inode_handle inode;                                       
  rtems_rfs_ino          ino = rtems_rfs_rtems_get_pathloc_ino (pathloc);
  rtems_rfs_ino          node_ino;                                    
  uint32_t               doff = 0;                                    
 2010624:	c0 27 bf fc 	clr  [ %fp + -4 ]                              
static int                                                            
rtems_rfs_rtems_eval_for_make (const char*                       path,
                               rtems_filesystem_location_info_t* pathloc,
                               const char**                      name)
{                                                                     
  rtems_rfs_file_system* fs = rtems_rfs_rtems_pathloc_dev (pathloc);  
 2010628:	fa 00 60 34 	ld  [ %g1 + 0x34 ], %i5                        
  rtems_rfs_inode_handle inode;                                       
  rtems_rfs_ino          ino = rtems_rfs_rtems_get_pathloc_ino (pathloc);
 201062c:	c2 06 40 00 	ld  [ %i1 ], %g1                               
  int                    rc;                                          
                                                                      
  if (rtems_rfs_rtems_trace (RTEMS_RFS_RTEMS_DEBUG_EVAL_FOR_MAKE))    
    printf ("rtems-rfs-rtems: eval-for-make: path:%s ino:%" PRId32 "\n", path, ino);
                                                                      
  *name = path + strlen (path);                                       
 2010630:	90 10 00 18 	mov  %i0, %o0                                  
 2010634:	40 00 3e 20 	call  201feb4 <strlen>                         
 2010638:	c2 27 bf f4 	st  %g1, [ %fp + -12 ]                         
 201063c:	90 06 00 08 	add  %i0, %o0, %o0                             
                                                                      
  while (*name != path)                                               
 2010640:	10 80 00 0b 	b  201066c <rtems_rfs_rtems_eval_for_make+0x50>
 2010644:	d0 26 80 00 	st  %o0, [ %i2 ]                               
  {                                                                   
    (*name)--;                                                        
 2010648:	c4 26 80 00 	st  %g2, [ %i2 ]                               
    if (rtems_filesystem_is_separator (**name))                       
 201064c:	7f ff db 70 	call  200740c <rtems_filesystem_is_separator>  
 2010650:	d0 48 7f ff 	ldsb  [ %g1 + -1 ], %o0                        
 2010654:	80 a2 20 00 	cmp  %o0, 0                                    
 2010658:	02 80 00 06 	be  2010670 <rtems_rfs_rtems_eval_for_make+0x54>
 201065c:	c2 06 80 00 	ld  [ %i2 ], %g1                               
    {                                                                 
      (*name)++;                                                      
 2010660:	82 00 60 01 	inc  %g1                                       
      break;                                                          
 2010664:	10 80 00 06 	b  201067c <rtems_rfs_rtems_eval_for_make+0x60>
 2010668:	c2 26 80 00 	st  %g1, [ %i2 ]                               
  if (rtems_rfs_rtems_trace (RTEMS_RFS_RTEMS_DEBUG_EVAL_FOR_MAKE))    
    printf ("rtems-rfs-rtems: eval-for-make: path:%s ino:%" PRId32 "\n", path, ino);
                                                                      
  *name = path + strlen (path);                                       
                                                                      
  while (*name != path)                                               
 201066c:	c2 06 80 00 	ld  [ %i2 ], %g1                               
 2010670:	80 a0 40 18 	cmp  %g1, %i0                                  
 2010674:	12 bf ff f5 	bne  2010648 <rtems_rfs_rtems_eval_for_make+0x2c>
 2010678:	84 00 7f ff 	add  %g1, -1, %g2                              
  }                                                                   
                                                                      
  /*                                                                  
   * Eat any separators at start of the path.                         
   */                                                                 
  stripped = rtems_filesystem_prefix_separators (path, strlen(path)); 
 201067c:	40 00 3e 0e 	call  201feb4 <strlen>                         
 2010680:	90 10 00 18 	mov  %i0, %o0                                  
 2010684:	92 10 00 08 	mov  %o0, %o1                                  
 2010688:	7f ff d5 1e 	call  2005b00 <rtems_filesystem_prefix_separators>
 201068c:	90 10 00 18 	mov  %i0, %o0                                  
  path += stripped;                                                   
 2010690:	b0 06 00 08 	add  %i0, %o0, %i0                             
                                                                      
  rtems_rfs_rtems_lock (fs);                                          
 2010694:	d0 07 60 7c 	ld  [ %i5 + 0x7c ], %o0                        
 2010698:	7f ff fe 1c 	call  200ff08 <rtems_rfs_rtems_lock.isra.16>   
 201069c:	23 00 80 b3 	sethi  %hi(0x202cc00), %l1                     
    }                                                                 
                                                                      
    /*                                                                
     * If a directory the execute bit must be set for us to enter.    
     */                                                               
    if (RTEMS_RFS_S_ISDIR (rtems_rfs_inode_get_mode (&inode)) &&      
 20106a0:	21 00 00 3c 	sethi  %hi(0xf000), %l0                        
 20106a4:	37 00 00 10 	sethi  %hi(0x4000), %i3                        
 20106a8:	a2 14 63 28 	or  %l1, 0x328, %l1                            
  while (true)                                                        
  {                                                                   
    /*                                                                
     * Open and load the inode.                                       
     */                                                               
    rc = rtems_rfs_inode_open (fs, ino, &inode, true);                
 20106ac:	d2 07 bf f4 	ld  [ %fp + -12 ], %o1                         
 20106b0:	90 10 00 1d 	mov  %i5, %o0                                  
 20106b4:	94 07 bf cc 	add  %fp, -52, %o2                             
 20106b8:	7f ff fb 28 	call  200f358 <rtems_rfs_inode_open>           
 20106bc:	96 10 20 01 	mov  1, %o3                                    
    if (rc > 0)                                                       
 20106c0:	b8 92 20 00 	orcc  %o0, 0, %i4                              
 20106c4:	14 80 00 cf 	bg  2010a00 <rtems_rfs_rtems_eval_for_make+0x3e4><== NEVER TAKEN
 20106c8:	01 00 00 00 	nop                                            
    }                                                                 
                                                                      
    /*                                                                
     * If a directory the execute bit must be set for us to enter.    
     */                                                               
    if (RTEMS_RFS_S_ISDIR (rtems_rfs_inode_get_mode (&inode)) &&      
 20106cc:	c2 07 bf d8 	ld  [ %fp + -40 ], %g1                         
 20106d0:	c4 08 60 02 	ldub  [ %g1 + 2 ], %g2                         
 20106d4:	c2 08 60 03 	ldub  [ %g1 + 3 ], %g1                         
 20106d8:	85 28 a0 08 	sll  %g2, 8, %g2                               
 20106dc:	82 10 40 02 	or  %g1, %g2, %g1                              
 20106e0:	82 08 40 10 	and  %g1, %l0, %g1                             
 20106e4:	80 a0 40 1b 	cmp  %g1, %i3                                  
 20106e8:	32 80 00 09 	bne,a   201070c <rtems_rfs_rtems_eval_for_make+0xf0>
 20106ec:	c2 06 80 00 	ld  [ %i2 ], %g1                               
        !rtems_rfs_rtems_eval_perms (&inode, RTEMS_LIBIO_PERMS_SEARCH))
 20106f0:	90 07 bf cc 	add  %fp, -52, %o0                             
 20106f4:	40 00 02 90 	call  2011134 <rtems_rfs_rtems_eval_perms>     
 20106f8:	92 10 20 01 	mov  1, %o1                                    
    }                                                                 
                                                                      
    /*                                                                
     * If a directory the execute bit must be set for us to enter.    
     */                                                               
    if (RTEMS_RFS_S_ISDIR (rtems_rfs_inode_get_mode (&inode)) &&      
 20106fc:	80 8a 20 ff 	btst  0xff, %o0                                
 2010700:	22 80 00 9d 	be,a   2010974 <rtems_rfs_rtems_eval_for_make+0x358><== NEVER TAKEN
 2010704:	92 07 bf cc 	add  %fp, -52, %o1                             <== NOT EXECUTED
    }                                                                 
                                                                      
    /*                                                                
     * Is this the end of the pathname we where given ?               
     */                                                               
    if (path == *name)                                                
 2010708:	c2 06 80 00 	ld  [ %i2 ], %g1                               
 201070c:	80 a6 00 01 	cmp  %i0, %g1                                  
 2010710:	02 80 00 81 	be  2010914 <rtems_rfs_rtems_eval_for_make+0x2f8>
 2010714:	b8 10 00 18 	mov  %i0, %i4                                  
 2010718:	10 80 00 03 	b  2010724 <rtems_rfs_rtems_eval_for_make+0x108>
 201071c:	a4 10 20 00 	clr  %l2                                       
    while (!rtems_filesystem_is_separator(*path) &&                   
           (*path != '\0') &&                                         
           (node_len < (rtems_rfs_fs_max_name (fs) - 1)))             
    {                                                                 
      node_len++;                                                     
      path++;                                                         
 2010720:	b8 07 20 01 	inc  %i4                                       
    /*                                                                
     * Extract the node name we will look for this time around.       
     */                                                               
    node = path;                                                      
    node_len = 0;                                                     
    while (!rtems_filesystem_is_separator(*path) &&                   
 2010724:	7f ff db 3a 	call  200740c <rtems_filesystem_is_separator>  
 2010728:	d0 4f 00 00 	ldsb  [ %i4 ], %o0                             
 201072c:	80 a2 20 00 	cmp  %o0, 0                                    
 2010730:	12 80 00 0b 	bne  201075c <rtems_rfs_rtems_eval_for_make+0x140>
 2010734:	01 00 00 00 	nop                                            
 2010738:	c2 4f 00 00 	ldsb  [ %i4 ], %g1                             
 201073c:	80 a0 60 00 	cmp  %g1, 0                                    
 2010740:	02 80 00 07 	be  201075c <rtems_rfs_rtems_eval_for_make+0x140><== NEVER TAKEN
 2010744:	01 00 00 00 	nop                                            
           (*path != '\0') &&                                         
           (node_len < (rtems_rfs_fs_max_name (fs) - 1)))             
 2010748:	c2 07 60 18 	ld  [ %i5 + 0x18 ], %g1                        
 201074c:	82 00 7f ff 	add  %g1, -1, %g1                              
     * Extract the node name we will look for this time around.       
     */                                                               
    node = path;                                                      
    node_len = 0;                                                     
    while (!rtems_filesystem_is_separator(*path) &&                   
           (*path != '\0') &&                                         
 2010750:	80 a4 80 01 	cmp  %l2, %g1                                  
 2010754:	2a bf ff f3 	bcs,a   2010720 <rtems_rfs_rtems_eval_for_make+0x104><== ALWAYS TAKEN
 2010758:	a4 04 a0 01 	inc  %l2                                       
    }                                                                 
                                                                      
    /*                                                                
     * Eat any separators at start of the new path.                   
     */                                                               
    stripped = rtems_filesystem_prefix_separators (path, strlen (path));
 201075c:	40 00 3d d6 	call  201feb4 <strlen>                         
 2010760:	90 10 00 1c 	mov  %i4, %o0                                  
 2010764:	92 10 00 08 	mov  %o0, %o1                                  
 2010768:	7f ff d4 e6 	call  2005b00 <rtems_filesystem_prefix_separators>
 201076c:	90 10 00 1c 	mov  %i4, %o0                                  
                                                                      
    /*                                                                
     * If the node is the current directory and there is more path to come move
     * on it else we are at the inode we want.                        
     */                                                               
    if (rtems_rfs_current_dir (node))                                 
 2010770:	c2 4e 00 00 	ldsb  [ %i0 ], %g1                             
 2010774:	80 a0 60 2e 	cmp  %g1, 0x2e                                 
 2010778:	12 80 00 13 	bne  20107c4 <rtems_rfs_rtems_eval_for_make+0x1a8><== ALWAYS TAKEN
 201077c:	b8 07 00 08 	add  %i4, %o0, %i4                             
 2010780:	d0 4e 20 01 	ldsb  [ %i0 + 1 ], %o0                         <== NOT EXECUTED
 2010784:	80 a2 20 00 	cmp  %o0, 0                                    <== NOT EXECUTED
 2010788:	22 80 00 07 	be,a   20107a4 <rtems_rfs_rtems_eval_for_make+0x188><== NOT EXECUTED
 201078c:	c2 4f 00 00 	ldsb  [ %i4 ], %g1                             <== NOT EXECUTED
 2010790:	7f ff db 1f 	call  200740c <rtems_filesystem_is_separator>  <== NOT EXECUTED
 2010794:	01 00 00 00 	nop                                            <== NOT EXECUTED
 2010798:	80 a2 20 00 	cmp  %o0, 0                                    <== NOT EXECUTED
 201079c:	02 80 00 0b 	be  20107c8 <rtems_rfs_rtems_eval_for_make+0x1ac><== NOT EXECUTED
 20107a0:	c2 4f 00 00 	ldsb  [ %i4 ], %g1                             <== NOT EXECUTED
    {                                                                 
      if (*path)                                                      
 20107a4:	80 a0 60 00 	cmp  %g1, 0                                    <== NOT EXECUTED
 20107a8:	02 80 00 5c 	be  2010918 <rtems_rfs_rtems_eval_for_make+0x2fc><== NOT EXECUTED
 20107ac:	c2 07 bf d8 	ld  [ %fp + -40 ], %g1                         <== NOT EXECUTED
      {                                                               
        rtems_rfs_inode_close (fs, &inode);                           
 20107b0:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
 20107b4:	7f ff fb 5b 	call  200f520 <rtems_rfs_inode_close>          <== NOT EXECUTED
 20107b8:	92 07 bf cc 	add  %fp, -52, %o1                             <== NOT EXECUTED
        continue;                                                     
 20107bc:	10 bf ff bc 	b  20106ac <rtems_rfs_rtems_eval_for_make+0x90><== NOT EXECUTED
 20107c0:	b0 10 00 1c 	mov  %i4, %i0                                  <== NOT EXECUTED
    /*                                                                
     * If the node is a parent we must move up one directory. If the location
     * is on another file system we have a crossmount so we call that file
     * system to handle the remainder of the path.                    
     */                                                               
    if (rtems_rfs_parent_dir (path))                                  
 20107c4:	c2 4f 00 00 	ldsb  [ %i4 ], %g1                             
 20107c8:	80 a0 60 2e 	cmp  %g1, 0x2e                                 
 20107cc:	12 80 00 39 	bne  20108b0 <rtems_rfs_rtems_eval_for_make+0x294><== ALWAYS TAKEN
 20107d0:	90 10 00 1d 	mov  %i5, %o0                                  
 20107d4:	c2 4f 20 01 	ldsb  [ %i4 + 1 ], %g1                         <== NOT EXECUTED
 20107d8:	80 a0 60 2e 	cmp  %g1, 0x2e                                 <== NOT EXECUTED
 20107dc:	12 80 00 36 	bne  20108b4 <rtems_rfs_rtems_eval_for_make+0x298><== NOT EXECUTED
 20107e0:	92 07 bf cc 	add  %fp, -52, %o1                             <== NOT EXECUTED
 20107e4:	d0 4f 20 02 	ldsb  [ %i4 + 2 ], %o0                         <== NOT EXECUTED
 20107e8:	80 a2 20 00 	cmp  %o0, 0                                    <== NOT EXECUTED
 20107ec:	02 80 00 08 	be  201080c <rtems_rfs_rtems_eval_for_make+0x1f0><== NOT EXECUTED
 20107f0:	c2 07 bf f4 	ld  [ %fp + -12 ], %g1                         <== NOT EXECUTED
 20107f4:	7f ff db 06 	call  200740c <rtems_filesystem_is_separator>  <== NOT EXECUTED
 20107f8:	01 00 00 00 	nop                                            <== NOT EXECUTED
 20107fc:	80 a2 20 00 	cmp  %o0, 0                                    <== NOT EXECUTED
 2010800:	02 80 00 2c 	be  20108b0 <rtems_rfs_rtems_eval_for_make+0x294><== NOT EXECUTED
 2010804:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
    {                                                                 
      /*                                                              
       * If we are at the root inode of the file system we have a crossmount
       * path.                                                        
       */                                                             
      if (ino == RTEMS_RFS_ROOT_INO)                                  
 2010808:	c2 07 bf f4 	ld  [ %fp + -12 ], %g1                         <== NOT EXECUTED
 201080c:	80 a0 60 01 	cmp  %g1, 1                                    <== NOT EXECUTED
 2010810:	12 80 00 14 	bne  2010860 <rtems_rfs_rtems_eval_for_make+0x244><== NOT EXECUTED
 2010814:	c2 07 bf d8 	ld  [ %fp + -40 ], %g1                         <== NOT EXECUTED
      {                                                               
        if (rtems_rfs_rtems_trace (RTEMS_RFS_RTEMS_DEBUG_EVAL_FOR_MAKE))
          printf("rtems-rfs-rtems: eval-for-make: crossmount: path:%s\n",
                 path - node_len);                                    
                                                                      
        rtems_rfs_inode_close (fs, &inode);                           
 2010818:	92 07 bf cc 	add  %fp, -52, %o1                             <== NOT EXECUTED
 201081c:	7f ff fb 41 	call  200f520 <rtems_rfs_inode_close>          <== NOT EXECUTED
 2010820:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
        rtems_rfs_rtems_unlock (fs);                                  
 2010824:	7f ff fd 35 	call  200fcf8 <rtems_rfs_rtems_unlock>         <== NOT EXECUTED
 2010828:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
        *pathloc = pathloc->mt_entry->mt_point_node;                  
 201082c:	d2 06 60 10 	ld  [ %i1 + 0x10 ], %o1                        <== NOT EXECUTED
 2010830:	94 10 20 14 	mov  0x14, %o2                                 <== NOT EXECUTED
 2010834:	92 02 60 08 	add  %o1, 8, %o1                               <== NOT EXECUTED
 2010838:	40 00 39 86 	call  201ee50 <memcpy>                         <== NOT EXECUTED
 201083c:	90 10 00 19 	mov  %i1, %o0                                  <== NOT EXECUTED
        return (*pathloc->ops->evalformake_h)(path + 2, pathloc, name);
 2010840:	c2 06 60 0c 	ld  [ %i1 + 0xc ], %g1                         <== NOT EXECUTED
 2010844:	90 07 20 02 	add  %i4, 2, %o0                               <== NOT EXECUTED
 2010848:	c2 00 60 04 	ld  [ %g1 + 4 ], %g1                           <== NOT EXECUTED
 201084c:	92 10 00 19 	mov  %i1, %o1                                  <== NOT EXECUTED
 2010850:	9f c0 40 00 	call  %g1                                      <== NOT EXECUTED
 2010854:	94 10 00 1a 	mov  %i2, %o2                                  <== NOT EXECUTED
 2010858:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 201085c:	91 e8 00 08 	restore  %g0, %o0, %o0                         <== NOT EXECUTED
       * If not a directory give and up return. We cannot change dir from a
       * regular file or device node.                                 
       */                                                             
      if (!RTEMS_RFS_S_ISDIR (rtems_rfs_inode_get_mode (&inode)))     
      {                                                               
        rtems_rfs_inode_close (fs, &inode);                           
 2010860:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
 2010864:	c4 08 60 02 	ldub  [ %g1 + 2 ], %g2                         <== NOT EXECUTED
                                                                      
      /*                                                              
       * If not a directory give and up return. We cannot change dir from a
       * regular file or device node.                                 
       */                                                             
      if (!RTEMS_RFS_S_ISDIR (rtems_rfs_inode_get_mode (&inode)))     
 2010868:	c2 08 60 03 	ldub  [ %g1 + 3 ], %g1                         <== NOT EXECUTED
 201086c:	85 28 a0 08 	sll  %g2, 8, %g2                               <== NOT EXECUTED
 2010870:	82 10 40 02 	or  %g1, %g2, %g1                              <== NOT EXECUTED
 2010874:	82 08 40 10 	and  %g1, %l0, %g1                             <== NOT EXECUTED
 2010878:	80 a0 40 1b 	cmp  %g1, %i3                                  <== NOT EXECUTED
 201087c:	02 80 00 0a 	be  20108a4 <rtems_rfs_rtems_eval_for_make+0x288><== NOT EXECUTED
 2010880:	92 07 bf cc 	add  %fp, -52, %o1                             <== NOT EXECUTED
      {                                                               
        rtems_rfs_inode_close (fs, &inode);                           
 2010884:	7f ff fb 27 	call  200f520 <rtems_rfs_inode_close>          <== NOT EXECUTED
 2010888:	01 00 00 00 	nop                                            <== NOT EXECUTED
        rtems_rfs_rtems_unlock (fs);                                  
 201088c:	7f ff fd 1b 	call  200fcf8 <rtems_rfs_rtems_unlock>         <== NOT EXECUTED
 2010890:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
        return rtems_rfs_rtems_error ("eval_for_make: not dir", ENOTSUP);
 2010894:	40 00 36 e5 	call  201e428 <__errno>                        <== NOT EXECUTED
 2010898:	01 00 00 00 	nop                                            <== NOT EXECUTED
 201089c:	10 80 00 52 	b  20109e4 <rtems_rfs_rtems_eval_for_make+0x3c8><== NOT EXECUTED
 20108a0:	82 10 20 86 	mov  0x86, %g1	! 86 <PROM_START+0x86>          <== NOT EXECUTED
      }                                                               
                                                                      
      /*                                                              
       * We need to find the parent of this node.                     
       */                                                             
      rc = rtems_rfs_dir_lookup_ino (fs, &inode, "..", 2, &ino, &doff);
 20108a4:	94 10 00 11 	mov  %l1, %o2                                  <== NOT EXECUTED
 20108a8:	10 80 00 05 	b  20108bc <rtems_rfs_rtems_eval_for_make+0x2a0><== NOT EXECUTED
 20108ac:	96 10 20 02 	mov  2, %o3                                    <== NOT EXECUTED
    else                                                              
    {                                                                 
      /*                                                              
       * Read the inode so we know it exists and what type it is.     
       */                                                             
      rc = rtems_rfs_dir_lookup_ino (fs, &inode,                      
 20108b0:	92 07 bf cc 	add  %fp, -52, %o1                             
 20108b4:	94 10 00 18 	mov  %i0, %o2                                  
 20108b8:	96 10 00 12 	mov  %l2, %o3                                  
 20108bc:	98 07 bf f4 	add  %fp, -12, %o4                             
 20108c0:	40 00 24 22 	call  2019948 <rtems_rfs_dir_lookup_ino>       
 20108c4:	9a 07 bf fc 	add  %fp, -4, %o5                              
                                     node, node_len - stripped, &ino, &doff);
      if (rc > 0)                                                     
      {                                                               
        rtems_rfs_inode_close (fs, &inode);                           
 20108c8:	92 07 bf cc 	add  %fp, -52, %o1                             
    else                                                              
    {                                                                 
      /*                                                              
       * Read the inode so we know it exists and what type it is.     
       */                                                             
      rc = rtems_rfs_dir_lookup_ino (fs, &inode,                      
 20108cc:	b0 10 00 08 	mov  %o0, %i0                                  
                                     node, node_len - stripped, &ino, &doff);
      if (rc > 0)                                                     
 20108d0:	80 a6 20 00 	cmp  %i0, 0                                    
 20108d4:	04 80 00 05 	ble  20108e8 <rtems_rfs_rtems_eval_for_make+0x2cc>
 20108d8:	90 10 00 1d 	mov  %i5, %o0                                  
      {                                                               
        rtems_rfs_inode_close (fs, &inode);                           
 20108dc:	7f ff fb 11 	call  200f520 <rtems_rfs_inode_close>          
 20108e0:	01 00 00 00 	nop                                            
 20108e4:	30 80 00 06 	b,a   20108fc <rtems_rfs_rtems_eval_for_make+0x2e0>
      if (rtems_rfs_rtems_trace (RTEMS_RFS_RTEMS_DEBUG_EVAL_FOR_MAKE))
        printf("rtems-rfs-rtems: eval-for-make: down: path:%s ino:%" PRId32 "\n",
               node, ino);                                            
    }                                                                 
                                                                      
    rc = rtems_rfs_inode_close (fs, &inode);                          
 20108e8:	7f ff fb 0e 	call  200f520 <rtems_rfs_inode_close>          
 20108ec:	01 00 00 00 	nop                                            
    if (rc > 0)                                                       
 20108f0:	b0 92 20 00 	orcc  %o0, 0, %i0                              
 20108f4:	24 bf ff 6e 	ble,a   20106ac <rtems_rfs_rtems_eval_for_make+0x90><== ALWAYS TAKEN
 20108f8:	b0 10 00 1c 	mov  %i4, %i0                                  
    {                                                                 
      rtems_rfs_rtems_unlock (fs);                                    
 20108fc:	7f ff fc ff 	call  200fcf8 <rtems_rfs_rtems_unlock>         
 2010900:	90 10 00 1d 	mov  %i5, %o0                                  
      return rtems_rfs_rtems_error ("eval_for_make: closing node", rc);
 2010904:	40 00 36 c9 	call  201e428 <__errno>                        
 2010908:	01 00 00 00 	nop                                            
 201090c:	10 80 00 42 	b  2010a14 <rtems_rfs_rtems_eval_for_make+0x3f8>
 2010910:	f0 22 00 00 	st  %i0, [ %o0 ]                               
    }                                                                 
  }                                                                   
                                                                      
  if (!RTEMS_RFS_S_ISDIR (rtems_rfs_inode_get_mode (&inode)))         
 2010914:	c2 07 bf d8 	ld  [ %fp + -40 ], %g1                         
 2010918:	c4 08 60 02 	ldub  [ %g1 + 2 ], %g2                         
 201091c:	03 00 00 3c 	sethi  %hi(0xf000), %g1                        
 2010920:	85 28 a0 08 	sll  %g2, 8, %g2                               
 2010924:	84 08 80 01 	and  %g2, %g1, %g2                             
 2010928:	03 00 00 10 	sethi  %hi(0x4000), %g1                        
 201092c:	80 a0 80 01 	cmp  %g2, %g1                                  
 2010930:	22 80 00 0b 	be,a   201095c <rtems_rfs_rtems_eval_for_make+0x340>
 2010934:	90 07 bf cc 	add  %fp, -52, %o0                             
  {                                                                   
    rtems_rfs_inode_close (fs, &inode);                               
 2010938:	92 07 bf cc 	add  %fp, -52, %o1                             
 201093c:	7f ff fa f9 	call  200f520 <rtems_rfs_inode_close>          
 2010940:	90 10 00 1d 	mov  %i5, %o0                                  
    rtems_rfs_rtems_unlock (fs);                                      
 2010944:	7f ff fc ed 	call  200fcf8 <rtems_rfs_rtems_unlock>         
 2010948:	90 10 00 1d 	mov  %i5, %o0                                  
    return rtems_rfs_rtems_error ("eval_for_make: not dir", ENOTDIR); 
 201094c:	40 00 36 b7 	call  201e428 <__errno>                        
 2010950:	01 00 00 00 	nop                                            
 2010954:	10 80 00 24 	b  20109e4 <rtems_rfs_rtems_eval_for_make+0x3c8>
 2010958:	82 10 20 14 	mov  0x14, %g1	! 14 <PROM_START+0x14>          
  }                                                                   
                                                                      
  if (!rtems_rfs_rtems_eval_perms (&inode, RTEMS_LIBIO_PERMS_WX))     
 201095c:	40 00 01 f6 	call  2011134 <rtems_rfs_rtems_eval_perms>     
 2010960:	92 10 20 03 	mov  3, %o1                                    
 2010964:	80 8a 20 ff 	btst  0xff, %o0                                
 2010968:	32 80 00 0b 	bne,a   2010994 <rtems_rfs_rtems_eval_for_make+0x378><== ALWAYS TAKEN
 201096c:	f8 06 80 00 	ld  [ %i2 ], %i4                               
  {                                                                   
    rtems_rfs_inode_close (fs, &inode);                               
 2010970:	92 07 bf cc 	add  %fp, -52, %o1                             <== NOT EXECUTED
 2010974:	7f ff fa eb 	call  200f520 <rtems_rfs_inode_close>          <== NOT EXECUTED
 2010978:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
    rtems_rfs_rtems_unlock (fs);                                      
 201097c:	7f ff fc df 	call  200fcf8 <rtems_rfs_rtems_unlock>         <== NOT EXECUTED
 2010980:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
    return rtems_rfs_rtems_error ("eval_for_make: cannot write", EACCES);
 2010984:	40 00 36 a9 	call  201e428 <__errno>                        <== NOT EXECUTED
 2010988:	01 00 00 00 	nop                                            <== NOT EXECUTED
 201098c:	10 80 00 16 	b  20109e4 <rtems_rfs_rtems_eval_for_make+0x3c8><== NOT EXECUTED
 2010990:	82 10 20 0d 	mov  0xd, %g1	! d <PROM_START+0xd>             <== NOT EXECUTED
  }                                                                   
                                                                      
  /*                                                                  
   * Make sure the name does not already exists in the directory.     
   */                                                                 
  rc = rtems_rfs_dir_lookup_ino (fs, &inode, *name, strlen (*name),   
 2010994:	40 00 3d 48 	call  201feb4 <strlen>                         
 2010998:	90 10 00 1c 	mov  %i4, %o0                                  
 201099c:	94 10 00 1c 	mov  %i4, %o2                                  
 20109a0:	96 10 00 08 	mov  %o0, %o3                                  
 20109a4:	92 07 bf cc 	add  %fp, -52, %o1                             
 20109a8:	90 10 00 1d 	mov  %i5, %o0                                  
 20109ac:	98 07 bf f8 	add  %fp, -8, %o4                              
 20109b0:	40 00 23 e6 	call  2019948 <rtems_rfs_dir_lookup_ino>       
 20109b4:	9a 07 bf fc 	add  %fp, -4, %o5                              
                                 &node_ino, &doff);                   
  if (rc == 0)                                                        
 20109b8:	b8 92 20 00 	orcc  %o0, 0, %i4                              
 20109bc:	12 80 00 0c 	bne  20109ec <rtems_rfs_rtems_eval_for_make+0x3d0>
 20109c0:	80 a7 20 02 	cmp  %i4, 2                                    
  {                                                                   
    rtems_rfs_inode_close (fs, &inode);                               
 20109c4:	92 07 bf cc 	add  %fp, -52, %o1                             
 20109c8:	7f ff fa d6 	call  200f520 <rtems_rfs_inode_close>          
 20109cc:	90 10 00 1d 	mov  %i5, %o0                                  
    rtems_rfs_rtems_unlock (fs);                                      
 20109d0:	7f ff fc ca 	call  200fcf8 <rtems_rfs_rtems_unlock>         
 20109d4:	90 10 00 1d 	mov  %i5, %o0                                  
    return rtems_rfs_rtems_error ("eval_for_make: found name", EEXIST);
 20109d8:	40 00 36 94 	call  201e428 <__errno>                        
 20109dc:	01 00 00 00 	nop                                            
 20109e0:	82 10 20 11 	mov  0x11, %g1	! 11 <PROM_START+0x11>          
 20109e4:	10 80 00 0c 	b  2010a14 <rtems_rfs_rtems_eval_for_make+0x3f8>
 20109e8:	c2 22 00 00 	st  %g1, [ %o0 ]                               
  }                                                                   
                                                                      
  if (rc != ENOENT)                                                   
 20109ec:	02 80 00 0c 	be  2010a1c <rtems_rfs_rtems_eval_for_make+0x400>
 20109f0:	c2 07 bf f4 	ld  [ %fp + -12 ], %g1                         
  {                                                                   
    rtems_rfs_inode_close (fs, &inode);                               
 20109f4:	90 10 00 1d 	mov  %i5, %o0                                  
 20109f8:	7f ff fa ca 	call  200f520 <rtems_rfs_inode_close>          
 20109fc:	92 07 bf cc 	add  %fp, -52, %o1                             
    rtems_rfs_rtems_unlock (fs);                                      
 2010a00:	7f ff fc be 	call  200fcf8 <rtems_rfs_rtems_unlock>         
 2010a04:	90 10 00 1d 	mov  %i5, %o0                                  
    return rtems_rfs_rtems_error ("eval_for_make: look up", rc);      
 2010a08:	40 00 36 88 	call  201e428 <__errno>                        
 2010a0c:	01 00 00 00 	nop                                            
 2010a10:	f8 22 00 00 	st  %i4, [ %o0 ]                               
 2010a14:	81 c7 e0 08 	ret                                            
 2010a18:	91 e8 3f ff 	restore  %g0, -1, %o0                          
   */                                                                 
                                                                      
  rtems_rfs_rtems_set_pathloc_ino (pathloc, ino);                     
  rtems_rfs_rtems_set_pathloc_doff (pathloc, doff);                   
                                                                      
  rc = rtems_rfs_rtems_set_handlers (pathloc, &inode) ? 0 : EIO;      
 2010a1c:	92 07 bf cc 	add  %fp, -52, %o1                             
                                                                      
  /*                                                                  
   * Set the parent ino in the path location.                         
   */                                                                 
                                                                      
  rtems_rfs_rtems_set_pathloc_ino (pathloc, ino);                     
 2010a20:	c2 26 40 00 	st  %g1, [ %i1 ]                               
  rtems_rfs_rtems_set_pathloc_doff (pathloc, doff);                   
 2010a24:	c2 07 bf fc 	ld  [ %fp + -4 ], %g1                          
                                                                      
  rc = rtems_rfs_rtems_set_handlers (pathloc, &inode) ? 0 : EIO;      
 2010a28:	90 10 00 19 	mov  %i1, %o0                                  
 2010a2c:	40 00 01 d0 	call  201116c <rtems_rfs_rtems_set_handlers>   
 2010a30:	c2 26 60 04 	st  %g1, [ %i1 + 4 ]                           
 2010a34:	90 0a 20 ff 	and  %o0, 0xff, %o0                            
 2010a38:	80 a0 00 08 	cmp  %g0, %o0                                  
                                                                      
  if (rtems_rfs_rtems_trace (RTEMS_RFS_RTEMS_DEBUG_EVAL_FOR_MAKE))    
    printf("rtems-rfs-rtems: eval-for-make: parent ino:%" PRId32 " name:%s\n",
           ino, *name);                                               
                                                                      
  rtems_rfs_inode_close (fs, &inode);                                 
 2010a3c:	92 07 bf cc 	add  %fp, -52, %o1                             
   */                                                                 
                                                                      
  rtems_rfs_rtems_set_pathloc_ino (pathloc, ino);                     
  rtems_rfs_rtems_set_pathloc_doff (pathloc, doff);                   
                                                                      
  rc = rtems_rfs_rtems_set_handlers (pathloc, &inode) ? 0 : EIO;      
 2010a40:	b0 40 3f ff 	addx  %g0, -1, %i0                             
                                                                      
  if (rtems_rfs_rtems_trace (RTEMS_RFS_RTEMS_DEBUG_EVAL_FOR_MAKE))    
    printf("rtems-rfs-rtems: eval-for-make: parent ino:%" PRId32 " name:%s\n",
           ino, *name);                                               
                                                                      
  rtems_rfs_inode_close (fs, &inode);                                 
 2010a44:	7f ff fa b7 	call  200f520 <rtems_rfs_inode_close>          
 2010a48:	90 10 00 1d 	mov  %i5, %o0                                  
   */                                                                 
                                                                      
  rtems_rfs_rtems_set_pathloc_ino (pathloc, ino);                     
  rtems_rfs_rtems_set_pathloc_doff (pathloc, doff);                   
                                                                      
  rc = rtems_rfs_rtems_set_handlers (pathloc, &inode) ? 0 : EIO;      
 2010a4c:	b0 0e 20 05 	and  %i0, 5, %i0                               
  if (rtems_rfs_rtems_trace (RTEMS_RFS_RTEMS_DEBUG_EVAL_FOR_MAKE))    
    printf("rtems-rfs-rtems: eval-for-make: parent ino:%" PRId32 " name:%s\n",
           ino, *name);                                               
                                                                      
  rtems_rfs_inode_close (fs, &inode);                                 
  rtems_rfs_rtems_unlock (fs);                                        
 2010a50:	7f ff fc aa 	call  200fcf8 <rtems_rfs_rtems_unlock>         
 2010a54:	90 10 00 1d 	mov  %i5, %o0                                  
                                                                      
  return rc;                                                          
}                                                                     
 2010a58:	81 c7 e0 08 	ret                                            
 2010a5c:	81 e8 00 00 	restore                                        
                                                                      

02010a60 <rtems_rfs_rtems_eval_path>: static int rtems_rfs_rtems_eval_path (const char* path, size_t pathlen, int flags, rtems_filesystem_location_info_t* pathloc) {
 2010a60:	9d e3 bf 70 	save  %sp, -144, %sp                           
  rtems_rfs_file_system* fs = rtems_rfs_rtems_pathloc_dev (pathloc);  
 2010a64:	c2 06 e0 10 	ld  [ %i3 + 0x10 ], %g1                        
            path, pathlen, ino);                                      
                                                                      
  /*                                                                  
   * Eat any separators at the start of the path.                     
   */                                                                 
  stripped = rtems_filesystem_prefix_separators (path, pathlen);      
 2010a68:	92 10 00 19 	mov  %i1, %o1                                  
rtems_rfs_rtems_eval_path (const char*                       path,    
                           size_t                            pathlen, 
                           int                               flags,   
                           rtems_filesystem_location_info_t* pathloc) 
{                                                                     
  rtems_rfs_file_system* fs = rtems_rfs_rtems_pathloc_dev (pathloc);  
 2010a6c:	fa 00 60 34 	ld  [ %g1 + 0x34 ], %i5                        
  rtems_rfs_inode_handle inode;                                       
  rtems_rfs_ino          ino = rtems_rfs_rtems_get_pathloc_ino (pathloc);
 2010a70:	c2 06 c0 00 	ld  [ %i3 ], %g1                               
            path, pathlen, ino);                                      
                                                                      
  /*                                                                  
   * Eat any separators at the start of the path.                     
   */                                                                 
  stripped = rtems_filesystem_prefix_separators (path, pathlen);      
 2010a74:	90 10 00 18 	mov  %i0, %o0                                  
                           int                               flags,   
                           rtems_filesystem_location_info_t* pathloc) 
{                                                                     
  rtems_rfs_file_system* fs = rtems_rfs_rtems_pathloc_dev (pathloc);  
  rtems_rfs_inode_handle inode;                                       
  rtems_rfs_ino          ino = rtems_rfs_rtems_get_pathloc_ino (pathloc);
 2010a78:	c2 27 bf f8 	st  %g1, [ %fp + -8 ]                          
            path, pathlen, ino);                                      
                                                                      
  /*                                                                  
   * Eat any separators at the start of the path.                     
   */                                                                 
  stripped = rtems_filesystem_prefix_separators (path, pathlen);      
 2010a7c:	7f ff d4 21 	call  2005b00 <rtems_filesystem_prefix_separators>
 2010a80:	c0 27 bf fc 	clr  [ %fp + -4 ]                              
  path += stripped;                                                   
 2010a84:	b0 06 00 08 	add  %i0, %o0, %i0                             
  pathlen -= stripped;                                                
 2010a88:	b2 26 40 08 	sub  %i1, %o0, %i1                             
                                                                      
  rtems_rfs_rtems_lock (fs);                                          
 2010a8c:	d0 07 60 7c 	ld  [ %i5 + 0x7c ], %o0                        
 2010a90:	7f ff fd 1e 	call  200ff08 <rtems_rfs_rtems_lock.isra.16>   
 2010a94:	21 00 80 b3 	sethi  %hi(0x202cc00), %l0                     
      break;                                                          
                                                                      
    /*                                                                
     * If a directory the execute bit must be set for us to enter.    
     */                                                               
    if (RTEMS_RFS_S_ISDIR (rtems_rfs_inode_get_mode (&inode)) &&      
 2010a98:	25 00 00 3c 	sethi  %hi(0xf000), %l2                        
 2010a9c:	23 00 00 10 	sethi  %hi(0x4000), %l1                        
 2010aa0:	a0 14 23 28 	or  %l0, 0x328, %l0                            
  while (true)                                                        
  {                                                                   
    /*                                                                
     * Open and load the inode.                                       
     */                                                               
    rc = rtems_rfs_inode_open (fs, ino, &inode, true);                
 2010aa4:	d2 07 bf f8 	ld  [ %fp + -8 ], %o1                          
 2010aa8:	90 10 00 1d 	mov  %i5, %o0                                  
 2010aac:	94 07 bf d0 	add  %fp, -48, %o2                             
 2010ab0:	7f ff fa 2a 	call  200f358 <rtems_rfs_inode_open>           
 2010ab4:	96 10 20 01 	mov  1, %o3                                    
    if (rc > 0)                                                       
 2010ab8:	b8 92 20 00 	orcc  %o0, 0, %i4                              
 2010abc:	24 80 00 09 	ble,a   2010ae0 <rtems_rfs_rtems_eval_path+0x80><== ALWAYS TAKEN
 2010ac0:	c2 4e 00 00 	ldsb  [ %i0 ], %g1                             
    {                                                                 
      rtems_rfs_rtems_unlock (fs);                                    
 2010ac4:	7f ff fc 8d 	call  200fcf8 <rtems_rfs_rtems_unlock>         <== NOT EXECUTED
 2010ac8:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
      return rtems_rfs_rtems_error ("eval_path: opening inode", rc);  
 2010acc:	40 00 36 57 	call  201e428 <__errno>                        <== NOT EXECUTED
 2010ad0:	b0 10 3f ff 	mov  -1, %i0                                   <== NOT EXECUTED
 2010ad4:	f8 22 00 00 	st  %i4, [ %o0 ]                               <== NOT EXECUTED
 2010ad8:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2010adc:	81 e8 00 00 	restore                                        <== NOT EXECUTED
    }                                                                 
                                                                      
    /*                                                                
     * Is this the end of the pathname we where given ?               
     */                                                               
    if ((*path == '\0') || (pathlen == 0))                            
 2010ae0:	80 a0 60 00 	cmp  %g1, 0                                    
 2010ae4:	02 80 00 8e 	be  2010d1c <rtems_rfs_rtems_eval_path+0x2bc>  
 2010ae8:	80 a6 60 00 	cmp  %i1, 0                                    
 2010aec:	02 80 00 8c 	be  2010d1c <rtems_rfs_rtems_eval_path+0x2bc>  <== NEVER TAKEN
 2010af0:	c2 07 bf dc 	ld  [ %fp + -36 ], %g1                         
 2010af4:	c4 08 60 02 	ldub  [ %g1 + 2 ], %g2                         
      break;                                                          
                                                                      
    /*                                                                
     * If a directory the execute bit must be set for us to enter.    
     */                                                               
    if (RTEMS_RFS_S_ISDIR (rtems_rfs_inode_get_mode (&inode)) &&      
 2010af8:	c2 08 60 03 	ldub  [ %g1 + 3 ], %g1                         
 2010afc:	85 28 a0 08 	sll  %g2, 8, %g2                               
 2010b00:	82 10 40 02 	or  %g1, %g2, %g1                              
 2010b04:	82 08 40 12 	and  %g1, %l2, %g1                             
 2010b08:	80 a0 40 11 	cmp  %g1, %l1                                  
 2010b0c:	12 80 00 08 	bne  2010b2c <rtems_rfs_rtems_eval_path+0xcc>  
 2010b10:	b8 10 00 18 	mov  %i0, %i4                                  
        !rtems_rfs_rtems_eval_perms (&inode, RTEMS_LIBIO_PERMS_SEARCH))
 2010b14:	90 07 bf d0 	add  %fp, -48, %o0                             
 2010b18:	40 00 01 87 	call  2011134 <rtems_rfs_rtems_eval_perms>     
 2010b1c:	92 10 20 01 	mov  1, %o1                                    
      break;                                                          
                                                                      
    /*                                                                
     * If a directory the execute bit must be set for us to enter.    
     */                                                               
    if (RTEMS_RFS_S_ISDIR (rtems_rfs_inode_get_mode (&inode)) &&      
 2010b20:	80 8a 20 ff 	btst  0xff, %o0                                
 2010b24:	02 80 00 04 	be  2010b34 <rtems_rfs_rtems_eval_path+0xd4>   <== NEVER TAKEN
 2010b28:	b8 10 00 18 	mov  %i0, %i4                                  
                                                                      
    /*                                                                
     * Eat any separators at start of the path.                       
     */                                                               
    stripped = rtems_filesystem_prefix_separators (path, pathlen);    
    path += stripped;                                                 
 2010b2c:	10 80 00 0f 	b  2010b68 <rtems_rfs_rtems_eval_path+0x108>   
 2010b30:	a6 10 20 00 	clr  %l3                                       
     * If a directory the execute bit must be set for us to enter.    
     */                                                               
    if (RTEMS_RFS_S_ISDIR (rtems_rfs_inode_get_mode (&inode)) &&      
        !rtems_rfs_rtems_eval_perms (&inode, RTEMS_LIBIO_PERMS_SEARCH))
    {                                                                 
      rtems_rfs_inode_close (fs, &inode);                             
 2010b34:	92 07 bf d0 	add  %fp, -48, %o1                             <== NOT EXECUTED
 2010b38:	7f ff fa 7a 	call  200f520 <rtems_rfs_inode_close>          <== NOT EXECUTED
 2010b3c:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
      rtems_rfs_rtems_unlock (fs);                                    
 2010b40:	7f ff fc 6e 	call  200fcf8 <rtems_rfs_rtems_unlock>         <== NOT EXECUTED
 2010b44:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
      return rtems_rfs_rtems_error ("eval_path: eval perms", EACCES); 
 2010b48:	40 00 36 38 	call  201e428 <__errno>                        <== NOT EXECUTED
 2010b4c:	b0 10 3f ff 	mov  -1, %i0                                   <== NOT EXECUTED
 2010b50:	82 10 20 0d 	mov  0xd, %g1                                  <== NOT EXECUTED
 2010b54:	c2 22 00 00 	st  %g1, [ %o0 ]                               <== NOT EXECUTED
 2010b58:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2010b5c:	81 e8 00 00 	restore                                        <== NOT EXECUTED
    while (!rtems_filesystem_is_separator (*path) &&                  
           (*path != '\0') && pathlen &&                              
           ((node_len + 1) < rtems_rfs_fs_max_name (fs)))             
    {                                                                 
      path++;                                                         
      pathlen--;                                                      
 2010b60:	b2 06 7f ff 	add  %i1, -1, %i1                              
 2010b64:	a6 10 00 01 	mov  %g1, %l3                                  
    /*                                                                
     * Extract the node name we will look for this time around.       
     */                                                               
    node = path;                                                      
    node_len = 0;                                                     
    while (!rtems_filesystem_is_separator (*path) &&                  
 2010b68:	7f ff da 29 	call  200740c <rtems_filesystem_is_separator>  
 2010b6c:	d0 4f 00 00 	ldsb  [ %i4 ], %o0                             
 2010b70:	80 a2 20 00 	cmp  %o0, 0                                    
 2010b74:	32 80 00 0d 	bne,a   2010ba8 <rtems_rfs_rtems_eval_path+0x148>
 2010b78:	90 10 00 1c 	mov  %i4, %o0                                  
           (*path != '\0') && pathlen &&                              
 2010b7c:	c2 4f 00 00 	ldsb  [ %i4 ], %g1                             
 2010b80:	80 a0 60 00 	cmp  %g1, 0                                    
 2010b84:	02 80 00 08 	be  2010ba4 <rtems_rfs_rtems_eval_path+0x144>  <== NEVER TAKEN
 2010b88:	80 a6 60 00 	cmp  %i1, 0                                    
 2010b8c:	02 80 00 06 	be  2010ba4 <rtems_rfs_rtems_eval_path+0x144>  <== NEVER TAKEN
 2010b90:	82 04 e0 01 	add  %l3, 1, %g1                               
 2010b94:	c4 07 60 18 	ld  [ %i5 + 0x18 ], %g2                        
 2010b98:	80 a0 40 02 	cmp  %g1, %g2                                  
 2010b9c:	2a bf ff f1 	bcs,a   2010b60 <rtems_rfs_rtems_eval_path+0x100><== ALWAYS TAKEN
 2010ba0:	b8 07 20 01 	inc  %i4                                       
    }                                                                 
                                                                      
    /*                                                                
     * Eat any separators at start of the path.                       
     */                                                               
    stripped = rtems_filesystem_prefix_separators (path, pathlen);    
 2010ba4:	90 10 00 1c 	mov  %i4, %o0                                  <== NOT EXECUTED
 2010ba8:	7f ff d3 d6 	call  2005b00 <rtems_filesystem_prefix_separators>
 2010bac:	92 10 00 19 	mov  %i1, %o1                                  
                                                                      
    /*                                                                
     * If the node is the current directory and there is more path to come move
     * on it else we are at the inode we want.                        
     */                                                               
    if (rtems_rfs_current_dir (node))                                 
 2010bb0:	c2 4e 00 00 	ldsb  [ %i0 ], %g1                             
                                                                      
    /*                                                                
     * Eat any separators at start of the path.                       
     */                                                               
    stripped = rtems_filesystem_prefix_separators (path, pathlen);    
    path += stripped;                                                 
 2010bb4:	b8 07 00 08 	add  %i4, %o0, %i4                             
    pathlen -= stripped;                                              
 2010bb8:	b2 26 40 08 	sub  %i1, %o0, %i1                             
                                                                      
    /*                                                                
     * If the node is the current directory and there is more path to come move
     * on it else we are at the inode we want.                        
     */                                                               
    if (rtems_rfs_current_dir (node))                                 
 2010bbc:	80 a0 60 2e 	cmp  %g1, 0x2e                                 
 2010bc0:	12 80 00 14 	bne  2010c10 <rtems_rfs_rtems_eval_path+0x1b0> 
 2010bc4:	a8 02 00 13 	add  %o0, %l3, %l4                             
 2010bc8:	d0 4e 20 01 	ldsb  [ %i0 + 1 ], %o0                         
 2010bcc:	80 a2 20 00 	cmp  %o0, 0                                    
 2010bd0:	22 80 00 08 	be,a   2010bf0 <rtems_rfs_rtems_eval_path+0x190>
 2010bd4:	c2 4f 00 00 	ldsb  [ %i4 ], %g1                             
 2010bd8:	7f ff da 0d 	call  200740c <rtems_filesystem_is_separator>  
 2010bdc:	01 00 00 00 	nop                                            
 2010be0:	80 a2 20 00 	cmp  %o0, 0                                    
 2010be4:	22 80 00 0b 	be,a   2010c10 <rtems_rfs_rtems_eval_path+0x1b0><== ALWAYS TAKEN
 2010be8:	c2 4e 00 00 	ldsb  [ %i0 ], %g1                             
    {                                                                 
      if (*path)                                                      
 2010bec:	c2 4f 00 00 	ldsb  [ %i4 ], %g1                             <== NOT EXECUTED
 2010bf0:	80 a0 60 00 	cmp  %g1, 0                                    
 2010bf4:	02 80 00 4b 	be  2010d20 <rtems_rfs_rtems_eval_path+0x2c0>  <== ALWAYS TAKEN
 2010bf8:	c2 07 bf f8 	ld  [ %fp + -8 ], %g1                          
      {                                                               
        rtems_rfs_inode_close (fs, &inode);                           
 2010bfc:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
 2010c00:	7f ff fa 48 	call  200f520 <rtems_rfs_inode_close>          <== NOT EXECUTED
 2010c04:	92 07 bf d0 	add  %fp, -48, %o1                             <== NOT EXECUTED
        continue;                                                     
 2010c08:	10 bf ff a7 	b  2010aa4 <rtems_rfs_rtems_eval_path+0x44>    <== NOT EXECUTED
 2010c0c:	b0 10 00 1c 	mov  %i4, %i0                                  <== NOT EXECUTED
    /*                                                                
     * If the node is a parent we must move up one directory. If the location
     * is on another file system we have a crossmount so we call that file
     * system to handle the remainder of the path.                    
     */                                                               
    if (rtems_rfs_parent_dir (node))                                  
 2010c10:	80 a0 60 2e 	cmp  %g1, 0x2e                                 
 2010c14:	12 80 00 29 	bne  2010cb8 <rtems_rfs_rtems_eval_path+0x258> 
 2010c18:	90 10 00 1d 	mov  %i5, %o0                                  
 2010c1c:	c2 4e 20 01 	ldsb  [ %i0 + 1 ], %g1                         
 2010c20:	80 a0 60 2e 	cmp  %g1, 0x2e                                 
 2010c24:	12 80 00 26 	bne  2010cbc <rtems_rfs_rtems_eval_path+0x25c> <== NEVER TAKEN
 2010c28:	92 07 bf d0 	add  %fp, -48, %o1                             
 2010c2c:	d0 4e 20 02 	ldsb  [ %i0 + 2 ], %o0                         
 2010c30:	80 a2 20 00 	cmp  %o0, 0                                    
 2010c34:	02 80 00 08 	be  2010c54 <rtems_rfs_rtems_eval_path+0x1f4>  <== ALWAYS TAKEN
 2010c38:	c2 07 bf f8 	ld  [ %fp + -8 ], %g1                          
 2010c3c:	7f ff d9 f4 	call  200740c <rtems_filesystem_is_separator>  <== NOT EXECUTED
 2010c40:	01 00 00 00 	nop                                            <== NOT EXECUTED
 2010c44:	80 a2 20 00 	cmp  %o0, 0                                    <== NOT EXECUTED
 2010c48:	02 80 00 1c 	be  2010cb8 <rtems_rfs_rtems_eval_path+0x258>  <== NOT EXECUTED
 2010c4c:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
    {                                                                 
      /*                                                              
       * If we are at root inode of the file system we have a crossmount path.
       */                                                             
      if (ino == RTEMS_RFS_ROOT_INO)                                  
 2010c50:	c2 07 bf f8 	ld  [ %fp + -8 ], %g1                          <== NOT EXECUTED
      {                                                               
        if (rtems_rfs_rtems_trace (RTEMS_RFS_RTEMS_DEBUG_EVAL_PATH))  
          printf("rtems-rfs-rtems: eval-path: crossmount: path:%s (%zd)\n",
                 path - node_len, pathlen + node_len);                
        rtems_rfs_inode_close (fs, &inode);                           
 2010c54:	90 10 00 1d 	mov  %i5, %o0                                  
    if (rtems_rfs_parent_dir (node))                                  
    {                                                                 
      /*                                                              
       * If we are at root inode of the file system we have a crossmount path.
       */                                                             
      if (ino == RTEMS_RFS_ROOT_INO)                                  
 2010c58:	80 a0 60 01 	cmp  %g1, 1                                    
 2010c5c:	12 80 00 14 	bne  2010cac <rtems_rfs_rtems_eval_path+0x24c> 
 2010c60:	92 07 bf d0 	add  %fp, -48, %o1                             
      {                                                               
        if (rtems_rfs_rtems_trace (RTEMS_RFS_RTEMS_DEBUG_EVAL_PATH))  
          printf("rtems-rfs-rtems: eval-path: crossmount: path:%s (%zd)\n",
                 path - node_len, pathlen + node_len);                
        rtems_rfs_inode_close (fs, &inode);                           
 2010c64:	7f ff fa 2f 	call  200f520 <rtems_rfs_inode_close>          
 2010c68:	01 00 00 00 	nop                                            
        rtems_rfs_rtems_unlock (fs);                                  
 2010c6c:	7f ff fc 23 	call  200fcf8 <rtems_rfs_rtems_unlock>         
 2010c70:	90 10 00 1d 	mov  %i5, %o0                                  
        *pathloc = pathloc->mt_entry->mt_point_node;                  
 2010c74:	d2 06 e0 10 	ld  [ %i3 + 0x10 ], %o1                        
 2010c78:	94 10 20 14 	mov  0x14, %o2                                 
 2010c7c:	92 02 60 08 	add  %o1, 8, %o1                               
 2010c80:	40 00 38 74 	call  201ee50 <memcpy>                         
 2010c84:	90 10 00 1b 	mov  %i3, %o0                                  
        return (*pathloc->ops->evalpath_h)(path - node_len, pathlen + node_len,
 2010c88:	c2 06 e0 0c 	ld  [ %i3 + 0xc ], %g1                         
 2010c8c:	90 27 00 14 	sub  %i4, %l4, %o0                             
 2010c90:	c2 00 40 00 	ld  [ %g1 ], %g1                               
 2010c94:	92 06 40 14 	add  %i1, %l4, %o1                             
 2010c98:	94 10 00 1a 	mov  %i2, %o2                                  
 2010c9c:	9f c0 40 00 	call  %g1                                      
 2010ca0:	96 10 00 1b 	mov  %i3, %o3                                  
 2010ca4:	81 c7 e0 08 	ret                                            
 2010ca8:	91 e8 00 08 	restore  %g0, %o0, %o0                         
      }                                                               
                                                                      
      /*                                                              
       * We need to find the parent of this node.                     
       */                                                             
      rc = rtems_rfs_dir_lookup_ino (fs, &inode, "..", 2, &ino, &doff);
 2010cac:	94 10 00 10 	mov  %l0, %o2                                  
 2010cb0:	10 80 00 05 	b  2010cc4 <rtems_rfs_rtems_eval_path+0x264>   
 2010cb4:	96 10 20 02 	mov  2, %o3                                    
      /*                                                              
       * Look up the node name in this directory. If found drop through, close
       * the current inode and let the loop open the inode so the mode can be
       * read and handlers set.                                       
       */                                                             
      rc = rtems_rfs_dir_lookup_ino (fs, &inode,                      
 2010cb8:	92 07 bf d0 	add  %fp, -48, %o1                             
 2010cbc:	94 10 00 18 	mov  %i0, %o2                                  
 2010cc0:	96 10 00 13 	mov  %l3, %o3                                  
 2010cc4:	98 07 bf f8 	add  %fp, -8, %o4                              
 2010cc8:	40 00 23 20 	call  2019948 <rtems_rfs_dir_lookup_ino>       
 2010ccc:	9a 07 bf fc 	add  %fp, -4, %o5                              
                                     node, node_len - stripped, &ino, &doff);
      if (rc > 0)                                                     
 2010cd0:	b0 92 20 00 	orcc  %o0, 0, %i0                              
 2010cd4:	14 80 00 09 	bg  2010cf8 <rtems_rfs_rtems_eval_path+0x298>  
 2010cd8:	92 07 bf d0 	add  %fp, -48, %o1                             
      }                                                               
      if (rtems_rfs_rtems_trace (RTEMS_RFS_RTEMS_DEBUG_EVAL_PATH))    
        printf("rtems-rfs-rtems: eval-path: down: path:%s ino:%" PRId32 "\n", node, ino);
    }                                                                 
                                                                      
    rc = rtems_rfs_inode_close (fs, &inode);                          
 2010cdc:	90 10 00 1d 	mov  %i5, %o0                                  
 2010ce0:	7f ff fa 10 	call  200f520 <rtems_rfs_inode_close>          
 2010ce4:	92 07 bf d0 	add  %fp, -48, %o1                             
    if (rc > 0)                                                       
 2010ce8:	b0 92 20 00 	orcc  %o0, 0, %i0                              
 2010cec:	24 bf ff 6e 	ble,a   2010aa4 <rtems_rfs_rtems_eval_path+0x44><== ALWAYS TAKEN
 2010cf0:	b0 10 00 1c 	mov  %i4, %i0                                  
    {                                                                 
      rtems_rfs_inode_close (fs, &inode);                             
 2010cf4:	92 07 bf d0 	add  %fp, -48, %o1                             <== NOT EXECUTED
 2010cf8:	7f ff fa 0a 	call  200f520 <rtems_rfs_inode_close>          
 2010cfc:	90 10 00 1d 	mov  %i5, %o0                                  
      rtems_rfs_rtems_unlock (fs);                                    
 2010d00:	7f ff fb fe 	call  200fcf8 <rtems_rfs_rtems_unlock>         
 2010d04:	90 10 00 1d 	mov  %i5, %o0                                  
      return rtems_rfs_rtems_error ("eval_path: closing node", rc);   
 2010d08:	40 00 35 c8 	call  201e428 <__errno>                        
 2010d0c:	01 00 00 00 	nop                                            
 2010d10:	f0 22 00 00 	st  %i0, [ %o0 ]                               
 2010d14:	81 c7 e0 08 	ret                                            
 2010d18:	91 e8 3f ff 	restore  %g0, -1, %o0                          
    }                                                                 
  }                                                                   
                                                                      
  rtems_rfs_rtems_set_pathloc_ino (pathloc, ino);                     
 2010d1c:	c2 07 bf f8 	ld  [ %fp + -8 ], %g1                          
  rtems_rfs_rtems_set_pathloc_doff (pathloc, doff);                   
                                                                      
  rc = rtems_rfs_rtems_set_handlers (pathloc, &inode) ? 0 : EIO;      
 2010d20:	92 07 bf d0 	add  %fp, -48, %o1                             
      rtems_rfs_rtems_unlock (fs);                                    
      return rtems_rfs_rtems_error ("eval_path: closing node", rc);   
    }                                                                 
  }                                                                   
                                                                      
  rtems_rfs_rtems_set_pathloc_ino (pathloc, ino);                     
 2010d24:	c2 26 c0 00 	st  %g1, [ %i3 ]                               
  rtems_rfs_rtems_set_pathloc_doff (pathloc, doff);                   
 2010d28:	c2 07 bf fc 	ld  [ %fp + -4 ], %g1                          
                                                                      
  rc = rtems_rfs_rtems_set_handlers (pathloc, &inode) ? 0 : EIO;      
 2010d2c:	90 10 00 1b 	mov  %i3, %o0                                  
 2010d30:	40 00 01 0f 	call  201116c <rtems_rfs_rtems_set_handlers>   
 2010d34:	c2 26 e0 04 	st  %g1, [ %i3 + 4 ]                           
 2010d38:	90 0a 20 ff 	and  %o0, 0xff, %o0                            
 2010d3c:	80 a0 00 08 	cmp  %g0, %o0                                  
                                                                      
  rtems_rfs_inode_close (fs, &inode);                                 
 2010d40:	92 07 bf d0 	add  %fp, -48, %o1                             
  }                                                                   
                                                                      
  rtems_rfs_rtems_set_pathloc_ino (pathloc, ino);                     
  rtems_rfs_rtems_set_pathloc_doff (pathloc, doff);                   
                                                                      
  rc = rtems_rfs_rtems_set_handlers (pathloc, &inode) ? 0 : EIO;      
 2010d44:	b0 40 3f ff 	addx  %g0, -1, %i0                             
                                                                      
  rtems_rfs_inode_close (fs, &inode);                                 
 2010d48:	7f ff f9 f6 	call  200f520 <rtems_rfs_inode_close>          
 2010d4c:	90 10 00 1d 	mov  %i5, %o0                                  
  }                                                                   
                                                                      
  rtems_rfs_rtems_set_pathloc_ino (pathloc, ino);                     
  rtems_rfs_rtems_set_pathloc_doff (pathloc, doff);                   
                                                                      
  rc = rtems_rfs_rtems_set_handlers (pathloc, &inode) ? 0 : EIO;      
 2010d50:	b0 0e 20 05 	and  %i0, 5, %i0                               
                                                                      
  rtems_rfs_inode_close (fs, &inode);                                 
  rtems_rfs_rtems_unlock (fs);                                        
 2010d54:	7f ff fb e9 	call  200fcf8 <rtems_rfs_rtems_unlock>         
 2010d58:	90 10 00 1d 	mov  %i5, %o0                                  
                                                                      
  if (rtems_rfs_rtems_trace (RTEMS_RFS_RTEMS_DEBUG_EVAL_PATH))        
    printf("rtems-rfs-rtems: eval-path: ino:%" PRId32 "\n", ino);     
                                                                      
  return rc;                                                          
}                                                                     
 2010d5c:	81 c7 e0 08 	ret                                            
 2010d60:	81 e8 00 00 	restore                                        
                                                                      

02011034 <rtems_rfs_rtems_fchmod>: } int rtems_rfs_rtems_fchmod (rtems_filesystem_location_info_t* pathloc, mode_t mode) {
 2011034:	9d e3 bf 78 	save  %sp, -136, %sp                           <== NOT EXECUTED
  rtems_rfs_file_system*  fs = rtems_rfs_rtems_pathloc_dev (pathloc); 
 2011038:	c2 06 20 10 	ld  [ %i0 + 0x10 ], %g1                        <== NOT EXECUTED
  rtems_rfs_ino           ino = rtems_rfs_rtems_get_pathloc_ino (pathloc);
 201103c:	f8 06 00 00 	ld  [ %i0 ], %i4                               <== NOT EXECUTED
                                                                      
int                                                                   
rtems_rfs_rtems_fchmod (rtems_filesystem_location_info_t* pathloc,    
                        mode_t                            mode)       
{                                                                     
  rtems_rfs_file_system*  fs = rtems_rfs_rtems_pathloc_dev (pathloc); 
 2011040:	fa 00 60 34 	ld  [ %g1 + 0x34 ], %i5                        <== NOT EXECUTED
                                                                      
  if (rtems_rfs_rtems_trace (RTEMS_RFS_RTEMS_DEBUG_FCHMOD))           
    printf ("rtems-rfs-rtems: fchmod: in: ino:%" PRId32 " mode:%06" PRIomode_t "\n",
            ino, mode);                                               
                                                                      
  rtems_rfs_rtems_lock (fs);                                          
 2011044:	7f ff fb b1 	call  200ff08 <rtems_rfs_rtems_lock.isra.16>   <== NOT EXECUTED
 2011048:	d0 07 60 7c 	ld  [ %i5 + 0x7c ], %o0                        <== NOT EXECUTED
                                                                      
  rc = rtems_rfs_inode_open (fs, ino, &inode, true);                  
 201104c:	92 10 00 1c 	mov  %i4, %o1                                  <== NOT EXECUTED
 2011050:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
 2011054:	94 07 bf d8 	add  %fp, -40, %o2                             <== NOT EXECUTED
 2011058:	7f ff f8 c0 	call  200f358 <rtems_rfs_inode_open>           <== NOT EXECUTED
 201105c:	96 10 20 01 	mov  1, %o3                                    <== NOT EXECUTED
  if (rc)                                                             
 2011060:	b8 92 20 00 	orcc  %o0, 0, %i4                              <== NOT EXECUTED
 2011064:	02 80 00 09 	be  2011088 <rtems_rfs_rtems_fchmod+0x54>      <== NOT EXECUTED
 2011068:	c2 07 bf e4 	ld  [ %fp + -28 ], %g1                         <== NOT EXECUTED
  {                                                                   
    rtems_rfs_rtems_unlock (fs);                                      
 201106c:	7f ff fb 23 	call  200fcf8 <rtems_rfs_rtems_unlock>         <== NOT EXECUTED
 2011070:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
    return rtems_rfs_rtems_error ("fchmod: opening inode", rc);       
 2011074:	40 00 34 ed 	call  201e428 <__errno>                        <== NOT EXECUTED
 2011078:	b0 10 3f ff 	mov  -1, %i0                                   <== NOT EXECUTED
 201107c:	f8 22 00 00 	st  %i4, [ %o0 ]                               <== NOT EXECUTED
 2011080:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2011084:	81 e8 00 00 	restore                                        <== NOT EXECUTED
 * @return uint16_t The mode.                                         
 */                                                                   
static inline uint16_t                                                
rtems_rfs_inode_get_mode (rtems_rfs_inode_handle* handle)             
{                                                                     
  return rtems_rfs_read_u16 (&handle->node->mode);                    
 2011088:	07 00 00 3c 	sethi  %hi(0xf000), %g3                        <== NOT EXECUTED
 201108c:	c4 08 60 02 	ldub  [ %g1 + 2 ], %g2                         <== NOT EXECUTED
    return rtems_rfs_rtems_error ("fchmod: checking uid", EPERM);     
  }                                                                   
#endif                                                                
                                                                      
  imode &= ~(S_IRWXU | S_IRWXG | S_IRWXO | S_ISUID | S_ISGID | S_ISVTX);
  imode |= mode & (S_IRWXU | S_IRWXG | S_IRWXO | S_ISUID | S_ISGID | S_ISVTX);
 2011090:	b2 0e 6f ff 	and  %i1, 0xfff, %i1                           <== NOT EXECUTED
 2011094:	85 28 a0 08 	sll  %g2, 8, %g2                               <== NOT EXECUTED
    rtems_rfs_rtems_unlock (fs);                                      
    return rtems_rfs_rtems_error ("fchmod: checking uid", EPERM);     
  }                                                                   
#endif                                                                
                                                                      
  imode &= ~(S_IRWXU | S_IRWXG | S_IRWXO | S_ISUID | S_ISGID | S_ISVTX);
 2011098:	84 08 80 03 	and  %g2, %g3, %g2                             <== NOT EXECUTED
  imode |= mode & (S_IRWXU | S_IRWXG | S_IRWXO | S_ISUID | S_ISGID | S_ISVTX);
 201109c:	b2 10 80 19 	or  %g2, %i1, %i1                              <== NOT EXECUTED
 * @prarm mode The mode.                                              
 */                                                                   
static inline void                                                    
rtems_rfs_inode_set_mode (rtems_rfs_inode_handle* handle, uint16_t mode)
{                                                                     
  rtems_rfs_write_u16 (&handle->node->mode, mode);                    
 20110a0:	85 36 60 08 	srl  %i1, 8, %g2                               <== NOT EXECUTED
 20110a4:	c4 28 60 02 	stb  %g2, [ %g1 + 2 ]                          <== NOT EXECUTED
 20110a8:	c2 07 bf e4 	ld  [ %fp + -28 ], %g1                         <== NOT EXECUTED
                                                                      
  rtems_rfs_inode_set_mode (&inode, imode);                           
                                                                      
  rc = rtems_rfs_inode_close (fs, &inode);                            
 20110ac:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
 20110b0:	f2 28 60 03 	stb  %i1, [ %g1 + 3 ]                          <== NOT EXECUTED
  rtems_rfs_buffer_mark_dirty (&handle->buffer);                      
 20110b4:	82 10 20 01 	mov  1, %g1                                    <== NOT EXECUTED
 20110b8:	92 07 bf d8 	add  %fp, -40, %o1                             <== NOT EXECUTED
 20110bc:	7f ff f9 19 	call  200f520 <rtems_rfs_inode_close>          <== NOT EXECUTED
 20110c0:	c2 2f bf e8 	stb  %g1, [ %fp + -24 ]                        <== NOT EXECUTED
 20110c4:	b2 10 00 08 	mov  %o0, %i1                                  <== NOT EXECUTED
  if (rc > 0)                                                         
 20110c8:	80 a6 60 00 	cmp  %i1, 0                                    <== NOT EXECUTED
 20110cc:	04 80 00 09 	ble  20110f0 <rtems_rfs_rtems_fchmod+0xbc>     <== NOT EXECUTED
 20110d0:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
  {                                                                   
    rtems_rfs_rtems_unlock (fs);                                      
 20110d4:	7f ff fb 09 	call  200fcf8 <rtems_rfs_rtems_unlock>         <== NOT EXECUTED
 20110d8:	b0 10 3f ff 	mov  -1, %i0                                   <== NOT EXECUTED
    return rtems_rfs_rtems_error ("fchmod: closing inode", rc);       
 20110dc:	40 00 34 d3 	call  201e428 <__errno>                        <== NOT EXECUTED
 20110e0:	01 00 00 00 	nop                                            <== NOT EXECUTED
 20110e4:	f2 22 00 00 	st  %i1, [ %o0 ]                               <== NOT EXECUTED
 20110e8:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 20110ec:	81 e8 00 00 	restore                                        <== NOT EXECUTED
  }                                                                   
                                                                      
  rtems_rfs_rtems_unlock (fs);                                        
 20110f0:	7f ff fb 02 	call  200fcf8 <rtems_rfs_rtems_unlock>         <== NOT EXECUTED
 20110f4:	b0 10 20 00 	clr  %i0                                       <== NOT EXECUTED
                                                                      
  return 0;                                                           
}                                                                     
 20110f8:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 20110fc:	81 e8 00 00 	restore                                        <== NOT EXECUTED
                                                                      

02011100 <rtems_rfs_rtems_fdatasync>: * @param iop * @return int */ int rtems_rfs_rtems_fdatasync (rtems_libio_t* iop) {
 2011100:	9d e3 bf a0 	save  %sp, -96, %sp                            <== NOT EXECUTED
  int rc;                                                             
                                                                      
  rc = rtems_rfs_buffer_sync (rtems_rfs_rtems_pathloc_dev (&iop->pathinfo));
 2011104:	c2 06 20 2c 	ld  [ %i0 + 0x2c ], %g1                        <== NOT EXECUTED
  if (rc)                                                             
    return rtems_rfs_rtems_error ("fdatasync: sync", rc);             
                                                                      
  return 0;                                                           
 2011108:	b0 10 20 00 	clr  %i0                                       <== NOT EXECUTED
int                                                                   
rtems_rfs_rtems_fdatasync (rtems_libio_t* iop)                        
{                                                                     
  int rc;                                                             
                                                                      
  rc = rtems_rfs_buffer_sync (rtems_rfs_rtems_pathloc_dev (&iop->pathinfo));
 201110c:	40 00 21 65 	call  20196a0 <rtems_rfs_buffer_sync>          <== NOT EXECUTED
 2011110:	d0 00 60 34 	ld  [ %g1 + 0x34 ], %o0                        <== NOT EXECUTED
  if (rc)                                                             
 2011114:	80 a2 20 00 	cmp  %o0, 0                                    <== NOT EXECUTED
 2011118:	02 80 00 05 	be  201112c <rtems_rfs_rtems_fdatasync+0x2c>   <== NOT EXECUTED
 201111c:	ba 10 00 08 	mov  %o0, %i5                                  <== NOT EXECUTED
    return rtems_rfs_rtems_error ("fdatasync: sync", rc);             
 2011120:	40 00 34 c2 	call  201e428 <__errno>                        <== NOT EXECUTED
 2011124:	b0 10 3f ff 	mov  -1, %i0                                   <== NOT EXECUTED
 2011128:	fa 22 00 00 	st  %i5, [ %o0 ]                               <== NOT EXECUTED
                                                                      
  return 0;                                                           
}                                                                     
 201112c:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2011130:	81 e8 00 00 	restore                                        <== NOT EXECUTED
                                                                      

0201d724 <rtems_rfs_rtems_file_close>: * @param iop * @return int */ static int rtems_rfs_rtems_file_close (rtems_libio_t* iop) {
 201d724:	9d e3 bf a0 	save  %sp, -96, %sp                            
  rtems_rfs_file_handle* file = rtems_rfs_rtems_get_iop_file_handle (iop);
 201d728:	f0 06 20 20 	ld  [ %i0 + 0x20 ], %i0                        
  rtems_rfs_file_system* fs = rtems_rfs_file_fs (file);               
 201d72c:	c2 06 20 1c 	ld  [ %i0 + 0x1c ], %g1                        
 201d730:	fa 00 60 98 	ld  [ %g1 + 0x98 ], %i5                        
  int                    rc;                                          
                                                                      
  if (rtems_rfs_rtems_trace (RTEMS_RFS_RTEMS_DEBUG_FILE_CLOSE))       
    printf("rtems-rfs: file-close: handle:%p\n", file);               
                                                                      
  rtems_rfs_rtems_lock (fs);                                          
 201d734:	7f ff ff 13 	call  201d380 <rtems_rfs_rtems_lock.isra.1>    
 201d738:	d0 07 60 7c 	ld  [ %i5 + 0x7c ], %o0                        
                                                                      
  rc = rtems_rfs_file_close (fs, file);                               
 201d73c:	92 10 00 18 	mov  %i0, %o1                                  
 201d740:	7f ff f5 0b 	call  201ab6c <rtems_rfs_file_close>           
 201d744:	90 10 00 1d 	mov  %i5, %o0                                  
  if (rc > 0)                                                         
 201d748:	b0 92 20 00 	orcc  %o0, 0, %i0                              
 201d74c:	04 80 00 06 	ble  201d764 <rtems_rfs_rtems_file_close+0x40> <== ALWAYS TAKEN
 201d750:	01 00 00 00 	nop                                            
    rc = rtems_rfs_rtems_error ("file-close: file close", rc);        
 201d754:	40 00 03 35 	call  201e428 <__errno>                        <== NOT EXECUTED
 201d758:	01 00 00 00 	nop                                            <== NOT EXECUTED
 201d75c:	f0 22 00 00 	st  %i0, [ %o0 ]                               <== NOT EXECUTED
 201d760:	b0 10 3f ff 	mov  -1, %i0                                   <== NOT EXECUTED
                                                                      
  rtems_rfs_rtems_unlock (fs);                                        
 201d764:	7f ff fe f0 	call  201d324 <rtems_rfs_rtems_unlock>         
 201d768:	90 10 00 1d 	mov  %i5, %o0                                  
  return rc;                                                          
}                                                                     
 201d76c:	81 c7 e0 08 	ret                                            
 201d770:	81 e8 00 00 	restore                                        
                                                                      

0201d3d8 <rtems_rfs_rtems_file_ftruncate>: * @return int */ static int rtems_rfs_rtems_file_ftruncate (rtems_libio_t* iop, rtems_off64_t length) {
 201d3d8:	9d e3 bf a0 	save  %sp, -96, %sp                            
 201d3dc:	ba 10 00 1a 	mov  %i2, %i5                                  
  rtems_rfs_file_handle* file = rtems_rfs_rtems_get_iop_file_handle (iop);
 201d3e0:	f4 06 20 20 	ld  [ %i0 + 0x20 ], %i2                        
 * @return int                                                        
 */                                                                   
static int                                                            
rtems_rfs_rtems_file_ftruncate (rtems_libio_t* iop,                   
                                rtems_off64_t  length)                
{                                                                     
 201d3e4:	b6 10 00 18 	mov  %i0, %i3                                  
  int                    rc;                                          
                                                                      
  if (rtems_rfs_rtems_trace (RTEMS_RFS_RTEMS_DEBUG_FILE_FTRUNC))      
    printf("rtems-rfs: file-ftrunc: handle:%p length:%Ld\n", file, length);
                                                                      
  rtems_rfs_rtems_lock (rtems_rfs_file_fs (file));                    
 201d3e8:	c2 06 a0 1c 	ld  [ %i2 + 0x1c ], %g1                        
  .fpathconf_h = rtems_filesystem_default_fpathconf,                  
  .fsync_h     = rtems_rfs_rtems_fdatasync,                           
  .fdatasync_h = rtems_rfs_rtems_fdatasync,                           
  .fcntl_h     = rtems_filesystem_default_fcntl,                      
  .rmnod_h     = rtems_rfs_rtems_rmnod                                
};                                                                    
 201d3ec:	c2 00 60 98 	ld  [ %g1 + 0x98 ], %g1                        
  int                    rc;                                          
                                                                      
  if (rtems_rfs_rtems_trace (RTEMS_RFS_RTEMS_DEBUG_FILE_FTRUNC))      
    printf("rtems-rfs: file-ftrunc: handle:%p length:%Ld\n", file, length);
                                                                      
  rtems_rfs_rtems_lock (rtems_rfs_file_fs (file));                    
 201d3f0:	7f ff ff e4 	call  201d380 <rtems_rfs_rtems_lock.isra.1>    
 201d3f4:	d0 00 60 7c 	ld  [ %g1 + 0x7c ], %o0                        
                                                                      
  rc = rtems_rfs_file_set_size (file, length);                        
 201d3f8:	90 10 00 1a 	mov  %i2, %o0                                  
 201d3fc:	92 10 00 19 	mov  %i1, %o1                                  
 201d400:	7f ff f7 d5 	call  201b354 <rtems_rfs_file_set_size>        
 201d404:	94 10 00 1d 	mov  %i5, %o2                                  
  if (rc)                                                             
 201d408:	b0 92 20 00 	orcc  %o0, 0, %i0                              
 201d40c:	22 80 00 07 	be,a   201d428 <rtems_rfs_rtems_file_ftruncate+0x50><== ALWAYS TAKEN
 201d410:	d2 06 a0 1c 	ld  [ %i2 + 0x1c ], %o1                        
    rc = rtems_rfs_rtems_error ("file_ftruncate: set size", rc);      
 201d414:	40 00 04 05 	call  201e428 <__errno>                        <== NOT EXECUTED
 201d418:	01 00 00 00 	nop                                            <== NOT EXECUTED
 201d41c:	f0 22 00 00 	st  %i0, [ %o0 ]                               <== NOT EXECUTED
 201d420:	b0 10 3f ff 	mov  -1, %i0                                   <== NOT EXECUTED
                                                                      
  iop->size = rtems_rfs_file_size (file);                             
 201d424:	d2 06 a0 1c 	ld  [ %i2 + 0x1c ], %o1                        <== NOT EXECUTED
 201d428:	d0 02 60 98 	ld  [ %o1 + 0x98 ], %o0                        
 201d42c:	7f ff eb 9c 	call  201829c <rtems_rfs_block_get_size>       
 201d430:	92 02 60 84 	add  %o1, 0x84, %o1                            
                                                                      
  rtems_rfs_rtems_unlock (rtems_rfs_file_fs (file));                  
 201d434:	c2 06 a0 1c 	ld  [ %i2 + 0x1c ], %g1                        
                                                                      
  rc = rtems_rfs_file_set_size (file, length);                        
  if (rc)                                                             
    rc = rtems_rfs_rtems_error ("file_ftruncate: set size", rc);      
                                                                      
  iop->size = rtems_rfs_file_size (file);                             
 201d438:	d0 3e e0 08 	std  %o0, [ %i3 + 8 ]                          
                                                                      
  rtems_rfs_rtems_unlock (rtems_rfs_file_fs (file));                  
 201d43c:	7f ff ff ba 	call  201d324 <rtems_rfs_rtems_unlock>         
 201d440:	d0 00 60 98 	ld  [ %g1 + 0x98 ], %o0                        
                                                                      
  return rc;                                                          
}                                                                     
 201d444:	81 c7 e0 08 	ret                                            
 201d448:	81 e8 00 00 	restore                                        
                                                                      

0201d31c <rtems_rfs_rtems_file_ioctl>: static int rtems_rfs_rtems_file_ioctl (rtems_libio_t* iop, uint32_t command, void* buffer) { return 0; }
 201d31c:	81 c3 e0 08 	retl                                           <== NOT EXECUTED
 201d320:	90 10 20 00 	clr  %o0                                       <== NOT EXECUTED
                                                                      

0201d44c <rtems_rfs_rtems_file_lseek>: */ static rtems_off64_t rtems_rfs_rtems_file_lseek (rtems_libio_t* iop, rtems_off64_t offset, int whence) {
 201d44c:	9d e3 bf 98 	save  %sp, -104, %sp                           
  rtems_rfs_file_handle* file = rtems_rfs_rtems_get_iop_file_handle (iop);
 201d450:	fa 06 20 20 	ld  [ %i0 + 0x20 ], %i5                        
  int                    rc;                                          
                                                                      
  if (rtems_rfs_rtems_trace (RTEMS_RFS_RTEMS_DEBUG_FILE_LSEEK))       
    printf("rtems-rfs: file-lseek: handle:%p offset:%Ld\n", file, offset);
                                                                      
  rtems_rfs_rtems_lock (rtems_rfs_file_fs (file));                    
 201d454:	c2 07 60 1c 	ld  [ %i5 + 0x1c ], %g1                        
  .fpathconf_h = rtems_filesystem_default_fpathconf,                  
  .fsync_h     = rtems_rfs_rtems_fdatasync,                           
  .fdatasync_h = rtems_rfs_rtems_fdatasync,                           
  .fcntl_h     = rtems_filesystem_default_fcntl,                      
  .rmnod_h     = rtems_rfs_rtems_rmnod                                
};                                                                    
 201d458:	c2 00 60 98 	ld  [ %g1 + 0x98 ], %g1                        
  int                    rc;                                          
                                                                      
  if (rtems_rfs_rtems_trace (RTEMS_RFS_RTEMS_DEBUG_FILE_LSEEK))       
    printf("rtems-rfs: file-lseek: handle:%p offset:%Ld\n", file, offset);
                                                                      
  rtems_rfs_rtems_lock (rtems_rfs_file_fs (file));                    
 201d45c:	7f ff ff c9 	call  201d380 <rtems_rfs_rtems_lock.isra.1>    
 201d460:	d0 00 60 7c 	ld  [ %g1 + 0x7c ], %o0                        
                                                                      
  pos = iop->offset;                                                  
 201d464:	c4 1e 20 10 	ldd  [ %i0 + 0x10 ], %g2                       
                                                                      
  rc = rtems_rfs_file_seek (file, pos, &pos);                         
 201d468:	90 10 00 1d 	mov  %i5, %o0                                  
  if (rtems_rfs_rtems_trace (RTEMS_RFS_RTEMS_DEBUG_FILE_LSEEK))       
    printf("rtems-rfs: file-lseek: handle:%p offset:%Ld\n", file, offset);
                                                                      
  rtems_rfs_rtems_lock (rtems_rfs_file_fs (file));                    
                                                                      
  pos = iop->offset;                                                  
 201d46c:	c4 3f bf f8 	std  %g2, [ %fp + -8 ]                         
                                                                      
  rc = rtems_rfs_file_seek (file, pos, &pos);                         
 201d470:	92 10 00 02 	mov  %g2, %o1                                  
 201d474:	94 10 00 03 	mov  %g3, %o2                                  
 201d478:	7f ff f7 95 	call  201b2cc <rtems_rfs_file_seek>            
 201d47c:	96 07 bf f8 	add  %fp, -8, %o3                              
 201d480:	c2 07 60 1c 	ld  [ %i5 + 0x1c ], %g1                        
  if (rc)                                                             
 201d484:	b8 92 20 00 	orcc  %o0, 0, %i4                              
 201d488:	02 80 00 09 	be  201d4ac <rtems_rfs_rtems_file_lseek+0x60>  <== ALWAYS TAKEN
 201d48c:	d0 00 60 98 	ld  [ %g1 + 0x98 ], %o0                        
  {                                                                   
    rtems_rfs_rtems_unlock (rtems_rfs_file_fs (file));                
 201d490:	7f ff ff a5 	call  201d324 <rtems_rfs_rtems_unlock>         <== NOT EXECUTED
 201d494:	31 3f ff ff 	sethi  %hi(0xfffffc00), %i0                    <== NOT EXECUTED
    return rtems_rfs_rtems_error ("file_lseek: lseek", rc);           
 201d498:	40 00 03 e4 	call  201e428 <__errno>                        <== NOT EXECUTED
 201d49c:	b0 16 23 ff 	or  %i0, 0x3ff, %i0	! ffffffff <RAM_END+0xfdbfffff><== NOT EXECUTED
 201d4a0:	f8 22 00 00 	st  %i4, [ %o0 ]                               <== NOT EXECUTED
 201d4a4:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 201d4a8:	93 e8 00 18 	restore  %g0, %i0, %o1                         <== NOT EXECUTED
  }                                                                   
                                                                      
  rtems_rfs_rtems_unlock (rtems_rfs_file_fs (file));                  
 201d4ac:	7f ff ff 9e 	call  201d324 <rtems_rfs_rtems_unlock>         
 201d4b0:	01 00 00 00 	nop                                            
                                                                      
  return iop->offset;                                                 
 201d4b4:	f0 1e 20 10 	ldd  [ %i0 + 0x10 ], %i0                       
}                                                                     
 201d4b8:	81 c7 e0 08 	ret                                            
 201d4bc:	81 e8 00 00 	restore                                        
                                                                      

0201d774 <rtems_rfs_rtems_file_open>: static int rtems_rfs_rtems_file_open (rtems_libio_t* iop, const char* pathname, uint32_t flag, uint32_t mode) {
 201d774:	9d e3 bf 98 	save  %sp, -104, %sp                           
  rtems_rfs_file_system* fs = rtems_rfs_rtems_pathloc_dev (&iop->pathinfo);
 201d778:	c2 06 20 2c 	ld  [ %i0 + 0x2c ], %g1                        
 201d77c:	fa 00 60 34 	ld  [ %g1 + 0x34 ], %i5                        
                                                                      
  if (rtems_rfs_rtems_trace (RTEMS_RFS_RTEMS_DEBUG_FILE_OPEN))        
    printf("rtems-rfs: file-open: path:%s ino:%" PRId32 " flags:%04" PRIx32 " mode:%04" PRIx32 "\n",
           pathname, ino, flags, mode);                               
                                                                      
  rtems_rfs_rtems_lock (fs);                                          
 201d780:	7f ff ff 00 	call  201d380 <rtems_rfs_rtems_lock.isra.1>    
 201d784:	d0 07 60 7c 	ld  [ %i5 + 0x7c ], %o0                        
                                                                      
  ino = rtems_rfs_rtems_get_iop_ino (iop);                            
                                                                      
  rc = rtems_rfs_file_open (fs, ino, flags, &file);                   
 201d788:	d2 06 20 1c 	ld  [ %i0 + 0x1c ], %o1                        
 201d78c:	90 10 00 1d 	mov  %i5, %o0                                  
 201d790:	94 10 20 00 	clr  %o2                                       
 201d794:	7f ff f7 b8 	call  201b674 <rtems_rfs_file_open>            
 201d798:	96 07 bf fc 	add  %fp, -4, %o3                              
  if (rc > 0)                                                         
 201d79c:	b8 92 20 00 	orcc  %o0, 0, %i4                              
 201d7a0:	04 80 00 09 	ble  201d7c4 <rtems_rfs_rtems_file_open+0x50>  <== ALWAYS TAKEN
 201d7a4:	c2 07 bf fc 	ld  [ %fp + -4 ], %g1                          
  {                                                                   
    rtems_rfs_rtems_unlock (fs);                                      
 201d7a8:	7f ff fe df 	call  201d324 <rtems_rfs_rtems_unlock>         <== NOT EXECUTED
 201d7ac:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
    return rtems_rfs_rtems_error ("file-open: open", rc);             
 201d7b0:	40 00 03 1e 	call  201e428 <__errno>                        <== NOT EXECUTED
 201d7b4:	b0 10 3f ff 	mov  -1, %i0                                   <== NOT EXECUTED
 201d7b8:	f8 22 00 00 	st  %i4, [ %o0 ]                               <== NOT EXECUTED
 201d7bc:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 201d7c0:	81 e8 00 00 	restore                                        <== NOT EXECUTED
  }                                                                   
                                                                      
  if (rtems_rfs_rtems_trace (RTEMS_RFS_RTEMS_DEBUG_FILE_OPEN))        
    printf("rtems-rfs: file-open: handle:%p\n", file);                
                                                                      
  iop->size = rtems_rfs_file_size (file);                             
 201d7c4:	d2 00 60 1c 	ld  [ %g1 + 0x1c ], %o1                        
 201d7c8:	d0 02 60 98 	ld  [ %o1 + 0x98 ], %o0                        
 201d7cc:	7f ff ea b4 	call  201829c <rtems_rfs_block_get_size>       
 201d7d0:	92 02 60 84 	add  %o1, 0x84, %o1                            
  rtems_rfs_rtems_set_iop_file_handle (iop, file);                    
 201d7d4:	c2 07 bf fc 	ld  [ %fp + -4 ], %g1                          
  }                                                                   
                                                                      
  if (rtems_rfs_rtems_trace (RTEMS_RFS_RTEMS_DEBUG_FILE_OPEN))        
    printf("rtems-rfs: file-open: handle:%p\n", file);                
                                                                      
  iop->size = rtems_rfs_file_size (file);                             
 201d7d8:	d0 3e 20 08 	std  %o0, [ %i0 + 8 ]                          
  rtems_rfs_rtems_set_iop_file_handle (iop, file);                    
 201d7dc:	c2 26 20 20 	st  %g1, [ %i0 + 0x20 ]                        
                                                                      
  rtems_rfs_rtems_unlock (fs);                                        
 201d7e0:	90 10 00 1d 	mov  %i5, %o0                                  
 201d7e4:	7f ff fe d0 	call  201d324 <rtems_rfs_rtems_unlock>         
 201d7e8:	b0 10 20 00 	clr  %i0                                       
  return 0;                                                           
}                                                                     
 201d7ec:	81 c7 e0 08 	ret                                            
 201d7f0:	81 e8 00 00 	restore                                        
                                                                      

0201d624 <rtems_rfs_rtems_file_read>: */ static ssize_t rtems_rfs_rtems_file_read (rtems_libio_t* iop, void* buffer, size_t count) {
 201d624:	9d e3 bf 98 	save  %sp, -104, %sp                           
  rtems_rfs_file_handle* file = rtems_rfs_rtems_get_iop_file_handle (iop);
 201d628:	fa 06 20 20 	ld  [ %i0 + 0x20 ], %i5                        
  int                    rc;                                          
                                                                      
  if (rtems_rfs_rtems_trace (RTEMS_RFS_RTEMS_DEBUG_FILE_READ))        
    printf("rtems-rfs: file-read: handle:%p count:%zd\n", file, count);
                                                                      
  rtems_rfs_rtems_lock (rtems_rfs_file_fs (file));                    
 201d62c:	c2 07 60 1c 	ld  [ %i5 + 0x1c ], %g1                        
  .fpathconf_h = rtems_filesystem_default_fpathconf,                  
  .fsync_h     = rtems_rfs_rtems_fdatasync,                           
  .fdatasync_h = rtems_rfs_rtems_fdatasync,                           
  .fcntl_h     = rtems_filesystem_default_fcntl,                      
  .rmnod_h     = rtems_rfs_rtems_rmnod                                
};                                                                    
 201d630:	c2 00 60 98 	ld  [ %g1 + 0x98 ], %g1                        
  int                    rc;                                          
                                                                      
  if (rtems_rfs_rtems_trace (RTEMS_RFS_RTEMS_DEBUG_FILE_READ))        
    printf("rtems-rfs: file-read: handle:%p count:%zd\n", file, count);
                                                                      
  rtems_rfs_rtems_lock (rtems_rfs_file_fs (file));                    
 201d634:	7f ff ff 53 	call  201d380 <rtems_rfs_rtems_lock.isra.1>    
 201d638:	d0 00 60 7c 	ld  [ %g1 + 0x7c ], %o0                        
                                                                      
  pos = iop->offset;                                                  
                                                                      
  if (pos < rtems_rfs_file_size (file))                               
 201d63c:	d2 07 60 1c 	ld  [ %i5 + 0x1c ], %o1                        
  if (rtems_rfs_rtems_trace (RTEMS_RFS_RTEMS_DEBUG_FILE_READ))        
    printf("rtems-rfs: file-read: handle:%p count:%zd\n", file, count);
                                                                      
  rtems_rfs_rtems_lock (rtems_rfs_file_fs (file));                    
                                                                      
  pos = iop->offset;                                                  
 201d640:	f8 06 20 10 	ld  [ %i0 + 0x10 ], %i4                        
 201d644:	d0 02 60 98 	ld  [ %o1 + 0x98 ], %o0                        
 201d648:	f0 06 20 14 	ld  [ %i0 + 0x14 ], %i0                        
 201d64c:	7f ff eb 14 	call  201829c <rtems_rfs_block_get_size>       
 201d650:	92 02 60 84 	add  %o1, 0x84, %o1                            
                                                                      
  if (pos < rtems_rfs_file_size (file))                               
 201d654:	80 a2 00 1c 	cmp  %o0, %i4                                  
 201d658:	38 80 00 2b 	bgu,a   201d704 <rtems_rfs_rtems_file_read+0xe0><== NEVER TAKEN
 201d65c:	b0 10 20 00 	clr  %i0                                       <== NOT EXECUTED
 201d660:	80 a2 00 1c 	cmp  %o0, %i4                                  
 201d664:	12 80 00 04 	bne  201d674 <rtems_rfs_rtems_file_read+0x50>  <== NEVER TAKEN
 201d668:	80 a2 40 18 	cmp  %o1, %i0                                  
 201d66c:	38 80 00 26 	bgu,a   201d704 <rtems_rfs_rtems_file_read+0xe0><== ALWAYS TAKEN
 201d670:	b0 10 20 00 	clr  %i0                                       
                           size_t         count)                      
{                                                                     
  rtems_rfs_file_handle* file = rtems_rfs_rtems_get_iop_file_handle (iop);
  rtems_rfs_pos          pos;                                         
  uint8_t*               data = buffer;                               
  ssize_t                read = 0;                                    
 201d674:	10 80 00 27 	b  201d710 <rtems_rfs_rtems_file_read+0xec>    <== NOT EXECUTED
 201d678:	b0 10 20 00 	clr  %i0                                       <== NOT EXECUTED
  {                                                                   
    while (count)                                                     
    {                                                                 
      size_t size;                                                    
                                                                      
      rc = rtems_rfs_file_io_start (file, &size, true);               
 201d67c:	92 07 bf fc 	add  %fp, -4, %o1                              
 201d680:	7f ff f5 e7 	call  201ae1c <rtems_rfs_file_io_start>        
 201d684:	94 10 20 01 	mov  1, %o2                                    
      if (rc > 0)                                                     
 201d688:	b8 92 20 00 	orcc  %o0, 0, %i4                              
 201d68c:	14 80 00 1a 	bg  201d6f4 <rtems_rfs_rtems_file_read+0xd0>   <== NEVER TAKEN
 201d690:	01 00 00 00 	nop                                            
      {                                                               
        read = rtems_rfs_rtems_error ("file-read: read: io-start", rc);
        break;                                                        
      }                                                               
                                                                      
      if (size == 0)                                                  
 201d694:	c2 07 bf fc 	ld  [ %fp + -4 ], %g1                          
 201d698:	80 a0 60 00 	cmp  %g1, 0                                    
 201d69c:	02 80 00 1d 	be  201d710 <rtems_rfs_rtems_file_read+0xec>   <== NEVER TAKEN
 201d6a0:	80 a0 40 1a 	cmp  %g1, %i2                                  
        break;                                                        
                                                                      
      if (size > count)                                               
 201d6a4:	38 80 00 02 	bgu,a   201d6ac <rtems_rfs_rtems_file_read+0x88><== NEVER TAKEN
 201d6a8:	f4 27 bf fc 	st  %i2, [ %fp + -4 ]                          <== NOT EXECUTED
        size = count;                                                 
                                                                      
      memcpy (data, rtems_rfs_file_data (file), size);                
 201d6ac:	c2 07 60 0c 	ld  [ %i5 + 0xc ], %g1                         
 201d6b0:	f8 07 bf fc 	ld  [ %fp + -4 ], %i4                          
 201d6b4:	d2 00 60 24 	ld  [ %g1 + 0x24 ], %o1                        
 201d6b8:	c2 07 60 14 	ld  [ %i5 + 0x14 ], %g1                        
 201d6bc:	94 10 00 1c 	mov  %i4, %o2                                  
 201d6c0:	92 02 40 01 	add  %o1, %g1, %o1                             
 201d6c4:	40 00 05 e3 	call  201ee50 <memcpy>                         
 201d6c8:	90 10 00 19 	mov  %i1, %o0                                  
                                                                      
      data  += size;                                                  
      count -= size;                                                  
      read  += size;                                                  
                                                                      
      rc = rtems_rfs_file_io_end (file, size, true);                  
 201d6cc:	92 10 00 1c 	mov  %i4, %o1                                  
      if (size > count)                                               
        size = count;                                                 
                                                                      
      memcpy (data, rtems_rfs_file_data (file), size);                
                                                                      
      data  += size;                                                  
 201d6d0:	b2 06 40 1c 	add  %i1, %i4, %i1                             
      count -= size;                                                  
 201d6d4:	b4 26 80 1c 	sub  %i2, %i4, %i2                             
      read  += size;                                                  
 201d6d8:	b0 06 00 1c 	add  %i0, %i4, %i0                             
                                                                      
      rc = rtems_rfs_file_io_end (file, size, true);                  
 201d6dc:	90 10 00 1d 	mov  %i5, %o0                                  
 201d6e0:	7f ff f6 54 	call  201b030 <rtems_rfs_file_io_end>          
 201d6e4:	94 10 20 01 	mov  1, %o2                                    
      if (rc > 0)                                                     
 201d6e8:	b8 92 20 00 	orcc  %o0, 0, %i4                              
 201d6ec:	04 80 00 07 	ble  201d708 <rtems_rfs_rtems_file_read+0xe4>  <== ALWAYS TAKEN
 201d6f0:	80 a6 a0 00 	cmp  %i2, 0                                    
      {                                                               
        read = rtems_rfs_rtems_error ("file-read: read: io-end", rc); 
 201d6f4:	40 00 03 4d 	call  201e428 <__errno>                        <== NOT EXECUTED
 201d6f8:	b0 10 3f ff 	mov  -1, %i0                                   <== NOT EXECUTED
 201d6fc:	10 80 00 05 	b  201d710 <rtems_rfs_rtems_file_read+0xec>    <== NOT EXECUTED
 201d700:	f8 22 00 00 	st  %i4, [ %o0 ]                               <== NOT EXECUTED
                                                                      
  pos = iop->offset;                                                  
                                                                      
  if (pos < rtems_rfs_file_size (file))                               
  {                                                                   
    while (count)                                                     
 201d704:	80 a6 a0 00 	cmp  %i2, 0                                    
 201d708:	12 bf ff dd 	bne  201d67c <rtems_rfs_rtems_file_read+0x58>  
 201d70c:	90 10 00 1d 	mov  %i5, %o0                                  
        break;                                                        
      }                                                               
    }                                                                 
  }                                                                   
                                                                      
  rtems_rfs_rtems_unlock (rtems_rfs_file_fs (file));                  
 201d710:	c2 07 60 1c 	ld  [ %i5 + 0x1c ], %g1                        
 201d714:	7f ff ff 04 	call  201d324 <rtems_rfs_rtems_unlock>         
 201d718:	d0 00 60 98 	ld  [ %g1 + 0x98 ], %o0                        
                                                                      
  return read;                                                        
}                                                                     
 201d71c:	81 c7 e0 08 	ret                                            
 201d720:	81 e8 00 00 	restore                                        
                                                                      

0201d4c0 <rtems_rfs_rtems_file_write>: */ static ssize_t rtems_rfs_rtems_file_write (rtems_libio_t* iop, const void* buffer, size_t count) {
 201d4c0:	9d e3 bf 98 	save  %sp, -104, %sp                           
  rtems_rfs_file_handle* file = rtems_rfs_rtems_get_iop_file_handle (iop);
 201d4c4:	e0 06 20 20 	ld  [ %i0 + 0x20 ], %l0                        
 */                                                                   
static ssize_t                                                        
rtems_rfs_rtems_file_write (rtems_libio_t* iop,                       
                            const void*    buffer,                    
                            size_t         count)                     
{                                                                     
 201d4c8:	b6 10 00 18 	mov  %i0, %i3                                  
  int                    rc;                                          
                                                                      
  if (rtems_rfs_rtems_trace (RTEMS_RFS_RTEMS_DEBUG_FILE_WRITE))       
    printf("rtems-rfs: file-write: handle:%p count:%zd\n", file, count);
                                                                      
  rtems_rfs_rtems_lock (rtems_rfs_file_fs (file));                    
 201d4cc:	c2 04 20 1c 	ld  [ %l0 + 0x1c ], %g1                        
  .fpathconf_h = rtems_filesystem_default_fpathconf,                  
  .fsync_h     = rtems_rfs_rtems_fdatasync,                           
  .fdatasync_h = rtems_rfs_rtems_fdatasync,                           
  .fcntl_h     = rtems_filesystem_default_fcntl,                      
  .rmnod_h     = rtems_rfs_rtems_rmnod                                
};                                                                    
 201d4d0:	c2 00 60 98 	ld  [ %g1 + 0x98 ], %g1                        
  int                    rc;                                          
                                                                      
  if (rtems_rfs_rtems_trace (RTEMS_RFS_RTEMS_DEBUG_FILE_WRITE))       
    printf("rtems-rfs: file-write: handle:%p count:%zd\n", file, count);
                                                                      
  rtems_rfs_rtems_lock (rtems_rfs_file_fs (file));                    
 201d4d4:	7f ff ff ab 	call  201d380 <rtems_rfs_rtems_lock.isra.1>    
 201d4d8:	d0 00 60 7c 	ld  [ %g1 + 0x7c ], %o0                        
   * size of file we are still past the end of the file as positions number
   * from 0. For a specific position we need a file that has a length of one
   * more.                                                            
   */                                                                 
                                                                      
  if (pos >= rtems_rfs_file_size (file))                              
 201d4dc:	d2 04 20 1c 	ld  [ %l0 + 0x1c ], %o1                        
  if (rtems_rfs_rtems_trace (RTEMS_RFS_RTEMS_DEBUG_FILE_WRITE))       
    printf("rtems-rfs: file-write: handle:%p count:%zd\n", file, count);
                                                                      
  rtems_rfs_rtems_lock (rtems_rfs_file_fs (file));                    
                                                                      
  pos = iop->offset;                                                  
 201d4e0:	f8 1e 20 10 	ldd  [ %i0 + 0x10 ], %i4                       
 201d4e4:	d0 02 60 98 	ld  [ %o1 + 0x98 ], %o0                        
 201d4e8:	7f ff eb 6d 	call  201829c <rtems_rfs_block_get_size>       
 201d4ec:	92 02 60 84 	add  %o1, 0x84, %o1                            
   * size of file we are still past the end of the file as positions number
   * from 0. For a specific position we need a file that has a length of one
   * more.                                                            
   */                                                                 
                                                                      
  if (pos >= rtems_rfs_file_size (file))                              
 201d4f0:	80 a2 00 1c 	cmp  %o0, %i4                                  
 201d4f4:	38 80 00 18 	bgu,a   201d554 <rtems_rfs_rtems_file_write+0x94><== NEVER TAKEN
 201d4f8:	c2 04 20 1c 	ld  [ %l0 + 0x1c ], %g1                        <== NOT EXECUTED
 201d4fc:	80 a2 00 1c 	cmp  %o0, %i4                                  
 201d500:	12 80 00 06 	bne  201d518 <rtems_rfs_rtems_file_write+0x58> <== NEVER TAKEN
 201d504:	86 87 60 01 	addcc  %i5, 1, %g3                             
 201d508:	80 a2 40 1d 	cmp  %o1, %i5                                  
 201d50c:	38 80 00 12 	bgu,a   201d554 <rtems_rfs_rtems_file_write+0x94>
 201d510:	c2 04 20 1c 	ld  [ %l0 + 0x1c ], %g1                        
  {                                                                   
    rc = rtems_rfs_file_set_size (file, pos + 1);                     
 201d514:	86 87 60 01 	addcc  %i5, 1, %g3                             
 201d518:	84 47 20 00 	addx  %i4, 0, %g2                              
 201d51c:	90 10 00 10 	mov  %l0, %o0                                  
 201d520:	92 10 00 02 	mov  %g2, %o1                                  
 201d524:	7f ff f7 8c 	call  201b354 <rtems_rfs_file_set_size>        
 201d528:	94 10 00 03 	mov  %g3, %o2                                  
    if (rc)                                                           
 201d52c:	b0 92 20 00 	orcc  %o0, 0, %i0                              
 201d530:	02 80 00 09 	be  201d554 <rtems_rfs_rtems_file_write+0x94>  <== ALWAYS TAKEN
 201d534:	c2 04 20 1c 	ld  [ %l0 + 0x1c ], %g1                        
    {                                                                 
      rtems_rfs_rtems_unlock (rtems_rfs_file_fs (file));              
 201d538:	7f ff ff 7b 	call  201d324 <rtems_rfs_rtems_unlock>         <== NOT EXECUTED
 201d53c:	d0 00 60 98 	ld  [ %g1 + 0x98 ], %o0                        <== NOT EXECUTED
      return rtems_rfs_rtems_error ("file-write: write extend", rc);  
 201d540:	40 00 03 ba 	call  201e428 <__errno>                        <== NOT EXECUTED
 201d544:	01 00 00 00 	nop                                            <== NOT EXECUTED
 201d548:	f0 22 00 00 	st  %i0, [ %o0 ]                               <== NOT EXECUTED
 201d54c:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 201d550:	91 e8 3f ff 	restore  %g0, -1, %o0                          <== NOT EXECUTED
    }                                                                 
  }                                                                   
                                                                      
  rtems_rfs_file_set_bpos (file, pos);                                
 201d554:	92 10 00 1c 	mov  %i4, %o1                                  
 201d558:	d0 00 60 98 	ld  [ %g1 + 0x98 ], %o0                        
 201d55c:	94 10 00 1d 	mov  %i5, %o2                                  
 201d560:	96 04 20 10 	add  %l0, 0x10, %o3                            
 201d564:	7f ff eb 1e 	call  20181dc <rtems_rfs_block_get_bpos>       
 201d568:	b0 10 20 00 	clr  %i0                                       
                                                                      
  while (count)                                                       
 201d56c:	10 80 00 22 	b  201d5f4 <rtems_rfs_rtems_file_write+0x134>  
 201d570:	80 a6 a0 00 	cmp  %i2, 0                                    
  {                                                                   
    size_t size = count;                                              
                                                                      
    rc = rtems_rfs_file_io_start (file, &size, false);                
 201d574:	90 10 00 10 	mov  %l0, %o0                                  
 201d578:	92 07 bf fc 	add  %fp, -4, %o1                              
 201d57c:	7f ff f6 28 	call  201ae1c <rtems_rfs_file_io_start>        
 201d580:	94 10 20 00 	clr  %o2                                       
    if (rc)                                                           
 201d584:	b8 92 20 00 	orcc  %o0, 0, %i4                              
 201d588:	12 80 00 17 	bne  201d5e4 <rtems_rfs_rtems_file_write+0x124><== NEVER TAKEN
 201d58c:	01 00 00 00 	nop                                            
    {                                                                 
      write = rtems_rfs_rtems_error ("file-write: write open", rc);   
      break;                                                          
    }                                                                 
                                                                      
    if (size > count)                                                 
 201d590:	c2 07 bf fc 	ld  [ %fp + -4 ], %g1                          
 201d594:	80 a0 40 1a 	cmp  %g1, %i2                                  
 201d598:	38 80 00 02 	bgu,a   201d5a0 <rtems_rfs_rtems_file_write+0xe0><== ALWAYS TAKEN
 201d59c:	f4 27 bf fc 	st  %i2, [ %fp + -4 ]                          
      size = count;                                                   
                                                                      
    memcpy (rtems_rfs_file_data (file), data, size);                  
 201d5a0:	c2 04 20 0c 	ld  [ %l0 + 0xc ], %g1                         
 201d5a4:	d4 07 bf fc 	ld  [ %fp + -4 ], %o2                          
 201d5a8:	d0 00 60 24 	ld  [ %g1 + 0x24 ], %o0                        
 201d5ac:	c2 04 20 14 	ld  [ %l0 + 0x14 ], %g1                        
 201d5b0:	92 10 00 19 	mov  %i1, %o1                                  
 201d5b4:	40 00 06 27 	call  201ee50 <memcpy>                         
 201d5b8:	90 02 00 01 	add  %o0, %g1, %o0                             
                                                                      
    data  += size;                                                    
 201d5bc:	d2 07 bf fc 	ld  [ %fp + -4 ], %o1                          
    count -= size;                                                    
    write  += size;                                                   
                                                                      
    rc = rtems_rfs_file_io_end (file, size, false);                   
 201d5c0:	90 10 00 10 	mov  %l0, %o0                                  
    if (size > count)                                                 
      size = count;                                                   
                                                                      
    memcpy (rtems_rfs_file_data (file), data, size);                  
                                                                      
    data  += size;                                                    
 201d5c4:	b2 06 40 09 	add  %i1, %o1, %i1                             
    count -= size;                                                    
 201d5c8:	b4 26 80 09 	sub  %i2, %o1, %i2                             
    write  += size;                                                   
 201d5cc:	b0 06 00 09 	add  %i0, %o1, %i0                             
                                                                      
    rc = rtems_rfs_file_io_end (file, size, false);                   
 201d5d0:	7f ff f6 98 	call  201b030 <rtems_rfs_file_io_end>          
 201d5d4:	94 10 20 00 	clr  %o2                                       
    if (rc)                                                           
 201d5d8:	b8 92 20 00 	orcc  %o0, 0, %i4                              
 201d5dc:	02 80 00 06 	be  201d5f4 <rtems_rfs_rtems_file_write+0x134> <== ALWAYS TAKEN
 201d5e0:	80 a6 a0 00 	cmp  %i2, 0                                    
    {                                                                 
      write = rtems_rfs_rtems_error ("file-write: write close", rc);  
 201d5e4:	40 00 03 91 	call  201e428 <__errno>                        <== NOT EXECUTED
 201d5e8:	b0 10 3f ff 	mov  -1, %i0                                   <== NOT EXECUTED
 201d5ec:	10 80 00 04 	b  201d5fc <rtems_rfs_rtems_file_write+0x13c>  <== NOT EXECUTED
 201d5f0:	f8 22 00 00 	st  %i4, [ %o0 ]                               <== NOT EXECUTED
    }                                                                 
  }                                                                   
                                                                      
  rtems_rfs_file_set_bpos (file, pos);                                
                                                                      
  while (count)                                                       
 201d5f4:	32 bf ff e0 	bne,a   201d574 <rtems_rfs_rtems_file_write+0xb4>
 201d5f8:	f4 27 bf fc 	st  %i2, [ %fp + -4 ]                          
      write = rtems_rfs_rtems_error ("file-write: write close", rc);  
      break;                                                          
    }                                                                 
  }                                                                   
                                                                      
  iop->size = rtems_rfs_file_size (file);                             
 201d5fc:	d2 04 20 1c 	ld  [ %l0 + 0x1c ], %o1                        
 201d600:	d0 02 60 98 	ld  [ %o1 + 0x98 ], %o0                        
 201d604:	7f ff eb 26 	call  201829c <rtems_rfs_block_get_size>       
 201d608:	92 02 60 84 	add  %o1, 0x84, %o1                            
                                                                      
  rtems_rfs_rtems_unlock (rtems_rfs_file_fs (file));                  
 201d60c:	c2 04 20 1c 	ld  [ %l0 + 0x1c ], %g1                        
      write = rtems_rfs_rtems_error ("file-write: write close", rc);  
      break;                                                          
    }                                                                 
  }                                                                   
                                                                      
  iop->size = rtems_rfs_file_size (file);                             
 201d610:	d0 3e e0 08 	std  %o0, [ %i3 + 8 ]                          
                                                                      
  rtems_rfs_rtems_unlock (rtems_rfs_file_fs (file));                  
 201d614:	7f ff ff 44 	call  201d324 <rtems_rfs_rtems_unlock>         
 201d618:	d0 00 60 98 	ld  [ %g1 + 0x98 ], %o0                        
                                                                      
  return write;                                                       
}                                                                     
 201d61c:	81 c7 e0 08 	ret                                            
 201d620:	81 e8 00 00 	restore                                        
                                                                      

02010d64 <rtems_rfs_rtems_fstat>: } int rtems_rfs_rtems_fstat (rtems_filesystem_location_info_t* pathloc, struct stat* buf) {
 2010d64:	9d e3 bf 78 	save  %sp, -136, %sp                           
  rtems_rfs_file_system* fs = rtems_rfs_rtems_pathloc_dev (pathloc);  
 2010d68:	c2 06 20 10 	ld  [ %i0 + 0x10 ], %g1                        
  rtems_rfs_ino          ino = rtems_rfs_rtems_get_pathloc_ino (pathloc);
 2010d6c:	f8 06 00 00 	ld  [ %i0 ], %i4                               
                                                                      
int                                                                   
rtems_rfs_rtems_fstat (rtems_filesystem_location_info_t* pathloc,     
                       struct stat*                      buf)         
{                                                                     
  rtems_rfs_file_system* fs = rtems_rfs_rtems_pathloc_dev (pathloc);  
 2010d70:	fa 00 60 34 	ld  [ %g1 + 0x34 ], %i5                        
  int                    rc;                                          
                                                                      
  if (rtems_rfs_rtems_trace (RTEMS_RFS_RTEMS_DEBUG_STAT))             
    printf ("rtems-rfs-rtems: stat: in: ino:%" PRId32 "\n", ino);     
                                                                      
  rtems_rfs_rtems_lock (fs);                                          
 2010d74:	7f ff fc 65 	call  200ff08 <rtems_rfs_rtems_lock.isra.16>   
 2010d78:	d0 07 60 7c 	ld  [ %i5 + 0x7c ], %o0                        
                                                                      
  rc = rtems_rfs_inode_open (fs, ino, &inode, true);                  
 2010d7c:	92 10 00 1c 	mov  %i4, %o1                                  
 2010d80:	90 10 00 1d 	mov  %i5, %o0                                  
 2010d84:	94 07 bf d8 	add  %fp, -40, %o2                             
 2010d88:	7f ff f9 74 	call  200f358 <rtems_rfs_inode_open>           
 2010d8c:	96 10 20 01 	mov  1, %o3                                    
  if (rc)                                                             
 2010d90:	b8 92 20 00 	orcc  %o0, 0, %i4                              
 2010d94:	22 80 00 04 	be,a   2010da4 <rtems_rfs_rtems_fstat+0x40>    <== ALWAYS TAKEN
 2010d98:	f8 07 bf e4 	ld  [ %fp + -28 ], %i4                         
  {                                                                   
    rtems_rfs_rtems_unlock (fs);                                      
 2010d9c:	10 80 00 9b 	b  2011008 <rtems_rfs_rtems_fstat+0x2a4>       <== NOT EXECUTED
 2010da0:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
    return rtems_rfs_rtems_error ("stat: opening inode", rc);         
  }                                                                   
                                                                      
  mode = rtems_rfs_inode_get_mode (&inode);                           
                                                                      
  if (RTEMS_RFS_S_ISCHR (mode) || RTEMS_RFS_S_ISBLK (mode))           
 2010da4:	05 00 00 18 	sethi  %hi(0x6000), %g2                        
 2010da8:	c2 0f 20 03 	ldub  [ %i4 + 3 ], %g1                         
 2010dac:	f6 0f 20 02 	ldub  [ %i4 + 2 ], %i3                         
 2010db0:	b7 2e e0 08 	sll  %i3, 8, %i3                               
 2010db4:	b6 10 40 1b 	or  %g1, %i3, %i3                              
 2010db8:	03 00 00 3c 	sethi  %hi(0xf000), %g1                        
 2010dbc:	82 0e c0 01 	and  %i3, %g1, %g1                             
 2010dc0:	80 a0 40 02 	cmp  %g1, %g2                                  
 2010dc4:	02 80 00 07 	be  2010de0 <rtems_rfs_rtems_fstat+0x7c>       <== NEVER TAKEN
 2010dc8:	92 10 20 00 	clr  %o1                                       
 2010dcc:	05 00 00 08 	sethi  %hi(0x2000), %g2                        
 2010dd0:	80 a0 40 02 	cmp  %g1, %g2                                  
 2010dd4:	32 80 00 0c 	bne,a   2010e04 <rtems_rfs_rtems_fstat+0xa0>   <== ALWAYS TAKEN
 2010dd8:	c2 07 60 0c 	ld  [ %i5 + 0xc ], %g1                         
  {                                                                   
    buf->st_rdev =                                                    
      rtems_filesystem_make_dev_t (rtems_rfs_inode_get_block (&inode, 0),
 2010ddc:	92 10 20 00 	clr  %o1                                       <== NOT EXECUTED
 2010de0:	7f ff fb ed 	call  200fd94 <rtems_rfs_inode_get_block.isra.9><== NOT EXECUTED
 2010de4:	90 10 00 1c 	mov  %i4, %o0                                  <== NOT EXECUTED
 2010de8:	92 10 20 01 	mov  1, %o1                                    <== NOT EXECUTED
 2010dec:	b4 10 00 08 	mov  %o0, %i2                                  <== NOT EXECUTED
 2010df0:	7f ff fb e9 	call  200fd94 <rtems_rfs_inode_get_block.isra.9><== NOT EXECUTED
 2010df4:	90 10 00 1c 	mov  %i4, %o0                                  <== NOT EXECUTED
                                                                      
  mode = rtems_rfs_inode_get_mode (&inode);                           
                                                                      
  if (RTEMS_RFS_S_ISCHR (mode) || RTEMS_RFS_S_ISBLK (mode))           
  {                                                                   
    buf->st_rdev =                                                    
 2010df8:	f4 26 60 18 	st  %i2, [ %i1 + 0x18 ]                        <== NOT EXECUTED
 2010dfc:	d0 26 60 1c 	st  %o0, [ %i1 + 0x1c ]                        <== NOT EXECUTED
      rtems_filesystem_make_dev_t (rtems_rfs_inode_get_block (&inode, 0),
                                   rtems_rfs_inode_get_block (&inode, 1));
  }                                                                   
                                                                      
  buf->st_dev     = rtems_rfs_fs_device (fs);                         
 2010e00:	c2 07 60 0c 	ld  [ %i5 + 0xc ], %g1                         <== NOT EXECUTED
  buf->st_ino     = rtems_rfs_inode_ino (&inode);                     
  buf->st_mode    = rtems_rfs_rtems_mode (mode);                      
 2010e04:	90 10 00 1b 	mov  %i3, %o0                                  
    buf->st_rdev =                                                    
      rtems_filesystem_make_dev_t (rtems_rfs_inode_get_block (&inode, 0),
                                   rtems_rfs_inode_get_block (&inode, 1));
  }                                                                   
                                                                      
  buf->st_dev     = rtems_rfs_fs_device (fs);                         
 2010e08:	c4 18 40 00 	ldd  [ %g1 ], %g2                              
  buf->st_ino     = rtems_rfs_inode_ino (&inode);                     
 2010e0c:	c2 07 bf e0 	ld  [ %fp + -32 ], %g1                         
    buf->st_rdev =                                                    
      rtems_filesystem_make_dev_t (rtems_rfs_inode_get_block (&inode, 0),
                                   rtems_rfs_inode_get_block (&inode, 1));
  }                                                                   
                                                                      
  buf->st_dev     = rtems_rfs_fs_device (fs);                         
 2010e10:	c4 3e 40 00 	std  %g2, [ %i1 ]                              
  buf->st_ino     = rtems_rfs_inode_ino (&inode);                     
  buf->st_mode    = rtems_rfs_rtems_mode (mode);                      
 2010e14:	40 00 01 07 	call  2011230 <rtems_rfs_rtems_mode>           
 2010e18:	c2 26 60 08 	st  %g1, [ %i1 + 8 ]                           
  buf->st_nlink   = rtems_rfs_inode_get_links (&inode);               
 2010e1c:	c2 07 bf e4 	ld  [ %fp + -28 ], %g1                         
                                   rtems_rfs_inode_get_block (&inode, 1));
  }                                                                   
                                                                      
  buf->st_dev     = rtems_rfs_fs_device (fs);                         
  buf->st_ino     = rtems_rfs_inode_ino (&inode);                     
  buf->st_mode    = rtems_rfs_rtems_mode (mode);                      
 2010e20:	d0 26 60 0c 	st  %o0, [ %i1 + 0xc ]                         
 */                                                                   
static inline uint16_t                                                
rtems_rfs_inode_get_links (rtems_rfs_inode_handle* handle)            
{                                                                     
  uint16_t links;                                                     
  links = rtems_rfs_read_u16 (&handle->node->links);                  
 2010e24:	c6 08 60 01 	ldub  [ %g1 + 1 ], %g3                         
 2010e28:	c4 08 40 00 	ldub  [ %g1 ], %g2                             
  if (links == 0xffff)                                                
 2010e2c:	09 3f ff c0 	sethi  %hi(0xffff0000), %g4                    
 */                                                                   
static inline uint16_t                                                
rtems_rfs_inode_get_links (rtems_rfs_inode_handle* handle)            
{                                                                     
  uint16_t links;                                                     
  links = rtems_rfs_read_u16 (&handle->node->links);                  
 2010e30:	85 28 a0 08 	sll  %g2, 8, %g2                               
 2010e34:	84 10 80 03 	or  %g2, %g3, %g2                              
  if (links == 0xffff)                                                
 2010e38:	87 28 a0 10 	sll  %g2, 0x10, %g3                            
 2010e3c:	87 30 e0 10 	srl  %g3, 0x10, %g3                            
    links = 0;                                                        
 2010e40:	86 39 00 03 	xnor  %g4, %g3, %g3                            
 2010e44:	80 a0 00 03 	cmp  %g0, %g3                                  
 2010e48:	86 60 20 00 	subx  %g0, 0, %g3                              
 2010e4c:	84 08 80 03 	and  %g2, %g3, %g2                             
  buf->st_nlink   = rtems_rfs_inode_get_links (&inode);               
 2010e50:	c4 36 60 10 	sth  %g2, [ %i1 + 0x10 ]                       
 * @return uint16_t The user id (uid).                                
 */                                                                   
static inline uint16_t                                                
rtems_rfs_inode_get_uid (rtems_rfs_inode_handle* handle)              
{                                                                     
  return rtems_rfs_read_u32 (&handle->node->owner) & 0xffff;          
 2010e54:	c4 08 60 06 	ldub  [ %g1 + 6 ], %g2                         
 2010e58:	c6 08 60 07 	ldub  [ %g1 + 7 ], %g3                         
 2010e5c:	85 28 a0 08 	sll  %g2, 8, %g2                               
 2010e60:	84 10 80 03 	or  %g2, %g3, %g2                              
  buf->st_uid     = rtems_rfs_inode_get_uid (&inode);                 
 2010e64:	c4 36 60 12 	sth  %g2, [ %i1 + 0x12 ]                       
 * @return uint16_t The group id (gid).                               
 */                                                                   
static inline uint16_t                                                
rtems_rfs_inode_get_gid (rtems_rfs_inode_handle* handle)              
{                                                                     
  return (rtems_rfs_read_u32 (&handle->node->owner) >> 16) & 0xffff;  
 2010e68:	c4 08 60 04 	ldub  [ %g1 + 4 ], %g2                         
 2010e6c:	c2 08 60 05 	ldub  [ %g1 + 5 ], %g1                         
                                                                      
  /*                                                                  
   * Need to check is the ino is an open file. If so we take the values from
   * the open file rather than the inode.                             
   */                                                                 
  shared = rtems_rfs_file_get_shared (fs, rtems_rfs_inode_ino (&inode));
 2010e70:	d2 07 bf e0 	ld  [ %fp + -32 ], %o1                         
 2010e74:	85 28 a0 18 	sll  %g2, 0x18, %g2                            
 2010e78:	83 28 60 10 	sll  %g1, 0x10, %g1                            
 2010e7c:	82 10 80 01 	or  %g2, %g1, %g1                              
 2010e80:	83 30 60 10 	srl  %g1, 0x10, %g1                            
 2010e84:	90 10 00 1d 	mov  %i5, %o0                                  
 2010e88:	40 00 29 ed 	call  201b63c <rtems_rfs_file_get_shared>      
 2010e8c:	c2 36 60 14 	sth  %g1, [ %i1 + 0x14 ]                       
                                                                      
  if (shared)                                                         
 2010e90:	92 92 20 00 	orcc  %o0, 0, %o1                              
 2010e94:	02 80 00 17 	be  2010ef0 <rtems_rfs_rtems_fstat+0x18c>      <== ALWAYS TAKEN
 2010e98:	c2 07 bf e4 	ld  [ %fp + -28 ], %g1                         
  {                                                                   
    buf->st_atime   = rtems_rfs_file_shared_get_atime (shared);       
 2010e9c:	c2 02 60 8c 	ld  [ %o1 + 0x8c ], %g1                        <== NOT EXECUTED
    buf->st_mtime   = rtems_rfs_file_shared_get_mtime (shared);       
    buf->st_ctime   = rtems_rfs_file_shared_get_ctime (shared);       
    buf->st_blocks  = rtems_rfs_file_shared_get_block_count (shared); 
                                                                      
    if (S_ISLNK (buf->st_mode))                                       
 2010ea0:	c4 06 60 0c 	ld  [ %i1 + 0xc ], %g2                         <== NOT EXECUTED
   */                                                                 
  shared = rtems_rfs_file_get_shared (fs, rtems_rfs_inode_ino (&inode));
                                                                      
  if (shared)                                                         
  {                                                                   
    buf->st_atime   = rtems_rfs_file_shared_get_atime (shared);       
 2010ea4:	c2 26 60 28 	st  %g1, [ %i1 + 0x28 ]                        <== NOT EXECUTED
    buf->st_mtime   = rtems_rfs_file_shared_get_mtime (shared);       
 2010ea8:	c2 02 60 90 	ld  [ %o1 + 0x90 ], %g1                        <== NOT EXECUTED
 2010eac:	c2 26 60 30 	st  %g1, [ %i1 + 0x30 ]                        <== NOT EXECUTED
    buf->st_ctime   = rtems_rfs_file_shared_get_ctime (shared);       
 2010eb0:	c2 02 60 94 	ld  [ %o1 + 0x94 ], %g1                        <== NOT EXECUTED
 2010eb4:	c2 26 60 38 	st  %g1, [ %i1 + 0x38 ]                        <== NOT EXECUTED
    buf->st_blocks  = rtems_rfs_file_shared_get_block_count (shared); 
 2010eb8:	c2 02 60 84 	ld  [ %o1 + 0x84 ], %g1                        <== NOT EXECUTED
 2010ebc:	c2 26 60 44 	st  %g1, [ %i1 + 0x44 ]                        <== NOT EXECUTED
                                                                      
    if (S_ISLNK (buf->st_mode))                                       
 2010ec0:	03 00 00 3c 	sethi  %hi(0xf000), %g1                        <== NOT EXECUTED
 2010ec4:	84 08 80 01 	and  %g2, %g1, %g2                             <== NOT EXECUTED
 2010ec8:	03 00 00 28 	sethi  %hi(0xa000), %g1                        <== NOT EXECUTED
 2010ecc:	80 a0 80 01 	cmp  %g2, %g1                                  <== NOT EXECUTED
 2010ed0:	32 80 00 04 	bne,a   2010ee0 <rtems_rfs_rtems_fstat+0x17c>  <== NOT EXECUTED
 2010ed4:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
      buf->st_size = rtems_rfs_file_shared_get_block_offset (shared); 
 2010ed8:	10 80 00 3d 	b  2010fcc <rtems_rfs_rtems_fstat+0x268>       <== NOT EXECUTED
 2010edc:	c2 12 60 8a 	lduh  [ %o1 + 0x8a ], %g1                      <== NOT EXECUTED
 */                                                                   
static inline rtems_rfs_pos                                           
rtems_rfs_file_shared_get_size (rtems_rfs_file_system* fs,            
                                rtems_rfs_file_shared* shared)        
{                                                                     
  return rtems_rfs_block_get_size (fs, &shared->size);                
 2010ee0:	40 00 1c ef 	call  201829c <rtems_rfs_block_get_size>       <== NOT EXECUTED
 2010ee4:	92 02 60 84 	add  %o1, 0x84, %o1                            <== NOT EXECUTED
    buf->st_blocks  = rtems_rfs_inode_get_block_count (&inode);       
                                                                      
    if (S_ISLNK (buf->st_mode))                                       
      buf->st_size = rtems_rfs_inode_get_block_offset (&inode);       
    else                                                              
      buf->st_size = rtems_rfs_inode_get_size (fs, &inode);           
 2010ee8:	10 80 00 3f 	b  2010fe4 <rtems_rfs_rtems_fstat+0x280>       <== NOT EXECUTED
 2010eec:	d0 3e 60 20 	std  %o0, [ %i1 + 0x20 ]                       <== NOT EXECUTED
 * @return rtems_rfs_time The atime.                                  
 */                                                                   
static inline rtems_rfs_time                                          
rtems_rfs_inode_get_atime (rtems_rfs_inode_handle* handle)            
{                                                                     
  return rtems_rfs_read_u32 (&handle->node->atime);                   
 2010ef0:	c6 08 60 10 	ldub  [ %g1 + 0x10 ], %g3                      
 2010ef4:	c4 08 60 11 	ldub  [ %g1 + 0x11 ], %g2                      
 2010ef8:	87 28 e0 18 	sll  %g3, 0x18, %g3                            
 2010efc:	85 28 a0 10 	sll  %g2, 0x10, %g2                            
 2010f00:	84 10 c0 02 	or  %g3, %g2, %g2                              
 2010f04:	c6 08 60 13 	ldub  [ %g1 + 0x13 ], %g3                      
 2010f08:	84 10 80 03 	or  %g2, %g3, %g2                              
 2010f0c:	c6 08 60 12 	ldub  [ %g1 + 0x12 ], %g3                      
 2010f10:	87 28 e0 08 	sll  %g3, 8, %g3                               
 2010f14:	84 10 80 03 	or  %g2, %g3, %g2                              
    else                                                              
      buf->st_size = rtems_rfs_file_shared_get_size (fs, shared);     
  }                                                                   
  else                                                                
  {                                                                   
    buf->st_atime   = rtems_rfs_inode_get_atime (&inode);             
 2010f18:	c4 26 60 28 	st  %g2, [ %i1 + 0x28 ]                        
 * @return rtems_rfs_time The mtime.                                  
 */                                                                   
static inline rtems_rfs_time                                          
rtems_rfs_inode_get_mtime (rtems_rfs_inode_handle* handle)            
{                                                                     
  return rtems_rfs_read_u32 (&handle->node->mtime);                   
 2010f1c:	c6 08 60 14 	ldub  [ %g1 + 0x14 ], %g3                      
 2010f20:	c4 08 60 15 	ldub  [ %g1 + 0x15 ], %g2                      
 2010f24:	87 28 e0 18 	sll  %g3, 0x18, %g3                            
 2010f28:	85 28 a0 10 	sll  %g2, 0x10, %g2                            
 2010f2c:	84 10 c0 02 	or  %g3, %g2, %g2                              
 2010f30:	c6 08 60 17 	ldub  [ %g1 + 0x17 ], %g3                      
 2010f34:	84 10 80 03 	or  %g2, %g3, %g2                              
 2010f38:	c6 08 60 16 	ldub  [ %g1 + 0x16 ], %g3                      
 2010f3c:	87 28 e0 08 	sll  %g3, 8, %g3                               
 2010f40:	84 10 80 03 	or  %g2, %g3, %g2                              
    buf->st_mtime   = rtems_rfs_inode_get_mtime (&inode);             
 2010f44:	c4 26 60 30 	st  %g2, [ %i1 + 0x30 ]                        
 * @return rtems_rfs_time The ctime.                                  
 */                                                                   
static inline rtems_rfs_time                                          
rtems_rfs_inode_get_ctime (rtems_rfs_inode_handle* handle)            
{                                                                     
  return rtems_rfs_read_u32 (&handle->node->ctime);                   
 2010f48:	c6 08 60 18 	ldub  [ %g1 + 0x18 ], %g3                      
 2010f4c:	c4 08 60 19 	ldub  [ %g1 + 0x19 ], %g2                      
 2010f50:	87 28 e0 18 	sll  %g3, 0x18, %g3                            
 2010f54:	85 28 a0 10 	sll  %g2, 0x10, %g2                            
 2010f58:	84 10 c0 02 	or  %g3, %g2, %g2                              
 2010f5c:	c6 08 60 1b 	ldub  [ %g1 + 0x1b ], %g3                      
 2010f60:	84 10 80 03 	or  %g2, %g3, %g2                              
 2010f64:	c6 08 60 1a 	ldub  [ %g1 + 0x1a ], %g3                      
 2010f68:	87 28 e0 08 	sll  %g3, 8, %g3                               
 2010f6c:	84 10 80 03 	or  %g2, %g3, %g2                              
    buf->st_ctime   = rtems_rfs_inode_get_ctime (&inode);             
 2010f70:	c4 26 60 38 	st  %g2, [ %i1 + 0x38 ]                        
 * @return uint32_t The block count.                                  
 */                                                                   
static inline uint32_t                                                
rtems_rfs_inode_get_block_count (rtems_rfs_inode_handle* handle)      
{                                                                     
  return rtems_rfs_read_u32 (&handle->node->block_count);             
 2010f74:	c6 08 60 0c 	ldub  [ %g1 + 0xc ], %g3                       
 2010f78:	c4 08 60 0d 	ldub  [ %g1 + 0xd ], %g2                       
 2010f7c:	87 28 e0 18 	sll  %g3, 0x18, %g3                            
 2010f80:	85 28 a0 10 	sll  %g2, 0x10, %g2                            
 2010f84:	84 10 c0 02 	or  %g3, %g2, %g2                              
 2010f88:	c6 08 60 0f 	ldub  [ %g1 + 0xf ], %g3                       
 2010f8c:	84 10 80 03 	or  %g2, %g3, %g2                              
 2010f90:	c6 08 60 0e 	ldub  [ %g1 + 0xe ], %g3                       
 2010f94:	87 28 e0 08 	sll  %g3, 8, %g3                               
 2010f98:	84 10 80 03 	or  %g2, %g3, %g2                              
    buf->st_blocks  = rtems_rfs_inode_get_block_count (&inode);       
                                                                      
    if (S_ISLNK (buf->st_mode))                                       
 2010f9c:	c6 06 60 0c 	ld  [ %i1 + 0xc ], %g3                         
  else                                                                
  {                                                                   
    buf->st_atime   = rtems_rfs_inode_get_atime (&inode);             
    buf->st_mtime   = rtems_rfs_inode_get_mtime (&inode);             
    buf->st_ctime   = rtems_rfs_inode_get_ctime (&inode);             
    buf->st_blocks  = rtems_rfs_inode_get_block_count (&inode);       
 2010fa0:	c4 26 60 44 	st  %g2, [ %i1 + 0x44 ]                        
                                                                      
    if (S_ISLNK (buf->st_mode))                                       
 2010fa4:	05 00 00 3c 	sethi  %hi(0xf000), %g2                        
 2010fa8:	86 08 c0 02 	and  %g3, %g2, %g3                             
 2010fac:	05 00 00 28 	sethi  %hi(0xa000), %g2                        
 2010fb0:	80 a0 c0 02 	cmp  %g3, %g2                                  
 2010fb4:	32 80 00 09 	bne,a   2010fd8 <rtems_rfs_rtems_fstat+0x274>  
 2010fb8:	90 10 00 1d 	mov  %i5, %o0                                  
 * @return uint32_t The block offset.                                 
 */                                                                   
static inline uint16_t                                                
rtems_rfs_inode_get_block_offset (rtems_rfs_inode_handle* handle)     
{                                                                     
  return rtems_rfs_read_u16 (&handle->node->block_offset);            
 2010fbc:	c4 08 60 0a 	ldub  [ %g1 + 0xa ], %g2                       
      buf->st_size = rtems_rfs_inode_get_block_offset (&inode);       
 2010fc0:	c2 08 60 0b 	ldub  [ %g1 + 0xb ], %g1                       
 2010fc4:	85 28 a0 08 	sll  %g2, 8, %g2                               
 2010fc8:	82 10 40 02 	or  %g1, %g2, %g1                              
 2010fcc:	c0 26 60 20 	clr  [ %i1 + 0x20 ]                            
 2010fd0:	10 80 00 05 	b  2010fe4 <rtems_rfs_rtems_fstat+0x280>       
 2010fd4:	c2 26 60 24 	st  %g1, [ %i1 + 0x24 ]                        
    else                                                              
      buf->st_size = rtems_rfs_inode_get_size (fs, &inode);           
 2010fd8:	7f ff fa f6 	call  200fbb0 <rtems_rfs_inode_get_size>       
 2010fdc:	92 07 bf d8 	add  %fp, -40, %o1                             
 2010fe0:	d0 3e 60 20 	std  %o0, [ %i1 + 0x20 ]                       
  }                                                                   
                                                                      
  buf->st_blksize = rtems_rfs_fs_block_size (fs);                     
 2010fe4:	c2 07 60 08 	ld  [ %i5 + 8 ], %g1                           
                                                                      
  rc = rtems_rfs_inode_close (fs, &inode);                            
 2010fe8:	90 10 00 1d 	mov  %i5, %o0                                  
      buf->st_size = rtems_rfs_inode_get_block_offset (&inode);       
    else                                                              
      buf->st_size = rtems_rfs_inode_get_size (fs, &inode);           
  }                                                                   
                                                                      
  buf->st_blksize = rtems_rfs_fs_block_size (fs);                     
 2010fec:	c2 26 60 40 	st  %g1, [ %i1 + 0x40 ]                        
                                                                      
  rc = rtems_rfs_inode_close (fs, &inode);                            
 2010ff0:	7f ff f9 4c 	call  200f520 <rtems_rfs_inode_close>          
 2010ff4:	92 07 bf d8 	add  %fp, -40, %o1                             
 2010ff8:	b8 10 00 08 	mov  %o0, %i4                                  
  if (rc > 0)                                                         
 2010ffc:	80 a7 20 00 	cmp  %i4, 0                                    
 2011000:	04 80 00 09 	ble  2011024 <rtems_rfs_rtems_fstat+0x2c0>     <== ALWAYS TAKEN
 2011004:	90 10 00 1d 	mov  %i5, %o0                                  
  {                                                                   
    rtems_rfs_rtems_unlock (fs);                                      
 2011008:	7f ff fb 3c 	call  200fcf8 <rtems_rfs_rtems_unlock>         <== NOT EXECUTED
 201100c:	b0 10 3f ff 	mov  -1, %i0                                   <== NOT EXECUTED
    return rtems_rfs_rtems_error ("stat: closing inode", rc);         
 2011010:	40 00 35 06 	call  201e428 <__errno>                        <== NOT EXECUTED
 2011014:	01 00 00 00 	nop                                            <== NOT EXECUTED
 2011018:	f8 22 00 00 	st  %i4, [ %o0 ]                               <== NOT EXECUTED
 201101c:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2011020:	81 e8 00 00 	restore                                        <== NOT EXECUTED
  }                                                                   
                                                                      
  rtems_rfs_rtems_unlock (fs);                                        
 2011024:	7f ff fb 35 	call  200fcf8 <rtems_rfs_rtems_unlock>         
 2011028:	b0 10 20 00 	clr  %i0                                       
  return 0;                                                           
}                                                                     
 201102c:	81 c7 e0 08 	ret                                            
 2011030:	81 e8 00 00 	restore                                        
                                                                      

0200fe38 <rtems_rfs_rtems_initialise>: */ int rtems_rfs_rtems_initialise (rtems_filesystem_mount_table_entry_t* mt_entry, const void* data) {
 200fe38:	9d e3 bf 98 	save  %sp, -104, %sp                           
  rtems_rfs_rtems_private* rtems;                                     
  rtems_rfs_file_system*   fs;                                        
  int                      rc;                                        
                                                                      
  rtems = malloc (sizeof (rtems_rfs_rtems_private));                  
 200fe3c:	7f ff d9 47 	call  2006358 <malloc>                         
 200fe40:	90 10 20 04 	mov  4, %o0                                    
  if (!rtems)                                                         
 200fe44:	ba 92 20 00 	orcc  %o0, 0, %i5                              
 200fe48:	12 80 00 08 	bne  200fe68 <rtems_rfs_rtems_initialise+0x30> <== ALWAYS TAKEN
 200fe4c:	01 00 00 00 	nop                                            
    return rtems_rfs_rtems_error ("initialise: local data", ENOMEM);  
 200fe50:	40 00 39 76 	call  201e428 <__errno>                        <== NOT EXECUTED
 200fe54:	b0 10 3f ff 	mov  -1, %i0	! ffffffff <RAM_END+0xfdbfffff>   <== NOT EXECUTED
 200fe58:	82 10 20 0c 	mov  0xc, %g1                                  <== NOT EXECUTED
 200fe5c:	c2 22 00 00 	st  %g1, [ %o0 ]                               <== NOT EXECUTED
 200fe60:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 200fe64:	81 e8 00 00 	restore                                        <== NOT EXECUTED
                                                                      
  memset (rtems, 0, sizeof (rtems_rfs_rtems_private));                
                                                                      
  rc = rtems_rfs_mutex_create (&rtems->access);                       
 200fe68:	40 00 33 71 	call  201cc2c <rtems_rfs_mutex_create>         
 200fe6c:	c0 27 40 00 	clr  [ %i5 ]                                   
  if (rc > 0)                                                         
 200fe70:	b8 92 20 00 	orcc  %o0, 0, %i4                              
 200fe74:	14 80 00 11 	bg  200feb8 <rtems_rfs_rtems_initialise+0x80>  <== NEVER TAKEN
 200fe78:	01 00 00 00 	nop                                            
  {                                                                   
    free (rtems);                                                     
    return rtems_rfs_rtems_error ("initialise: cannot create mutex", rc);
  }                                                                   
                                                                      
  rc = rtems_rfs_mutex_lock (&rtems->access);                         
 200fe7c:	7f ff ff d7 	call  200fdd8 <rtems_rfs_mutex_lock.isra.15>   
 200fe80:	d0 07 40 00 	ld  [ %i5 ], %o0                               
  if (rc > 0)                                                         
 200fe84:	b8 92 20 00 	orcc  %o0, 0, %i4                              
 200fe88:	24 80 00 05 	ble,a   200fe9c <rtems_rfs_rtems_initialise+0x64><== ALWAYS TAKEN
 200fe8c:	d0 06 20 70 	ld  [ %i0 + 0x70 ], %o0                        
  {                                                                   
    rtems_rfs_mutex_destroy (&rtems->access);                         
 200fe90:	40 00 33 82 	call  201cc98 <rtems_rfs_mutex_destroy>        <== NOT EXECUTED
 200fe94:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
 200fe98:	30 80 00 08 	b,a   200feb8 <rtems_rfs_rtems_initialise+0x80><== NOT EXECUTED
    free (rtems);                                                     
    return rtems_rfs_rtems_error ("initialise: cannot lock access  mutex", rc);
  }                                                                   
                                                                      
  rc = rtems_rfs_fs_open (mt_entry->dev, rtems, 0, &fs);              
 200fe9c:	92 10 00 1d 	mov  %i5, %o1                                  
 200fea0:	94 10 20 00 	clr  %o2                                       
 200fea4:	40 00 2e bd 	call  201b998 <rtems_rfs_fs_open>              
 200fea8:	96 07 bf fc 	add  %fp, -4, %o3                              
  if (rc)                                                             
 200feac:	b8 92 20 00 	orcc  %o0, 0, %i4                              
 200feb0:	02 80 00 09 	be  200fed4 <rtems_rfs_rtems_initialise+0x9c>  <== ALWAYS TAKEN
 200feb4:	82 10 20 01 	mov  1, %g1                                    
  {                                                                   
    free (rtems);                                                     
 200feb8:	7f ff d7 6d 	call  2005c6c <free>                           <== NOT EXECUTED
 200febc:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
    return rtems_rfs_rtems_error ("initialise: open", rc);            
 200fec0:	40 00 39 5a 	call  201e428 <__errno>                        <== NOT EXECUTED
 200fec4:	b0 10 3f ff 	mov  -1, %i0                                   <== NOT EXECUTED
 200fec8:	f8 22 00 00 	st  %i4, [ %o0 ]                               <== NOT EXECUTED
 200fecc:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 200fed0:	81 e8 00 00 	restore                                        <== NOT EXECUTED
  }                                                                   
                                                                      
  mt_entry->fs_info = fs;                                             
 200fed4:	d0 07 bf fc 	ld  [ %fp + -4 ], %o0                          
                                                                      
  mt_entry->mt_fs_root.node_access = (void*) RTEMS_RFS_ROOT_INO;      
 200fed8:	c2 26 20 1c 	st  %g1, [ %i0 + 0x1c ]                        
  mt_entry->mt_fs_root.handlers    = &rtems_rfs_rtems_dir_handlers;   
 200fedc:	03 00 80 c2 	sethi  %hi(0x2030800), %g1                     
 200fee0:	82 10 62 6c 	or  %g1, 0x26c, %g1	! 2030a6c <rtems_rfs_rtems_dir_handlers>
 200fee4:	c2 26 20 24 	st  %g1, [ %i0 + 0x24 ]                        
  mt_entry->mt_fs_root.ops         = &rtems_rfs_ops;                  
 200fee8:	03 00 80 ba 	sethi  %hi(0x202e800), %g1                     
 200feec:	82 10 61 b0 	or  %g1, 0x1b0, %g1	! 202e9b0 <rtems_rfs_ops>  
  {                                                                   
    free (rtems);                                                     
    return rtems_rfs_rtems_error ("initialise: open", rc);            
  }                                                                   
                                                                      
  mt_entry->fs_info = fs;                                             
 200fef0:	d0 26 20 34 	st  %o0, [ %i0 + 0x34 ]                        
                                                                      
  mt_entry->mt_fs_root.node_access = (void*) RTEMS_RFS_ROOT_INO;      
  mt_entry->mt_fs_root.handlers    = &rtems_rfs_rtems_dir_handlers;   
  mt_entry->mt_fs_root.ops         = &rtems_rfs_ops;                  
 200fef4:	c2 26 20 28 	st  %g1, [ %i0 + 0x28 ]                        
                                                                      
  rtems_rfs_rtems_unlock (fs);                                        
 200fef8:	7f ff ff 80 	call  200fcf8 <rtems_rfs_rtems_unlock>         
 200fefc:	b0 10 20 00 	clr  %i0                                       
                                                                      
  return 0;                                                           
}                                                                     
 200ff00:	81 c7 e0 08 	ret                                            
 200ff04:	81 e8 00 00 	restore                                        
                                                                      

02010050 <rtems_rfs_rtems_link>: */ static int rtems_rfs_rtems_link (rtems_filesystem_location_info_t* to_loc, rtems_filesystem_location_info_t* parent_loc, const char* name) {
 2010050:	9d e3 bf a0 	save  %sp, -96, %sp                            
  rtems_rfs_file_system* fs = rtems_rfs_rtems_pathloc_dev (to_loc);   
 2010054:	c2 06 20 10 	ld  [ %i0 + 0x10 ], %g1                        
  rtems_rfs_ino          target = rtems_rfs_rtems_get_pathloc_ino (to_loc);
 2010058:	f8 06 00 00 	ld  [ %i0 ], %i4                               
static int                                                            
rtems_rfs_rtems_link (rtems_filesystem_location_info_t* to_loc,       
                      rtems_filesystem_location_info_t* parent_loc,   
                      const char*                       name)         
{                                                                     
  rtems_rfs_file_system* fs = rtems_rfs_rtems_pathloc_dev (to_loc);   
 201005c:	fa 00 60 34 	ld  [ %g1 + 0x34 ], %i5                        
  rtems_rfs_ino          target = rtems_rfs_rtems_get_pathloc_ino (to_loc);
  rtems_rfs_ino          parent = rtems_rfs_rtems_get_pathloc_ino (parent_loc);
 2010060:	f6 06 40 00 	ld  [ %i1 ], %i3                               
                                                                      
  if (rtems_rfs_rtems_trace (RTEMS_RFS_RTEMS_DEBUG_LINK))             
    printf ("rtems-rfs-rtems: link: in: parent:%" PRId32 " target:%" PRId32 "\n",
            parent, target);                                          
                                                                      
  rtems_rfs_rtems_lock (fs);                                          
 2010064:	7f ff ff a9 	call  200ff08 <rtems_rfs_rtems_lock.isra.16>   
 2010068:	d0 07 60 7c 	ld  [ %i5 + 0x7c ], %o0                        
                                                                      
  rc = rtems_rfs_link (fs, name, strlen (name), parent, target, false);
 201006c:	40 00 3f 92 	call  201feb4 <strlen>                         
 2010070:	90 10 00 1a 	mov  %i2, %o0                                  
 2010074:	98 10 00 1c 	mov  %i4, %o4                                  
 2010078:	94 10 00 08 	mov  %o0, %o2                                  
 201007c:	92 10 00 1a 	mov  %i2, %o1                                  
 2010080:	90 10 00 1d 	mov  %i5, %o0                                  
 2010084:	96 10 00 1b 	mov  %i3, %o3                                  
 2010088:	40 00 30 70 	call  201c248 <rtems_rfs_link>                 
 201008c:	9a 10 20 00 	clr  %o5                                       
 2010090:	b8 10 00 08 	mov  %o0, %i4                                  
  if (rc)                                                             
 2010094:	80 a7 20 00 	cmp  %i4, 0                                    
 2010098:	02 80 00 09 	be  20100bc <rtems_rfs_rtems_link+0x6c>        <== ALWAYS TAKEN
 201009c:	90 10 00 1d 	mov  %i5, %o0                                  
  {                                                                   
    rtems_rfs_rtems_unlock (fs);                                      
 20100a0:	7f ff ff 16 	call  200fcf8 <rtems_rfs_rtems_unlock>         <== NOT EXECUTED
 20100a4:	b0 10 3f ff 	mov  -1, %i0                                   <== NOT EXECUTED
    return rtems_rfs_rtems_error ("link: linking", rc);               
 20100a8:	40 00 38 e0 	call  201e428 <__errno>                        <== NOT EXECUTED
 20100ac:	01 00 00 00 	nop                                            <== NOT EXECUTED
 20100b0:	f8 22 00 00 	st  %i4, [ %o0 ]                               <== NOT EXECUTED
 20100b4:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 20100b8:	81 e8 00 00 	restore                                        <== NOT EXECUTED
	}                                                                    
                                                                      
  rtems_rfs_rtems_unlock (fs);                                        
 20100bc:	7f ff ff 0f 	call  200fcf8 <rtems_rfs_rtems_unlock>         
 20100c0:	b0 10 20 00 	clr  %i0                                       
                                                                      
	return 0;                                                            
}                                                                     
 20100c4:	81 c7 e0 08 	ret                                            
 20100c8:	81 e8 00 00 	restore                                        
                                                                      

0201d380 <rtems_rfs_rtems_lock.isra.1>: /** * Lock the RFS file system. */ static inline void rtems_rfs_rtems_lock (rtems_rfs_file_system* fs)
 201d380:	9d e3 bf a0 	save  %sp, -96, %sp                            
 */                                                                   
static inline int                                                     
rtems_rfs_mutex_lock (rtems_rfs_mutex* mutex)                         
{                                                                     
#if __rtems__                                                         
  rtems_status_code sc = rtems_semaphore_obtain (*mutex, RTEMS_WAIT, 0);
 201d384:	d0 06 00 00 	ld  [ %i0 ], %o0                               
 201d388:	92 10 20 00 	clr  %o1                                       
 201d38c:	7f ff b3 06 	call  2009fa4 <rtems_semaphore_obtain>         
 201d390:	94 10 20 00 	clr  %o2                                       
  if (sc != RTEMS_SUCCESSFUL)                                         
 201d394:	ba 92 20 00 	orcc  %o0, 0, %i5                              
 201d398:	02 80 00 0e 	be  201d3d0 <rtems_rfs_rtems_lock.isra.1+0x50> <== ALWAYS TAKEN
 201d39c:	01 00 00 00 	nop                                            
  {                                                                   
#if RTEMS_RFS_TRACE                                                   
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_MUTEX))                      
 201d3a0:	90 10 20 00 	clr  %o0	! 0 <PROM_START>                      <== NOT EXECUTED
 201d3a4:	7f ff cf a5 	call  2011238 <rtems_rfs_trace>                <== NOT EXECUTED
 201d3a8:	92 10 20 04 	mov  4, %o1                                    <== NOT EXECUTED
 201d3ac:	80 8a 20 ff 	btst  0xff, %o0                                <== NOT EXECUTED
 201d3b0:	02 80 00 08 	be  201d3d0 <rtems_rfs_rtems_lock.isra.1+0x50> <== NOT EXECUTED
 201d3b4:	01 00 00 00 	nop                                            <== NOT EXECUTED
      printf ("rtems-rfs: mutex: obtain failed: %s\n",                
 201d3b8:	7f ff df 05 	call  2014fcc <rtems_status_text>              <== NOT EXECUTED
 201d3bc:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
 201d3c0:	31 00 80 ba 	sethi  %hi(0x202e800), %i0                     <== NOT EXECUTED
 201d3c4:	b2 10 00 08 	mov  %o0, %i1                                  <== NOT EXECUTED
 201d3c8:	40 00 07 80 	call  201f1c8 <printf>                         <== NOT EXECUTED
 201d3cc:	91 ee 21 88 	restore  %i0, 0x188, %o0                       <== NOT EXECUTED
 201d3d0:	81 c7 e0 08 	ret                                            
 201d3d4:	81 e8 00 00 	restore                                        
                                                                      

0201d084 <rtems_rfs_rtems_lock.isra.3>: /** * Lock the RFS file system. */ static inline void rtems_rfs_rtems_lock (rtems_rfs_file_system* fs)
 201d084:	9d e3 bf a0 	save  %sp, -96, %sp                            
 */                                                                   
static inline int                                                     
rtems_rfs_mutex_lock (rtems_rfs_mutex* mutex)                         
{                                                                     
#if __rtems__                                                         
  rtems_status_code sc = rtems_semaphore_obtain (*mutex, RTEMS_WAIT, 0);
 201d088:	d0 06 00 00 	ld  [ %i0 ], %o0                               
 201d08c:	92 10 20 00 	clr  %o1                                       
 201d090:	7f ff b3 c5 	call  2009fa4 <rtems_semaphore_obtain>         
 201d094:	94 10 20 00 	clr  %o2                                       
  if (sc != RTEMS_SUCCESSFUL)                                         
 201d098:	ba 92 20 00 	orcc  %o0, 0, %i5                              
 201d09c:	02 80 00 0e 	be  201d0d4 <rtems_rfs_rtems_lock.isra.3+0x50> <== ALWAYS TAKEN
 201d0a0:	01 00 00 00 	nop                                            
  {                                                                   
#if RTEMS_RFS_TRACE                                                   
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_MUTEX))                      
 201d0a4:	90 10 20 00 	clr  %o0	! 0 <PROM_START>                      <== NOT EXECUTED
 201d0a8:	7f ff d0 64 	call  2011238 <rtems_rfs_trace>                <== NOT EXECUTED
 201d0ac:	92 10 20 04 	mov  4, %o1                                    <== NOT EXECUTED
 201d0b0:	80 8a 20 ff 	btst  0xff, %o0                                <== NOT EXECUTED
 201d0b4:	02 80 00 08 	be  201d0d4 <rtems_rfs_rtems_lock.isra.3+0x50> <== NOT EXECUTED
 201d0b8:	01 00 00 00 	nop                                            <== NOT EXECUTED
      printf ("rtems-rfs: mutex: obtain failed: %s\n",                
 201d0bc:	7f ff df c4 	call  2014fcc <rtems_status_text>              <== NOT EXECUTED
 201d0c0:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
 201d0c4:	31 00 80 ba 	sethi  %hi(0x202e800), %i0                     <== NOT EXECUTED
 201d0c8:	b2 10 00 08 	mov  %o0, %i1                                  <== NOT EXECUTED
 201d0cc:	40 00 08 3f 	call  201f1c8 <printf>                         <== NOT EXECUTED
 201d0d0:	91 ee 21 88 	restore  %i0, 0x188, %o0                       <== NOT EXECUTED
 201d0d4:	81 c7 e0 08 	ret                                            
 201d0d8:	81 e8 00 00 	restore                                        
                                                                      

020104c4 <rtems_rfs_rtems_mknod>: static int rtems_rfs_rtems_mknod (const char *name, mode_t mode, dev_t dev, rtems_filesystem_location_info_t *pathloc) {
 20104c4:	9d e3 bf 60 	save  %sp, -160, %sp                           
  rtems_rfs_file_system*  fs = rtems_rfs_rtems_pathloc_dev (pathloc); 
 20104c8:	c2 07 20 10 	ld  [ %i4 + 0x10 ], %g1                        
  rtems_rfs_ino           parent = rtems_rfs_rtems_get_pathloc_ino (pathloc);
 20104cc:	e0 07 00 00 	ld  [ %i4 ], %l0                               
rtems_rfs_rtems_mknod (const char                       *name,        
                       mode_t                            mode,        
                       dev_t                             dev,         
                       rtems_filesystem_location_info_t *pathloc)     
{                                                                     
  rtems_rfs_file_system*  fs = rtems_rfs_rtems_pathloc_dev (pathloc); 
 20104d0:	fa 00 60 34 	ld  [ %g1 + 0x34 ], %i5                        
#else                                                                 
  uid = 0;                                                            
  gid = 0;                                                            
#endif                                                                
                                                                      
  rtems_rfs_rtems_lock (fs);                                          
 20104d4:	7f ff fe 8d 	call  200ff08 <rtems_rfs_rtems_lock.isra.16>   
 20104d8:	d0 07 60 7c 	ld  [ %i5 + 0x7c ], %o0                        
                                                                      
  rc = rtems_rfs_inode_create (fs, parent, name, strlen (name),       
 20104dc:	40 00 3e 76 	call  201feb4 <strlen>                         
 20104e0:	90 10 00 18 	mov  %i0, %o0                                  
 20104e4:	b8 10 00 08 	mov  %o0, %i4                                  
 20104e8:	40 00 03 4f 	call  2011224 <rtems_rfs_rtems_imode>          
 20104ec:	90 10 00 19 	mov  %i1, %o0                                  
 20104f0:	82 07 bf fc 	add  %fp, -4, %g1                              
 20104f4:	99 2a 20 10 	sll  %o0, 0x10, %o4                            
 20104f8:	96 10 00 1c 	mov  %i4, %o3                                  
 20104fc:	c0 23 a0 5c 	clr  [ %sp + 0x5c ]                            
 2010500:	c0 23 a0 60 	clr  [ %sp + 0x60 ]                            
 2010504:	c2 23 a0 64 	st  %g1, [ %sp + 0x64 ]                        
 2010508:	90 10 00 1d 	mov  %i5, %o0                                  
 201050c:	92 10 00 10 	mov  %l0, %o1                                  
 2010510:	94 10 00 18 	mov  %i0, %o2                                  
 2010514:	99 33 20 10 	srl  %o4, 0x10, %o4                            
 2010518:	7f ff fc d8 	call  200f878 <rtems_rfs_inode_create>         
 201051c:	9a 10 20 01 	mov  1, %o5                                    
 2010520:	b8 10 00 08 	mov  %o0, %i4                                  
                               rtems_rfs_rtems_imode (mode),          
                               1, uid, gid, &ino);                    
  if (rc > 0)                                                         
 2010524:	80 a7 20 00 	cmp  %i4, 0                                    
 2010528:	14 80 00 32 	bg  20105f0 <rtems_rfs_rtems_mknod+0x12c>      <== NEVER TAKEN
 201052c:	90 10 00 1d 	mov  %i5, %o0                                  
  {                                                                   
    rtems_rfs_rtems_unlock (fs);                                      
    return rtems_rfs_rtems_error ("mknod: inode create", rc);         
  }                                                                   
                                                                      
  rc = rtems_rfs_inode_open (fs, ino, &inode, true);                  
 2010530:	d2 07 bf fc 	ld  [ %fp + -4 ], %o1                          
 2010534:	94 07 bf d4 	add  %fp, -44, %o2                             
 2010538:	7f ff fb 88 	call  200f358 <rtems_rfs_inode_open>           
 201053c:	96 10 20 01 	mov  1, %o3                                    
  if (rc > 0)                                                         
 2010540:	b8 92 20 00 	orcc  %o0, 0, %i4                              
 2010544:	14 80 00 2b 	bg  20105f0 <rtems_rfs_rtems_mknod+0x12c>      <== NEVER TAKEN
 2010548:	90 10 00 1d 	mov  %i5, %o0                                  
  {                                                                   
    rtems_rfs_rtems_unlock (fs);                                      
    return rtems_rfs_rtems_error ("mknod: inode open", rc);           
  }                                                                   
                                                                      
  if (S_ISDIR(mode) || S_ISREG(mode))                                 
 201054c:	03 00 00 3c 	sethi  %hi(0xf000), %g1                        
 2010550:	b2 0e 40 01 	and  %i1, %g1, %i1                             
 2010554:	03 00 00 20 	sethi  %hi(0x8000), %g1                        
 2010558:	80 a6 40 01 	cmp  %i1, %g1                                  
 201055c:	02 80 00 1f 	be  20105d8 <rtems_rfs_rtems_mknod+0x114>      
 2010560:	03 00 00 10 	sethi  %hi(0x4000), %g1                        
 2010564:	80 a6 40 01 	cmp  %i1, %g1                                  
 2010568:	02 80 00 1c 	be  20105d8 <rtems_rfs_rtems_mknod+0x114>      <== ALWAYS TAKEN
 201056c:	03 00 00 18 	sethi  %hi(0x6000), %g1                        
  {                                                                   
  }                                                                   
  else if (S_ISCHR (mode) || S_ISBLK (mode))                          
 2010570:	80 a6 40 01 	cmp  %i1, %g1                                  <== NOT EXECUTED
 2010574:	02 80 00 06 	be  201058c <rtems_rfs_rtems_mknod+0xc8>       <== NOT EXECUTED
 2010578:	90 07 bf d4 	add  %fp, -44, %o0                             <== NOT EXECUTED
 201057c:	03 00 00 08 	sethi  %hi(0x2000), %g1                        <== NOT EXECUTED
 2010580:	80 a6 40 01 	cmp  %i1, %g1                                  <== NOT EXECUTED
 2010584:	12 80 00 0b 	bne  20105b0 <rtems_rfs_rtems_mknod+0xec>      <== NOT EXECUTED
 2010588:	92 07 bf d4 	add  %fp, -44, %o1                             <== NOT EXECUTED
  {                                                                   
    int major;                                                        
    int minor;                                                        
    rtems_filesystem_split_dev_t (dev, major, minor);                 
    rtems_rfs_inode_set_block (&inode, 0, major);                     
 201058c:	94 10 00 1a 	mov  %i2, %o2                                  <== NOT EXECUTED
 2010590:	7f ff fd a0 	call  200fc10 <rtems_rfs_inode_set_block>      <== NOT EXECUTED
 2010594:	92 10 20 00 	clr  %o1                                       <== NOT EXECUTED
    rtems_rfs_inode_set_block (&inode, 1, minor);                     
 2010598:	90 07 bf d4 	add  %fp, -44, %o0                             <== NOT EXECUTED
 201059c:	92 10 20 01 	mov  1, %o1                                    <== NOT EXECUTED
 20105a0:	7f ff fd 9c 	call  200fc10 <rtems_rfs_inode_set_block>      <== NOT EXECUTED
 20105a4:	94 10 00 1b 	mov  %i3, %o2                                  <== NOT EXECUTED
    rtems_rfs_inode_close (fs, &inode);                               
    rtems_rfs_rtems_unlock (fs);                                      
    return rtems_rfs_rtems_error ("mknod: bad mode", EINVAL);         
  }                                                                   
                                                                      
  rc = rtems_rfs_inode_close (fs, &inode);                            
 20105a8:	10 80 00 0c 	b  20105d8 <rtems_rfs_rtems_mknod+0x114>       <== NOT EXECUTED
 20105ac:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
    rtems_rfs_inode_set_block (&inode, 0, major);                     
    rtems_rfs_inode_set_block (&inode, 1, minor);                     
  }                                                                   
  else                                                                
  {                                                                   
    rtems_rfs_inode_close (fs, &inode);                               
 20105b0:	7f ff fb dc 	call  200f520 <rtems_rfs_inode_close>          <== NOT EXECUTED
 20105b4:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
    rtems_rfs_rtems_unlock (fs);                                      
 20105b8:	7f ff fd d0 	call  200fcf8 <rtems_rfs_rtems_unlock>         <== NOT EXECUTED
 20105bc:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
    return rtems_rfs_rtems_error ("mknod: bad mode", EINVAL);         
 20105c0:	40 00 37 9a 	call  201e428 <__errno>                        <== NOT EXECUTED
 20105c4:	b0 10 3f ff 	mov  -1, %i0                                   <== NOT EXECUTED
 20105c8:	82 10 20 16 	mov  0x16, %g1                                 <== NOT EXECUTED
 20105cc:	c2 22 00 00 	st  %g1, [ %o0 ]                               <== NOT EXECUTED
 20105d0:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 20105d4:	81 e8 00 00 	restore                                        <== NOT EXECUTED
  }                                                                   
                                                                      
  rc = rtems_rfs_inode_close (fs, &inode);                            
 20105d8:	7f ff fb d2 	call  200f520 <rtems_rfs_inode_close>          
 20105dc:	92 07 bf d4 	add  %fp, -44, %o1                             
 20105e0:	b8 10 00 08 	mov  %o0, %i4                                  
  if (rc > 0)                                                         
 20105e4:	80 a7 20 00 	cmp  %i4, 0                                    
 20105e8:	04 80 00 09 	ble  201060c <rtems_rfs_rtems_mknod+0x148>     <== ALWAYS TAKEN
 20105ec:	90 10 00 1d 	mov  %i5, %o0                                  
  {                                                                   
    rtems_rfs_rtems_unlock (fs);                                      
 20105f0:	7f ff fd c2 	call  200fcf8 <rtems_rfs_rtems_unlock>         <== NOT EXECUTED
 20105f4:	b0 10 3f ff 	mov  -1, %i0                                   <== NOT EXECUTED
    return rtems_rfs_rtems_error ("mknod: closing inode", rc);        
 20105f8:	40 00 37 8c 	call  201e428 <__errno>                        <== NOT EXECUTED
 20105fc:	01 00 00 00 	nop                                            <== NOT EXECUTED
 2010600:	f8 22 00 00 	st  %i4, [ %o0 ]                               <== NOT EXECUTED
 2010604:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2010608:	81 e8 00 00 	restore                                        <== NOT EXECUTED
  }                                                                   
                                                                      
  rtems_rfs_rtems_unlock (fs);                                        
 201060c:	7f ff fd bb 	call  200fcf8 <rtems_rfs_rtems_unlock>         
 2010610:	b0 10 20 00 	clr  %i0                                       
  return 0;                                                           
}                                                                     
 2010614:	81 c7 e0 08 	ret                                            
 2010618:	81 e8 00 00 	restore                                        
                                                                      

020103ec <rtems_rfs_rtems_node_type>: * @return rtems_filesystem_node_types_t */ static rtems_filesystem_node_types_t rtems_rfs_rtems_node_type (rtems_filesystem_location_info_t* pathloc) {
 20103ec:	9d e3 bf 78 	save  %sp, -136, %sp                           
  rtems_rfs_file_system*        fs = rtems_rfs_rtems_pathloc_dev (pathloc);
 20103f0:	c2 06 20 10 	ld  [ %i0 + 0x10 ], %g1                        
  rtems_rfs_ino                 ino = rtems_rfs_rtems_get_pathloc_ino (pathloc);
 20103f4:	f8 06 00 00 	ld  [ %i0 ], %i4                               
 */                                                                   
                                                                      
static rtems_filesystem_node_types_t                                  
rtems_rfs_rtems_node_type (rtems_filesystem_location_info_t* pathloc) 
{                                                                     
  rtems_rfs_file_system*        fs = rtems_rfs_rtems_pathloc_dev (pathloc);
 20103f8:	fa 00 60 34 	ld  [ %g1 + 0x34 ], %i5                        
  rtems_filesystem_node_types_t type;                                 
  rtems_rfs_inode_handle        inode;                                
  uint16_t                      mode;                                 
  int                           rc;                                   
                                                                      
  rtems_rfs_rtems_lock (fs);                                          
 20103fc:	7f ff fe c3 	call  200ff08 <rtems_rfs_rtems_lock.isra.16>   
 2010400:	d0 07 60 7c 	ld  [ %i5 + 0x7c ], %o0                        
                                                                      
  rc = rtems_rfs_inode_open (fs, ino, &inode, true);                  
 2010404:	92 10 00 1c 	mov  %i4, %o1                                  
 2010408:	90 10 00 1d 	mov  %i5, %o0                                  
 201040c:	94 07 bf d8 	add  %fp, -40, %o2                             
 2010410:	7f ff fb d2 	call  200f358 <rtems_rfs_inode_open>           
 2010414:	96 10 20 01 	mov  1, %o3                                    
  if (rc > 0)                                                         
 2010418:	b8 92 20 00 	orcc  %o0, 0, %i4                              
 201041c:	14 80 00 1f 	bg  2010498 <rtems_rfs_rtems_node_type+0xac>   <== NEVER TAKEN
 2010420:	90 10 00 1d 	mov  %i5, %o0                                  
   * system. All directory entries are links to an inode. A link such as a HARD
   * link is actually the normal path to a regular file, directory, device
   * etc's inode. Links to inodes can be considered "the real" one, yet they
   * are all links.                                                   
   */                                                                 
  mode = rtems_rfs_inode_get_mode (&inode);                           
 2010424:	c2 07 bf e4 	ld  [ %fp + -28 ], %g1                         
  if (RTEMS_RFS_S_ISDIR (mode))                                       
 2010428:	05 00 00 3c 	sethi  %hi(0xf000), %g2                        
 * @return uint16_t The mode.                                         
 */                                                                   
static inline uint16_t                                                
rtems_rfs_inode_get_mode (rtems_rfs_inode_handle* handle)             
{                                                                     
  return rtems_rfs_read_u16 (&handle->node->mode);                    
 201042c:	c2 08 60 02 	ldub  [ %g1 + 2 ], %g1                         
 2010430:	83 28 60 08 	sll  %g1, 8, %g1                               
 2010434:	82 08 40 02 	and  %g1, %g2, %g1                             
 2010438:	05 00 00 10 	sethi  %hi(0x4000), %g2                        
 201043c:	80 a0 40 02 	cmp  %g1, %g2                                  
 2010440:	02 80 00 10 	be  2010480 <rtems_rfs_rtems_node_type+0x94>   
 2010444:	b0 10 20 01 	mov  1, %i0                                    
    type = RTEMS_FILESYSTEM_DIRECTORY;                                
  else if (RTEMS_RFS_S_ISLNK (mode))                                  
 2010448:	05 00 00 28 	sethi  %hi(0xa000), %g2                        
 201044c:	80 a0 40 02 	cmp  %g1, %g2                                  
 2010450:	02 80 00 0c 	be  2010480 <rtems_rfs_rtems_node_type+0x94>   
 2010454:	b0 10 20 04 	mov  4, %i0                                    
    type = RTEMS_FILESYSTEM_SYM_LINK;                                 
  else if (RTEMS_RFS_S_ISBLK (mode) || RTEMS_RFS_S_ISCHR (mode))      
 2010458:	05 00 00 08 	sethi  %hi(0x2000), %g2                        
 201045c:	80 a0 40 02 	cmp  %g1, %g2                                  
 2010460:	02 80 00 08 	be  2010480 <rtems_rfs_rtems_node_type+0x94>   <== NEVER TAKEN
 2010464:	b0 10 20 02 	mov  2, %i0                                    
 2010468:	05 00 00 18 	sethi  %hi(0x6000), %g2                        
 201046c:	80 a0 40 02 	cmp  %g1, %g2                                  
 2010470:	12 80 00 04 	bne  2010480 <rtems_rfs_rtems_node_type+0x94>  <== ALWAYS TAKEN
 2010474:	b0 10 20 05 	mov  5, %i0                                    
    type = RTEMS_FILESYSTEM_DEVICE;                                   
 2010478:	b0 10 20 02 	mov  2, %i0                                    <== NOT EXECUTED
  else                                                                
    type = RTEMS_FILESYSTEM_MEMORY_FILE;                              
                                                                      
  rc = rtems_rfs_inode_close (fs, &inode);                            
 201047c:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
 2010480:	7f ff fc 28 	call  200f520 <rtems_rfs_inode_close>          
 2010484:	92 07 bf d8 	add  %fp, -40, %o1                             
 2010488:	b8 10 00 08 	mov  %o0, %i4                                  
  if (rc > 0)                                                         
 201048c:	80 a7 20 00 	cmp  %i4, 0                                    
 2010490:	04 80 00 09 	ble  20104b4 <rtems_rfs_rtems_node_type+0xc8>  <== ALWAYS TAKEN
 2010494:	90 10 00 1d 	mov  %i5, %o0                                  
  {                                                                   
    rtems_rfs_rtems_unlock (fs);                                      
 2010498:	7f ff fe 18 	call  200fcf8 <rtems_rfs_rtems_unlock>         <== NOT EXECUTED
 201049c:	b0 10 3f ff 	mov  -1, %i0                                   <== NOT EXECUTED
    return rtems_rfs_rtems_error ("node_type: closing inode", rc);    
 20104a0:	40 00 37 e2 	call  201e428 <__errno>                        <== NOT EXECUTED
 20104a4:	01 00 00 00 	nop                                            <== NOT EXECUTED
 20104a8:	f8 22 00 00 	st  %i4, [ %o0 ]                               <== NOT EXECUTED
 20104ac:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 20104b0:	81 e8 00 00 	restore                                        <== NOT EXECUTED
  }                                                                   
                                                                      
  rtems_rfs_rtems_unlock (fs);                                        
 20104b4:	7f ff fe 11 	call  200fcf8 <rtems_rfs_rtems_unlock>         
 20104b8:	01 00 00 00 	nop                                            
                                                                      
  return type;                                                        
}                                                                     
 20104bc:	81 c7 e0 08 	ret                                            
 20104c0:	81 e8 00 00 	restore                                        
                                                                      

0200ff18 <rtems_rfs_rtems_rename>: static int rtems_rfs_rtems_rename(rtems_filesystem_location_info_t* old_parent_loc, rtems_filesystem_location_info_t* old_loc, rtems_filesystem_location_info_t* new_parent_loc, const char* new_name) {
 200ff18:	9d e3 bf a0 	save  %sp, -96, %sp                            <== NOT EXECUTED
  rtems_rfs_file_system*  fs = rtems_rfs_rtems_pathloc_dev (old_loc); 
 200ff1c:	c2 06 60 10 	ld  [ %i1 + 0x10 ], %g1                        <== NOT EXECUTED
  rtems_rfs_ino           new_parent;                                 
  rtems_rfs_ino           ino;                                        
  uint32_t                doff;                                       
  int                     rc;                                         
                                                                      
  old_parent = rtems_rfs_rtems_get_pathloc_ino (old_parent_loc);      
 200ff20:	f8 06 00 00 	ld  [ %i0 ], %i4                               <== NOT EXECUTED
rtems_rfs_rtems_rename(rtems_filesystem_location_info_t* old_parent_loc,
                       rtems_filesystem_location_info_t* old_loc,     
                       rtems_filesystem_location_info_t* new_parent_loc,
                       const char*                       new_name)    
{                                                                     
  rtems_rfs_file_system*  fs = rtems_rfs_rtems_pathloc_dev (old_loc); 
 200ff24:	fa 00 60 34 	ld  [ %g1 + 0x34 ], %i5                        <== NOT EXECUTED
  rtems_rfs_ino           ino;                                        
  uint32_t                doff;                                       
  int                     rc;                                         
                                                                      
  old_parent = rtems_rfs_rtems_get_pathloc_ino (old_parent_loc);      
  new_parent = rtems_rfs_rtems_get_pathloc_ino (new_parent_loc);      
 200ff28:	f0 06 80 00 	ld  [ %i2 ], %i0                               <== NOT EXECUTED
                                                                      
  if (rtems_rfs_rtems_trace (RTEMS_RFS_RTEMS_DEBUG_RENAME))           
    printf ("rtems-rfs: rename: ino:%" PRId32 " doff:%" PRIu32 ", new parent:%" PRId32 " new name:%s\n",
            ino, doff, new_parent, new_name);                         
                                                                      
  rtems_rfs_rtems_lock (fs);                                          
 200ff2c:	d0 07 60 7c 	ld  [ %i5 + 0x7c ], %o0                        <== NOT EXECUTED
  int                     rc;                                         
                                                                      
  old_parent = rtems_rfs_rtems_get_pathloc_ino (old_parent_loc);      
  new_parent = rtems_rfs_rtems_get_pathloc_ino (new_parent_loc);      
                                                                      
  ino  = rtems_rfs_rtems_get_pathloc_ino (old_loc);                   
 200ff30:	f4 06 40 00 	ld  [ %i1 ], %i2                               <== NOT EXECUTED
                                                                      
  if (rtems_rfs_rtems_trace (RTEMS_RFS_RTEMS_DEBUG_RENAME))           
    printf ("rtems-rfs: rename: ino:%" PRId32 " doff:%" PRIu32 ", new parent:%" PRId32 " new name:%s\n",
            ino, doff, new_parent, new_name);                         
                                                                      
  rtems_rfs_rtems_lock (fs);                                          
 200ff34:	7f ff ff f5 	call  200ff08 <rtems_rfs_rtems_lock.isra.16>   <== NOT EXECUTED
 200ff38:	f2 06 60 04 	ld  [ %i1 + 4 ], %i1                           <== NOT EXECUTED
                                                                      
  /*                                                                  
   * Link to the inode before unlinking so the inode is not erased when
   * unlinked.                                                        
   */                                                                 
  rc = rtems_rfs_link (fs, new_name, strlen (new_name), new_parent, ino, true);
 200ff3c:	40 00 3f de 	call  201feb4 <strlen>                         <== NOT EXECUTED
 200ff40:	90 10 00 1b 	mov  %i3, %o0                                  <== NOT EXECUTED
 200ff44:	92 10 00 1b 	mov  %i3, %o1                                  <== NOT EXECUTED
 200ff48:	94 10 00 08 	mov  %o0, %o2                                  <== NOT EXECUTED
 200ff4c:	96 10 00 18 	mov  %i0, %o3                                  <== NOT EXECUTED
 200ff50:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
 200ff54:	98 10 00 1a 	mov  %i2, %o4                                  <== NOT EXECUTED
 200ff58:	40 00 30 bc 	call  201c248 <rtems_rfs_link>                 <== NOT EXECUTED
 200ff5c:	9a 10 20 01 	mov  1, %o5                                    <== NOT EXECUTED
 200ff60:	b6 10 00 08 	mov  %o0, %i3                                  <== NOT EXECUTED
  if (rc)                                                             
 200ff64:	80 a6 e0 00 	cmp  %i3, 0                                    <== NOT EXECUTED
 200ff68:	02 80 00 09 	be  200ff8c <rtems_rfs_rtems_rename+0x74>      <== NOT EXECUTED
 200ff6c:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
  {                                                                   
    rtems_rfs_rtems_unlock (fs);                                      
 200ff70:	7f ff ff 62 	call  200fcf8 <rtems_rfs_rtems_unlock>         <== NOT EXECUTED
 200ff74:	b0 10 3f ff 	mov  -1, %i0                                   <== NOT EXECUTED
    return rtems_rfs_rtems_error ("rename: linking", rc);             
 200ff78:	40 00 39 2c 	call  201e428 <__errno>                        <== NOT EXECUTED
 200ff7c:	01 00 00 00 	nop                                            <== NOT EXECUTED
 200ff80:	f6 22 00 00 	st  %i3, [ %o0 ]                               <== NOT EXECUTED
 200ff84:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 200ff88:	81 e8 00 00 	restore                                        <== NOT EXECUTED
                                                                      
  /*                                                                  
   * Unlink all inodes even directories with the dir option as false because a
   * directory may not be empty.                                      
   */                                                                 
  rc = rtems_rfs_unlink (fs, old_parent, ino, doff,                   
 200ff8c:	92 10 00 1c 	mov  %i4, %o1                                  <== NOT EXECUTED
 200ff90:	94 10 00 1a 	mov  %i2, %o2                                  <== NOT EXECUTED
 200ff94:	96 10 00 19 	mov  %i1, %o3                                  <== NOT EXECUTED
 200ff98:	40 00 31 1c 	call  201c408 <rtems_rfs_unlink>               <== NOT EXECUTED
 200ff9c:	98 10 20 02 	mov  2, %o4                                    <== NOT EXECUTED
 200ffa0:	b8 10 00 08 	mov  %o0, %i4                                  <== NOT EXECUTED
                         rtems_rfs_unlink_dir_allowed);               
  if (rc)                                                             
 200ffa4:	80 a7 20 00 	cmp  %i4, 0                                    <== NOT EXECUTED
 200ffa8:	02 80 00 09 	be  200ffcc <rtems_rfs_rtems_rename+0xb4>      <== NOT EXECUTED
 200ffac:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
  {                                                                   
    rtems_rfs_rtems_unlock (fs);                                      
 200ffb0:	7f ff ff 52 	call  200fcf8 <rtems_rfs_rtems_unlock>         <== NOT EXECUTED
 200ffb4:	b0 10 3f ff 	mov  -1, %i0                                   <== NOT EXECUTED
    return rtems_rfs_rtems_error ("rename: unlinking", rc);           
 200ffb8:	40 00 39 1c 	call  201e428 <__errno>                        <== NOT EXECUTED
 200ffbc:	01 00 00 00 	nop                                            <== NOT EXECUTED
 200ffc0:	f8 22 00 00 	st  %i4, [ %o0 ]                               <== NOT EXECUTED
 200ffc4:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 200ffc8:	81 e8 00 00 	restore                                        <== NOT EXECUTED
  }                                                                   
                                                                      
  rtems_rfs_rtems_unlock (fs);                                        
 200ffcc:	7f ff ff 4b 	call  200fcf8 <rtems_rfs_rtems_unlock>         <== NOT EXECUTED
 200ffd0:	b0 10 20 00 	clr  %i0                                       <== NOT EXECUTED
                                                                      
  return 0;                                                           
}                                                                     
 200ffd4:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 200ffd8:	81 e8 00 00 	restore                                        <== NOT EXECUTED
                                                                      

020100cc <rtems_rfs_rtems_rmnod>: * @return int */ int rtems_rfs_rtems_rmnod (rtems_filesystem_location_info_t* parent_pathloc, rtems_filesystem_location_info_t* pathloc) {
 20100cc:	9d e3 bf a0 	save  %sp, -96, %sp                            <== NOT EXECUTED
  rtems_rfs_file_system* fs = rtems_rfs_rtems_pathloc_dev (pathloc);  
 20100d0:	c2 06 60 10 	ld  [ %i1 + 0x10 ], %g1                        <== NOT EXECUTED
  rtems_rfs_ino          parent = rtems_rfs_rtems_get_pathloc_ino (parent_pathloc);
  rtems_rfs_ino          ino = rtems_rfs_rtems_get_pathloc_ino (pathloc);
  uint32_t               doff = rtems_rfs_rtems_get_pathloc_doff (pathloc);
 20100d4:	f8 06 60 04 	ld  [ %i1 + 4 ], %i4                           <== NOT EXECUTED
 */                                                                   
int                                                                   
rtems_rfs_rtems_rmnod (rtems_filesystem_location_info_t* parent_pathloc,
                       rtems_filesystem_location_info_t* pathloc)     
{                                                                     
  rtems_rfs_file_system* fs = rtems_rfs_rtems_pathloc_dev (pathloc);  
 20100d8:	fa 00 60 34 	ld  [ %g1 + 0x34 ], %i5                        <== NOT EXECUTED
  rtems_rfs_ino          parent = rtems_rfs_rtems_get_pathloc_ino (parent_pathloc);
 20100dc:	f4 06 00 00 	ld  [ %i0 ], %i2                               <== NOT EXECUTED
                                                                      
  if (rtems_rfs_rtems_trace (RTEMS_RFS_RTEMS_DEBUG_RMNOD))            
    printf ("rtems-rfs: rmnod: parent:%" PRId32 " doff:%" PRIu32 ", ino:%" PRId32 "\n",
            parent, doff, ino);                                       
                                                                      
  rtems_rfs_rtems_lock (fs);                                          
 20100e0:	d0 07 60 7c 	ld  [ %i5 + 0x7c ], %o0                        <== NOT EXECUTED
 20100e4:	7f ff ff 89 	call  200ff08 <rtems_rfs_rtems_lock.isra.16>   <== NOT EXECUTED
 20100e8:	f6 06 40 00 	ld  [ %i1 ], %i3                               <== NOT EXECUTED
                                                                      
  rc = rtems_rfs_unlink (fs, parent, ino, doff, rtems_rfs_unlink_dir_denied);
 20100ec:	96 10 00 1c 	mov  %i4, %o3                                  <== NOT EXECUTED
 20100f0:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
 20100f4:	92 10 00 1a 	mov  %i2, %o1                                  <== NOT EXECUTED
 20100f8:	94 10 00 1b 	mov  %i3, %o2                                  <== NOT EXECUTED
 20100fc:	40 00 30 c3 	call  201c408 <rtems_rfs_unlink>               <== NOT EXECUTED
 2010100:	98 10 20 00 	clr  %o4                                       <== NOT EXECUTED
 2010104:	b8 10 00 08 	mov  %o0, %i4                                  <== NOT EXECUTED
  if (rc)                                                             
 2010108:	80 a7 20 00 	cmp  %i4, 0                                    <== NOT EXECUTED
 201010c:	02 80 00 09 	be  2010130 <rtems_rfs_rtems_rmnod+0x64>       <== NOT EXECUTED
 2010110:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
  {                                                                   
    rtems_rfs_rtems_unlock (fs);                                      
 2010114:	7f ff fe f9 	call  200fcf8 <rtems_rfs_rtems_unlock>         <== NOT EXECUTED
 2010118:	b0 10 3f ff 	mov  -1, %i0                                   <== NOT EXECUTED
    return rtems_rfs_rtems_error ("rmnod: unlinking", rc);            
 201011c:	40 00 38 c3 	call  201e428 <__errno>                        <== NOT EXECUTED
 2010120:	01 00 00 00 	nop                                            <== NOT EXECUTED
 2010124:	f8 22 00 00 	st  %i4, [ %o0 ]                               <== NOT EXECUTED
 2010128:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 201012c:	81 e8 00 00 	restore                                        <== NOT EXECUTED
  }                                                                   
                                                                      
  rtems_rfs_rtems_unlock (fs);                                        
 2010130:	7f ff fe f2 	call  200fcf8 <rtems_rfs_rtems_unlock>         <== NOT EXECUTED
 2010134:	b0 10 20 00 	clr  %i0                                       <== NOT EXECUTED
  return 0;                                                           
}                                                                     
 2010138:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 201013c:	81 e8 00 00 	restore                                        <== NOT EXECUTED
                                                                      

0201116c <rtems_rfs_rtems_set_handlers>: */ bool rtems_rfs_rtems_set_handlers (rtems_filesystem_location_info_t* loc, rtems_rfs_inode_handle* inode) {
 201116c:	9d e3 bf a0 	save  %sp, -96, %sp                            
{                                                                     
  /*                                                                  
   * Mapping matches RTEMS so no need to change.                      
   */                                                                 
  return imode;                                                       
}                                                                     
 2011170:	c2 06 60 0c 	ld  [ %i1 + 0xc ], %g1                         
 2011174:	c4 08 60 02 	ldub  [ %g1 + 2 ], %g2                         
 2011178:	d2 08 60 03 	ldub  [ %g1 + 3 ], %o1                         
 201117c:	85 28 a0 08 	sll  %g2, 8, %g2                               
rtems_rfs_rtems_set_handlers (rtems_filesystem_location_info_t* loc,  
                              rtems_rfs_inode_handle*           inode)
{                                                                     
  uint16_t mode = rtems_rfs_inode_get_mode (inode);                   
  loc->handlers = NULL;                                               
  if (RTEMS_RFS_S_ISDIR (mode))                                       
 2011180:	92 0a 60 ff 	and  %o1, 0xff, %o1                            
 2011184:	03 00 00 3c 	sethi  %hi(0xf000), %g1                        
 2011188:	92 12 40 02 	or  %o1, %g2, %o1                              
 201118c:	05 00 00 10 	sethi  %hi(0x4000), %g2                        
 2011190:	82 0a 40 01 	and  %o1, %g1, %g1                             
 2011194:	80 a0 40 02 	cmp  %g1, %g2                                  
 2011198:	12 80 00 05 	bne  20111ac <rtems_rfs_rtems_set_handlers+0x40>
 201119c:	c0 26 20 08 	clr  [ %i0 + 8 ]                               
    loc->handlers = rtems_rfs_rtems_handlers (dir);                   
 20111a0:	03 00 80 c2 	sethi  %hi(0x2030800), %g1                     
 20111a4:	10 80 00 0b 	b  20111d0 <rtems_rfs_rtems_set_handlers+0x64> 
 20111a8:	82 10 62 6c 	or  %g1, 0x26c, %g1	! 2030a6c <rtems_rfs_rtems_dir_handlers>
  else if (RTEMS_RFS_S_ISCHR (mode) || RTEMS_RFS_S_ISBLK(mode))       
 20111ac:	05 00 00 18 	sethi  %hi(0x6000), %g2                        
 20111b0:	80 a0 40 02 	cmp  %g1, %g2                                  
 20111b4:	02 80 00 05 	be  20111c8 <rtems_rfs_rtems_set_handlers+0x5c><== NEVER TAKEN
 20111b8:	05 00 00 08 	sethi  %hi(0x2000), %g2                        
 20111bc:	80 a0 40 02 	cmp  %g1, %g2                                  
 20111c0:	12 80 00 07 	bne  20111dc <rtems_rfs_rtems_set_handlers+0x70><== ALWAYS TAKEN
 20111c4:	05 00 00 28 	sethi  %hi(0xa000), %g2                        
    loc->handlers = rtems_rfs_rtems_handlers (device);                
 20111c8:	03 00 80 c2 	sethi  %hi(0x2030800), %g1                     <== NOT EXECUTED
 20111cc:	82 10 62 34 	or  %g1, 0x234, %g1	! 2030a34 <rtems_rfs_rtems_device_handlers><== NOT EXECUTED
 20111d0:	c2 26 20 08 	st  %g1, [ %i0 + 8 ]                           
  else                                                                
  {                                                                   
    printf ("rtems-rfs: mode type unknown: %04x\n", mode);            
    return false;                                                     
  }                                                                   
  return true;                                                        
 20111d4:	10 80 00 11 	b  2011218 <rtems_rfs_rtems_set_handlers+0xac> 
 20111d8:	b0 10 20 01 	mov  1, %i0                                    
  loc->handlers = NULL;                                               
  if (RTEMS_RFS_S_ISDIR (mode))                                       
    loc->handlers = rtems_rfs_rtems_handlers (dir);                   
  else if (RTEMS_RFS_S_ISCHR (mode) || RTEMS_RFS_S_ISBLK(mode))       
    loc->handlers = rtems_rfs_rtems_handlers (device);                
  else if (RTEMS_RFS_S_ISLNK (mode))                                  
 20111dc:	80 a0 40 02 	cmp  %g1, %g2                                  
 20111e0:	12 80 00 05 	bne  20111f4 <rtems_rfs_rtems_set_handlers+0x88>
 20111e4:	05 00 00 20 	sethi  %hi(0x8000), %g2                        
    loc->handlers = rtems_rfs_rtems_handlers (link);                  
 20111e8:	03 00 80 ba 	sethi  %hi(0x202e800), %g1                     
 20111ec:	10 bf ff f9 	b  20111d0 <rtems_rfs_rtems_set_handlers+0x64> 
 20111f0:	82 10 61 f8 	or  %g1, 0x1f8, %g1	! 202e9f8 <rtems_rfs_rtems_link_handlers>
  else if (RTEMS_RFS_S_ISREG (mode))                                  
 20111f4:	80 a0 40 02 	cmp  %g1, %g2                                  
 20111f8:	32 80 00 05 	bne,a   201120c <rtems_rfs_rtems_set_handlers+0xa0><== NEVER TAKEN
 20111fc:	11 00 80 ba 	sethi  %hi(0x202e800), %o0                     <== NOT EXECUTED
    loc->handlers = rtems_rfs_rtems_handlers (file);                  
 2011200:	03 00 80 c2 	sethi  %hi(0x2030800), %g1                     
 2011204:	10 bf ff f3 	b  20111d0 <rtems_rfs_rtems_set_handlers+0x64> 
 2011208:	82 10 62 a4 	or  %g1, 0x2a4, %g1	! 2030aa4 <rtems_rfs_rtems_file_handlers>
  else                                                                
  {                                                                   
    printf ("rtems-rfs: mode type unknown: %04x\n", mode);            
    return false;                                                     
 201120c:	b0 10 20 00 	clr  %i0                                       <== NOT EXECUTED
    loc->handlers = rtems_rfs_rtems_handlers (link);                  
  else if (RTEMS_RFS_S_ISREG (mode))                                  
    loc->handlers = rtems_rfs_rtems_handlers (file);                  
  else                                                                
  {                                                                   
    printf ("rtems-rfs: mode type unknown: %04x\n", mode);            
 2011210:	40 00 37 ee 	call  201f1c8 <printf>                         <== NOT EXECUTED
 2011214:	90 12 22 30 	or  %o0, 0x230, %o0                            <== NOT EXECUTED
    return false;                                                     
  }                                                                   
  return true;                                                        
}                                                                     
 2011218:	b0 0e 20 01 	and  %i0, 1, %i0                               
 201121c:	81 c7 e0 08 	ret                                            
 2011220:	81 e8 00 00 	restore                                        
                                                                      

0200fc64 <rtems_rfs_rtems_statvfs>: * @return int */ static int rtems_rfs_rtems_statvfs (rtems_filesystem_location_info_t* pathloc, struct statvfs* sb) {
 200fc64:	9d e3 bf 98 	save  %sp, -104, %sp                           <== NOT EXECUTED
  rtems_rfs_file_system* fs = rtems_rfs_rtems_pathloc_dev (pathloc);  
 200fc68:	c2 06 20 10 	ld  [ %i0 + 0x10 ], %g1                        <== NOT EXECUTED
  size_t                 blocks;                                      
  size_t                 inodes;                                      
                                                                      
  rtems_rfs_group_usage (fs, &blocks, &inodes);                       
 200fc6c:	92 07 bf f8 	add  %fp, -8, %o1                              <== NOT EXECUTED
 */                                                                   
static int                                                            
rtems_rfs_rtems_statvfs (rtems_filesystem_location_info_t* pathloc,   
                         struct statvfs*                   sb)        
{                                                                     
  rtems_rfs_file_system* fs = rtems_rfs_rtems_pathloc_dev (pathloc);  
 200fc70:	fa 00 60 34 	ld  [ %g1 + 0x34 ], %i5                        <== NOT EXECUTED
  size_t                 blocks;                                      
  size_t                 inodes;                                      
                                                                      
  rtems_rfs_group_usage (fs, &blocks, &inodes);                       
 200fc74:	94 07 bf fc 	add  %fp, -4, %o2                              <== NOT EXECUTED
 200fc78:	7f ff fd 56 	call  200f1d0 <rtems_rfs_group_usage>          <== NOT EXECUTED
 200fc7c:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
                                                                      
  sb->f_bsize   = rtems_rfs_fs_block_size (fs);                       
 200fc80:	c2 07 60 08 	ld  [ %i5 + 8 ], %g1                           <== NOT EXECUTED
 200fc84:	c2 26 40 00 	st  %g1, [ %i1 ]                               <== NOT EXECUTED
  sb->f_frsize  = rtems_rfs_fs_media_block_size (fs);                 
 200fc88:	c2 07 60 0c 	ld  [ %i5 + 0xc ], %g1                         <== NOT EXECUTED
 200fc8c:	c4 00 60 24 	ld  [ %g1 + 0x24 ], %g2                        <== NOT EXECUTED
  sb->f_blocks  = rtems_rfs_fs_media_blocks (fs);                     
 200fc90:	c2 00 60 1c 	ld  [ %g1 + 0x1c ], %g1                        <== NOT EXECUTED
  size_t                 inodes;                                      
                                                                      
  rtems_rfs_group_usage (fs, &blocks, &inodes);                       
                                                                      
  sb->f_bsize   = rtems_rfs_fs_block_size (fs);                       
  sb->f_frsize  = rtems_rfs_fs_media_block_size (fs);                 
 200fc94:	c4 26 60 04 	st  %g2, [ %i1 + 4 ]                           <== NOT EXECUTED
  sb->f_blocks  = rtems_rfs_fs_media_blocks (fs);                     
 200fc98:	c2 26 60 0c 	st  %g1, [ %i1 + 0xc ]                         <== NOT EXECUTED
  sb->f_bfree   = rtems_rfs_fs_blocks (fs) - blocks;                  
 200fc9c:	c4 07 60 04 	ld  [ %i5 + 4 ], %g2                           <== NOT EXECUTED
 200fca0:	c2 07 bf f8 	ld  [ %fp + -8 ], %g1                          <== NOT EXECUTED
                                                                      
  rtems_rfs_group_usage (fs, &blocks, &inodes);                       
                                                                      
  sb->f_bsize   = rtems_rfs_fs_block_size (fs);                       
  sb->f_frsize  = rtems_rfs_fs_media_block_size (fs);                 
  sb->f_blocks  = rtems_rfs_fs_media_blocks (fs);                     
 200fca4:	c0 26 60 08 	clr  [ %i1 + 8 ]                               <== NOT EXECUTED
  sb->f_bfree   = rtems_rfs_fs_blocks (fs) - blocks;                  
 200fca8:	82 20 80 01 	sub  %g2, %g1, %g1                             <== NOT EXECUTED
  sb->f_bavail  = sb->f_bfree;                                        
  sb->f_files   = rtems_rfs_fs_inodes (fs);                           
  sb->f_ffree   = rtems_rfs_fs_inodes (fs) - inodes;                  
 200fcac:	c4 07 bf fc 	ld  [ %fp + -4 ], %g2                          <== NOT EXECUTED
  rtems_rfs_group_usage (fs, &blocks, &inodes);                       
                                                                      
  sb->f_bsize   = rtems_rfs_fs_block_size (fs);                       
  sb->f_frsize  = rtems_rfs_fs_media_block_size (fs);                 
  sb->f_blocks  = rtems_rfs_fs_media_blocks (fs);                     
  sb->f_bfree   = rtems_rfs_fs_blocks (fs) - blocks;                  
 200fcb0:	c2 26 60 14 	st  %g1, [ %i1 + 0x14 ]                        <== NOT EXECUTED
  sb->f_bavail  = sb->f_bfree;                                        
 200fcb4:	c2 26 60 1c 	st  %g1, [ %i1 + 0x1c ]                        <== NOT EXECUTED
  sb->f_files   = rtems_rfs_fs_inodes (fs);                           
 200fcb8:	c2 07 60 10 	ld  [ %i5 + 0x10 ], %g1                        <== NOT EXECUTED
  rtems_rfs_group_usage (fs, &blocks, &inodes);                       
                                                                      
  sb->f_bsize   = rtems_rfs_fs_block_size (fs);                       
  sb->f_frsize  = rtems_rfs_fs_media_block_size (fs);                 
  sb->f_blocks  = rtems_rfs_fs_media_blocks (fs);                     
  sb->f_bfree   = rtems_rfs_fs_blocks (fs) - blocks;                  
 200fcbc:	c0 26 60 10 	clr  [ %i1 + 0x10 ]                            <== NOT EXECUTED
  sb->f_bavail  = sb->f_bfree;                                        
  sb->f_files   = rtems_rfs_fs_inodes (fs);                           
 200fcc0:	c2 26 60 20 	st  %g1, [ %i1 + 0x20 ]                        <== NOT EXECUTED
  sb->f_ffree   = rtems_rfs_fs_inodes (fs) - inodes;                  
 200fcc4:	82 20 40 02 	sub  %g1, %g2, %g1                             <== NOT EXECUTED
 200fcc8:	c2 26 60 24 	st  %g1, [ %i1 + 0x24 ]                        <== NOT EXECUTED
  sb->f_favail  = sb->f_ffree;                                        
 200fccc:	c2 26 60 28 	st  %g1, [ %i1 + 0x28 ]                        <== NOT EXECUTED
  sb->f_fsid    = RTEMS_RFS_SB_MAGIC;                                 
 200fcd0:	03 0a 02 48 	sethi  %hi(0x28092000), %g1                    <== NOT EXECUTED
 200fcd4:	82 10 60 01 	or  %g1, 1, %g1	! 28092001 <RAM_END+0x25c92001><== NOT EXECUTED
 200fcd8:	c2 26 60 2c 	st  %g1, [ %i1 + 0x2c ]                        <== NOT EXECUTED
  sb->f_flag    = rtems_rfs_fs_flags (fs);                            
 200fcdc:	c2 07 40 00 	ld  [ %i5 ], %g1                               <== NOT EXECUTED
                                                                      
  sb->f_bsize   = rtems_rfs_fs_block_size (fs);                       
  sb->f_frsize  = rtems_rfs_fs_media_block_size (fs);                 
  sb->f_blocks  = rtems_rfs_fs_media_blocks (fs);                     
  sb->f_bfree   = rtems_rfs_fs_blocks (fs) - blocks;                  
  sb->f_bavail  = sb->f_bfree;                                        
 200fce0:	c0 26 60 18 	clr  [ %i1 + 0x18 ]                            <== NOT EXECUTED
  sb->f_files   = rtems_rfs_fs_inodes (fs);                           
  sb->f_ffree   = rtems_rfs_fs_inodes (fs) - inodes;                  
  sb->f_favail  = sb->f_ffree;                                        
  sb->f_fsid    = RTEMS_RFS_SB_MAGIC;                                 
  sb->f_flag    = rtems_rfs_fs_flags (fs);                            
 200fce4:	c2 26 60 30 	st  %g1, [ %i1 + 0x30 ]                        <== NOT EXECUTED
  sb->f_namemax = rtems_rfs_fs_max_name (fs);                         
 200fce8:	c2 07 60 18 	ld  [ %i5 + 0x18 ], %g1                        <== NOT EXECUTED
 200fcec:	c2 26 60 34 	st  %g1, [ %i1 + 0x34 ]                        <== NOT EXECUTED
                                                                      
  return 0;                                                           
}                                                                     
 200fcf0:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 200fcf4:	91 e8 20 00 	restore  %g0, 0, %o0                           <== NOT EXECUTED
                                                                      

020101b0 <rtems_rfs_rtems_symlink>: static int rtems_rfs_rtems_symlink (rtems_filesystem_location_info_t* parent_loc, const char* link_name, const char* node_name) {
 20101b0:	9d e3 bf 98 	save  %sp, -104, %sp                           
  rtems_rfs_file_system* fs = rtems_rfs_rtems_pathloc_dev (parent_loc);
 20101b4:	c2 06 20 10 	ld  [ %i0 + 0x10 ], %g1                        
  rtems_rfs_ino          parent = rtems_rfs_rtems_get_pathloc_ino (parent_loc);
 20101b8:	f0 06 00 00 	ld  [ %i0 ], %i0                               
static int                                                            
rtems_rfs_rtems_symlink (rtems_filesystem_location_info_t* parent_loc,
                         const char*                       link_name, 
                         const char*                       node_name) 
{                                                                     
  rtems_rfs_file_system* fs = rtems_rfs_rtems_pathloc_dev (parent_loc);
 20101bc:	fa 00 60 34 	ld  [ %g1 + 0x34 ], %i5                        
#else                                                                 
  uid = 0;                                                            
  gid = 0;                                                            
#endif                                                                
                                                                      
  rtems_rfs_rtems_lock (fs);                                          
 20101c0:	7f ff ff 52 	call  200ff08 <rtems_rfs_rtems_lock.isra.16>   
 20101c4:	d0 07 60 7c 	ld  [ %i5 + 0x7c ], %o0                        
                                                                      
  rc = rtems_rfs_symlink (fs, node_name, strlen (node_name),          
 20101c8:	40 00 3f 3b 	call  201feb4 <strlen>                         
 20101cc:	90 10 00 1a 	mov  %i2, %o0                                  
 20101d0:	b8 10 00 08 	mov  %o0, %i4                                  
                          link_name, strlen (link_name),              
 20101d4:	40 00 3f 38 	call  201feb4 <strlen>                         
 20101d8:	90 10 00 19 	mov  %i1, %o0                                  
  gid = 0;                                                            
#endif                                                                
                                                                      
  rtems_rfs_rtems_lock (fs);                                          
                                                                      
  rc = rtems_rfs_symlink (fs, node_name, strlen (node_name),          
 20101dc:	94 10 00 1c 	mov  %i4, %o2                                  
                          link_name, strlen (link_name),              
 20101e0:	98 10 00 08 	mov  %o0, %o4                                  
  gid = 0;                                                            
#endif                                                                
                                                                      
  rtems_rfs_rtems_lock (fs);                                          
                                                                      
  rc = rtems_rfs_symlink (fs, node_name, strlen (node_name),          
 20101e4:	c0 23 a0 5c 	clr  [ %sp + 0x5c ]                            
 20101e8:	f0 23 a0 60 	st  %i0, [ %sp + 0x60 ]                        
 20101ec:	90 10 00 1d 	mov  %i5, %o0                                  
 20101f0:	92 10 00 1a 	mov  %i2, %o1                                  
 20101f4:	96 10 00 19 	mov  %i1, %o3                                  
 20101f8:	40 00 31 81 	call  201c7fc <rtems_rfs_symlink>              
 20101fc:	9a 10 20 00 	clr  %o5                                       
 2010200:	b8 10 00 08 	mov  %o0, %i4                                  
                          link_name, strlen (link_name),              
                          uid, gid, parent);                          
  if (rc)                                                             
 2010204:	80 a7 20 00 	cmp  %i4, 0                                    
 2010208:	02 80 00 09 	be  201022c <rtems_rfs_rtems_symlink+0x7c>     <== ALWAYS TAKEN
 201020c:	90 10 00 1d 	mov  %i5, %o0                                  
  {                                                                   
    rtems_rfs_rtems_unlock (fs);                                      
 2010210:	7f ff fe ba 	call  200fcf8 <rtems_rfs_rtems_unlock>         <== NOT EXECUTED
 2010214:	b0 10 3f ff 	mov  -1, %i0                                   <== NOT EXECUTED
    return rtems_rfs_rtems_error ("symlink: linking", rc);            
 2010218:	40 00 38 84 	call  201e428 <__errno>                        <== NOT EXECUTED
 201021c:	01 00 00 00 	nop                                            <== NOT EXECUTED
 2010220:	f8 22 00 00 	st  %i4, [ %o0 ]                               <== NOT EXECUTED
 2010224:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2010228:	81 e8 00 00 	restore                                        <== NOT EXECUTED
  }                                                                   
                                                                      
  rtems_rfs_rtems_unlock (fs);                                        
 201022c:	7f ff fe b3 	call  200fcf8 <rtems_rfs_rtems_unlock>         
 2010230:	b0 10 20 00 	clr  %i0                                       
                                                                      
  return 0;                                                           
}                                                                     
 2010234:	81 c7 e0 08 	ret                                            
 2010238:	81 e8 00 00 	restore                                        
                                                                      

0200ffdc <rtems_rfs_rtems_unlink>: */ static int rtems_rfs_rtems_unlink (rtems_filesystem_location_info_t* parent_loc, rtems_filesystem_location_info_t* loc) {
 200ffdc:	9d e3 bf a0 	save  %sp, -96, %sp                            
  rtems_rfs_file_system* fs = rtems_rfs_rtems_pathloc_dev (parent_loc);
 200ffe0:	c2 06 20 10 	ld  [ %i0 + 0x10 ], %g1                        
  rtems_rfs_ino          parent = rtems_rfs_rtems_get_pathloc_ino (parent_loc);
  rtems_rfs_ino          ino = rtems_rfs_rtems_get_pathloc_ino (loc); 
  uint32_t               doff = rtems_rfs_rtems_get_pathloc_doff (loc);
 200ffe4:	f8 06 60 04 	ld  [ %i1 + 4 ], %i4                           
                                                                      
static int                                                            
rtems_rfs_rtems_unlink (rtems_filesystem_location_info_t* parent_loc, 
                        rtems_filesystem_location_info_t* loc)        
{                                                                     
  rtems_rfs_file_system* fs = rtems_rfs_rtems_pathloc_dev (parent_loc);
 200ffe8:	fa 00 60 34 	ld  [ %g1 + 0x34 ], %i5                        
  rtems_rfs_ino          parent = rtems_rfs_rtems_get_pathloc_ino (parent_loc);
 200ffec:	f4 06 00 00 	ld  [ %i0 ], %i2                               
  rtems_rfs_ino          ino = rtems_rfs_rtems_get_pathloc_ino (loc); 
  uint32_t               doff = rtems_rfs_rtems_get_pathloc_doff (loc);
  int                    rc;                                          
                                                                      
  rtems_rfs_rtems_lock (fs);                                          
 200fff0:	d0 07 60 7c 	ld  [ %i5 + 0x7c ], %o0                        
 200fff4:	7f ff ff c5 	call  200ff08 <rtems_rfs_rtems_lock.isra.16>   
 200fff8:	f6 06 40 00 	ld  [ %i1 ], %i3                               
                                                                      
  if (rtems_rfs_rtems_trace (RTEMS_RFS_RTEMS_DEBUG_UNLINK))           
    printf("rtems-rfs-rtems: unlink: parent:%" PRId32 " doff:%" PRIu32 " ino:%" PRId32 "\n",
           parent, doff, ino);                                        
                                                                      
  rc = rtems_rfs_unlink (fs, parent, ino, doff, rtems_rfs_unlink_dir_denied);
 200fffc:	96 10 00 1c 	mov  %i4, %o3                                  
 2010000:	90 10 00 1d 	mov  %i5, %o0                                  
 2010004:	92 10 00 1a 	mov  %i2, %o1                                  
 2010008:	94 10 00 1b 	mov  %i3, %o2                                  
 201000c:	40 00 30 ff 	call  201c408 <rtems_rfs_unlink>               
 2010010:	98 10 20 00 	clr  %o4                                       
 2010014:	b8 10 00 08 	mov  %o0, %i4                                  
  if (rc)                                                             
 2010018:	80 a7 20 00 	cmp  %i4, 0                                    
 201001c:	02 80 00 09 	be  2010040 <rtems_rfs_rtems_unlink+0x64>      <== ALWAYS TAKEN
 2010020:	90 10 00 1d 	mov  %i5, %o0                                  
  {                                                                   
    rtems_rfs_rtems_unlock (fs);                                      
 2010024:	7f ff ff 35 	call  200fcf8 <rtems_rfs_rtems_unlock>         <== NOT EXECUTED
 2010028:	b0 10 3f ff 	mov  -1, %i0                                   <== NOT EXECUTED
    return rtems_rfs_rtems_error ("unlink: unlink inode", rc);        
 201002c:	40 00 38 ff 	call  201e428 <__errno>                        <== NOT EXECUTED
 2010030:	01 00 00 00 	nop                                            <== NOT EXECUTED
 2010034:	f8 22 00 00 	st  %i4, [ %o0 ]                               <== NOT EXECUTED
 2010038:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 201003c:	81 e8 00 00 	restore                                        <== NOT EXECUTED
  }                                                                   
                                                                      
  rtems_rfs_rtems_unlock (fs);                                        
 2010040:	7f ff ff 2e 	call  200fcf8 <rtems_rfs_rtems_unlock>         
 2010044:	b0 10 20 00 	clr  %i0                                       
                                                                      
  return 0;                                                           
}                                                                     
 2010048:	81 c7 e0 08 	ret                                            
 201004c:	81 e8 00 00 	restore                                        
                                                                      

0200fcf8 <rtems_rfs_rtems_unlock>: /** * Unlock the RFS file system. */ static inline void rtems_rfs_rtems_unlock (rtems_rfs_file_system* fs) {
 200fcf8:	9d e3 bf a0 	save  %sp, -96, %sp                            
  rtems_rfs_rtems_private* rtems = rtems_rfs_fs_user (fs);            
 200fcfc:	fa 06 20 7c 	ld  [ %i0 + 0x7c ], %i5                        
  rtems_rfs_buffers_release (fs);                                     
 200fd00:	40 00 26 8b 	call  201972c <rtems_rfs_buffers_release>      
 200fd04:	90 10 00 18 	mov  %i0, %o0                                  
 */                                                                   
static inline int                                                     
rtems_rfs_mutex_unlock (rtems_rfs_mutex* mutex)                       
{                                                                     
#if __rtems__                                                         
  rtems_status_code sc = rtems_semaphore_release (*mutex);            
 200fd08:	7f ff e8 f1 	call  200a0cc <rtems_semaphore_release>        
 200fd0c:	d0 07 40 00 	ld  [ %i5 ], %o0                               
  if (sc != RTEMS_SUCCESSFUL)                                         
 200fd10:	ba 92 20 00 	orcc  %o0, 0, %i5                              
 200fd14:	02 80 00 0e 	be  200fd4c <rtems_rfs_rtems_unlock+0x54>      <== ALWAYS TAKEN
 200fd18:	01 00 00 00 	nop                                            
  {                                                                   
#if RTEMS_RFS_TRACE                                                   
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_MUTEX))                      
 200fd1c:	90 10 20 00 	clr  %o0	! 0 <PROM_START>                      <== NOT EXECUTED
 200fd20:	40 00 05 46 	call  2011238 <rtems_rfs_trace>                <== NOT EXECUTED
 200fd24:	92 10 20 04 	mov  4, %o1                                    <== NOT EXECUTED
 200fd28:	80 8a 20 ff 	btst  0xff, %o0                                <== NOT EXECUTED
 200fd2c:	02 80 00 08 	be  200fd4c <rtems_rfs_rtems_unlock+0x54>      <== NOT EXECUTED
 200fd30:	01 00 00 00 	nop                                            <== NOT EXECUTED
      printf ("rtems-rfs: mutex: release failed: %s\n",               
 200fd34:	40 00 14 a6 	call  2014fcc <rtems_status_text>              <== NOT EXECUTED
 200fd38:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
 200fd3c:	31 00 80 ba 	sethi  %hi(0x202e800), %i0                     <== NOT EXECUTED
 200fd40:	b2 10 00 08 	mov  %o0, %i1                                  <== NOT EXECUTED
 200fd44:	40 00 3d 21 	call  201f1c8 <printf>                         <== NOT EXECUTED
 200fd48:	91 ee 21 60 	restore  %i0, 0x160, %o0                       <== NOT EXECUTED
 200fd4c:	81 c7 e0 08 	ret                                            
 200fd50:	81 e8 00 00 	restore                                        
                                                                      

0201023c <rtems_rfs_rtems_utime>: static int rtems_rfs_rtems_utime(rtems_filesystem_location_info_t* pathloc, time_t atime, time_t mtime) {
 201023c:	9d e3 bf 78 	save  %sp, -136, %sp                           <== NOT EXECUTED
  rtems_rfs_file_system* fs = rtems_rfs_rtems_pathloc_dev (pathloc);  
 2010240:	c2 06 20 10 	ld  [ %i0 + 0x10 ], %g1                        <== NOT EXECUTED
  rtems_rfs_ino          ino = rtems_rfs_rtems_get_pathloc_ino (pathloc);
 2010244:	f8 06 00 00 	ld  [ %i0 ], %i4                               <== NOT EXECUTED
static int                                                            
rtems_rfs_rtems_utime(rtems_filesystem_location_info_t* pathloc,      
                      time_t                            atime,        
                      time_t                            mtime)        
{                                                                     
  rtems_rfs_file_system* fs = rtems_rfs_rtems_pathloc_dev (pathloc);  
 2010248:	fa 00 60 34 	ld  [ %g1 + 0x34 ], %i5                        <== NOT EXECUTED
  rtems_rfs_ino          ino = rtems_rfs_rtems_get_pathloc_ino (pathloc);
  rtems_rfs_inode_handle inode;                                       
  int                    rc;                                          
                                                                      
  rtems_rfs_rtems_lock (fs);                                          
 201024c:	7f ff ff 2f 	call  200ff08 <rtems_rfs_rtems_lock.isra.16>   <== NOT EXECUTED
 2010250:	d0 07 60 7c 	ld  [ %i5 + 0x7c ], %o0                        <== NOT EXECUTED
                                                                      
  rc = rtems_rfs_inode_open (fs, ino, &inode, true);                  
 2010254:	92 10 00 1c 	mov  %i4, %o1                                  <== NOT EXECUTED
 2010258:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
 201025c:	94 07 bf d8 	add  %fp, -40, %o2                             <== NOT EXECUTED
 2010260:	7f ff fc 3e 	call  200f358 <rtems_rfs_inode_open>           <== NOT EXECUTED
 2010264:	96 10 20 01 	mov  1, %o3                                    <== NOT EXECUTED
  if (rc)                                                             
 2010268:	b8 92 20 00 	orcc  %o0, 0, %i4                              <== NOT EXECUTED
 201026c:	02 80 00 09 	be  2010290 <rtems_rfs_rtems_utime+0x54>       <== NOT EXECUTED
 2010270:	c2 07 bf e4 	ld  [ %fp + -28 ], %g1                         <== NOT EXECUTED
  {                                                                   
    rtems_rfs_rtems_unlock (fs);                                      
 2010274:	7f ff fe a1 	call  200fcf8 <rtems_rfs_rtems_unlock>         <== NOT EXECUTED
 2010278:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
    return rtems_rfs_rtems_error ("utime: read inode", rc);           
 201027c:	40 00 38 6b 	call  201e428 <__errno>                        <== NOT EXECUTED
 2010280:	b0 10 3f ff 	mov  -1, %i0                                   <== NOT EXECUTED
 2010284:	f8 22 00 00 	st  %i4, [ %o0 ]                               <== NOT EXECUTED
 2010288:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 201028c:	81 e8 00 00 	restore                                        <== NOT EXECUTED
 */                                                                   
static inline void                                                    
rtems_rfs_inode_set_atime (rtems_rfs_inode_handle* handle,            
                           rtems_rfs_time          atime)             
{                                                                     
  rtems_rfs_write_u32 (&handle->node->atime, atime);                  
 2010290:	85 36 60 18 	srl  %i1, 0x18, %g2                            <== NOT EXECUTED
 2010294:	c4 28 60 10 	stb  %g2, [ %g1 + 0x10 ]                       <== NOT EXECUTED
 2010298:	85 36 60 10 	srl  %i1, 0x10, %g2                            <== NOT EXECUTED
 201029c:	c4 28 60 11 	stb  %g2, [ %g1 + 0x11 ]                       <== NOT EXECUTED
 20102a0:	85 36 60 08 	srl  %i1, 8, %g2                               <== NOT EXECUTED
 20102a4:	c4 28 60 12 	stb  %g2, [ %g1 + 0x12 ]                       <== NOT EXECUTED
  rtems_rfs_buffer_mark_dirty (&handle->buffer);                      
 20102a8:	84 10 20 01 	mov  1, %g2                                    <== NOT EXECUTED
 20102ac:	c4 2f bf e8 	stb  %g2, [ %fp + -24 ]                        <== NOT EXECUTED
 */                                                                   
static inline void                                                    
rtems_rfs_inode_set_mtime (rtems_rfs_inode_handle* handle,            
                           rtems_rfs_time          mtime)             
{                                                                     
  rtems_rfs_write_u32 (&handle->node->mtime, mtime);                  
 20102b0:	85 36 a0 18 	srl  %i2, 0x18, %g2                            <== NOT EXECUTED
 20102b4:	c4 28 60 14 	stb  %g2, [ %g1 + 0x14 ]                       <== NOT EXECUTED
 20102b8:	85 36 a0 10 	srl  %i2, 0x10, %g2                            <== NOT EXECUTED
 20102bc:	c4 28 60 15 	stb  %g2, [ %g1 + 0x15 ]                       <== NOT EXECUTED
 20102c0:	85 36 a0 08 	srl  %i2, 8, %g2                               <== NOT EXECUTED
 20102c4:	f4 28 60 17 	stb  %i2, [ %g1 + 0x17 ]                       <== NOT EXECUTED
 */                                                                   
static inline void                                                    
rtems_rfs_inode_set_atime (rtems_rfs_inode_handle* handle,            
                           rtems_rfs_time          atime)             
{                                                                     
  rtems_rfs_write_u32 (&handle->node->atime, atime);                  
 20102c8:	f2 28 60 13 	stb  %i1, [ %g1 + 0x13 ]                       <== NOT EXECUTED
 */                                                                   
static inline void                                                    
rtems_rfs_inode_set_mtime (rtems_rfs_inode_handle* handle,            
                           rtems_rfs_time          mtime)             
{                                                                     
  rtems_rfs_write_u32 (&handle->node->mtime, mtime);                  
 20102cc:	c4 28 60 16 	stb  %g2, [ %g1 + 0x16 ]                       <== NOT EXECUTED
  }                                                                   
                                                                      
  rtems_rfs_inode_set_atime (&inode, atime);                          
  rtems_rfs_inode_set_mtime (&inode, mtime);                          
                                                                      
  rc = rtems_rfs_inode_close (fs, &inode);                            
 20102d0:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
 20102d4:	7f ff fc 93 	call  200f520 <rtems_rfs_inode_close>          <== NOT EXECUTED
 20102d8:	92 07 bf d8 	add  %fp, -40, %o1                             <== NOT EXECUTED
 20102dc:	b4 10 00 08 	mov  %o0, %i2                                  <== NOT EXECUTED
  if (rc)                                                             
 20102e0:	80 a6 a0 00 	cmp  %i2, 0                                    <== NOT EXECUTED
 20102e4:	02 80 00 09 	be  2010308 <rtems_rfs_rtems_utime+0xcc>       <== NOT EXECUTED
 20102e8:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
  {                                                                   
    rtems_rfs_rtems_unlock (fs);                                      
 20102ec:	7f ff fe 83 	call  200fcf8 <rtems_rfs_rtems_unlock>         <== NOT EXECUTED
 20102f0:	b0 10 3f ff 	mov  -1, %i0                                   <== NOT EXECUTED
    return rtems_rfs_rtems_error ("utime: closing inode", rc);        
 20102f4:	40 00 38 4d 	call  201e428 <__errno>                        <== NOT EXECUTED
 20102f8:	01 00 00 00 	nop                                            <== NOT EXECUTED
 20102fc:	f4 22 00 00 	st  %i2, [ %o0 ]                               <== NOT EXECUTED
 2010300:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2010304:	81 e8 00 00 	restore                                        <== NOT EXECUTED
  }                                                                   
                                                                      
  rtems_rfs_rtems_unlock (fs);                                        
 2010308:	7f ff fe 7c 	call  200fcf8 <rtems_rfs_rtems_unlock>         <== NOT EXECUTED
 201030c:	b0 10 20 00 	clr  %i0                                       <== NOT EXECUTED
                                                                      
  return 0;                                                           
}                                                                     
 2010310:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2010314:	81 e8 00 00 	restore                                        <== NOT EXECUTED
                                                                      

0200de88 <rtems_rfs_rup_quotient>: * Return a rounded up integer quotient given a dividend and divisor. That is: * "quotient = dividend / divisor" */ int rtems_rfs_rup_quotient (uint32_t dividend, uint32_t divisor) {
 200de88:	9d e3 bf a0 	save  %sp, -96, %sp                            
 200de8c:	82 10 00 18 	mov  %i0, %g1                                  
 200de90:	92 10 00 19 	mov  %i1, %o1                                  
  if (dividend == 0)                                                  
 200de94:	80 a0 60 00 	cmp  %g1, 0                                    
 200de98:	02 80 00 05 	be  200deac <rtems_rfs_rup_quotient+0x24>      <== NEVER TAKEN
 200de9c:	b0 10 20 01 	mov  1, %i0                                    
    return 1;                                                         
  return ((dividend - 1) / divisor) + 1;                              
 200dea0:	40 00 74 9b 	call  202b10c <.udiv>                          
 200dea4:	90 00 7f ff 	add  %g1, -1, %o0                              
 200dea8:	b0 02 20 01 	add  %o0, 1, %i0                               
}                                                                     
 200deac:	81 c7 e0 08 	ret                                            
 200deb0:	81 e8 00 00 	restore                                        
                                                                      

02018ffc <rtems_rfs_scan_chain>: */ static rtems_rfs_buffer* rtems_rfs_scan_chain (rtems_chain_control* chain, uint32_t* count, rtems_rfs_buffer_block block) {
 2018ffc:	9d e3 bf a0 	save  %sp, -96, %sp                            
  rtems_rfs_buffer* buffer;                                           
  rtems_chain_node* node;                                             
                                                                      
  node = rtems_chain_last (chain);                                    
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_CHAINS))                
 2019000:	90 10 20 00 	clr  %o0                                       
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_Last(                         
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  return _Chain_Tail( the_chain )->previous;                          
 2019004:	fa 06 20 08 	ld  [ %i0 + 8 ], %i5                           
 2019008:	7f ff e0 8c 	call  2011238 <rtems_rfs_trace>                
 201900c:	92 10 20 80 	mov  0x80, %o1                                 
 2019010:	80 8a 20 ff 	btst  0xff, %o0                                
 2019014:	22 80 00 29 	be,a   20190b8 <rtems_rfs_scan_chain+0xbc>     <== ALWAYS TAKEN
 2019018:	39 00 80 bd 	sethi  %hi(0x202f400), %i4                     
    printf ("rtems-rfs: buffer-scan: count=%" PRIu32 ", block=%" PRIu32 ": ", *count, block);
 201901c:	d2 06 40 00 	ld  [ %i1 ], %o1                               <== NOT EXECUTED
 2019020:	11 00 80 bd 	sethi  %hi(0x202f400), %o0                     <== NOT EXECUTED
 2019024:	94 10 00 1a 	mov  %i2, %o2                                  <== NOT EXECUTED
 2019028:	40 00 18 68 	call  201f1c8 <printf>                         <== NOT EXECUTED
 201902c:	90 12 21 30 	or  %o0, 0x130, %o0                            <== NOT EXECUTED
  while (!rtems_chain_is_head (chain, node))                          
  {                                                                   
    buffer = (rtems_rfs_buffer*) node;                                
                                                                      
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_CHAINS))              
      printf ("%" PRIuPTR " ", ((intptr_t) buffer->user));            
 2019030:	10 80 00 22 	b  20190b8 <rtems_rfs_scan_chain+0xbc>         <== NOT EXECUTED
 2019034:	39 00 80 bd 	sethi  %hi(0x202f400), %i4                     <== NOT EXECUTED
                                                                      
  while (!rtems_chain_is_head (chain, node))                          
  {                                                                   
    buffer = (rtems_rfs_buffer*) node;                                
                                                                      
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_CHAINS))              
 2019038:	7f ff e0 80 	call  2011238 <rtems_rfs_trace>                
 201903c:	01 00 00 00 	nop                                            
 2019040:	80 8a 20 ff 	btst  0xff, %o0                                
 2019044:	22 80 00 06 	be,a   201905c <rtems_rfs_scan_chain+0x60>     <== ALWAYS TAKEN
 2019048:	c2 07 60 3c 	ld  [ %i5 + 0x3c ], %g1                        
      printf ("%" PRIuPTR " ", ((intptr_t) buffer->user));            
 201904c:	d2 07 60 3c 	ld  [ %i5 + 0x3c ], %o1                        <== NOT EXECUTED
 2019050:	40 00 18 5e 	call  201f1c8 <printf>                         <== NOT EXECUTED
 2019054:	90 10 00 1c 	mov  %i4, %o0                                  <== NOT EXECUTED
                                                                      
    if (((rtems_rfs_buffer_block) ((intptr_t)(buffer->user))) == block)
 2019058:	c2 07 60 3c 	ld  [ %i5 + 0x3c ], %g1                        <== NOT EXECUTED
 201905c:	80 a0 40 1a 	cmp  %g1, %i2                                  
 2019060:	32 80 00 17 	bne,a   20190bc <rtems_rfs_scan_chain+0xc0>    
 2019064:	fa 07 60 04 	ld  [ %i5 + 4 ], %i5                           
    {                                                                 
      if (rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_CHAINS))            
 2019068:	90 10 20 00 	clr  %o0                                       
 201906c:	7f ff e0 73 	call  2011238 <rtems_rfs_trace>                
 2019070:	92 10 20 80 	mov  0x80, %o1                                 
 2019074:	80 8a 20 ff 	btst  0xff, %o0                                
 2019078:	22 80 00 07 	be,a   2019094 <rtems_rfs_scan_chain+0x98>     <== ALWAYS TAKEN
 201907c:	c2 06 40 00 	ld  [ %i1 ], %g1                               
        printf (": found block=%" PRIuPTR "\n",                       
 2019080:	d2 07 60 3c 	ld  [ %i5 + 0x3c ], %o1                        <== NOT EXECUTED
 2019084:	11 00 80 bd 	sethi  %hi(0x202f400), %o0                     <== NOT EXECUTED
 2019088:	40 00 18 50 	call  201f1c8 <printf>                         <== NOT EXECUTED
 201908c:	90 12 21 68 	or  %o0, 0x168, %o0	! 202f568 <CSWTCH.1+0x168> <== NOT EXECUTED
                ((intptr_t)(buffer->user)));                          
                                                                      
      (*count)--;                                                     
 2019090:	c2 06 40 00 	ld  [ %i1 ], %g1                               <== NOT EXECUTED
 */                                                                   
RTEMS_INLINE_ROUTINE void rtems_chain_extract(                        
  rtems_chain_node *the_node                                          
)                                                                     
{                                                                     
  _Chain_Extract( the_node );                                         
 2019094:	90 10 00 1d 	mov  %i5, %o0                                  
 2019098:	82 00 7f ff 	add  %g1, -1, %g1                              
      rtems_chain_extract (node);                                     
      rtems_chain_set_off_chain (node);                               
      return buffer;                                                  
 201909c:	b0 10 00 1d 	mov  %i5, %i0                                  
 20190a0:	7f ff c6 8e 	call  200aad8 <_Chain_Extract>                 
 20190a4:	c2 26 40 00 	st  %g1, [ %i1 ]                               
 */                                                                   
RTEMS_INLINE_ROUTINE void _Chain_Set_off_chain(                       
  Chain_Node *node                                                    
)                                                                     
{                                                                     
  node->next = node->previous = NULL;                                 
 20190a8:	c0 27 60 04 	clr  [ %i5 + 4 ]                               
 20190ac:	c0 27 40 00 	clr  [ %i5 ]                                   
 20190b0:	81 c7 e0 08 	ret                                            
 20190b4:	81 e8 00 00 	restore                                        
  while (!rtems_chain_is_head (chain, node))                          
  {                                                                   
    buffer = (rtems_rfs_buffer*) node;                                
                                                                      
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_CHAINS))              
      printf ("%" PRIuPTR " ", ((intptr_t) buffer->user));            
 20190b8:	b8 17 21 60 	or  %i4, 0x160, %i4                            
                                                                      
  while (!rtems_chain_is_head (chain, node))                          
  {                                                                   
    buffer = (rtems_rfs_buffer*) node;                                
                                                                      
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_CHAINS))              
 20190bc:	90 10 20 00 	clr  %o0                                       
  node = rtems_chain_last (chain);                                    
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_CHAINS))                
    printf ("rtems-rfs: buffer-scan: count=%" PRIu32 ", block=%" PRIu32 ": ", *count, block);
                                                                      
  while (!rtems_chain_is_head (chain, node))                          
 20190c0:	80 a7 40 18 	cmp  %i5, %i0                                  
 20190c4:	12 bf ff dd 	bne  2019038 <rtems_rfs_scan_chain+0x3c>       
 20190c8:	92 10 20 80 	mov  0x80, %o1                                 
      return buffer;                                                  
    }                                                                 
    node = rtems_chain_previous (node);                               
  }                                                                   
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_CHAINS))                
 20190cc:	7f ff e0 5b 	call  2011238 <rtems_rfs_trace>                
 20190d0:	b0 10 20 00 	clr  %i0                                       
 20190d4:	80 8a 20 ff 	btst  0xff, %o0                                
 20190d8:	02 bf ff f6 	be  20190b0 <rtems_rfs_scan_chain+0xb4>        <== ALWAYS TAKEN
 20190dc:	11 00 80 bd 	sethi  %hi(0x202f400), %o0                     
    printf (": not found\n");                                         
 20190e0:	40 00 18 7b 	call  201f2cc <puts>                           <== NOT EXECUTED
 20190e4:	90 12 21 80 	or  %o0, 0x180, %o0	! 202f580 <CSWTCH.1+0x180> <== NOT EXECUTED
                                                                      
  return NULL;                                                        
}                                                                     
 20190e8:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 20190ec:	81 e8 00 00 	restore                                        <== NOT EXECUTED
                                                                      

0201777c <rtems_rfs_search_map_for_clear_bit.constprop.1>: return 0; } static int rtems_rfs_search_map_for_clear_bit (rtems_rfs_bitmap_control* control,
 201777c:	9d e3 bf 88 	save  %sp, -120, %sp                           
  *found = false;                                                     
                                                                      
  /*                                                                  
   * Load the bitmap.                                                 
   */                                                                 
  rc = rtems_rfs_bitmap_load_map (control, &map);                     
 2017780:	90 10 00 18 	mov  %i0, %o0                                  
                                                                      
  return 0;                                                           
}                                                                     
                                                                      
static int                                                            
rtems_rfs_search_map_for_clear_bit (rtems_rfs_bitmap_control* control,
 2017784:	ba 10 00 18 	mov  %i0, %i5                                  
  rtems_rfs_bitmap_element* map_bits;                                 
  int                       map_index;                                
  int                       map_offset;                               
  int                       rc;                                       
                                                                      
  *found = false;                                                     
 2017788:	c0 2e 80 00 	clrb  [ %i2 ]                                  
                                                                      
  /*                                                                  
   * Load the bitmap.                                                 
   */                                                                 
  rc = rtems_rfs_bitmap_load_map (control, &map);                     
 201778c:	7f ff ff e8 	call  201772c <rtems_rfs_bitmap_load_map>      
 2017790:	92 07 bf fc 	add  %fp, -4, %o1                              
  if (rc > 0)                                                         
 2017794:	b0 92 20 00 	orcc  %o0, 0, %i0                              
 2017798:	14 80 00 95 	bg  20179ec <rtems_rfs_search_map_for_clear_bit.constprop.1+0x270><== NEVER TAKEN
 201779c:	a1 2e e0 0b 	sll  %i3, 0xb, %l0                             
    return rc;                                                        
                                                                      
  /*                                                                  
   * Calculate the bit we are testing plus the end point we search over.
   */                                                                 
  test_bit = *bit;                                                    
 20177a0:	f8 06 40 00 	ld  [ %i1 ], %i4                               
  end_bit  = test_bit + (window * direction);                         
                                                                      
  if (end_bit < 0)                                                    
 20177a4:	a0 84 00 1c 	addcc  %l0, %i4, %l0                           
 20177a8:	2c 80 00 08 	bneg,a   20177c8 <rtems_rfs_search_map_for_clear_bit.constprop.1+0x4c><== NEVER TAKEN
 20177ac:	a0 10 20 00 	clr  %l0                                       <== NOT EXECUTED
    end_bit = 0;                                                      
  else if (end_bit >= control->size)                                  
 20177b0:	c2 07 60 0c 	ld  [ %i5 + 0xc ], %g1                         
 20177b4:	80 a4 00 01 	cmp  %l0, %g1                                  
 20177b8:	3a 80 00 04 	bcc,a   20177c8 <rtems_rfs_search_map_for_clear_bit.constprop.1+0x4c><== ALWAYS TAKEN
 20177bc:	a0 00 7f ff 	add  %g1, -1, %l0                              
  map_index     = rtems_rfs_bitmap_map_index (test_bit);              
  map_offset    = rtems_rfs_bitmap_map_offset (test_bit);             
  search_index  = rtems_rfs_bitmap_map_index (map_index);             
  search_offset = rtems_rfs_bitmap_map_offset (map_index);            
                                                                      
  search_bits = &control->search_bits[search_index];                  
 20177c0:	10 80 00 03 	b  20177cc <rtems_rfs_search_map_for_clear_bit.constprop.1+0x50><== NOT EXECUTED
 20177c4:	c2 07 60 14 	ld  [ %i5 + 0x14 ], %g1                        <== NOT EXECUTED
 20177c8:	c2 07 60 14 	ld  [ %i5 + 0x14 ], %g1                        
  map_bits    = &map[map_index];                                      
 20177cc:	e4 07 bf fc 	ld  [ %fp + -4 ], %l2                          
  if (end_bit < 0)                                                    
    end_bit = 0;                                                      
  else if (end_bit >= control->size)                                  
    end_bit = control->size - 1;                                      
                                                                      
  map_index     = rtems_rfs_bitmap_map_index (test_bit);              
 20177d0:	a3 3f 20 05 	sra  %i4, 5, %l1                               
  map_offset    = rtems_rfs_bitmap_map_offset (test_bit);             
  search_index  = rtems_rfs_bitmap_map_index (map_index);             
 20177d4:	a7 3f 20 0a 	sra  %i4, 0xa, %l3                             
  search_offset = rtems_rfs_bitmap_map_offset (map_index);            
                                                                      
  search_bits = &control->search_bits[search_index];                  
 20177d8:	a7 2c e0 02 	sll  %l3, 2, %l3                               
 20177dc:	a6 00 40 13 	add  %g1, %l3, %l3                             
  map_bits    = &map[map_index];                                      
 20177e0:	83 2c 60 02 	sll  %l1, 2, %g1                               
    end_bit = 0;                                                      
  else if (end_bit >= control->size)                                  
    end_bit = control->size - 1;                                      
                                                                      
  map_index     = rtems_rfs_bitmap_map_index (test_bit);              
  map_offset    = rtems_rfs_bitmap_map_offset (test_bit);             
 20177e4:	b0 0f 20 1f 	and  %i4, 0x1f, %i0                            
  search_index  = rtems_rfs_bitmap_map_index (map_index);             
  search_offset = rtems_rfs_bitmap_map_offset (map_index);            
                                                                      
  search_bits = &control->search_bits[search_index];                  
  map_bits    = &map[map_index];                                      
 20177e8:	a4 04 80 01 	add  %l2, %g1, %l2                             
    end_bit = control->size - 1;                                      
                                                                      
  map_index     = rtems_rfs_bitmap_map_index (test_bit);              
  map_offset    = rtems_rfs_bitmap_map_offset (test_bit);             
  search_index  = rtems_rfs_bitmap_map_index (map_index);             
  search_offset = rtems_rfs_bitmap_map_offset (map_index);            
 20177ec:	88 0c 60 1f 	and  %l1, 0x1f, %g4                            
            map_offset += direction;                                  
            test_bit   += direction;                                  
          }                                                           
        }                                                             
                                                                      
        map_bits  += direction;                                       
 20177f0:	83 2e e0 02 	sll  %i3, 2, %g1                               
 20177f4:	80 a6 e0 00 	cmp  %i3, 0                                    
 20177f8:	04 80 00 03 	ble  2017804 <rtems_rfs_search_map_for_clear_bit.constprop.1+0x88><== NEVER TAKEN
 20177fc:	a8 10 20 1f 	mov  0x1f, %l4                                 
 2017800:	a8 10 20 00 	clr  %l4                                       
        test_bit = (map_index * rtems_rfs_bitmap_element_bits ()) + map_offset;
                                                                      
        search_offset += direction;                                   
                                                                      
        if (((direction < 0) && (test_bit <= end_bit))                
            || ((direction > 0) && (test_bit >= end_bit)))            
 2017804:	ab 3e e0 1f 	sra  %i3, 0x1f, %l5                            
       */                                                             
      rtems_rfs_bitmap_bit bits_skipped;                              
      test_bit &= ~((1 << RTEMS_RFS_ELEMENT_BITS_POWER_2) - 1);       
      if (direction > 0)                                              
      {                                                               
        bits_skipped = rtems_rfs_bitmap_element_bits () - search_offset;
 2017808:	86 10 20 20 	mov  0x20, %g3                                 
        test_bit = (map_index * rtems_rfs_bitmap_element_bits ()) + map_offset;
                                                                      
        search_offset += direction;                                   
                                                                      
        if (((direction < 0) && (test_bit <= end_bit))                
            || ((direction > 0) && (test_bit >= end_bit)))            
 201780c:	aa 25 40 1b 	sub  %l5, %i3, %l5                             
                                                                      
  return 0;                                                           
}                                                                     
                                                                      
static int                                                            
rtems_rfs_search_map_for_clear_bit (rtems_rfs_bitmap_control* control,
 2017810:	85 2e e0 05 	sll  %i3, 5, %g2                               
 */                                                                   
static bool                                                           
rtems_rfs_bitmap_test (rtems_rfs_bitmap_element target,               
                       rtems_rfs_bitmap_bit     bit)                  
{                                                                     
  return RTEMS_RFS_BITMAP_TEST_BIT (target, bit);                     
 2017814:	ae 10 20 01 	mov  1, %l7                                    
                                                                      
        test_bit = (map_index * rtems_rfs_bitmap_element_bits ()) + map_offset;
                                                                      
        search_offset += direction;                                   
                                                                      
        if (((direction < 0) && (test_bit <= end_bit))                
 2017818:	ad 36 e0 1f 	srl  %i3, 0x1f, %l6                            
            || ((direction > 0) && (test_bit >= end_bit)))            
 201781c:	ab 35 60 1f 	srl  %l5, 0x1f, %l5                            
    /*                                                                
     * If any bit is clear find that bit and then search the map element. If
     * all bits are set there are no map bits so move to the next search
     * element.                                                       
     */                                                               
    if (!rtems_rfs_bitmap_match (*search_bits, RTEMS_RFS_BITMAP_ELEMENT_SET))
 2017820:	d4 04 c0 00 	ld  [ %l3 ], %o2                               
 2017824:	80 a2 a0 00 	cmp  %o2, 0                                    
 2017828:	02 80 00 43 	be  2017934 <rtems_rfs_search_map_for_clear_bit.constprop.1+0x1b8><== NEVER TAKEN
 201782c:	80 a6 e0 00 	cmp  %i3, 0                                    
                                                                      
  return 0;                                                           
}                                                                     
                                                                      
static int                                                            
rtems_rfs_search_map_for_clear_bit (rtems_rfs_bitmap_control* control,
 2017830:	9e 04 40 1b 	add  %l1, %i3, %o7                             
 2017834:	9f 2b e0 05 	sll  %o7, 5, %o7                               
 2017838:	10 80 00 3a 	b  2017920 <rtems_rfs_search_map_for_clear_bit.constprop.1+0x1a4>
 201783c:	9e 03 c0 14 	add  %o7, %l4, %o7                             
    if (!rtems_rfs_bitmap_match (*search_bits, RTEMS_RFS_BITMAP_ELEMENT_SET))
    {                                                                 
      while ((search_offset >= 0)                                     
             && (search_offset < rtems_rfs_bitmap_element_bits ()))   
      {                                                               
        if (!rtems_rfs_bitmap_test (*search_bits, search_offset))     
 2017840:	80 8b 40 0a 	btst  %o5, %o2                                 
 2017844:	22 80 00 20 	be,a   20178c4 <rtems_rfs_search_map_for_clear_bit.constprop.1+0x148><== NEVER TAKEN
 2017848:	a4 04 80 01 	add  %l2, %g1, %l2                             <== NOT EXECUTED
        {                                                             
          /*                                                          
           * Find the clear bit in the map. Update the search map and map if
           * found. We may find none are spare if searching up from the seed.
           */                                                         
          while ((map_offset >= 0)                                    
 201784c:	10 80 00 1b 	b  20178b8 <rtems_rfs_search_map_for_clear_bit.constprop.1+0x13c>
 2017850:	80 a6 20 1f 	cmp  %i0, 0x1f                                 
 */                                                                   
static bool                                                           
rtems_rfs_bitmap_test (rtems_rfs_bitmap_element target,               
                       rtems_rfs_bitmap_bit     bit)                  
{                                                                     
  return RTEMS_RFS_BITMAP_TEST_BIT (target, bit);                     
 2017854:	97 2d c0 18 	sll  %l7, %i0, %o3                             
           * found. We may find none are spare if searching up from the seed.
           */                                                         
          while ((map_offset >= 0)                                    
                 && (map_offset < rtems_rfs_bitmap_element_bits ()))  
          {                                                           
            if (!rtems_rfs_bitmap_test (*map_bits, map_offset))       
 2017858:	80 8a c0 0c 	btst  %o3, %o4                                 
 201785c:	02 80 00 13 	be  20178a8 <rtems_rfs_search_map_for_clear_bit.constprop.1+0x12c>
 2017860:	80 a7 00 10 	cmp  %i4, %l0                                  
 */                                                                   
static rtems_rfs_bitmap_element                                       
rtems_rfs_bitmap_set (rtems_rfs_bitmap_element target,                
                      rtems_rfs_bitmap_element bits)                  
{                                                                     
  return RTEMS_RFS_BITMAP_SET_BITS (target, bits);                    
 2017864:	82 2b 00 0b 	andn  %o4, %o3, %g1                            
                 && (map_offset < rtems_rfs_bitmap_element_bits ()))  
          {                                                           
            if (!rtems_rfs_bitmap_test (*map_bits, map_offset))       
            {                                                         
              *map_bits = rtems_rfs_bitmap_set (*map_bits, 1 << map_offset);
              if (rtems_rfs_bitmap_match(*map_bits,                   
 2017868:	80 a0 60 00 	cmp  %g1, 0                                    
 201786c:	12 80 00 05 	bne  2017880 <rtems_rfs_search_map_for_clear_bit.constprop.1+0x104><== ALWAYS TAKEN
 2017870:	c2 24 80 00 	st  %g1, [ %l2 ]                               
 */                                                                   
static rtems_rfs_bitmap_element                                       
rtems_rfs_bitmap_set (rtems_rfs_bitmap_element target,                
                      rtems_rfs_bitmap_element bits)                  
{                                                                     
  return RTEMS_RFS_BITMAP_SET_BITS (target, bits);                    
 2017874:	c2 04 c0 00 	ld  [ %l3 ], %g1                               <== NOT EXECUTED
 2017878:	9a 28 40 0d 	andn  %g1, %o5, %o5                            <== NOT EXECUTED
            if (!rtems_rfs_bitmap_test (*map_bits, map_offset))       
            {                                                         
              *map_bits = rtems_rfs_bitmap_set (*map_bits, 1 << map_offset);
              if (rtems_rfs_bitmap_match(*map_bits,                   
                                         RTEMS_RFS_BITMAP_ELEMENT_SET))
                *search_bits = rtems_rfs_bitmap_set (*search_bits,    
 201787c:	da 24 c0 00 	st  %o5, [ %l3 ]                               <== NOT EXECUTED
                                                     1 << search_offset);
              control->free--;                                        
 2017880:	c2 07 60 10 	ld  [ %i5 + 0x10 ], %g1                        
              *bit = test_bit;                                        
              *found = true;                                          
              rtems_rfs_buffer_mark_dirty (control->buffer);          
 2017884:	c4 07 40 00 	ld  [ %i5 ], %g2                               
              *map_bits = rtems_rfs_bitmap_set (*map_bits, 1 << map_offset);
              if (rtems_rfs_bitmap_match(*map_bits,                   
                                         RTEMS_RFS_BITMAP_ELEMENT_SET))
                *search_bits = rtems_rfs_bitmap_set (*search_bits,    
                                                     1 << search_offset);
              control->free--;                                        
 2017888:	82 00 7f ff 	add  %g1, -1, %g1                              
 201788c:	c2 27 60 10 	st  %g1, [ %i5 + 0x10 ]                        
              *bit = test_bit;                                        
 2017890:	f8 26 40 00 	st  %i4, [ %i1 ]                               
              *found = true;                                          
 2017894:	82 10 20 01 	mov  1, %g1                                    
 2017898:	c2 2e 80 00 	stb  %g1, [ %i2 ]                              
              rtems_rfs_buffer_mark_dirty (control->buffer);          
 201789c:	c2 28 80 00 	stb  %g1, [ %g2 ]                              
              return 0;                                               
 20178a0:	81 c7 e0 08 	ret                                            
 20178a4:	91 e8 20 00 	restore  %g0, 0, %o0                           
            }                                                         
                                                                      
            if (test_bit == end_bit)                                  
 20178a8:	02 80 00 06 	be  20178c0 <rtems_rfs_search_map_for_clear_bit.constprop.1+0x144><== NEVER TAKEN
 20178ac:	b0 06 00 1b 	add  %i0, %i3, %i0                             
                                                                      
  return 0;                                                           
}                                                                     
                                                                      
static int                                                            
rtems_rfs_search_map_for_clear_bit (rtems_rfs_bitmap_control* control,
 20178b0:	b8 07 00 1b 	add  %i4, %i3, %i4                             
        {                                                             
          /*                                                          
           * Find the clear bit in the map. Update the search map and map if
           * found. We may find none are spare if searching up from the seed.
           */                                                         
          while ((map_offset >= 0)                                    
 20178b4:	80 a6 20 1f 	cmp  %i0, 0x1f                                 
 20178b8:	28 bf ff e7 	bleu,a   2017854 <rtems_rfs_search_map_for_clear_bit.constprop.1+0xd8><== ALWAYS TAKEN
 20178bc:	d8 04 80 00 	ld  [ %l2 ], %o4                               
            map_offset += direction;                                  
            test_bit   += direction;                                  
          }                                                           
        }                                                             
                                                                      
        map_bits  += direction;                                       
 20178c0:	a4 04 80 01 	add  %l2, %g1, %l2                             <== NOT EXECUTED
                                                                      
  return 0;                                                           
}                                                                     
                                                                      
static int                                                            
rtems_rfs_search_map_for_clear_bit (rtems_rfs_bitmap_control* control,
 20178c4:	a2 04 40 1b 	add  %l1, %i3, %l1                             <== NOT EXECUTED
                                                                      
        map_bits  += direction;                                       
        map_index += direction;                                       
        map_offset = direction > 0 ? 0 : rtems_rfs_bitmap_element_bits () - 1;
                                                                      
        test_bit = (map_index * rtems_rfs_bitmap_element_bits ()) + map_offset;
 20178c8:	b8 10 00 0f 	mov  %o7, %i4                                  <== NOT EXECUTED
                                                                      
  return 0;                                                           
}                                                                     
                                                                      
static int                                                            
rtems_rfs_search_map_for_clear_bit (rtems_rfs_bitmap_control* control,
 20178cc:	88 01 00 1b 	add  %g4, %i3, %g4                             <== NOT EXECUTED
                                                                      
        test_bit = (map_index * rtems_rfs_bitmap_element_bits ()) + map_offset;
                                                                      
        search_offset += direction;                                   
                                                                      
        if (((direction < 0) && (test_bit <= end_bit))                
 20178d0:	80 a3 c0 10 	cmp  %o7, %l0                                  <== NOT EXECUTED
 20178d4:	04 80 00 03 	ble  20178e0 <rtems_rfs_search_map_for_clear_bit.constprop.1+0x164><== NOT EXECUTED
 20178d8:	b0 10 20 01 	mov  1, %i0                                    <== NOT EXECUTED
 20178dc:	b0 10 20 00 	clr  %i0                                       <== NOT EXECUTED
 20178e0:	80 8e 20 ff 	btst  0xff, %i0                                <== NOT EXECUTED
 20178e4:	02 80 00 05 	be  20178f8 <rtems_rfs_search_map_for_clear_bit.constprop.1+0x17c><== NOT EXECUTED
 20178e8:	9e 03 c0 02 	add  %o7, %g2, %o7                             <== NOT EXECUTED
 20178ec:	80 a5 a0 00 	cmp  %l6, 0                                    <== NOT EXECUTED
 20178f0:	32 80 00 26 	bne,a   2017988 <rtems_rfs_search_map_for_clear_bit.constprop.1+0x20c><== NOT EXECUTED
 20178f4:	b0 10 00 14 	mov  %l4, %i0                                  <== NOT EXECUTED
            || ((direction > 0) && (test_bit >= end_bit)))            
 20178f8:	80 a7 00 10 	cmp  %i4, %l0                                  <== NOT EXECUTED
 20178fc:	16 80 00 03 	bge  2017908 <rtems_rfs_search_map_for_clear_bit.constprop.1+0x18c><== NOT EXECUTED
 2017900:	b0 10 20 01 	mov  1, %i0                                    <== NOT EXECUTED
 2017904:	b0 10 20 00 	clr  %i0                                       <== NOT EXECUTED
 2017908:	80 8e 20 ff 	btst  0xff, %i0                                <== NOT EXECUTED
 201790c:	02 80 00 05 	be  2017920 <rtems_rfs_search_map_for_clear_bit.constprop.1+0x1a4><== NOT EXECUTED
 2017910:	b0 10 00 14 	mov  %l4, %i0                                  <== NOT EXECUTED
 2017914:	80 a5 60 00 	cmp  %l5, 0                                    <== NOT EXECUTED
 2017918:	32 80 00 1d 	bne,a   201798c <rtems_rfs_search_map_for_clear_bit.constprop.1+0x210><== NOT EXECUTED
 201791c:	a6 04 c0 01 	add  %l3, %g1, %l3                             <== NOT EXECUTED
     * all bits are set there are no map bits so move to the next search
     * element.                                                       
     */                                                               
    if (!rtems_rfs_bitmap_match (*search_bits, RTEMS_RFS_BITMAP_ELEMENT_SET))
    {                                                                 
      while ((search_offset >= 0)                                     
 2017920:	80 a1 20 1f 	cmp  %g4, 0x1f                                 
 2017924:	28 bf ff c7 	bleu,a   2017840 <rtems_rfs_search_map_for_clear_bit.constprop.1+0xc4><== ALWAYS TAKEN
 2017928:	9b 2d c0 04 	sll  %l7, %g4, %o5                             
      }                                                               
      map_bits += direction * bits_skipped;                           
      map_index += direction * bits_skipped;                          
    }                                                                 
                                                                      
    search_bits  += direction;                                        
 201792c:	10 80 00 18 	b  201798c <rtems_rfs_search_map_for_clear_bit.constprop.1+0x210><== NOT EXECUTED
 2017930:	a6 04 c0 01 	add  %l3, %g1, %l3                             <== NOT EXECUTED
       * Align test_bit either up or down depending on the direction to next 32
       * bit boundary.                                                
       */                                                             
      rtems_rfs_bitmap_bit bits_skipped;                              
      test_bit &= ~((1 << RTEMS_RFS_ELEMENT_BITS_POWER_2) - 1);       
      if (direction > 0)                                              
 2017934:	04 80 00 07 	ble  2017950 <rtems_rfs_search_map_for_clear_bit.constprop.1+0x1d4><== NOT EXECUTED
 2017938:	b8 0f 3f e0 	and  %i4, -32, %i4                             <== NOT EXECUTED
      {                                                               
        bits_skipped = rtems_rfs_bitmap_element_bits () - search_offset;
 201793c:	92 20 c0 04 	sub  %g3, %g4, %o1                             <== NOT EXECUTED
        test_bit += bits_skipped * rtems_rfs_bitmap_element_bits ();  
        map_offset = 0;                                               
 2017940:	b0 10 20 00 	clr  %i0                                       <== NOT EXECUTED
      rtems_rfs_bitmap_bit bits_skipped;                              
      test_bit &= ~((1 << RTEMS_RFS_ELEMENT_BITS_POWER_2) - 1);       
      if (direction > 0)                                              
      {                                                               
        bits_skipped = rtems_rfs_bitmap_element_bits () - search_offset;
        test_bit += bits_skipped * rtems_rfs_bitmap_element_bits ();  
 2017944:	89 2a 60 05 	sll  %o1, 5, %g4                               <== NOT EXECUTED
 2017948:	10 80 00 07 	b  2017964 <rtems_rfs_search_map_for_clear_bit.constprop.1+0x1e8><== NOT EXECUTED
 201794c:	b8 01 00 1c 	add  %g4, %i4, %i4                             <== NOT EXECUTED
        map_offset = 0;                                               
      }                                                               
      else                                                            
      {                                                               
        bits_skipped = search_offset + 1;                             
 2017950:	92 01 20 01 	add  %g4, 1, %o1                               <== NOT EXECUTED
        /*                                                            
         * Need to remove 1 for the rounding up. The above rounds down and
         * adds 1. Remember the logic is for subtraction.             
         */                                                           
        test_bit -= ((bits_skipped - 1) * rtems_rfs_bitmap_element_bits ()) + 1;
        map_offset = rtems_rfs_bitmap_element_bits () - 1;            
 2017954:	b0 10 20 1f 	mov  0x1f, %i0                                 <== NOT EXECUTED
        bits_skipped = search_offset + 1;                             
        /*                                                            
         * Need to remove 1 for the rounding up. The above rounds down and
         * adds 1. Remember the logic is for subtraction.             
         */                                                           
        test_bit -= ((bits_skipped - 1) * rtems_rfs_bitmap_element_bits ()) + 1;
 2017958:	89 29 20 05 	sll  %g4, 5, %g4                               <== NOT EXECUTED
 201795c:	88 38 00 04 	xnor  %g0, %g4, %g4                            <== NOT EXECUTED
 2017960:	b8 01 00 1c 	add  %g4, %i4, %i4                             <== NOT EXECUTED
        map_offset = rtems_rfs_bitmap_element_bits () - 1;            
      }                                                               
      map_bits += direction * bits_skipped;                           
 2017964:	c2 27 bf f4 	st  %g1, [ %fp + -12 ]                         <== NOT EXECUTED
 2017968:	c4 3f bf e8 	std  %g2, [ %fp + -24 ]                        <== NOT EXECUTED
 201796c:	40 00 4d ae 	call  202b024 <.umul>                          <== NOT EXECUTED
 2017970:	90 10 00 1b 	mov  %i3, %o0                                  <== NOT EXECUTED
 2017974:	c2 07 bf f4 	ld  [ %fp + -12 ], %g1                         <== NOT EXECUTED
 2017978:	89 2a 20 02 	sll  %o0, 2, %g4                               <== NOT EXECUTED
      map_index += direction * bits_skipped;                          
 201797c:	a2 04 40 08 	add  %l1, %o0, %l1                             <== NOT EXECUTED
         * adds 1. Remember the logic is for subtraction.             
         */                                                           
        test_bit -= ((bits_skipped - 1) * rtems_rfs_bitmap_element_bits ()) + 1;
        map_offset = rtems_rfs_bitmap_element_bits () - 1;            
      }                                                               
      map_bits += direction * bits_skipped;                           
 2017980:	a4 04 80 04 	add  %l2, %g4, %l2                             <== NOT EXECUTED
 2017984:	c4 1f bf e8 	ldd  [ %fp + -24 ], %g2                        <== NOT EXECUTED
      map_index += direction * bits_skipped;                          
    }                                                                 
                                                                      
    search_bits  += direction;                                        
 2017988:	a6 04 c0 01 	add  %l3, %g1, %l3                             <== NOT EXECUTED
    search_offset = direction > 0 ? 0 : rtems_rfs_bitmap_element_bits () - 1;
 201798c:	80 a6 e0 00 	cmp  %i3, 0                                    <== NOT EXECUTED
 2017990:	04 80 00 03 	ble  201799c <rtems_rfs_search_map_for_clear_bit.constprop.1+0x220><== NOT EXECUTED
 2017994:	88 10 20 1f 	mov  0x1f, %g4                                 <== NOT EXECUTED
 2017998:	88 10 20 00 	clr  %g4                                       <== NOT EXECUTED
  }                                                                   
  while (((direction < 0) && (test_bit >= end_bit))                   
 201799c:	80 a7 00 10 	cmp  %i4, %l0                                  <== NOT EXECUTED
 20179a0:	16 80 00 03 	bge  20179ac <rtems_rfs_search_map_for_clear_bit.constprop.1+0x230><== NOT EXECUTED
 20179a4:	9e 10 20 01 	mov  1, %o7                                    <== NOT EXECUTED
 20179a8:	9e 10 20 00 	clr  %o7                                       <== NOT EXECUTED
         || ((direction > 0) && (test_bit <= end_bit)));              
 20179ac:	80 8b e0 ff 	btst  0xff, %o7                                <== NOT EXECUTED
 20179b0:	02 80 00 06 	be  20179c8 <rtems_rfs_search_map_for_clear_bit.constprop.1+0x24c><== NOT EXECUTED
 20179b4:	80 a7 00 10 	cmp  %i4, %l0                                  <== NOT EXECUTED
 20179b8:	80 a5 a0 00 	cmp  %l6, 0                                    <== NOT EXECUTED
 20179bc:	32 bf ff 9a 	bne,a   2017824 <rtems_rfs_search_map_for_clear_bit.constprop.1+0xa8><== NOT EXECUTED
 20179c0:	d4 04 c0 00 	ld  [ %l3 ], %o2                               <== NOT EXECUTED
 20179c4:	80 a7 00 10 	cmp  %i4, %l0                                  <== NOT EXECUTED
 20179c8:	04 80 00 03 	ble  20179d4 <rtems_rfs_search_map_for_clear_bit.constprop.1+0x258><== NOT EXECUTED
 20179cc:	9e 10 20 01 	mov  1, %o7                                    <== NOT EXECUTED
 20179d0:	9e 10 20 00 	clr  %o7                                       <== NOT EXECUTED
 20179d4:	80 8b e0 ff 	btst  0xff, %o7                                <== NOT EXECUTED
 20179d8:	02 80 00 04 	be  20179e8 <rtems_rfs_search_map_for_clear_bit.constprop.1+0x26c><== NOT EXECUTED
 20179dc:	80 a5 60 00 	cmp  %l5, 0                                    <== NOT EXECUTED
 20179e0:	32 bf ff 91 	bne,a   2017824 <rtems_rfs_search_map_for_clear_bit.constprop.1+0xa8><== NOT EXECUTED
 20179e4:	d4 04 c0 00 	ld  [ %l3 ], %o2                               <== NOT EXECUTED
                                                                      
  return 0;                                                           
 20179e8:	b0 10 20 00 	clr  %i0                                       <== NOT EXECUTED
}                                                                     
 20179ec:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 20179f0:	81 e8 00 00 	restore                                        <== NOT EXECUTED
                                                                      

0201c7fc <rtems_rfs_symlink>: const char* link, int link_length, uid_t uid, gid_t gid, rtems_rfs_ino parent) {
 201c7fc:	9d e3 bf 00 	save  %sp, -256, %sp                           
  rtems_rfs_inode_handle inode;                                       
  rtems_rfs_ino          ino;                                         
  int                    rc;                                          
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_SYMLINK))                      
 201c800:	90 10 20 02 	mov  2, %o0                                    
                   const char*            link,                       
                   int                    link_length,                
                   uid_t                  uid,                        
                   gid_t                  gid,                        
                   rtems_rfs_ino          parent)                     
{                                                                     
 201c804:	e0 07 a0 60 	ld  [ %fp + 0x60 ], %l0                        
 201c808:	e2 17 a0 5e 	lduh  [ %fp + 0x5e ], %l1                      
  rtems_rfs_inode_handle inode;                                       
  rtems_rfs_ino          ino;                                         
  int                    rc;                                          
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_SYMLINK))                      
 201c80c:	7f ff d2 8b 	call  2011238 <rtems_rfs_trace>                
 201c810:	92 10 20 00 	clr  %o1                                       
 201c814:	80 8a 20 ff 	btst  0xff, %o0                                
 201c818:	22 80 00 1a 	be,a   201c880 <rtems_rfs_symlink+0x84>        <== ALWAYS TAKEN
 201c81c:	c2 06 20 08 	ld  [ %i0 + 8 ], %g1                           
  {                                                                   
    int c;                                                            
    printf ("rtems-rfs: symlink: parent:%" PRIu32 " name:", parent);  
 201c820:	11 00 80 c2 	sethi  %hi(0x2030800), %o0                     <== NOT EXECUTED
 201c824:	92 10 00 10 	mov  %l0, %o1                                  <== NOT EXECUTED
 201c828:	90 12 21 90 	or  %o0, 0x190, %o0                            <== NOT EXECUTED
 201c82c:	40 00 0a 67 	call  201f1c8 <printf>                         <== NOT EXECUTED
 201c830:	a4 10 20 00 	clr  %l2                                       <== NOT EXECUTED
    for (c = 0; c < length; c++)                                      
 201c834:	10 80 00 05 	b  201c848 <rtems_rfs_symlink+0x4c>            <== NOT EXECUTED
 201c838:	80 a4 80 1a 	cmp  %l2, %i2                                  <== NOT EXECUTED
      printf ("%c", name[c]);                                         
 201c83c:	40 00 0a 76 	call  201f214 <putchar>                        <== NOT EXECUTED
 201c840:	a4 04 a0 01 	inc  %l2                                       <== NOT EXECUTED
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_SYMLINK))                      
  {                                                                   
    int c;                                                            
    printf ("rtems-rfs: symlink: parent:%" PRIu32 " name:", parent);  
    for (c = 0; c < length; c++)                                      
 201c844:	80 a4 80 1a 	cmp  %l2, %i2                                  <== NOT EXECUTED
 201c848:	26 bf ff fd 	bl,a   201c83c <rtems_rfs_symlink+0x40>        <== NOT EXECUTED
 201c84c:	d0 4e 40 12 	ldsb  [ %i1 + %l2 ], %o0                       <== NOT EXECUTED
      printf ("%c", name[c]);                                         
    printf (" link:");                                                
 201c850:	11 00 80 c2 	sethi  %hi(0x2030800), %o0                     <== NOT EXECUTED
    for (c = 0; c < link_length; c++)                                 
 201c854:	b4 10 20 00 	clr  %i2                                       <== NOT EXECUTED
  {                                                                   
    int c;                                                            
    printf ("rtems-rfs: symlink: parent:%" PRIu32 " name:", parent);  
    for (c = 0; c < length; c++)                                      
      printf ("%c", name[c]);                                         
    printf (" link:");                                                
 201c858:	40 00 0a 5c 	call  201f1c8 <printf>                         <== NOT EXECUTED
 201c85c:	90 12 21 b8 	or  %o0, 0x1b8, %o0                            <== NOT EXECUTED
    for (c = 0; c < link_length; c++)                                 
 201c860:	10 80 00 05 	b  201c874 <rtems_rfs_symlink+0x78>            <== NOT EXECUTED
 201c864:	80 a6 80 1c 	cmp  %i2, %i4                                  <== NOT EXECUTED
      printf ("%c", link[c]);                                         
 201c868:	40 00 0a 6b 	call  201f214 <putchar>                        <== NOT EXECUTED
 201c86c:	b4 06 a0 01 	inc  %i2                                       <== NOT EXECUTED
    int c;                                                            
    printf ("rtems-rfs: symlink: parent:%" PRIu32 " name:", parent);  
    for (c = 0; c < length; c++)                                      
      printf ("%c", name[c]);                                         
    printf (" link:");                                                
    for (c = 0; c < link_length; c++)                                 
 201c870:	80 a6 80 1c 	cmp  %i2, %i4                                  <== NOT EXECUTED
 201c874:	26 bf ff fd 	bl,a   201c868 <rtems_rfs_symlink+0x6c>        <== NOT EXECUTED
 201c878:	d0 4e c0 1a 	ldsb  [ %i3 + %i2 ], %o0                       <== NOT EXECUTED
      printf ("%c", link[c]);                                         
  }                                                                   
                                                                      
  if (link_length >= rtems_rfs_fs_block_size (fs))                    
 201c87c:	c2 06 20 08 	ld  [ %i0 + 8 ], %g1                           <== NOT EXECUTED
 201c880:	80 a7 00 01 	cmp  %i4, %g1                                  
 201c884:	1a 80 00 72 	bcc  201ca4c <rtems_rfs_symlink+0x250>         <== NEVER TAKEN
 201c888:	b4 10 20 5b 	mov  0x5b, %i2                                 
    return ENAMETOOLONG;                                              
                                                                      
  rc = rtems_rfs_inode_create (fs, parent, name, strlen (name),       
 201c88c:	40 00 0d 8a 	call  201feb4 <strlen>                         
 201c890:	90 10 00 19 	mov  %i1, %o0                                  
 201c894:	82 07 bf f8 	add  %fp, -8, %g1                              
 201c898:	96 10 00 08 	mov  %o0, %o3                                  
 201c89c:	fa 23 a0 5c 	st  %i5, [ %sp + 0x5c ]                        
 201c8a0:	e2 23 a0 60 	st  %l1, [ %sp + 0x60 ]                        
 201c8a4:	c2 23 a0 64 	st  %g1, [ %sp + 0x64 ]                        
 201c8a8:	90 10 00 18 	mov  %i0, %o0                                  
 201c8ac:	92 10 00 10 	mov  %l0, %o1                                  
 201c8b0:	94 10 00 19 	mov  %i1, %o2                                  
 201c8b4:	19 00 00 28 	sethi  %hi(0xa000), %o4                        
 201c8b8:	9a 10 20 01 	mov  1, %o5                                    
 201c8bc:	7f ff cb ef 	call  200f878 <rtems_rfs_inode_create>         
 201c8c0:	98 13 21 ff 	or  %o4, 0x1ff, %o4                            
                               RTEMS_RFS_S_SYMLINK,                   
                               1, uid, gid, &ino);                    
  if (rc > 0)                                                         
 201c8c4:	b4 92 20 00 	orcc  %o0, 0, %i2                              
 201c8c8:	34 80 00 62 	bg,a   201ca50 <rtems_rfs_symlink+0x254>       <== NEVER TAKEN
 201c8cc:	b0 10 00 1a 	mov  %i2, %i0                                  <== NOT EXECUTED
    return rc;                                                        
                                                                      
  rc = rtems_rfs_inode_open (fs, ino, &inode, true);                  
 201c8d0:	d2 07 bf f8 	ld  [ %fp + -8 ], %o1                          
 201c8d4:	90 10 00 18 	mov  %i0, %o0                                  
 201c8d8:	94 07 bf c4 	add  %fp, -60, %o2                             
 201c8dc:	7f ff ca 9f 	call  200f358 <rtems_rfs_inode_open>           
 201c8e0:	96 10 20 01 	mov  1, %o3                                    
  if (rc > 0)                                                         
 201c8e4:	b4 92 20 00 	orcc  %o0, 0, %i2                              
 201c8e8:	34 80 00 5a 	bg,a   201ca50 <rtems_rfs_symlink+0x254>       <== NEVER TAKEN
 201c8ec:	b0 10 00 1a 	mov  %i2, %i0                                  <== NOT EXECUTED
  /*                                                                  
   * If the link length is less than the length of data union in the inode
   * place the link into the data area else allocate a block and write the link
   * to that.                                                         
   */                                                                 
  if (link_length < RTEMS_RFS_INODE_DATA_NAME_SIZE)                   
 201c8f0:	80 a7 20 13 	cmp  %i4, 0x13                                 
 201c8f4:	38 80 00 15 	bgu,a   201c948 <rtems_rfs_symlink+0x14c>      <== NEVER TAKEN
 201c8f8:	90 10 00 18 	mov  %i0, %o0                                  <== NOT EXECUTED
  {                                                                   
    memset (inode.node->data.name, 0, RTEMS_RFS_INODE_DATA_NAME_SIZE);
 201c8fc:	d0 07 bf d0 	ld  [ %fp + -48 ], %o0                         
 201c900:	92 10 20 00 	clr  %o1                                       
 201c904:	94 10 20 14 	mov  0x14, %o2                                 
 201c908:	40 00 09 de 	call  201f080 <memset>                         
 201c90c:	90 02 20 1c 	add  %o0, 0x1c, %o0                            
    memcpy (inode.node->data.name, link, link_length);                
 201c910:	d0 07 bf d0 	ld  [ %fp + -48 ], %o0                         
 201c914:	92 10 00 1b 	mov  %i3, %o1                                  
 201c918:	90 02 20 1c 	add  %o0, 0x1c, %o0                            
 201c91c:	40 00 09 4d 	call  201ee50 <memcpy>                         
 201c920:	94 10 00 1c 	mov  %i4, %o2                                  
 * @param block_count The block count.                                
 */                                                                   
static inline void                                                    
rtems_rfs_inode_set_block_count (rtems_rfs_inode_handle* handle, uint32_t block_count)
{                                                                     
  rtems_rfs_write_u32 (&handle->node->block_count, block_count);      
 201c924:	c2 07 bf d0 	ld  [ %fp + -48 ], %g1                         
 201c928:	c0 28 60 0c 	clrb  [ %g1 + 0xc ]                            
 201c92c:	c2 07 bf d0 	ld  [ %fp + -48 ], %g1                         
 201c930:	c0 28 60 0d 	clrb  [ %g1 + 0xd ]                            
 201c934:	c2 07 bf d0 	ld  [ %fp + -48 ], %g1                         
 201c938:	c0 28 60 0e 	clrb  [ %g1 + 0xe ]                            
 201c93c:	c2 07 bf d0 	ld  [ %fp + -48 ], %g1                         
 201c940:	10 80 00 38 	b  201ca20 <rtems_rfs_symlink+0x224>           
 201c944:	c0 28 60 0f 	clrb  [ %g1 + 0xf ]                            
    rtems_rfs_block_map     map;                                      
    rtems_rfs_block_no      block;                                    
    rtems_rfs_buffer_handle buffer;                                   
    uint8_t*                data;                                     
                                                                      
    rc = rtems_rfs_block_map_open (fs, &inode, &map);                 
 201c948:	92 07 bf c4 	add  %fp, -60, %o1                             <== NOT EXECUTED
 201c94c:	7f ff ee 6a 	call  20182f4 <rtems_rfs_block_map_open>       <== NOT EXECUTED
 201c950:	94 07 bf 74 	add  %fp, -140, %o2                            <== NOT EXECUTED
 201c954:	b4 10 00 08 	mov  %o0, %i2                                  <== NOT EXECUTED
    if (rc > 0)                                                       
 201c958:	80 a6 a0 00 	cmp  %i2, 0                                    <== NOT EXECUTED
 201c95c:	14 80 00 18 	bg  201c9bc <rtems_rfs_symlink+0x1c0>          <== NOT EXECUTED
 201c960:	90 10 00 18 	mov  %i0, %o0                                  <== NOT EXECUTED
    {                                                                 
      rtems_rfs_inode_close (fs, &inode);                             
      return rc;                                                      
    }                                                                 
                                                                      
    rc = rtems_rfs_block_map_grow (fs, &map, 1, &block);              
 201c964:	92 07 bf 74 	add  %fp, -140, %o1                            <== NOT EXECUTED
 201c968:	94 10 20 01 	mov  1, %o2                                    <== NOT EXECUTED
 201c96c:	7f ff ef bf 	call  2018868 <rtems_rfs_block_map_grow>       <== NOT EXECUTED
 201c970:	96 07 bf fc 	add  %fp, -4, %o3                              <== NOT EXECUTED
    if (rc > 0)                                                       
 201c974:	b4 92 20 00 	orcc  %o0, 0, %i2                              <== NOT EXECUTED
 201c978:	14 80 00 0e 	bg  201c9b0 <rtems_rfs_symlink+0x1b4>          <== NOT EXECUTED
 201c97c:	90 10 00 18 	mov  %i0, %o0                                  <== NOT EXECUTED
      rtems_rfs_block_map_close (fs, &map);                           
      rtems_rfs_inode_close (fs, &inode);                             
      return rc;                                                      
    }                                                                 
                                                                      
    rc = rtems_rfs_buffer_handle_request (fs, &buffer, block, false); 
 201c980:	d4 07 bf fc 	ld  [ %fp + -4 ], %o2                          <== NOT EXECUTED
 */                                                                   
static inline int                                                     
rtems_rfs_buffer_handle_open (rtems_rfs_file_system*   fs,            
                              rtems_rfs_buffer_handle* handle)        
{                                                                     
  handle->dirty = false;                                              
 201c984:	c0 2f bf ec 	clrb  [ %fp + -20 ]                            <== NOT EXECUTED
  handle->bnum  = 0;                                                  
 201c988:	c0 27 bf f0 	clr  [ %fp + -16 ]                             <== NOT EXECUTED
  handle->buffer = NULL;                                              
 201c98c:	c0 27 bf f4 	clr  [ %fp + -12 ]                             <== NOT EXECUTED
 201c990:	90 10 00 18 	mov  %i0, %o0                                  <== NOT EXECUTED
 201c994:	92 07 bf ec 	add  %fp, -20, %o1                             <== NOT EXECUTED
 201c998:	7f ff f2 48 	call  20192b8 <rtems_rfs_buffer_handle_request><== NOT EXECUTED
 201c99c:	96 10 20 00 	clr  %o3                                       <== NOT EXECUTED
    if (rc > 0)                                                       
 201c9a0:	b4 92 20 00 	orcc  %o0, 0, %i2                              <== NOT EXECUTED
 201c9a4:	04 80 00 0a 	ble  201c9cc <rtems_rfs_symlink+0x1d0>         <== NOT EXECUTED
 201c9a8:	c2 07 bf f4 	ld  [ %fp + -12 ], %g1                         <== NOT EXECUTED
    {                                                                 
      rtems_rfs_block_map_close (fs, &map);                           
 201c9ac:	90 10 00 18 	mov  %i0, %o0                                  <== NOT EXECUTED
 201c9b0:	7f ff ee b3 	call  201847c <rtems_rfs_block_map_close>      <== NOT EXECUTED
 201c9b4:	92 07 bf 74 	add  %fp, -140, %o1                            <== NOT EXECUTED
      rtems_rfs_inode_close (fs, &inode);                             
 201c9b8:	90 10 00 18 	mov  %i0, %o0                                  <== NOT EXECUTED
 201c9bc:	7f ff ca d9 	call  200f520 <rtems_rfs_inode_close>          <== NOT EXECUTED
 201c9c0:	92 07 bf c4 	add  %fp, -60, %o1                             <== NOT EXECUTED
      return rc;                                                      
 201c9c4:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 201c9c8:	91 e8 00 1a 	restore  %g0, %i2, %o0                         <== NOT EXECUTED
    }                                                                 
                                                                      
    data = rtems_rfs_buffer_data (&buffer);                           
                                                                      
    memset (data, 0xff, rtems_rfs_fs_block_size (fs));                
 201c9cc:	d4 06 20 08 	ld  [ %i0 + 8 ], %o2                           <== NOT EXECUTED
      rtems_rfs_block_map_close (fs, &map);                           
      rtems_rfs_inode_close (fs, &inode);                             
      return rc;                                                      
    }                                                                 
                                                                      
    data = rtems_rfs_buffer_data (&buffer);                           
 201c9d0:	f4 00 60 24 	ld  [ %g1 + 0x24 ], %i2                        <== NOT EXECUTED
                                                                      
    memset (data, 0xff, rtems_rfs_fs_block_size (fs));                
 201c9d4:	92 10 20 ff 	mov  0xff, %o1                                 <== NOT EXECUTED
 201c9d8:	40 00 09 aa 	call  201f080 <memset>                         <== NOT EXECUTED
 201c9dc:	90 10 00 1a 	mov  %i2, %o0                                  <== NOT EXECUTED
    memcpy (data, link, link_length);                                 
 201c9e0:	94 10 00 1c 	mov  %i4, %o2                                  <== NOT EXECUTED
 201c9e4:	90 10 00 1a 	mov  %i2, %o0                                  <== NOT EXECUTED
 201c9e8:	40 00 09 1a 	call  201ee50 <memcpy>                         <== NOT EXECUTED
 201c9ec:	92 10 00 1b 	mov  %i3, %o1                                  <== NOT EXECUTED
 */                                                                   
static inline int                                                     
rtems_rfs_buffer_handle_close (rtems_rfs_file_system*   fs,           
                               rtems_rfs_buffer_handle* handle)       
{                                                                     
  rtems_rfs_buffer_handle_release (fs, handle);                       
 201c9f0:	92 07 bf ec 	add  %fp, -20, %o1                             <== NOT EXECUTED
 201c9f4:	7f ff f1 bf 	call  20190f0 <rtems_rfs_buffer_handle_release><== NOT EXECUTED
 201c9f8:	90 10 00 18 	mov  %i0, %o0                                  <== NOT EXECUTED
      rtems_rfs_block_map_close (fs, &map);                           
      rtems_rfs_inode_close (fs, &inode);                             
      return rc;                                                      
    }                                                                 
                                                                      
    rc = rtems_rfs_block_map_close (fs, &map);                        
 201c9fc:	90 10 00 18 	mov  %i0, %o0                                  <== NOT EXECUTED
  handle->dirty = false;                                              
 201ca00:	c0 2f bf ec 	clrb  [ %fp + -20 ]                            <== NOT EXECUTED
  handle->bnum  = 0;                                                  
 201ca04:	c0 27 bf f0 	clr  [ %fp + -16 ]                             <== NOT EXECUTED
  handle->buffer = NULL;                                              
 201ca08:	c0 27 bf f4 	clr  [ %fp + -12 ]                             <== NOT EXECUTED
 201ca0c:	7f ff ee 9c 	call  201847c <rtems_rfs_block_map_close>      <== NOT EXECUTED
 201ca10:	92 07 bf 74 	add  %fp, -140, %o1                            <== NOT EXECUTED
    if (rc > 0)                                                       
 201ca14:	b4 92 20 00 	orcc  %o0, 0, %i2                              <== NOT EXECUTED
 201ca18:	14 bf ff e9 	bg  201c9bc <rtems_rfs_symlink+0x1c0>          <== NOT EXECUTED
 201ca1c:	90 10 00 18 	mov  %i0, %o0                                  <== NOT EXECUTED
 */                                                                   
static inline void                                                    
rtems_rfs_inode_set_block_offset (rtems_rfs_inode_handle* handle,     
                                  uint16_t                block_offset)
{                                                                     
  rtems_rfs_write_u16 (&handle->node->block_offset, block_offset);    
 201ca20:	c2 07 bf d0 	ld  [ %fp + -48 ], %g1                         
 201ca24:	85 37 20 08 	srl  %i4, 8, %g2                               
 201ca28:	c4 28 60 0a 	stb  %g2, [ %g1 + 0xa ]                        
 201ca2c:	c2 07 bf d0 	ld  [ %fp + -48 ], %g1                         
    }                                                                 
  }                                                                   
                                                                      
  rtems_rfs_inode_set_block_offset (&inode, link_length);             
                                                                      
  rc = rtems_rfs_inode_close (fs, &inode);                            
 201ca30:	90 10 00 18 	mov  %i0, %o0                                  
 201ca34:	f8 28 60 0b 	stb  %i4, [ %g1 + 0xb ]                        
  rtems_rfs_buffer_mark_dirty (&handle->buffer);                      
 201ca38:	82 10 20 01 	mov  1, %g1                                    
 201ca3c:	92 07 bf c4 	add  %fp, -60, %o1                             
 201ca40:	7f ff ca b8 	call  200f520 <rtems_rfs_inode_close>          
 201ca44:	c2 2f bf d4 	stb  %g1, [ %fp + -44 ]                        
 201ca48:	b4 10 00 08 	mov  %o0, %i2                                  
                                                                      
  return rc;                                                          
}                                                                     
 201ca4c:	b0 10 00 1a 	mov  %i2, %i0                                  
 201ca50:	81 c7 e0 08 	ret                                            
 201ca54:	81 e8 00 00 	restore                                        
                                                                      

0201ca58 <rtems_rfs_symlink_read>: rtems_rfs_symlink_read (rtems_rfs_file_system* fs, rtems_rfs_ino link, char* path, size_t size, size_t* length) {
 201ca58:	9d e3 bf 18 	save  %sp, -232, %sp                           
  rtems_rfs_inode_handle inode;                                       
  int                    rc;                                          
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_SYMLINK_READ))                 
 201ca5c:	90 10 20 04 	mov  4, %o0                                    
 201ca60:	92 10 20 00 	clr  %o1                                       
 201ca64:	7f ff d1 f5 	call  2011238 <rtems_rfs_trace>                
 201ca68:	ba 10 00 18 	mov  %i0, %i5                                  
 201ca6c:	80 8a 20 ff 	btst  0xff, %o0                                
 201ca70:	22 80 00 07 	be,a   201ca8c <rtems_rfs_symlink_read+0x34>   <== ALWAYS TAKEN
 201ca74:	90 10 00 1d 	mov  %i5, %o0                                  
    printf ("rtems-rfs: symlink-read: link:%" PRIu32 "\n", link);     
 201ca78:	11 00 80 c2 	sethi  %hi(0x2030800), %o0                     <== NOT EXECUTED
 201ca7c:	92 10 00 19 	mov  %i1, %o1                                  <== NOT EXECUTED
 201ca80:	40 00 09 d2 	call  201f1c8 <printf>                         <== NOT EXECUTED
 201ca84:	90 12 21 c0 	or  %o0, 0x1c0, %o0                            <== NOT EXECUTED
                                                                      
  rc = rtems_rfs_inode_open (fs, link, &inode, true);                 
 201ca88:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
 201ca8c:	92 10 00 19 	mov  %i1, %o1                                  
 201ca90:	94 07 bf c8 	add  %fp, -56, %o2                             
 201ca94:	7f ff ca 31 	call  200f358 <rtems_rfs_inode_open>           
 201ca98:	96 10 20 01 	mov  1, %o3                                    
  if (rc)                                                             
 201ca9c:	b0 92 20 00 	orcc  %o0, 0, %i0                              
 201caa0:	12 80 00 15 	bne  201caf4 <rtems_rfs_symlink_read+0x9c>     <== NEVER TAKEN
 201caa4:	d2 07 bf d4 	ld  [ %fp + -44 ], %o1                         
    return rc;                                                        
                                                                      
  if (!RTEMS_RFS_S_ISLNK (rtems_rfs_inode_get_mode (&inode)))         
 201caa8:	03 00 00 3c 	sethi  %hi(0xf000), %g1                        
 * @return uint16_t The mode.                                         
 */                                                                   
static inline uint16_t                                                
rtems_rfs_inode_get_mode (rtems_rfs_inode_handle* handle)             
{                                                                     
  return rtems_rfs_read_u16 (&handle->node->mode);                    
 201caac:	c4 0a 60 02 	ldub  [ %o1 + 2 ], %g2                         
 201cab0:	85 28 a0 08 	sll  %g2, 8, %g2                               
 201cab4:	84 08 80 01 	and  %g2, %g1, %g2                             
 201cab8:	03 00 00 28 	sethi  %hi(0xa000), %g1                        
 201cabc:	80 a0 80 01 	cmp  %g2, %g1                                  
 201cac0:	12 80 00 0a 	bne  201cae8 <rtems_rfs_symlink_read+0x90>     <== NEVER TAKEN
 201cac4:	90 10 00 1d 	mov  %i5, %o0                                  
 * @return uint32_t The block offset.                                 
 */                                                                   
static inline uint16_t                                                
rtems_rfs_inode_get_block_offset (rtems_rfs_inode_handle* handle)     
{                                                                     
  return rtems_rfs_read_u16 (&handle->node->block_offset);            
 201cac8:	d4 0a 60 0a 	ldub  [ %o1 + 0xa ], %o2                       
  {                                                                   
    rtems_rfs_inode_close (fs, &inode);                               
    return EINVAL;                                                    
  }                                                                   
                                                                      
  *length = rtems_rfs_inode_get_block_offset (&inode);                
 201cacc:	c2 0a 60 0b 	ldub  [ %o1 + 0xb ], %g1                       
 201cad0:	95 2a a0 08 	sll  %o2, 8, %o2                               
 201cad4:	94 10 40 0a 	or  %g1, %o2, %o2                              
                                                                      
  if (size < *length)                                                 
 201cad8:	80 a6 c0 0a 	cmp  %i3, %o2                                  
 201cadc:	1a 80 00 08 	bcc  201cafc <rtems_rfs_symlink_read+0xa4>     
 201cae0:	d4 27 00 00 	st  %o2, [ %i4 ]                               
  {                                                                   
    rtems_rfs_inode_close (fs, &inode);                               
 201cae4:	90 10 00 1d 	mov  %i5, %o0                                  
 201cae8:	92 07 bf c8 	add  %fp, -56, %o1                             
 201caec:	7f ff ca 8d 	call  200f520 <rtems_rfs_inode_close>          
 201caf0:	b0 10 20 16 	mov  0x16, %i0                                 
    return EINVAL;                                                    
 201caf4:	81 c7 e0 08 	ret                                            
 201caf8:	81 e8 00 00 	restore                                        
 * @return uint32_t The block count.                                  
 */                                                                   
static inline uint32_t                                                
rtems_rfs_inode_get_block_count (rtems_rfs_inode_handle* handle)      
{                                                                     
  return rtems_rfs_read_u32 (&handle->node->block_count);             
 201cafc:	c2 0a 60 0d 	ldub  [ %o1 + 0xd ], %g1                       
 201cb00:	c4 0a 60 0c 	ldub  [ %o1 + 0xc ], %g2                       
 201cb04:	83 28 60 10 	sll  %g1, 0x10, %g1                            
 201cb08:	85 28 a0 18 	sll  %g2, 0x18, %g2                            
 201cb0c:	84 10 80 01 	or  %g2, %g1, %g2                              
 201cb10:	c2 0a 60 0f 	ldub  [ %o1 + 0xf ], %g1                       
 201cb14:	84 10 80 01 	or  %g2, %g1, %g2                              
 201cb18:	c2 0a 60 0e 	ldub  [ %o1 + 0xe ], %g1                       
 201cb1c:	83 28 60 08 	sll  %g1, 8, %g1                               
  }                                                                   
                                                                      
  if (rtems_rfs_inode_get_block_count (&inode) == 0)                  
 201cb20:	80 90 80 01 	orcc  %g2, %g1, %g0                            
 201cb24:	12 80 00 07 	bne  201cb40 <rtems_rfs_symlink_read+0xe8>     <== NEVER TAKEN
 201cb28:	90 10 00 1d 	mov  %i5, %o0                                  
  {                                                                   
    memcpy (path, inode.node->data.name, *length);                    
 201cb2c:	90 10 00 1a 	mov  %i2, %o0                                  
 201cb30:	40 00 08 c8 	call  201ee50 <memcpy>                         
 201cb34:	92 02 60 1c 	add  %o1, 0x1c, %o1                            
      rtems_rfs_inode_close (fs, &inode);                             
      return rc;                                                      
    }                                                                 
  }                                                                   
                                                                      
  path[*length] = '\0';                                               
 201cb38:	10 80 00 36 	b  201cc10 <rtems_rfs_symlink_read+0x1b8>      
 201cb3c:	c2 07 00 00 	ld  [ %i4 ], %g1                               
    rtems_rfs_block_map     map;                                      
    rtems_rfs_block_no      block;                                    
    rtems_rfs_buffer_handle buffer;                                   
    char*                   data;                                     
                                                                      
    rc = rtems_rfs_block_map_open (fs, &inode, &map);                 
 201cb40:	92 07 bf c8 	add  %fp, -56, %o1                             <== NOT EXECUTED
 201cb44:	7f ff ed ec 	call  20182f4 <rtems_rfs_block_map_open>       <== NOT EXECUTED
 201cb48:	94 07 bf 78 	add  %fp, -136, %o2                            <== NOT EXECUTED
 201cb4c:	b0 10 00 08 	mov  %o0, %i0                                  <== NOT EXECUTED
    if (rc > 0)                                                       
 201cb50:	80 a6 20 00 	cmp  %i0, 0                                    <== NOT EXECUTED
 201cb54:	14 80 00 2b 	bg  201cc00 <rtems_rfs_symlink_read+0x1a8>     <== NOT EXECUTED
 201cb58:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
    {                                                                 
      rtems_rfs_inode_close (fs, &inode);                             
      return rc;                                                      
    }                                                                 
                                                                      
    rc = rtems_rfs_block_map_seek (fs, &map, 0, &block);              
 201cb5c:	92 07 bf 78 	add  %fp, -136, %o1                            <== NOT EXECUTED
 201cb60:	94 10 20 00 	clr  %o2                                       <== NOT EXECUTED
 201cb64:	96 10 20 00 	clr  %o3                                       <== NOT EXECUTED
 201cb68:	7f ff ef 16 	call  20187c0 <rtems_rfs_block_map_seek>       <== NOT EXECUTED
 201cb6c:	98 07 bf fc 	add  %fp, -4, %o4                              <== NOT EXECUTED
    if (rc > 0)                                                       
 201cb70:	b0 92 20 00 	orcc  %o0, 0, %i0                              <== NOT EXECUTED
 201cb74:	14 80 00 0d 	bg  201cba8 <rtems_rfs_symlink_read+0x150>     <== NOT EXECUTED
 201cb78:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
      rtems_rfs_block_map_close (fs, &map);                           
      rtems_rfs_inode_close (fs, &inode);                             
      return rc;                                                      
    }                                                                 
                                                                      
    rc = rtems_rfs_buffer_handle_request (fs, &buffer, block, false); 
 201cb7c:	d4 07 bf fc 	ld  [ %fp + -4 ], %o2                          <== NOT EXECUTED
 */                                                                   
static inline int                                                     
rtems_rfs_buffer_handle_open (rtems_rfs_file_system*   fs,            
                              rtems_rfs_buffer_handle* handle)        
{                                                                     
  handle->dirty = false;                                              
 201cb80:	c0 2f bf f0 	clrb  [ %fp + -16 ]                            <== NOT EXECUTED
  handle->bnum  = 0;                                                  
 201cb84:	c0 27 bf f4 	clr  [ %fp + -12 ]                             <== NOT EXECUTED
  handle->buffer = NULL;                                              
 201cb88:	c0 27 bf f8 	clr  [ %fp + -8 ]                              <== NOT EXECUTED
 201cb8c:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
 201cb90:	92 07 bf f0 	add  %fp, -16, %o1                             <== NOT EXECUTED
 201cb94:	7f ff f1 c9 	call  20192b8 <rtems_rfs_buffer_handle_request><== NOT EXECUTED
 201cb98:	96 10 20 00 	clr  %o3                                       <== NOT EXECUTED
    if (rc > 0)                                                       
 201cb9c:	b0 92 20 00 	orcc  %o0, 0, %i0                              <== NOT EXECUTED
 201cba0:	04 80 00 06 	ble  201cbb8 <rtems_rfs_symlink_read+0x160>    <== NOT EXECUTED
 201cba4:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
    {                                                                 
      rtems_rfs_block_map_close (fs, &map);                           
 201cba8:	7f ff ee 35 	call  201847c <rtems_rfs_block_map_close>      <== NOT EXECUTED
 201cbac:	92 07 bf 78 	add  %fp, -136, %o1                            <== NOT EXECUTED
    }                                                                 
                                                                      
    rc = rtems_rfs_block_map_close (fs, &map);                        
    if (rc > 0)                                                       
    {                                                                 
      rtems_rfs_inode_close (fs, &inode);                             
 201cbb0:	10 80 00 14 	b  201cc00 <rtems_rfs_symlink_read+0x1a8>      <== NOT EXECUTED
 201cbb4:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
      rtems_rfs_inode_close (fs, &inode);                             
      return rc;                                                      
    }                                                                 
                                                                      
    data = rtems_rfs_buffer_data (&buffer);                           
    memcpy (path, data, *length);                                     
 201cbb8:	c2 07 bf f8 	ld  [ %fp + -8 ], %g1                          <== NOT EXECUTED
 201cbbc:	d4 07 00 00 	ld  [ %i4 ], %o2                               <== NOT EXECUTED
 201cbc0:	d2 00 60 24 	ld  [ %g1 + 0x24 ], %o1                        <== NOT EXECUTED
 201cbc4:	40 00 08 a3 	call  201ee50 <memcpy>                         <== NOT EXECUTED
 201cbc8:	90 10 00 1a 	mov  %i2, %o0                                  <== NOT EXECUTED
 */                                                                   
static inline int                                                     
rtems_rfs_buffer_handle_close (rtems_rfs_file_system*   fs,           
                               rtems_rfs_buffer_handle* handle)       
{                                                                     
  rtems_rfs_buffer_handle_release (fs, handle);                       
 201cbcc:	92 07 bf f0 	add  %fp, -16, %o1                             <== NOT EXECUTED
 201cbd0:	7f ff f1 48 	call  20190f0 <rtems_rfs_buffer_handle_release><== NOT EXECUTED
 201cbd4:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
      rtems_rfs_block_map_close (fs, &map);                           
      rtems_rfs_inode_close (fs, &inode);                             
      return rc;                                                      
    }                                                                 
                                                                      
    rc = rtems_rfs_block_map_close (fs, &map);                        
 201cbd8:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
  handle->dirty = false;                                              
 201cbdc:	c0 2f bf f0 	clrb  [ %fp + -16 ]                            <== NOT EXECUTED
  handle->bnum  = 0;                                                  
 201cbe0:	c0 27 bf f4 	clr  [ %fp + -12 ]                             <== NOT EXECUTED
  handle->buffer = NULL;                                              
 201cbe4:	c0 27 bf f8 	clr  [ %fp + -8 ]                              <== NOT EXECUTED
 201cbe8:	7f ff ee 25 	call  201847c <rtems_rfs_block_map_close>      <== NOT EXECUTED
 201cbec:	92 07 bf 78 	add  %fp, -136, %o1                            <== NOT EXECUTED
    if (rc > 0)                                                       
 201cbf0:	b0 92 20 00 	orcc  %o0, 0, %i0                              <== NOT EXECUTED
 201cbf4:	24 80 00 07 	ble,a   201cc10 <rtems_rfs_symlink_read+0x1b8> <== NOT EXECUTED
 201cbf8:	c2 07 00 00 	ld  [ %i4 ], %g1                               <== NOT EXECUTED
    {                                                                 
      rtems_rfs_inode_close (fs, &inode);                             
 201cbfc:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
 201cc00:	7f ff ca 48 	call  200f520 <rtems_rfs_inode_close>          <== NOT EXECUTED
 201cc04:	92 07 bf c8 	add  %fp, -56, %o1                             <== NOT EXECUTED
      return rc;                                                      
 201cc08:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 201cc0c:	81 e8 00 00 	restore                                        <== NOT EXECUTED
    }                                                                 
  }                                                                   
                                                                      
  path[*length] = '\0';                                               
                                                                      
  rc = rtems_rfs_inode_close (fs, &inode);                            
 201cc10:	90 10 00 1d 	mov  %i5, %o0                                  
      rtems_rfs_inode_close (fs, &inode);                             
      return rc;                                                      
    }                                                                 
  }                                                                   
                                                                      
  path[*length] = '\0';                                               
 201cc14:	c0 2e 80 01 	clrb  [ %i2 + %g1 ]                            
                                                                      
  rc = rtems_rfs_inode_close (fs, &inode);                            
 201cc18:	7f ff ca 42 	call  200f520 <rtems_rfs_inode_close>          
 201cc1c:	92 07 bf c8 	add  %fp, -56, %o1                             
 201cc20:	b0 10 00 08 	mov  %o0, %i0                                  
                                                                      
  return rc;                                                          
}                                                                     
 201cc24:	81 c7 e0 08 	ret                                            
 201cc28:	81 e8 00 00 	restore                                        
                                                                      

0201127c <rtems_rfs_trace_clear_mask>: rtems_rfs_trace_mask rtems_rfs_trace_clear_mask (rtems_rfs_trace_mask mask) {
 201127c:	9d e3 bf a0 	save  %sp, -96, %sp                            <== NOT EXECUTED
  rtems_rfs_trace_mask state = rtems_rfs_trace_flags;                 
 2011280:	03 00 80 c8 	sethi  %hi(0x2032000), %g1                     <== NOT EXECUTED
 2011284:	c4 18 63 98 	ldd  [ %g1 + 0x398 ], %g2	! 2032398 <rtems_rfs_trace_flags><== NOT EXECUTED
  rtems_rfs_trace_flags &= ~mask;                                     
 2011288:	98 28 80 18 	andn  %g2, %i0, %o4                            <== NOT EXECUTED
 201128c:	9a 28 c0 19 	andn  %g3, %i1, %o5                            <== NOT EXECUTED
  return state;                                                       
}                                                                     
 2011290:	b0 10 00 02 	mov  %g2, %i0                                  <== NOT EXECUTED
                                                                      
rtems_rfs_trace_mask                                                  
rtems_rfs_trace_clear_mask (rtems_rfs_trace_mask mask)                
{                                                                     
  rtems_rfs_trace_mask state = rtems_rfs_trace_flags;                 
  rtems_rfs_trace_flags &= ~mask;                                     
 2011294:	d8 38 63 98 	std  %o4, [ %g1 + 0x398 ]                      <== NOT EXECUTED
  return state;                                                       
}                                                                     
 2011298:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 201129c:	93 e8 00 03 	restore  %g0, %g3, %o1                         <== NOT EXECUTED
                                                                      

02011258 <rtems_rfs_trace_set_mask>: rtems_rfs_trace_mask rtems_rfs_trace_set_mask (rtems_rfs_trace_mask mask) {
 2011258:	9d e3 bf a0 	save  %sp, -96, %sp                            <== NOT EXECUTED
  rtems_rfs_trace_mask state = rtems_rfs_trace_flags;                 
 201125c:	03 00 80 c8 	sethi  %hi(0x2032000), %g1                     <== NOT EXECUTED
 2011260:	c4 18 63 98 	ldd  [ %g1 + 0x398 ], %g2	! 2032398 <rtems_rfs_trace_flags><== NOT EXECUTED
  rtems_rfs_trace_flags |= mask;                                      
 2011264:	98 16 00 02 	or  %i0, %g2, %o4                              <== NOT EXECUTED
 2011268:	9a 16 40 03 	or  %i1, %g3, %o5                              <== NOT EXECUTED
  return state;                                                       
}                                                                     
 201126c:	b0 10 00 02 	mov  %g2, %i0                                  <== NOT EXECUTED
                                                                      
rtems_rfs_trace_mask                                                  
rtems_rfs_trace_set_mask (rtems_rfs_trace_mask mask)                  
{                                                                     
  rtems_rfs_trace_mask state = rtems_rfs_trace_flags;                 
  rtems_rfs_trace_flags |= mask;                                      
 2011270:	d8 38 63 98 	std  %o4, [ %g1 + 0x398 ]                      <== NOT EXECUTED
  return state;                                                       
}                                                                     
 2011274:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2011278:	93 e8 00 03 	restore  %g0, %g3, %o1                         <== NOT EXECUTED
                                                                      

020112a0 <rtems_rfs_trace_shell_command>: int rtems_rfs_trace_shell_command (int argc, char *argv[]) {
 20112a0:	9d e3 bf 00 	save  %sp, -256, %sp                           <== NOT EXECUTED
  const char* table[] =                                               
 20112a4:	13 00 80 bb 	sethi  %hi(0x202ec00), %o1                     <== NOT EXECUTED
 20112a8:	90 07 bf 68 	add  %fp, -152, %o0                            <== NOT EXECUTED
 20112ac:	92 12 61 18 	or  %o1, 0x118, %o1                            <== NOT EXECUTED
 20112b0:	94 10 20 98 	mov  0x98, %o2                                 <== NOT EXECUTED
          return 1;                                                   
      }                                                               
    }                                                                 
    else                                                              
    {                                                                 
      if (strcmp (argv[arg], "set") == 0)                             
 20112b4:	21 00 80 ba 	sethi  %hi(0x202e800), %l0                     <== NOT EXECUTED
        set = true;                                                   
      if (strcmp (argv[arg], "clear") == 0)                           
 20112b8:	23 00 80 ba 	sethi  %hi(0x202e800), %l1                     <== NOT EXECUTED
}                                                                     
                                                                      
int                                                                   
rtems_rfs_trace_shell_command (int argc, char *argv[])                
{                                                                     
  const char* table[] =                                               
 20112bc:	40 00 36 e5 	call  201ee50 <memcpy>                         <== NOT EXECUTED
 20112c0:	25 00 80 ba 	sethi  %hi(0x202e800), %l2                     <== NOT EXECUTED
  rtems_rfs_trace_mask clear_value = 0;                               
  bool                 set = true;                                    
  int                  arg;                                           
  int                  t;                                             
                                                                      
  for (arg = 1; arg < argc; arg++)                                    
 20112c4:	b8 10 20 01 	mov  1, %i4                                    <== NOT EXECUTED
    "file-io"                                                         
  };                                                                  
                                                                      
  rtems_rfs_trace_mask set_value = 0;                                 
  rtems_rfs_trace_mask clear_value = 0;                               
  bool                 set = true;                                    
 20112c8:	ba 10 20 01 	mov  1, %i5                                    <== NOT EXECUTED
    "file-close",                                                     
    "file-io"                                                         
  };                                                                  
                                                                      
  rtems_rfs_trace_mask set_value = 0;                                 
  rtems_rfs_trace_mask clear_value = 0;                               
 20112cc:	a8 10 20 00 	clr  %l4                                       <== NOT EXECUTED
 20112d0:	aa 10 20 00 	clr  %l5                                       <== NOT EXECUTED
    "file-open",                                                      
    "file-close",                                                     
    "file-io"                                                         
  };                                                                  
                                                                      
  rtems_rfs_trace_mask set_value = 0;                                 
 20112d4:	ac 10 20 00 	clr  %l6                                       <== NOT EXECUTED
 20112d8:	ae 10 20 00 	clr  %l7                                       <== NOT EXECUTED
          return 1;                                                   
      }                                                               
    }                                                                 
    else                                                              
    {                                                                 
      if (strcmp (argv[arg], "set") == 0)                             
 20112dc:	a0 14 22 c8 	or  %l0, 0x2c8, %l0                            <== NOT EXECUTED
        set = true;                                                   
      if (strcmp (argv[arg], "clear") == 0)                           
 20112e0:	a2 14 62 d0 	or  %l1, 0x2d0, %l1                            <== NOT EXECUTED
        set = false;                                                  
      else if (strcmp (argv[arg], "all") == 0)                        
 20112e4:	a4 14 a2 d8 	or  %l2, 0x2d8, %l2                            <== NOT EXECUTED
          if (strcmp (argv[arg], table[t]) == 0)                      
          {                                                           
            if (set)                                                  
              set_value = 1 << t;                                     
            else                                                      
              clear_value = 1 << t;                                   
 20112e8:	b4 10 20 01 	mov  1, %i2                                    <== NOT EXECUTED
  rtems_rfs_trace_mask clear_value = 0;                               
  bool                 set = true;                                    
  int                  arg;                                           
  int                  t;                                             
                                                                      
  for (arg = 1; arg < argc; arg++)                                    
 20112ec:	10 80 00 63 	b  2011478 <rtems_rfs_trace_shell_command+0x1d8><== NOT EXECUTED
 20112f0:	37 00 80 c8 	sethi  %hi(0x2032000), %i3                     <== NOT EXECUTED
  {                                                                   
    if (argv[arg][0] == '-')                                          
 20112f4:	e6 06 40 01 	ld  [ %i1 + %g1 ], %l3                         <== NOT EXECUTED
 20112f8:	c2 4c c0 00 	ldsb  [ %l3 ], %g1                             <== NOT EXECUTED
 20112fc:	80 a0 60 2d 	cmp  %g1, 0x2d                                 <== NOT EXECUTED
 2011300:	12 80 00 25 	bne  2011394 <rtems_rfs_trace_shell_command+0xf4><== NOT EXECUTED
 2011304:	90 10 00 13 	mov  %l3, %o0                                  <== NOT EXECUTED
    {                                                                 
      switch (argv[arg][1])                                           
 2011308:	c2 4c e0 01 	ldsb  [ %l3 + 1 ], %g1                         <== NOT EXECUTED
 201130c:	80 a0 60 68 	cmp  %g1, 0x68                                 <== NOT EXECUTED
 2011310:	02 80 00 06 	be  2011328 <rtems_rfs_trace_shell_command+0x88><== NOT EXECUTED
 2011314:	80 a0 60 6c 	cmp  %g1, 0x6c                                 <== NOT EXECUTED
 2011318:	32 80 00 1a 	bne,a   2011380 <rtems_rfs_trace_shell_command+0xe0><== NOT EXECUTED
 201131c:	11 00 80 ba 	sethi  %hi(0x202e800), %o0                     <== NOT EXECUTED
      {                                                               
        case 'h':                                                     
          printf ("usage: %s [-hl] [set/clear] [flags]\n", argv[0]);  
          return 0;                                                   
        case 'l':                                                     
          printf ("%s: valid flags to set or clear are:\n", argv[0]); 
 2011320:	10 80 00 08 	b  2011340 <rtems_rfs_trace_shell_command+0xa0><== NOT EXECUTED
 2011324:	d2 06 40 00 	ld  [ %i1 ], %o1                               <== NOT EXECUTED
    if (argv[arg][0] == '-')                                          
    {                                                                 
      switch (argv[arg][1])                                           
      {                                                               
        case 'h':                                                     
          printf ("usage: %s [-hl] [set/clear] [flags]\n", argv[0]);  
 2011328:	d2 06 40 00 	ld  [ %i1 ], %o1                               <== NOT EXECUTED
 201132c:	11 00 80 ba 	sethi  %hi(0x202e800), %o0                     <== NOT EXECUTED
 2011330:	40 00 37 a6 	call  201f1c8 <printf>                         <== NOT EXECUTED
 2011334:	90 12 22 58 	or  %o0, 0x258, %o0	! 202ea58 <rtems_rfs_rtems_link_handlers+0x60><== NOT EXECUTED
          return 0;                                                   
        case 'l':                                                     
          printf ("%s: valid flags to set or clear are:\n", argv[0]); 
          for (t = 0; t < (sizeof (table) / sizeof (const char*)); t++)
            printf ("  %s\n", table[t]);                              
          return 0;                                                   
 2011338:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 201133c:	91 e8 20 00 	restore  %g0, 0, %o0                           <== NOT EXECUTED
      {                                                               
        case 'h':                                                     
          printf ("usage: %s [-hl] [set/clear] [flags]\n", argv[0]);  
          return 0;                                                   
        case 'l':                                                     
          printf ("%s: valid flags to set or clear are:\n", argv[0]); 
 2011340:	11 00 80 ba 	sethi  %hi(0x202e800), %o0                     <== NOT EXECUTED
          for (t = 0; t < (sizeof (table) / sizeof (const char*)); t++)
            printf ("  %s\n", table[t]);                              
 2011344:	39 00 80 ba 	sethi  %hi(0x202e800), %i4                     <== NOT EXECUTED
      {                                                               
        case 'h':                                                     
          printf ("usage: %s [-hl] [set/clear] [flags]\n", argv[0]);  
          return 0;                                                   
        case 'l':                                                     
          printf ("%s: valid flags to set or clear are:\n", argv[0]); 
 2011348:	90 12 22 80 	or  %o0, 0x280, %o0                            <== NOT EXECUTED
 201134c:	40 00 37 9f 	call  201f1c8 <printf>                         <== NOT EXECUTED
 2011350:	ba 10 20 00 	clr  %i5                                       <== NOT EXECUTED
          for (t = 0; t < (sizeof (table) / sizeof (const char*)); t++)
            printf ("  %s\n", table[t]);                              
 2011354:	b8 17 22 a8 	or  %i4, 0x2a8, %i4                            <== NOT EXECUTED
 2011358:	82 07 bf 68 	add  %fp, -152, %g1                            <== NOT EXECUTED
 201135c:	d2 00 40 1d 	ld  [ %g1 + %i5 ], %o1                         <== NOT EXECUTED
 2011360:	40 00 37 9a 	call  201f1c8 <printf>                         <== NOT EXECUTED
 2011364:	90 10 00 1c 	mov  %i4, %o0                                  <== NOT EXECUTED
 2011368:	ba 07 60 04 	add  %i5, 4, %i5                               <== NOT EXECUTED
        case 'h':                                                     
          printf ("usage: %s [-hl] [set/clear] [flags]\n", argv[0]);  
          return 0;                                                   
        case 'l':                                                     
          printf ("%s: valid flags to set or clear are:\n", argv[0]); 
          for (t = 0; t < (sizeof (table) / sizeof (const char*)); t++)
 201136c:	80 a7 60 98 	cmp  %i5, 0x98                                 <== NOT EXECUTED
 2011370:	12 bf ff fb 	bne  201135c <rtems_rfs_trace_shell_command+0xbc><== NOT EXECUTED
 2011374:	82 07 bf 68 	add  %fp, -152, %g1                            <== NOT EXECUTED
            printf ("  %s\n", table[t]);                              
          return 0;                                                   
 2011378:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 201137c:	91 e8 20 00 	restore  %g0, 0, %o0                           <== NOT EXECUTED
        default:                                                      
          printf ("error: unknown option\n");                         
          return 1;                                                   
 2011380:	b0 10 20 01 	mov  1, %i0                                    <== NOT EXECUTED
          printf ("%s: valid flags to set or clear are:\n", argv[0]); 
          for (t = 0; t < (sizeof (table) / sizeof (const char*)); t++)
            printf ("  %s\n", table[t]);                              
          return 0;                                                   
        default:                                                      
          printf ("error: unknown option\n");                         
 2011384:	40 00 37 d2 	call  201f2cc <puts>                           <== NOT EXECUTED
 2011388:	90 12 22 b0 	or  %o0, 0x2b0, %o0                            <== NOT EXECUTED
          return 1;                                                   
 201138c:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2011390:	81 e8 00 00 	restore                                        <== NOT EXECUTED
      }                                                               
    }                                                                 
    else                                                              
    {                                                                 
      if (strcmp (argv[arg], "set") == 0)                             
 2011394:	40 00 38 d7 	call  201f6f0 <strcmp>                         <== NOT EXECUTED
 2011398:	92 10 00 10 	mov  %l0, %o1                                  <== NOT EXECUTED
 201139c:	80 a2 20 00 	cmp  %o0, 0                                    <== NOT EXECUTED
 20113a0:	22 80 00 02 	be,a   20113a8 <rtems_rfs_trace_shell_command+0x108><== NOT EXECUTED
 20113a4:	ba 10 20 01 	mov  1, %i5                                    <== NOT EXECUTED
        set = true;                                                   
      if (strcmp (argv[arg], "clear") == 0)                           
 20113a8:	90 10 00 13 	mov  %l3, %o0                                  <== NOT EXECUTED
 20113ac:	40 00 38 d1 	call  201f6f0 <strcmp>                         <== NOT EXECUTED
 20113b0:	92 10 00 11 	mov  %l1, %o1                                  <== NOT EXECUTED
 20113b4:	80 a2 20 00 	cmp  %o0, 0                                    <== NOT EXECUTED
 20113b8:	22 80 00 29 	be,a   201145c <rtems_rfs_trace_shell_command+0x1bc><== NOT EXECUTED
 20113bc:	ba 10 20 00 	clr  %i5                                       <== NOT EXECUTED
        set = false;                                                  
      else if (strcmp (argv[arg], "all") == 0)                        
 20113c0:	90 10 00 13 	mov  %l3, %o0                                  <== NOT EXECUTED
 20113c4:	40 00 38 cb 	call  201f6f0 <strcmp>                         <== NOT EXECUTED
 20113c8:	92 10 00 12 	mov  %l2, %o1                                  <== NOT EXECUTED
 20113cc:	80 a2 20 00 	cmp  %o0, 0                                    <== NOT EXECUTED
 20113d0:	12 80 00 09 	bne  20113f4 <rtems_rfs_trace_shell_command+0x154><== NOT EXECUTED
 20113d4:	82 10 20 00 	clr  %g1                                       <== NOT EXECUTED
      {                                                               
        if (set)                                                      
 20113d8:	80 8f 60 ff 	btst  0xff, %i5                                <== NOT EXECUTED
 20113dc:	22 80 00 1e 	be,a   2011454 <rtems_rfs_trace_shell_command+0x1b4><== NOT EXECUTED
 20113e0:	29 3f ff ff 	sethi  %hi(0xfffffc00), %l4                    <== NOT EXECUTED
          set_value = RTEMS_RFS_TRACE_ALL;                            
 20113e4:	2d 3f ff ff 	sethi  %hi(0xfffffc00), %l6                    <== NOT EXECUTED
 20113e8:	ac 15 a3 ff 	or  %l6, 0x3ff, %l6	! ffffffff <RAM_END+0xfdbfffff><== NOT EXECUTED
 20113ec:	10 80 00 1c 	b  201145c <rtems_rfs_trace_shell_command+0x1bc><== NOT EXECUTED
 20113f0:	ae 10 00 16 	mov  %l6, %l7                                  <== NOT EXECUTED
  rtems_rfs_trace_flags &= ~mask;                                     
  return state;                                                       
}                                                                     
                                                                      
int                                                                   
rtems_rfs_trace_shell_command (int argc, char *argv[])                
 20113f4:	85 28 60 02 	sll  %g1, 2, %g2                               <== NOT EXECUTED
      }                                                               
      else                                                            
      {                                                               
        for (t = 0; t < (sizeof (table) / sizeof (const char*)); t++) 
        {                                                             
          if (strcmp (argv[arg], table[t]) == 0)                      
 20113f8:	86 07 bf 68 	add  %fp, -152, %g3                            <== NOT EXECUTED
 20113fc:	d2 00 c0 02 	ld  [ %g3 + %g2 ], %o1                         <== NOT EXECUTED
 2011400:	90 10 00 13 	mov  %l3, %o0                                  <== NOT EXECUTED
 2011404:	40 00 38 bb 	call  201f6f0 <strcmp>                         <== NOT EXECUTED
 2011408:	c2 27 bf 64 	st  %g1, [ %fp + -156 ]                        <== NOT EXECUTED
 201140c:	80 a2 20 00 	cmp  %o0, 0                                    <== NOT EXECUTED
 2011410:	12 80 00 0b 	bne  201143c <rtems_rfs_trace_shell_command+0x19c><== NOT EXECUTED
 2011414:	c2 07 bf 64 	ld  [ %fp + -156 ], %g1                        <== NOT EXECUTED
          {                                                           
            if (set)                                                  
 2011418:	80 8f 60 ff 	btst  0xff, %i5                                <== NOT EXECUTED
 201141c:	02 80 00 05 	be  2011430 <rtems_rfs_trace_shell_command+0x190><== NOT EXECUTED
 2011420:	83 2e 80 01 	sll  %i2, %g1, %g1                             <== NOT EXECUTED
              set_value = 1 << t;                                     
 2011424:	ae 10 00 01 	mov  %g1, %l7                                  <== NOT EXECUTED
 2011428:	10 80 00 0d 	b  201145c <rtems_rfs_trace_shell_command+0x1bc><== NOT EXECUTED
 201142c:	ad 38 60 1f 	sra  %g1, 0x1f, %l6                            <== NOT EXECUTED
            else                                                      
              clear_value = 1 << t;                                   
 2011430:	aa 10 00 01 	mov  %g1, %l5                                  <== NOT EXECUTED
 2011434:	10 80 00 0a 	b  201145c <rtems_rfs_trace_shell_command+0x1bc><== NOT EXECUTED
 2011438:	a9 38 60 1f 	sra  %g1, 0x1f, %l4                            <== NOT EXECUTED
        else                                                          
          clear_value = RTEMS_RFS_TRACE_ALL;                          
      }                                                               
      else                                                            
      {                                                               
        for (t = 0; t < (sizeof (table) / sizeof (const char*)); t++) 
 201143c:	82 00 60 01 	inc  %g1                                       <== NOT EXECUTED
 2011440:	80 a0 60 26 	cmp  %g1, 0x26                                 <== NOT EXECUTED
 2011444:	32 bf ff ed 	bne,a   20113f8 <rtems_rfs_trace_shell_command+0x158><== NOT EXECUTED
 2011448:	85 28 60 02 	sll  %g1, 2, %g2                               <== NOT EXECUTED
            break;                                                    
          }                                                           
        }                                                             
      }                                                               
                                                                      
      rtems_rfs_trace_flags |= set_value;                             
 201144c:	10 80 00 05 	b  2011460 <rtems_rfs_trace_shell_command+0x1c0><== NOT EXECUTED
 2011450:	c4 1e e3 98 	ldd  [ %i3 + 0x398 ], %g2                      <== NOT EXECUTED
      else if (strcmp (argv[arg], "all") == 0)                        
      {                                                               
        if (set)                                                      
          set_value = RTEMS_RFS_TRACE_ALL;                            
        else                                                          
          clear_value = RTEMS_RFS_TRACE_ALL;                          
 2011454:	a8 15 23 ff 	or  %l4, 0x3ff, %l4                            <== NOT EXECUTED
 2011458:	aa 10 00 14 	mov  %l4, %l5                                  <== NOT EXECUTED
            break;                                                    
          }                                                           
        }                                                             
      }                                                               
                                                                      
      rtems_rfs_trace_flags |= set_value;                             
 201145c:	c4 1e e3 98 	ldd  [ %i3 + 0x398 ], %g2                      <== NOT EXECUTED
  rtems_rfs_trace_mask clear_value = 0;                               
  bool                 set = true;                                    
  int                  arg;                                           
  int                  t;                                             
                                                                      
  for (arg = 1; arg < argc; arg++)                                    
 2011460:	b8 07 20 01 	inc  %i4                                       <== NOT EXECUTED
            break;                                                    
          }                                                           
        }                                                             
      }                                                               
                                                                      
      rtems_rfs_trace_flags |= set_value;                             
 2011464:	84 15 80 02 	or  %l6, %g2, %g2                              <== NOT EXECUTED
 2011468:	86 15 c0 03 	or  %l7, %g3, %g3                              <== NOT EXECUTED
      rtems_rfs_trace_flags &= ~clear_value;                          
 201146c:	84 28 80 14 	andn  %g2, %l4, %g2                            <== NOT EXECUTED
 2011470:	86 28 c0 15 	andn  %g3, %l5, %g3                            <== NOT EXECUTED
 2011474:	c4 3e e3 98 	std  %g2, [ %i3 + 0x398 ]                      <== NOT EXECUTED
  rtems_rfs_trace_mask clear_value = 0;                               
  bool                 set = true;                                    
  int                  arg;                                           
  int                  t;                                             
                                                                      
  for (arg = 1; arg < argc; arg++)                                    
 2011478:	80 a7 00 18 	cmp  %i4, %i0                                  <== NOT EXECUTED
 201147c:	06 bf ff 9e 	bl  20112f4 <rtems_rfs_trace_shell_command+0x54><== NOT EXECUTED
 2011480:	83 2f 20 02 	sll  %i4, 2, %g1                               <== NOT EXECUTED
      rtems_rfs_trace_flags |= set_value;                             
      rtems_rfs_trace_flags &= ~clear_value;                          
    }                                                                 
  }                                                                   
                                                                      
  return 0;                                                           
 2011484:	b0 10 20 00 	clr  %i0                                       <== NOT EXECUTED
}                                                                     
 2011488:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 201148c:	81 e8 00 00 	restore                                        <== NOT EXECUTED
                                                                      

0201c408 <rtems_rfs_unlink>: rtems_rfs_unlink (rtems_rfs_file_system* fs, rtems_rfs_ino parent, rtems_rfs_ino target, uint32_t doff, rtems_rfs_unlink_dir dir_mode) {
 201c408:	9d e3 bf 50 	save  %sp, -176, %sp                           
  rtems_rfs_inode_handle target_inode;                                
  uint16_t               links;                                       
  bool                   dir;                                         
  int                    rc;                                          
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_UNLINK))                       
 201c40c:	90 10 20 00 	clr  %o0                                       
 201c410:	13 00 80 00 	sethi  %hi(0x2000000), %o1                     
 201c414:	7f ff d3 89 	call  2011238 <rtems_rfs_trace>                
 201c418:	ba 10 00 18 	mov  %i0, %i5                                  
 201c41c:	80 8a 20 ff 	btst  0xff, %o0                                
 201c420:	02 80 00 08 	be  201c440 <rtems_rfs_unlink+0x38>            <== ALWAYS TAKEN
 201c424:	90 10 00 1d 	mov  %i5, %o0                                  
    printf ("rtems-rfs: unlink: parent(%" PRIu32 ") -X-> (%" PRIu32 ")\n", parent, target);
 201c428:	11 00 80 c1 	sethi  %hi(0x2030400), %o0                     <== NOT EXECUTED
 201c42c:	92 10 00 19 	mov  %i1, %o1                                  <== NOT EXECUTED
 201c430:	90 12 23 c0 	or  %o0, 0x3c0, %o0                            <== NOT EXECUTED
 201c434:	40 00 0b 65 	call  201f1c8 <printf>                         <== NOT EXECUTED
 201c438:	94 10 00 1a 	mov  %i2, %o2                                  <== NOT EXECUTED
                                                                      
  rc = rtems_rfs_inode_open (fs, target, &target_inode, true);        
 201c43c:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
 201c440:	92 10 00 1a 	mov  %i2, %o1                                  
 201c444:	94 07 bf d8 	add  %fp, -40, %o2                             
 201c448:	7f ff cb c4 	call  200f358 <rtems_rfs_inode_open>           
 201c44c:	96 10 20 01 	mov  1, %o3                                    
  if (rc)                                                             
 201c450:	b0 92 20 00 	orcc  %o0, 0, %i0                              
 201c454:	12 80 00 1f 	bne  201c4d0 <rtems_rfs_unlink+0xc8>           <== NEVER TAKEN
 201c458:	c2 07 bf e4 	ld  [ %fp + -28 ], %g1                         
                                                                      
  /*                                                                  
   * If a directory process the unlink mode.                          
   */                                                                 
                                                                      
  dir = RTEMS_RFS_S_ISDIR (rtems_rfs_inode_get_mode (&target_inode)); 
 201c45c:	05 00 00 3c 	sethi  %hi(0xf000), %g2                        
 * @return uint16_t The mode.                                         
 */                                                                   
static inline uint16_t                                                
rtems_rfs_inode_get_mode (rtems_rfs_inode_handle* handle)             
{                                                                     
  return rtems_rfs_read_u16 (&handle->node->mode);                    
 201c460:	c2 08 60 02 	ldub  [ %g1 + 2 ], %g1                         
 201c464:	83 28 60 08 	sll  %g1, 8, %g1                               
 201c468:	82 08 40 02 	and  %g1, %g2, %g1                             
 201c46c:	05 00 00 10 	sethi  %hi(0x4000), %g2                        
 201c470:	82 18 40 02 	xor  %g1, %g2, %g1                             
 201c474:	80 a0 00 01 	cmp  %g0, %g1                                  
 201c478:	a0 60 3f ff 	subx  %g0, -1, %l0                             
  if (dir)                                                            
 201c47c:	80 8c 20 ff 	btst  0xff, %l0                                
 201c480:	02 80 00 26 	be  201c518 <rtems_rfs_unlink+0x110>           <== ALWAYS TAKEN
 201c484:	80 a7 20 00 	cmp  %i4, 0                                    
  {                                                                   
    switch (dir_mode)                                                 
 201c488:	22 80 00 06 	be,a   201c4a0 <rtems_rfs_unlink+0x98>         <== NOT EXECUTED
 201c48c:	90 10 20 00 	clr  %o0                                       <== NOT EXECUTED
 201c490:	80 a7 20 01 	cmp  %i4, 1                                    <== NOT EXECUTED
 201c494:	12 80 00 22 	bne  201c51c <rtems_rfs_unlink+0x114>          <== NOT EXECUTED
 201c498:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
 201c49c:	30 80 00 0f 	b,a   201c4d8 <rtems_rfs_unlink+0xd0>          <== NOT EXECUTED
    {                                                                 
      case rtems_rfs_unlink_dir_denied:                               
        if (rtems_rfs_trace (RTEMS_RFS_TRACE_UNLINK))                 
 201c4a0:	7f ff d3 66 	call  2011238 <rtems_rfs_trace>                <== NOT EXECUTED
 201c4a4:	13 00 80 00 	sethi  %hi(0x2000000), %o1                     <== NOT EXECUTED
 201c4a8:	80 8a 20 ff 	btst  0xff, %o0                                <== NOT EXECUTED
 201c4ac:	22 80 00 06 	be,a   201c4c4 <rtems_rfs_unlink+0xbc>         <== NOT EXECUTED
 201c4b0:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
          printf ("rtems-rfs: link is a directory\n");                
 201c4b4:	11 00 80 c1 	sethi  %hi(0x2030400), %o0                     <== NOT EXECUTED
 201c4b8:	40 00 0b 85 	call  201f2cc <puts>                           <== NOT EXECUTED
 201c4bc:	90 12 23 f0 	or  %o0, 0x3f0, %o0	! 20307f0 <CSWTCH.1+0x13f0><== NOT EXECUTED
        rtems_rfs_inode_close (fs, &target_inode);                    
 201c4c0:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
 201c4c4:	92 07 bf d8 	add  %fp, -40, %o1                             <== NOT EXECUTED
 201c4c8:	7f ff cc 16 	call  200f520 <rtems_rfs_inode_close>          <== NOT EXECUTED
 201c4cc:	b0 10 20 15 	mov  0x15, %i0                                 <== NOT EXECUTED
        return EISDIR;                                                
 201c4d0:	81 c7 e0 08 	ret                                            
 201c4d4:	81 e8 00 00 	restore                                        
                                                                      
      case rtems_rfs_unlink_dir_if_empty:                             
        rc = rtems_rfs_dir_empty (fs, &target_inode);                 
 201c4d8:	7f ff f9 1a 	call  201a940 <rtems_rfs_dir_empty>            <== NOT EXECUTED
 201c4dc:	92 07 bf d8 	add  %fp, -40, %o1                             <== NOT EXECUTED
        if (rc > 0)                                                   
 201c4e0:	b0 92 20 00 	orcc  %o0, 0, %i0                              <== NOT EXECUTED
 201c4e4:	04 80 00 0d 	ble  201c518 <rtems_rfs_unlink+0x110>          <== NOT EXECUTED
 201c4e8:	90 10 20 00 	clr  %o0                                       <== NOT EXECUTED
        {                                                             
          if (rtems_rfs_trace (RTEMS_RFS_TRACE_UNLINK))               
 201c4ec:	7f ff d3 53 	call  2011238 <rtems_rfs_trace>                <== NOT EXECUTED
 201c4f0:	13 00 80 00 	sethi  %hi(0x2000000), %o1                     <== NOT EXECUTED
 201c4f4:	80 8a 20 ff 	btst  0xff, %o0                                <== NOT EXECUTED
 201c4f8:	22 80 00 a9 	be,a   201c79c <rtems_rfs_unlink+0x394>        <== NOT EXECUTED
 201c4fc:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
            printf ("rtems-rfs: dir-empty: %d: %s\n", rc, strerror (rc));
 201c500:	40 00 0e 65 	call  201fe94 <strerror>                       <== NOT EXECUTED
 201c504:	90 10 00 18 	mov  %i0, %o0                                  <== NOT EXECUTED
 201c508:	94 10 00 08 	mov  %o0, %o2                                  <== NOT EXECUTED
 201c50c:	11 00 80 c2 	sethi  %hi(0x2030800), %o0                     <== NOT EXECUTED
 201c510:	10 80 00 a0 	b  201c790 <rtems_rfs_unlink+0x388>            <== NOT EXECUTED
 201c514:	90 12 20 10 	or  %o0, 0x10, %o0	! 2030810 <CSWTCH.1+0x1410> <== NOT EXECUTED
      default:                                                        
        break;                                                        
    }                                                                 
  }                                                                   
                                                                      
  rc = rtems_rfs_inode_open (fs, parent, &parent_inode, true);        
 201c518:	90 10 00 1d 	mov  %i5, %o0                                  
 201c51c:	92 10 00 19 	mov  %i1, %o1                                  
 201c520:	94 07 bf b0 	add  %fp, -80, %o2                             
 201c524:	7f ff cb 8d 	call  200f358 <rtems_rfs_inode_open>           
 201c528:	96 10 20 01 	mov  1, %o3                                    
  if (rc)                                                             
 201c52c:	b0 92 20 00 	orcc  %o0, 0, %i0                              
 201c530:	02 80 00 0e 	be  201c568 <rtems_rfs_unlink+0x160>           <== ALWAYS TAKEN
 201c534:	90 10 00 1d 	mov  %i5, %o0                                  
  {                                                                   
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_UNLINK))                     
 201c538:	90 10 20 00 	clr  %o0                                       <== NOT EXECUTED
 201c53c:	7f ff d3 3f 	call  2011238 <rtems_rfs_trace>                <== NOT EXECUTED
 201c540:	13 00 80 00 	sethi  %hi(0x2000000), %o1                     <== NOT EXECUTED
 201c544:	80 8a 20 ff 	btst  0xff, %o0                                <== NOT EXECUTED
 201c548:	22 80 00 95 	be,a   201c79c <rtems_rfs_unlink+0x394>        <== NOT EXECUTED
 201c54c:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
      printf ("rtems-rfs: link: inode-open failed: %d: %s\n",         
 201c550:	40 00 0e 51 	call  201fe94 <strerror>                       <== NOT EXECUTED
 201c554:	90 10 00 18 	mov  %i0, %o0                                  <== NOT EXECUTED
 201c558:	94 10 00 08 	mov  %o0, %o2                                  <== NOT EXECUTED
 201c55c:	11 00 80 c2 	sethi  %hi(0x2030800), %o0                     <== NOT EXECUTED
 201c560:	10 80 00 8c 	b  201c790 <rtems_rfs_unlink+0x388>            <== NOT EXECUTED
 201c564:	90 12 20 30 	or  %o0, 0x30, %o0	! 2030830 <CSWTCH.1+0x1430> <== NOT EXECUTED
              rc, strerror (rc));                                     
    rtems_rfs_inode_close (fs, &target_inode);                        
    return rc;                                                        
  }                                                                   
                                                                      
  rc = rtems_rfs_dir_del_entry (fs, &parent_inode, target, doff);     
 201c568:	92 07 bf b0 	add  %fp, -80, %o1                             
 201c56c:	94 10 00 1a 	mov  %i2, %o2                                  
 201c570:	7f ff f7 14 	call  201a1c0 <rtems_rfs_dir_del_entry>        
 201c574:	96 10 00 1b 	mov  %i3, %o3                                  
  if (rc > 0)                                                         
 201c578:	b0 92 20 00 	orcc  %o0, 0, %i0                              
 201c57c:	04 80 00 0d 	ble  201c5b0 <rtems_rfs_unlink+0x1a8>          <== ALWAYS TAKEN
 201c580:	90 10 20 00 	clr  %o0                                       
  {                                                                   
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_UNLINK))                     
 201c584:	7f ff d3 2d 	call  2011238 <rtems_rfs_trace>                <== NOT EXECUTED
 201c588:	13 00 80 00 	sethi  %hi(0x2000000), %o1                     <== NOT EXECUTED
 201c58c:	80 8a 20 ff 	btst  0xff, %o0                                <== NOT EXECUTED
 201c590:	22 80 00 6c 	be,a   201c740 <rtems_rfs_unlink+0x338>        <== NOT EXECUTED
 201c594:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
      printf ("rtems-rfs: unlink: dir-del failed: %d: %s\n",          
 201c598:	40 00 0e 3f 	call  201fe94 <strerror>                       <== NOT EXECUTED
 201c59c:	90 10 00 18 	mov  %i0, %o0                                  <== NOT EXECUTED
 201c5a0:	94 10 00 08 	mov  %o0, %o2                                  <== NOT EXECUTED
 201c5a4:	11 00 80 c2 	sethi  %hi(0x2030800), %o0                     <== NOT EXECUTED
 201c5a8:	10 80 00 63 	b  201c734 <rtems_rfs_unlink+0x32c>            <== NOT EXECUTED
 201c5ac:	90 12 20 60 	or  %o0, 0x60, %o0	! 2030860 <CSWTCH.1+0x1460> <== NOT EXECUTED
    rtems_rfs_inode_close (fs, &parent_inode);                        
    rtems_rfs_inode_close (fs, &target_inode);                        
    return rc;                                                        
  }                                                                   
                                                                      
  links = rtems_rfs_inode_get_links (&target_inode);                  
 201c5b0:	c2 07 bf e4 	ld  [ %fp + -28 ], %g1                         
static inline uint16_t                                                
rtems_rfs_inode_get_links (rtems_rfs_inode_handle* handle)            
{                                                                     
  uint16_t links;                                                     
  links = rtems_rfs_read_u16 (&handle->node->links);                  
  if (links == 0xffff)                                                
 201c5b4:	05 3f ff c0 	sethi  %hi(0xffff0000), %g2                    
 */                                                                   
static inline uint16_t                                                
rtems_rfs_inode_get_links (rtems_rfs_inode_handle* handle)            
{                                                                     
  uint16_t links;                                                     
  links = rtems_rfs_read_u16 (&handle->node->links);                  
 201c5b8:	f8 08 40 00 	ldub  [ %g1 ], %i4                             
 201c5bc:	c2 08 60 01 	ldub  [ %g1 + 1 ], %g1                         
 201c5c0:	b9 2f 20 08 	sll  %i4, 8, %i4                               
 201c5c4:	b8 17 00 01 	or  %i4, %g1, %i4                              
  if (links == 0xffff)                                                
 201c5c8:	83 2f 20 10 	sll  %i4, 0x10, %g1                            
 201c5cc:	83 30 60 10 	srl  %g1, 0x10, %g1                            
    links = 0;                                                        
 201c5d0:	82 38 80 01 	xnor  %g2, %g1, %g1                            
 201c5d4:	80 a0 00 01 	cmp  %g0, %g1                                  
 201c5d8:	82 60 20 00 	subx  %g0, 0, %g1                              
 201c5dc:	b8 0f 00 01 	and  %i4, %g1, %i4                             
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_UNLINK))                       
 201c5e0:	7f ff d3 16 	call  2011238 <rtems_rfs_trace>                
 201c5e4:	13 00 80 00 	sethi  %hi(0x2000000), %o1                     
 201c5e8:	80 8a 20 ff 	btst  0xff, %o0                                
 201c5ec:	02 80 00 09 	be  201c610 <rtems_rfs_unlink+0x208>           <== ALWAYS TAKEN
 201c5f0:	83 2f 20 10 	sll  %i4, 0x10, %g1                            
    printf ("rtems-rfs: unlink: target:%" PRIu32 " links:%u\n", target, links);
 201c5f4:	95 2f 20 10 	sll  %i4, 0x10, %o2                            <== NOT EXECUTED
 201c5f8:	11 00 80 c2 	sethi  %hi(0x2030800), %o0                     <== NOT EXECUTED
 201c5fc:	92 10 00 1a 	mov  %i2, %o1                                  <== NOT EXECUTED
 201c600:	90 12 20 90 	or  %o0, 0x90, %o0                             <== NOT EXECUTED
 201c604:	40 00 0a f1 	call  201f1c8 <printf>                         <== NOT EXECUTED
 201c608:	95 32 a0 10 	srl  %o2, 0x10, %o2                            <== NOT EXECUTED
                                                                      
  if (links > 1)                                                      
 201c60c:	83 2f 20 10 	sll  %i4, 0x10, %g1                            <== NOT EXECUTED
 201c610:	83 30 60 10 	srl  %g1, 0x10, %g1                            
 201c614:	80 a0 60 01 	cmp  %g1, 1                                    
 201c618:	08 80 00 0a 	bleu  201c640 <rtems_rfs_unlink+0x238>         
 201c61c:	c2 07 bf e4 	ld  [ %fp + -28 ], %g1                         
  {                                                                   
    links--;                                                          
 201c620:	b8 07 3f ff 	add  %i4, -1, %i4                              
 * @prarm links The links.                                            
 */                                                                   
static inline void                                                    
rtems_rfs_inode_set_links (rtems_rfs_inode_handle* handle, uint16_t links)
{                                                                     
  rtems_rfs_write_u16 (&handle->node->links, links);                  
 201c624:	85 37 20 08 	srl  %i4, 8, %g2                               
 201c628:	c4 28 40 00 	stb  %g2, [ %g1 ]                              
 201c62c:	c2 07 bf e4 	ld  [ %fp + -28 ], %g1                         
 201c630:	f8 28 60 01 	stb  %i4, [ %g1 + 1 ]                          
  rtems_rfs_buffer_mark_dirty (&handle->buffer);                      
 201c634:	82 10 20 01 	mov  1, %g1                                    
 201c638:	10 80 00 2e 	b  201c6f0 <rtems_rfs_unlink+0x2e8>            
 201c63c:	c2 2f bf e8 	stb  %g1, [ %fp + -24 ]                        
  else                                                                
  {                                                                   
    /*                                                                
     * Erasing the inode releases all blocks attached to it.          
     */                                                               
    rc = rtems_rfs_inode_delete (fs, &target_inode);                  
 201c640:	90 10 00 1d 	mov  %i5, %o0                                  
 201c644:	7f ff cb da 	call  200f5ac <rtems_rfs_inode_delete>         
 201c648:	92 07 bf d8 	add  %fp, -40, %o1                             
    if (rc > 0)                                                       
 201c64c:	b0 92 20 00 	orcc  %o0, 0, %i0                              
 201c650:	04 80 00 0d 	ble  201c684 <rtems_rfs_unlink+0x27c>          <== ALWAYS TAKEN
 201c654:	90 10 20 00 	clr  %o0                                       
    {                                                                 
      if (rtems_rfs_trace (RTEMS_RFS_TRACE_UNLINK))                   
 201c658:	7f ff d2 f8 	call  2011238 <rtems_rfs_trace>                <== NOT EXECUTED
 201c65c:	13 00 80 00 	sethi  %hi(0x2000000), %o1                     <== NOT EXECUTED
 201c660:	80 8a 20 ff 	btst  0xff, %o0                                <== NOT EXECUTED
 201c664:	22 80 00 37 	be,a   201c740 <rtems_rfs_unlink+0x338>        <== NOT EXECUTED
 201c668:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
        printf ("rtems-rfs: unlink: inode-del failed: %d: %s\n",      
 201c66c:	40 00 0e 0a 	call  201fe94 <strerror>                       <== NOT EXECUTED
 201c670:	90 10 00 18 	mov  %i0, %o0                                  <== NOT EXECUTED
 201c674:	94 10 00 08 	mov  %o0, %o2                                  <== NOT EXECUTED
 201c678:	11 00 80 c2 	sethi  %hi(0x2030800), %o0                     <== NOT EXECUTED
 201c67c:	10 80 00 2e 	b  201c734 <rtems_rfs_unlink+0x32c>            <== NOT EXECUTED
 201c680:	90 12 20 b8 	or  %o0, 0xb8, %o0	! 20308b8 <CSWTCH.1+0x14b8> <== NOT EXECUTED
      rtems_rfs_inode_close (fs, &parent_inode);                      
      rtems_rfs_inode_close (fs, &target_inode);                      
      return rc;                                                      
    }                                                                 
                                                                      
    if (dir)                                                          
 201c684:	80 8c 20 ff 	btst  0xff, %l0                                
 201c688:	02 80 00 1b 	be  201c6f4 <rtems_rfs_unlink+0x2ec>           <== ALWAYS TAKEN
 201c68c:	90 07 bf b0 	add  %fp, -80, %o0                             
    {                                                                 
      links = rtems_rfs_inode_get_links (&parent_inode);              
 201c690:	c4 07 bf bc 	ld  [ %fp + -68 ], %g2                         <== NOT EXECUTED
static inline uint16_t                                                
rtems_rfs_inode_get_links (rtems_rfs_inode_handle* handle)            
{                                                                     
  uint16_t links;                                                     
  links = rtems_rfs_read_u16 (&handle->node->links);                  
  if (links == 0xffff)                                                
 201c694:	39 00 00 3f 	sethi  %hi(0xfc00), %i4                        <== NOT EXECUTED
 */                                                                   
static inline uint16_t                                                
rtems_rfs_inode_get_links (rtems_rfs_inode_handle* handle)            
{                                                                     
  uint16_t links;                                                     
  links = rtems_rfs_read_u16 (&handle->node->links);                  
 201c698:	c2 08 a0 01 	ldub  [ %g2 + 1 ], %g1                         <== NOT EXECUTED
 201c69c:	c6 08 80 00 	ldub  [ %g2 ], %g3                             <== NOT EXECUTED
  if (links == 0xffff)                                                
 201c6a0:	b8 17 23 ff 	or  %i4, 0x3ff, %i4                            <== NOT EXECUTED
 */                                                                   
static inline uint16_t                                                
rtems_rfs_inode_get_links (rtems_rfs_inode_handle* handle)            
{                                                                     
  uint16_t links;                                                     
  links = rtems_rfs_read_u16 (&handle->node->links);                  
 201c6a4:	87 28 e0 08 	sll  %g3, 8, %g3                               <== NOT EXECUTED
 201c6a8:	86 10 c0 01 	or  %g3, %g1, %g3                              <== NOT EXECUTED
  if (links == 0xffff)                                                
 201c6ac:	89 28 e0 10 	sll  %g3, 0x10, %g4                            <== NOT EXECUTED
 201c6b0:	89 31 20 10 	srl  %g4, 0x10, %g4                            <== NOT EXECUTED
 201c6b4:	80 a1 00 1c 	cmp  %g4, %i4                                  <== NOT EXECUTED
 201c6b8:	02 80 00 07 	be  201c6d4 <rtems_rfs_unlink+0x2cc>           <== NOT EXECUTED
 201c6bc:	82 10 00 03 	mov  %g3, %g1                                  <== NOT EXECUTED
      if (links > 1)                                                  
 201c6c0:	80 a1 20 01 	cmp  %g4, 1                                    <== NOT EXECUTED
 201c6c4:	38 80 00 05 	bgu,a   201c6d8 <rtems_rfs_unlink+0x2d0>       <== NOT EXECUTED
 201c6c8:	82 00 ff ff 	add  %g3, -1, %g1                              <== NOT EXECUTED
 * @prarm links The links.                                            
 */                                                                   
static inline void                                                    
rtems_rfs_inode_set_links (rtems_rfs_inode_handle* handle, uint16_t links)
{                                                                     
  rtems_rfs_write_u16 (&handle->node->links, links);                  
 201c6cc:	10 80 00 04 	b  201c6dc <rtems_rfs_unlink+0x2d4>            <== NOT EXECUTED
 201c6d0:	87 30 60 08 	srl  %g1, 8, %g3                               <== NOT EXECUTED
rtems_rfs_inode_get_links (rtems_rfs_inode_handle* handle)            
{                                                                     
  uint16_t links;                                                     
  links = rtems_rfs_read_u16 (&handle->node->links);                  
  if (links == 0xffff)                                                
    links = 0;                                                        
 201c6d4:	82 10 20 00 	clr  %g1                                       <== NOT EXECUTED
 * @prarm links The links.                                            
 */                                                                   
static inline void                                                    
rtems_rfs_inode_set_links (rtems_rfs_inode_handle* handle, uint16_t links)
{                                                                     
  rtems_rfs_write_u16 (&handle->node->links, links);                  
 201c6d8:	87 30 60 08 	srl  %g1, 8, %g3                               <== NOT EXECUTED
 201c6dc:	c6 28 80 00 	stb  %g3, [ %g2 ]                              <== NOT EXECUTED
 201c6e0:	c4 07 bf bc 	ld  [ %fp + -68 ], %g2                         <== NOT EXECUTED
 201c6e4:	c2 28 a0 01 	stb  %g1, [ %g2 + 1 ]                          <== NOT EXECUTED
  rtems_rfs_buffer_mark_dirty (&handle->buffer);                      
 201c6e8:	82 10 20 01 	mov  1, %g1                                    <== NOT EXECUTED
 201c6ec:	c2 2f bf c0 	stb  %g1, [ %fp + -64 ]                        <== NOT EXECUTED
        links--;                                                      
      rtems_rfs_inode_set_links (&parent_inode, links);               
    }                                                                 
  }                                                                   
                                                                      
  rc = rtems_rfs_inode_time_stamp_now (&parent_inode, true, true);    
 201c6f0:	90 07 bf b0 	add  %fp, -80, %o0                             
 201c6f4:	92 10 20 01 	mov  1, %o1                                    
 201c6f8:	7f ff cb e1 	call  200f67c <rtems_rfs_inode_time_stamp_now> 
 201c6fc:	94 10 20 01 	mov  1, %o2                                    
  if (rc > 0)                                                         
 201c700:	b0 92 20 00 	orcc  %o0, 0, %i0                              
 201c704:	04 80 00 13 	ble  201c750 <rtems_rfs_unlink+0x348>          <== ALWAYS TAKEN
 201c708:	90 10 20 00 	clr  %o0                                       
  {                                                                   
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_UNLINK))                     
 201c70c:	7f ff d2 cb 	call  2011238 <rtems_rfs_trace>                <== NOT EXECUTED
 201c710:	13 00 80 00 	sethi  %hi(0x2000000), %o1                     <== NOT EXECUTED
 201c714:	80 8a 20 ff 	btst  0xff, %o0                                <== NOT EXECUTED
 201c718:	22 80 00 0a 	be,a   201c740 <rtems_rfs_unlink+0x338>        <== NOT EXECUTED
 201c71c:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
      printf ("rtems-rfs: link: inode-time-stamp failed: %d: %s\n",   
 201c720:	40 00 0d dd 	call  201fe94 <strerror>                       <== NOT EXECUTED
 201c724:	90 10 00 18 	mov  %i0, %o0                                  <== NOT EXECUTED
 201c728:	94 10 00 08 	mov  %o0, %o2                                  <== NOT EXECUTED
 201c72c:	11 00 80 c2 	sethi  %hi(0x2030800), %o0                     <== NOT EXECUTED
 201c730:	90 12 20 e8 	or  %o0, 0xe8, %o0	! 20308e8 <CSWTCH.1+0x14e8> <== NOT EXECUTED
 201c734:	40 00 0a a5 	call  201f1c8 <printf>                         <== NOT EXECUTED
 201c738:	92 10 00 18 	mov  %i0, %o1                                  <== NOT EXECUTED
              rc, strerror (rc));                                     
    rtems_rfs_inode_close (fs, &parent_inode);                        
 201c73c:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
 201c740:	7f ff cb 78 	call  200f520 <rtems_rfs_inode_close>          <== NOT EXECUTED
 201c744:	92 07 bf b0 	add  %fp, -80, %o1                             <== NOT EXECUTED
  if (rc > 0)                                                         
  {                                                                   
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_UNLINK))                     
      printf ("rtems-rfs: link: parent inode-close failed: %d: %s\n", 
              rc, strerror (rc));                                     
    rtems_rfs_inode_close (fs, &target_inode);                        
 201c748:	10 80 00 15 	b  201c79c <rtems_rfs_unlink+0x394>            <== NOT EXECUTED
 201c74c:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
    rtems_rfs_inode_close (fs, &parent_inode);                        
    rtems_rfs_inode_close (fs, &target_inode);                        
    return rc;                                                        
  }                                                                   
                                                                      
  rc = rtems_rfs_inode_close (fs, &parent_inode);                     
 201c750:	90 10 00 1d 	mov  %i5, %o0                                  
 201c754:	7f ff cb 73 	call  200f520 <rtems_rfs_inode_close>          
 201c758:	92 07 bf b0 	add  %fp, -80, %o1                             
  if (rc > 0)                                                         
 201c75c:	b0 92 20 00 	orcc  %o0, 0, %i0                              
 201c760:	04 80 00 13 	ble  201c7ac <rtems_rfs_unlink+0x3a4>          <== ALWAYS TAKEN
 201c764:	90 10 20 00 	clr  %o0                                       
  {                                                                   
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_UNLINK))                     
 201c768:	7f ff d2 b4 	call  2011238 <rtems_rfs_trace>                <== NOT EXECUTED
 201c76c:	13 00 80 00 	sethi  %hi(0x2000000), %o1                     <== NOT EXECUTED
 201c770:	80 8a 20 ff 	btst  0xff, %o0                                <== NOT EXECUTED
 201c774:	02 80 00 0a 	be  201c79c <rtems_rfs_unlink+0x394>           <== NOT EXECUTED
 201c778:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
      printf ("rtems-rfs: link: parent inode-close failed: %d: %s\n", 
 201c77c:	40 00 0d c6 	call  201fe94 <strerror>                       <== NOT EXECUTED
 201c780:	90 10 00 18 	mov  %i0, %o0                                  <== NOT EXECUTED
 201c784:	94 10 00 08 	mov  %o0, %o2                                  <== NOT EXECUTED
 201c788:	11 00 80 c2 	sethi  %hi(0x2030800), %o0                     <== NOT EXECUTED
 201c78c:	90 12 21 20 	or  %o0, 0x120, %o0	! 2030920 <CSWTCH.1+0x1520><== NOT EXECUTED
 201c790:	40 00 0a 8e 	call  201f1c8 <printf>                         <== NOT EXECUTED
 201c794:	92 10 00 18 	mov  %i0, %o1                                  <== NOT EXECUTED
              rc, strerror (rc));                                     
    rtems_rfs_inode_close (fs, &target_inode);                        
 201c798:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
 201c79c:	7f ff cb 61 	call  200f520 <rtems_rfs_inode_close>          <== NOT EXECUTED
 201c7a0:	92 07 bf d8 	add  %fp, -40, %o1                             <== NOT EXECUTED
    return rc;                                                        
 201c7a4:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 201c7a8:	81 e8 00 00 	restore                                        <== NOT EXECUTED
  }                                                                   
                                                                      
  rc = rtems_rfs_inode_close (fs, &target_inode);                     
 201c7ac:	90 10 00 1d 	mov  %i5, %o0                                  
 201c7b0:	7f ff cb 5c 	call  200f520 <rtems_rfs_inode_close>          
 201c7b4:	92 07 bf d8 	add  %fp, -40, %o1                             
                                                                      
  if ((rc > 0) && rtems_rfs_trace (RTEMS_RFS_TRACE_UNLINK))           
 201c7b8:	b0 92 20 00 	orcc  %o0, 0, %i0                              
 201c7bc:	04 bf ff 45 	ble  201c4d0 <rtems_rfs_unlink+0xc8>           <== ALWAYS TAKEN
 201c7c0:	90 10 20 00 	clr  %o0                                       
 201c7c4:	7f ff d2 9d 	call  2011238 <rtems_rfs_trace>                <== NOT EXECUTED
 201c7c8:	13 00 80 00 	sethi  %hi(0x2000000), %o1                     <== NOT EXECUTED
 201c7cc:	80 8a 20 ff 	btst  0xff, %o0                                <== NOT EXECUTED
 201c7d0:	02 80 00 09 	be  201c7f4 <rtems_rfs_unlink+0x3ec>           <== NOT EXECUTED
 201c7d4:	01 00 00 00 	nop                                            <== NOT EXECUTED
    printf ("rtems-rfs: link: target inode-close failed: %d: %s\n",   
 201c7d8:	40 00 0d af 	call  201fe94 <strerror>                       <== NOT EXECUTED
 201c7dc:	90 10 00 18 	mov  %i0, %o0                                  <== NOT EXECUTED
 201c7e0:	92 10 00 18 	mov  %i0, %o1                                  <== NOT EXECUTED
 201c7e4:	94 10 00 08 	mov  %o0, %o2                                  <== NOT EXECUTED
 201c7e8:	11 00 80 c2 	sethi  %hi(0x2030800), %o0                     <== NOT EXECUTED
 201c7ec:	40 00 0a 77 	call  201f1c8 <printf>                         <== NOT EXECUTED
 201c7f0:	90 12 21 58 	or  %o0, 0x158, %o0	! 2030958 <CSWTCH.1+0x1558><== NOT EXECUTED
            rc, strerror (rc));                                       
                                                                      
  return rc;                                                          
}                                                                     
 201c7f4:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 201c7f8:	81 e8 00 00 	restore                                        <== NOT EXECUTED
                                                                      

02016134 <rtems_signal_send>: rtems_status_code rtems_signal_send( rtems_id id, rtems_signal_set signal_set ) {
 2016134:	9d e3 bf 98 	save  %sp, -104, %sp                           
 2016138:	90 10 00 18 	mov  %i0, %o0                                  
  register Thread_Control *the_thread;                                
  Objects_Locations        location;                                  
  RTEMS_API_Control       *api;                                       
  ASR_Information         *asr;                                       
                                                                      
  if ( !signal_set )                                                  
 201613c:	80 a6 60 00 	cmp  %i1, 0                                    
 2016140:	02 80 00 2e 	be  20161f8 <rtems_signal_send+0xc4>           
 2016144:	b0 10 20 0a 	mov  0xa, %i0                                  
    return RTEMS_INVALID_NUMBER;                                      
                                                                      
  the_thread = _Thread_Get( id, &location );                          
 2016148:	40 00 11 fb 	call  201a934 <_Thread_Get>                    
 201614c:	92 07 bf fc 	add  %fp, -4, %o1                              
  switch ( location ) {                                               
 2016150:	c2 07 bf fc 	ld  [ %fp + -4 ], %g1                          
  ASR_Information         *asr;                                       
                                                                      
  if ( !signal_set )                                                  
    return RTEMS_INVALID_NUMBER;                                      
                                                                      
  the_thread = _Thread_Get( id, &location );                          
 2016154:	b8 10 00 08 	mov  %o0, %i4                                  
  switch ( location ) {                                               
 2016158:	80 a0 60 00 	cmp  %g1, 0                                    
 201615c:	12 80 00 27 	bne  20161f8 <rtems_signal_send+0xc4>          
 2016160:	b0 10 20 04 	mov  4, %i0                                    
                                                                      
    case OBJECTS_LOCAL:                                               
      api = the_thread->API_Extensions[ THREAD_API_RTEMS ];           
 2016164:	fa 02 21 58 	ld  [ %o0 + 0x158 ], %i5                       
      asr = &api->Signal;                                             
                                                                      
      if ( ! _ASR_Is_null_handler( asr->handler ) ) {                 
 2016168:	c2 07 60 0c 	ld  [ %i5 + 0xc ], %g1                         
 201616c:	80 a0 60 00 	cmp  %g1, 0                                    
 2016170:	02 80 00 24 	be  2016200 <rtems_signal_send+0xcc>           
 2016174:	01 00 00 00 	nop                                            
        if ( asr->is_enabled ) {                                      
 2016178:	c2 0f 60 08 	ldub  [ %i5 + 8 ], %g1                         
 201617c:	80 a0 60 00 	cmp  %g1, 0                                    
 2016180:	02 80 00 15 	be  20161d4 <rtems_signal_send+0xa0>           
 2016184:	01 00 00 00 	nop                                            
  rtems_signal_set *signal_set                                        
)                                                                     
{                                                                     
  ISR_Level              _level;                                      
                                                                      
  _ISR_Disable( _level );                                             
 2016188:	7f ff e7 ce 	call  20100c0 <sparc_disable_interrupts>       
 201618c:	01 00 00 00 	nop                                            
    *signal_set |= signals;                                           
 2016190:	c2 07 60 14 	ld  [ %i5 + 0x14 ], %g1                        
 2016194:	b2 10 40 19 	or  %g1, %i1, %i1                              
 2016198:	f2 27 60 14 	st  %i1, [ %i5 + 0x14 ]                        
  _ISR_Enable( _level );                                              
 201619c:	7f ff e7 cd 	call  20100d0 <sparc_enable_interrupts>        
 20161a0:	01 00 00 00 	nop                                            
          _ASR_Post_signals( signal_set, &asr->signals_posted );      
                                                                      
          if ( _ISR_Is_in_progress() && _Thread_Is_executing( the_thread ) )
 20161a4:	03 00 80 e8 	sethi  %hi(0x203a000), %g1                     
 20161a8:	82 10 62 b0 	or  %g1, 0x2b0, %g1	! 203a2b0 <_Per_CPU_Information>
 20161ac:	c4 00 60 08 	ld  [ %g1 + 8 ], %g2                           
 20161b0:	80 a0 a0 00 	cmp  %g2, 0                                    
 20161b4:	02 80 00 0f 	be  20161f0 <rtems_signal_send+0xbc>           
 20161b8:	01 00 00 00 	nop                                            
 20161bc:	c4 00 60 0c 	ld  [ %g1 + 0xc ], %g2                         
 20161c0:	80 a7 00 02 	cmp  %i4, %g2                                  
 20161c4:	12 80 00 0b 	bne  20161f0 <rtems_signal_send+0xbc>          <== NEVER TAKEN
 20161c8:	84 10 20 01 	mov  1, %g2                                    
            _Thread_Dispatch_necessary = true;                        
 20161cc:	c4 28 60 18 	stb  %g2, [ %g1 + 0x18 ]                       
 20161d0:	30 80 00 08 	b,a   20161f0 <rtems_signal_send+0xbc>         
  rtems_signal_set *signal_set                                        
)                                                                     
{                                                                     
  ISR_Level              _level;                                      
                                                                      
  _ISR_Disable( _level );                                             
 20161d4:	7f ff e7 bb 	call  20100c0 <sparc_disable_interrupts>       
 20161d8:	01 00 00 00 	nop                                            
    *signal_set |= signals;                                           
 20161dc:	c2 07 60 18 	ld  [ %i5 + 0x18 ], %g1                        
 20161e0:	b2 10 40 19 	or  %g1, %i1, %i1                              
 20161e4:	f2 27 60 18 	st  %i1, [ %i5 + 0x18 ]                        
  _ISR_Enable( _level );                                              
 20161e8:	7f ff e7 ba 	call  20100d0 <sparc_enable_interrupts>        
 20161ec:	01 00 00 00 	nop                                            
        } else {                                                      
          _ASR_Post_signals( signal_set, &asr->signals_pending );     
        }                                                             
        _Thread_Enable_dispatch();                                    
 20161f0:	40 00 11 c4 	call  201a900 <_Thread_Enable_dispatch>        
 20161f4:	b0 10 20 00 	clr  %i0	! 0 <PROM_START>                      
        return RTEMS_SUCCESSFUL;                                      
 20161f8:	81 c7 e0 08 	ret                                            
 20161fc:	81 e8 00 00 	restore                                        
      }                                                               
      _Thread_Enable_dispatch();                                      
 2016200:	40 00 11 c0 	call  201a900 <_Thread_Enable_dispatch>        
 2016204:	b0 10 20 0b 	mov  0xb, %i0                                  
      return RTEMS_NOT_DEFINED;                                       
 2016208:	81 c7 e0 08 	ret                                            
 201620c:	81 e8 00 00 	restore                                        
                                                                      

020020c0 <rtems_stack_checker_begin_extension>: * rtems_stack_checker_Begin_extension */ void rtems_stack_checker_begin_extension( Thread_Control *the_thread ) {
 20020c0:	9d e3 bf a0 	save  %sp, -96, %sp                            
  Stack_check_Control  *the_pattern;                                  
                                                                      
  if ( the_thread->Object.id == 0 )        /* skip system tasks */    
 20020c4:	c2 06 20 08 	ld  [ %i0 + 8 ], %g1                           
 20020c8:	80 a0 60 00 	cmp  %g1, 0                                    
 20020cc:	02 80 00 07 	be  20020e8 <rtems_stack_checker_begin_extension+0x28><== NEVER TAKEN
 20020d0:	13 00 80 53 	sethi  %hi(0x2014c00), %o1                     
    return;                                                           
                                                                      
  the_pattern = Stack_check_Get_pattern_area(&the_thread->Start.Initial_stack);
                                                                      
  *the_pattern = Stack_check_Pattern;                                 
 20020d4:	d0 06 20 b8 	ld  [ %i0 + 0xb8 ], %o0                        
 20020d8:	90 02 20 08 	add  %o0, 8, %o0                               
 20020dc:	92 12 60 ec 	or  %o1, 0xec, %o1                             
 20020e0:	40 00 30 60 	call  200e260 <memcpy>                         
 20020e4:	94 10 20 10 	mov  0x10, %o2                                 
 20020e8:	81 c7 e0 08 	ret                                            
 20020ec:	81 e8 00 00 	restore                                        
                                                                      

02002090 <rtems_stack_checker_create_extension>: */ bool rtems_stack_checker_create_extension( Thread_Control *running __attribute__((unused)), Thread_Control *the_thread ) {
 2002090:	9d e3 bf a0 	save  %sp, -96, %sp                            
  Stack_check_Initialize();                                           
 2002094:	7f ff ff d8 	call  2001ff4 <Stack_check_Initialize>         
 2002098:	01 00 00 00 	nop                                            
                                                                      
  if (the_thread)                                                     
 200209c:	80 a6 60 00 	cmp  %i1, 0                                    
 20020a0:	02 80 00 06 	be  20020b8 <rtems_stack_checker_create_extension+0x28><== NEVER TAKEN
 20020a4:	01 00 00 00 	nop                                            
    Stack_check_Dope_stack(&the_thread->Start.Initial_stack);         
 20020a8:	d0 06 60 b8 	ld  [ %i1 + 0xb8 ], %o0                        
 20020ac:	d4 06 60 b4 	ld  [ %i1 + 0xb4 ], %o2                        
 20020b0:	40 00 30 a8 	call  200e350 <memset>                         
 20020b4:	92 10 20 a5 	mov  0xa5, %o1                                 
                                                                      
  return true;                                                        
}                                                                     
 20020b8:	81 c7 e0 08 	ret                                            
 20020bc:	91 e8 20 01 	restore  %g0, 1, %o0                           
                                                                      

020021fc <rtems_stack_checker_is_blown>: /* * Check if blown */ bool rtems_stack_checker_is_blown( void ) {
 20021fc:	9d e3 bf a0 	save  %sp, -96, %sp                            
  Stack_Control *the_stack = &_Thread_Executing->Start.Initial_stack; 
 2002200:	03 00 80 54 	sethi  %hi(0x2015000), %g1                     
 2002204:	c2 00 61 0c 	ld  [ %g1 + 0x10c ], %g1	! 201510c <_Per_CPU_Information+0xc>
)                                                                     
{                                                                     
  #if defined(__GNUC__)                                               
    void *sp = __builtin_frame_address(0);                            
                                                                      
    if ( sp < the_stack->area ) {                                     
 2002208:	d0 00 60 b8 	ld  [ %g1 + 0xb8 ], %o0                        
 200220c:	80 a7 80 08 	cmp  %fp, %o0                                  
 2002210:	0a 80 00 06 	bcs  2002228 <rtems_stack_checker_is_blown+0x2c><== NEVER TAKEN
 2002214:	ba 10 20 00 	clr  %i5                                       
      return false;                                                   
    }                                                                 
    if ( sp > (the_stack->area + the_stack->size) ) {                 
 2002218:	c2 00 60 b4 	ld  [ %g1 + 0xb4 ], %g1                        
 200221c:	82 02 00 01 	add  %o0, %g1, %g1                             
}                                                                     
                                                                      
/*                                                                    
 *  Check if blown                                                    
 */                                                                   
bool rtems_stack_checker_is_blown( void )                             
 2002220:	80 a0 40 1e 	cmp  %g1, %fp                                  
 2002224:	ba 60 3f ff 	subx  %g0, -1, %i5                             
                                                                      
  /*                                                                  
   * The stack checker must be initialized before the pattern is there
   * to check.                                                        
   */                                                                 
  if ( Stack_check_Initialized ) {                                    
 2002228:	03 00 80 52 	sethi  %hi(0x2014800), %g1                     
 200222c:	c2 00 62 5c 	ld  [ %g1 + 0x25c ], %g1	! 2014a5c <Stack_check_Initialized>
 2002230:	80 a0 60 00 	cmp  %g1, 0                                    
 2002234:	02 80 00 09 	be  2002258 <rtems_stack_checker_is_blown+0x5c><== NEVER TAKEN
 2002238:	92 10 20 01 	mov  1, %o1                                    
    pattern_ok = (!memcmp(                                            
 200223c:	90 02 20 08 	add  %o0, 8, %o0                               
 2002240:	13 00 80 53 	sethi  %hi(0x2014c00), %o1                     
 2002244:	94 10 20 10 	mov  0x10, %o2                                 
 2002248:	40 00 2f d8 	call  200e1a8 <memcmp>                         
 200224c:	92 12 60 ec 	or  %o1, 0xec, %o1                             
 2002250:	80 a0 00 08 	cmp  %g0, %o0                                  
 2002254:	92 60 3f ff 	subx  %g0, -1, %o1                             
                                                                      
                                                                      
  /*                                                                  
   * Let's report as much as we can.                                  
   */                                                                 
  if ( !sp_ok || !pattern_ok ) {                                      
 2002258:	80 8f 60 ff 	btst  0xff, %i5                                
 200225c:	02 80 00 04 	be  200226c <rtems_stack_checker_is_blown+0x70><== NEVER TAKEN
 2002260:	80 8a 60 ff 	btst  0xff, %o1                                
 2002264:	12 80 00 06 	bne  200227c <rtems_stack_checker_is_blown+0x80><== ALWAYS TAKEN
 2002268:	01 00 00 00 	nop                                            
    Stack_check_report_blown_task( _Thread_Executing, pattern_ok );   
 200226c:	03 00 80 54 	sethi  %hi(0x2015000), %g1                     <== NOT EXECUTED
 2002270:	d0 00 61 0c 	ld  [ %g1 + 0x10c ], %o0	! 201510c <_Per_CPU_Information+0xc><== NOT EXECUTED
 2002274:	7f ff ff 9f 	call  20020f0 <Stack_check_report_blown_task>  <== NOT EXECUTED
 2002278:	92 0a 60 01 	and  %o1, 1, %o1                               <== NOT EXECUTED
                                                                      
  /*                                                                  
   * The Stack Pointer and the Pattern Area are OK so return false.   
   */                                                                 
  return false;                                                       
}                                                                     
 200227c:	81 c7 e0 08 	ret                                            
 2002280:	91 e8 20 00 	restore  %g0, 0, %o0                           
                                                                      

02002284 <rtems_stack_checker_report_usage_with_plugin>: void rtems_stack_checker_report_usage_with_plugin( void *context, rtems_printk_plugin_t print ) {
 2002284:	9d e3 bf a0 	save  %sp, -96, %sp                            
  if ( !print )                                                       
 2002288:	80 a6 60 00 	cmp  %i1, 0                                    
 200228c:	02 80 00 14 	be  20022dc <rtems_stack_checker_report_usage_with_plugin+0x58><== NEVER TAKEN
 2002290:	39 00 80 52 	sethi  %hi(0x2014800), %i4                     
    return;                                                           
                                                                      
  print_context = context;                                            
  print_handler = print;                                              
 2002294:	3b 00 80 52 	sethi  %hi(0x2014800), %i5                     
)                                                                     
{                                                                     
  if ( !print )                                                       
    return;                                                           
                                                                      
  print_context = context;                                            
 2002298:	f0 27 22 64 	st  %i0, [ %i4 + 0x264 ]                       
  print_handler = print;                                              
 200229c:	f2 27 62 60 	st  %i1, [ %i5 + 0x260 ]                       
                                                                      
  (*print)( context, "Stack usage by thread\n");                      
 20022a0:	90 10 00 18 	mov  %i0, %o0                                  
 20022a4:	13 00 80 4d 	sethi  %hi(0x2013400), %o1                     
 20022a8:	9f c6 40 00 	call  %i1                                      
 20022ac:	92 12 63 50 	or  %o1, 0x350, %o1	! 2013750 <rtems_filesystem_table+0x534>
  (*print)( context,                                                  
 20022b0:	90 10 00 18 	mov  %i0, %o0                                  
 20022b4:	13 00 80 4d 	sethi  %hi(0x2013400), %o1                     
 20022b8:	9f c6 40 00 	call  %i1                                      
 20022bc:	92 12 63 68 	or  %o1, 0x368, %o1	! 2013768 <rtems_filesystem_table+0x54c>
"    ID      NAME    LOW          HIGH     CURRENT     AVAILABLE     USED\n"
  );                                                                  
                                                                      
  /* iterate over all threads and dump the usage */                   
  rtems_iterate_over_all_threads( Stack_check_Dump_threads_usage );   
 20022c0:	11 00 80 07 	sethi  %hi(0x2001c00), %o0                     
 20022c4:	40 00 14 7e 	call  20074bc <rtems_iterate_over_all_threads> 
 20022c8:	90 12 22 84 	or  %o0, 0x284, %o0	! 2001e84 <Stack_check_Dump_threads_usage>
                                                                      
  #if (CPU_ALLOCATE_INTERRUPT_STACK == TRUE)                          
    /* dump interrupt stack info if any */                            
    Stack_check_Dump_threads_usage((Thread_Control *) -1);            
 20022cc:	7f ff fe ee 	call  2001e84 <Stack_check_Dump_threads_usage> 
 20022d0:	90 10 3f ff 	mov  -1, %o0                                   
  #endif                                                              
                                                                      
  print_context = NULL;                                               
 20022d4:	c0 27 22 64 	clr  [ %i4 + 0x264 ]                           
  print_handler = NULL;                                               
 20022d8:	c0 27 62 60 	clr  [ %i5 + 0x260 ]                           
 20022dc:	81 c7 e0 08 	ret                                            
 20022e0:	81 e8 00 00 	restore                                        
                                                                      

02002198 <rtems_stack_checker_switch_extension>: */ void rtems_stack_checker_switch_extension( Thread_Control *running __attribute__((unused)), Thread_Control *heir __attribute__((unused)) ) {
 2002198:	9d e3 bf a0 	save  %sp, -96, %sp                            
  Stack_Control *the_stack = &running->Start.Initial_stack;           
  void          *pattern;                                             
  bool           sp_ok;                                               
  bool           pattern_ok = true;                                   
                                                                      
  pattern = Stack_check_Get_pattern_area(the_stack);                  
 200219c:	c2 06 20 b8 	ld  [ %i0 + 0xb8 ], %g1                        
{                                                                     
  #if defined(__GNUC__)                                               
    void *sp = __builtin_frame_address(0);                            
                                                                      
    if ( sp < the_stack->area ) {                                     
      return false;                                                   
 20021a0:	ba 10 20 00 	clr  %i5                                       
)                                                                     
{                                                                     
  #if defined(__GNUC__)                                               
    void *sp = __builtin_frame_address(0);                            
                                                                      
    if ( sp < the_stack->area ) {                                     
 20021a4:	80 a7 80 01 	cmp  %fp, %g1                                  
 20021a8:	0a 80 00 06 	bcs  20021c0 <rtems_stack_checker_switch_extension+0x28><== NEVER TAKEN
 20021ac:	90 00 60 08 	add  %g1, 8, %o0                               
      return false;                                                   
    }                                                                 
    if ( sp > (the_stack->area + the_stack->size) ) {                 
 20021b0:	c4 06 20 b4 	ld  [ %i0 + 0xb4 ], %g2                        
 20021b4:	82 00 40 02 	add  %g1, %g2, %g1                             
}                                                                     
                                                                      
/*                                                                    
 *  rtems_stack_checker_switch_extension                              
 */                                                                   
void rtems_stack_checker_switch_extension(                            
 20021b8:	80 a0 40 1e 	cmp  %g1, %fp                                  
 20021bc:	ba 60 3f ff 	subx  %g0, -1, %i5                             
  /*                                                                  
   *  Check for an out of bounds stack pointer or an overwrite        
   */                                                                 
  sp_ok = Stack_check_Frame_pointer_in_range( the_stack );            
                                                                      
  pattern_ok = (!memcmp( pattern,                                     
 20021c0:	13 00 80 53 	sethi  %hi(0x2014c00), %o1                     
 20021c4:	94 10 20 10 	mov  0x10, %o2                                 
 20021c8:	40 00 2f f8 	call  200e1a8 <memcmp>                         
 20021cc:	92 12 60 ec 	or  %o1, 0xec, %o1                             
 20021d0:	80 a0 00 08 	cmp  %g0, %o0                                  
 20021d4:	92 60 3f ff 	subx  %g0, -1, %o1                             
            (void *) Stack_check_Pattern.pattern, PATTERN_SIZE_BYTES));
                                                                      
  if ( !sp_ok || !pattern_ok ) {                                      
 20021d8:	80 8f 60 ff 	btst  0xff, %i5                                
 20021dc:	02 80 00 04 	be  20021ec <rtems_stack_checker_switch_extension+0x54><== NEVER TAKEN
 20021e0:	80 a2 60 00 	cmp  %o1, 0                                    
 20021e4:	12 80 00 04 	bne  20021f4 <rtems_stack_checker_switch_extension+0x5c>
 20021e8:	01 00 00 00 	nop                                            
    Stack_check_report_blown_task( running, pattern_ok );             
 20021ec:	7f ff ff c1 	call  20020f0 <Stack_check_report_blown_task>  
 20021f0:	90 10 00 18 	mov  %i0, %o0                                  
 20021f4:	81 c7 e0 08 	ret                                            
 20021f8:	81 e8 00 00 	restore                                        
                                                                      

0200c134 <rtems_string_to_int>: const char *s, int *n, char **endptr, int base ) {
 200c134:	9d e3 bf 98 	save  %sp, -104, %sp                           
 200c138:	ba 10 00 18 	mov  %i0, %i5                                  
  long result;                                                        
  char *end;                                                          
                                                                      
  if ( !n )                                                           
 200c13c:	80 a6 60 00 	cmp  %i1, 0                                    
 200c140:	02 80 00 25 	be  200c1d4 <rtems_string_to_int+0xa0>         
 200c144:	b0 10 20 09 	mov  9, %i0                                    
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
 200c148:	40 00 09 94 	call  200e798 <__errno>                        
 200c14c:	01 00 00 00 	nop                                            
 200c150:	c0 22 00 00 	clr  [ %o0 ]                                   
  *n = 0;                                                             
                                                                      
  result = strtol( s, &end, base );                                   
 200c154:	94 10 00 1b 	mov  %i3, %o2                                  
                                                                      
  if ( !n )                                                           
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
  *n = 0;                                                             
 200c158:	c0 26 40 00 	clr  [ %i1 ]                                   
                                                                      
  result = strtol( s, &end, base );                                   
 200c15c:	90 10 00 1d 	mov  %i5, %o0                                  
 200c160:	40 00 15 8c 	call  2011790 <strtol>                         
 200c164:	92 07 bf fc 	add  %fp, -4, %o1                              
                                                                      
  if ( endptr )                                                       
 200c168:	80 a6 a0 00 	cmp  %i2, 0                                    
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
  *n = 0;                                                             
                                                                      
  result = strtol( s, &end, base );                                   
 200c16c:	b6 10 00 08 	mov  %o0, %i3                                  
                                                                      
  if ( endptr )                                                       
 200c170:	02 80 00 03 	be  200c17c <rtems_string_to_int+0x48>         
 200c174:	c2 07 bf fc 	ld  [ %fp + -4 ], %g1                          
    *endptr = end;                                                    
 200c178:	c2 26 80 00 	st  %g1, [ %i2 ]                               
                                                                      
  if ( end == s )                                                     
 200c17c:	80 a0 40 1d 	cmp  %g1, %i5                                  
 200c180:	02 80 00 15 	be  200c1d4 <rtems_string_to_int+0xa0>         
 200c184:	b0 10 20 0b 	mov  0xb, %i0                                  
    return RTEMS_NOT_DEFINED;                                         
                                                                      
  if ( ( errno == ERANGE ) &&                                         
 200c188:	40 00 09 84 	call  200e798 <__errno>                        
 200c18c:	01 00 00 00 	nop                                            
 200c190:	c2 02 00 00 	ld  [ %o0 ], %g1                               
 200c194:	80 a0 60 22 	cmp  %g1, 0x22                                 
 200c198:	32 80 00 0e 	bne,a   200c1d0 <rtems_string_to_int+0x9c>     
 200c19c:	f6 26 40 00 	st  %i3, [ %i1 ]                               
    (( result == 0 ) || ( result == LONG_MAX ) || ( result == LONG_MIN )))
 200c1a0:	03 20 00 00 	sethi  %hi(0x80000000), %g1                    
 200c1a4:	82 38 40 1b 	xnor  %g1, %i3, %g1                            
    *endptr = end;                                                    
                                                                      
  if ( end == s )                                                     
    return RTEMS_NOT_DEFINED;                                         
                                                                      
  if ( ( errno == ERANGE ) &&                                         
 200c1a8:	80 a0 60 00 	cmp  %g1, 0                                    
 200c1ac:	02 80 00 0a 	be  200c1d4 <rtems_string_to_int+0xa0>         
 200c1b0:	b0 10 20 0a 	mov  0xa, %i0                                  
 200c1b4:	80 a6 e0 00 	cmp  %i3, 0                                    
 200c1b8:	02 80 00 07 	be  200c1d4 <rtems_string_to_int+0xa0>         <== NEVER TAKEN
 200c1bc:	03 20 00 00 	sethi  %hi(0x80000000), %g1                    
    (( result == 0 ) || ( result == LONG_MAX ) || ( result == LONG_MIN )))
 200c1c0:	80 a6 c0 01 	cmp  %i3, %g1                                  
 200c1c4:	02 80 00 04 	be  200c1d4 <rtems_string_to_int+0xa0>         <== ALWAYS TAKEN
 200c1c8:	01 00 00 00 	nop                                            
    errno = ERANGE;                                                   
    return RTEMS_INVALID_NUMBER;                                      
  }                                                                   
#endif                                                                
                                                                      
  *n = result;                                                        
 200c1cc:	f6 26 40 00 	st  %i3, [ %i1 ]                               <== NOT EXECUTED
 200c1d0:	b0 10 20 00 	clr  %i0                                       
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
 200c1d4:	81 c7 e0 08 	ret                                            
 200c1d8:	81 e8 00 00 	restore                                        
                                                                      

0200c2a8 <rtems_string_to_long>: const char *s, long *n, char **endptr, int base ) {
 200c2a8:	9d e3 bf 98 	save  %sp, -104, %sp                           
 200c2ac:	ba 10 00 18 	mov  %i0, %i5                                  
  long result;                                                        
  char *end;                                                          
                                                                      
  if ( !n )                                                           
 200c2b0:	80 a6 60 00 	cmp  %i1, 0                                    
 200c2b4:	02 80 00 25 	be  200c348 <rtems_string_to_long+0xa0>        
 200c2b8:	b0 10 20 09 	mov  9, %i0                                    
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
 200c2bc:	40 00 09 37 	call  200e798 <__errno>                        
 200c2c0:	01 00 00 00 	nop                                            
 200c2c4:	c0 22 00 00 	clr  [ %o0 ]                                   
  *n = 0;                                                             
                                                                      
  result = strtol( s, &end, base );                                   
 200c2c8:	94 10 00 1b 	mov  %i3, %o2                                  
                                                                      
  if ( !n )                                                           
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
  *n = 0;                                                             
 200c2cc:	c0 26 40 00 	clr  [ %i1 ]                                   
                                                                      
  result = strtol( s, &end, base );                                   
 200c2d0:	90 10 00 1d 	mov  %i5, %o0                                  
 200c2d4:	40 00 15 2f 	call  2011790 <strtol>                         
 200c2d8:	92 07 bf fc 	add  %fp, -4, %o1                              
                                                                      
  if ( endptr )                                                       
 200c2dc:	80 a6 a0 00 	cmp  %i2, 0                                    
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
  *n = 0;                                                             
                                                                      
  result = strtol( s, &end, base );                                   
 200c2e0:	b6 10 00 08 	mov  %o0, %i3                                  
                                                                      
  if ( endptr )                                                       
 200c2e4:	02 80 00 03 	be  200c2f0 <rtems_string_to_long+0x48>        
 200c2e8:	c2 07 bf fc 	ld  [ %fp + -4 ], %g1                          
    *endptr = end;                                                    
 200c2ec:	c2 26 80 00 	st  %g1, [ %i2 ]                               
                                                                      
  if ( end == s )                                                     
 200c2f0:	80 a0 40 1d 	cmp  %g1, %i5                                  
 200c2f4:	02 80 00 15 	be  200c348 <rtems_string_to_long+0xa0>        
 200c2f8:	b0 10 20 0b 	mov  0xb, %i0                                  
    return RTEMS_NOT_DEFINED;                                         
                                                                      
  if ( ( errno == ERANGE ) &&                                         
 200c2fc:	40 00 09 27 	call  200e798 <__errno>                        
 200c300:	01 00 00 00 	nop                                            
 200c304:	c2 02 00 00 	ld  [ %o0 ], %g1                               
 200c308:	80 a0 60 22 	cmp  %g1, 0x22                                 
 200c30c:	32 80 00 0e 	bne,a   200c344 <rtems_string_to_long+0x9c>    
 200c310:	f6 26 40 00 	st  %i3, [ %i1 ]                               
    (( result == 0 ) || ( result == LONG_MAX ) || ( result == LONG_MIN )))
 200c314:	03 20 00 00 	sethi  %hi(0x80000000), %g1                    
 200c318:	82 38 40 1b 	xnor  %g1, %i3, %g1                            
    *endptr = end;                                                    
                                                                      
  if ( end == s )                                                     
    return RTEMS_NOT_DEFINED;                                         
                                                                      
  if ( ( errno == ERANGE ) &&                                         
 200c31c:	80 a0 60 00 	cmp  %g1, 0                                    
 200c320:	02 80 00 0a 	be  200c348 <rtems_string_to_long+0xa0>        
 200c324:	b0 10 20 0a 	mov  0xa, %i0                                  
 200c328:	80 a6 e0 00 	cmp  %i3, 0                                    
 200c32c:	02 80 00 07 	be  200c348 <rtems_string_to_long+0xa0>        <== NEVER TAKEN
 200c330:	03 20 00 00 	sethi  %hi(0x80000000), %g1                    
    (( result == 0 ) || ( result == LONG_MAX ) || ( result == LONG_MIN )))
 200c334:	80 a6 c0 01 	cmp  %i3, %g1                                  
 200c338:	02 80 00 04 	be  200c348 <rtems_string_to_long+0xa0>        <== ALWAYS TAKEN
 200c33c:	01 00 00 00 	nop                                            
      return RTEMS_INVALID_NUMBER;                                    
                                                                      
  *n = result;                                                        
 200c340:	f6 26 40 00 	st  %i3, [ %i1 ]                               <== NOT EXECUTED
 200c344:	b0 10 20 00 	clr  %i0                                       
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
 200c348:	81 c7 e0 08 	ret                                            
 200c34c:	81 e8 00 00 	restore                                        
                                                                      

0200c1dc <rtems_string_to_long_long>: const char *s, long long *n, char **endptr, int base ) {
 200c1dc:	9d e3 bf 98 	save  %sp, -104, %sp                           
  long long result;                                                   
  char *end;                                                          
                                                                      
  if ( !n )                                                           
 200c1e0:	80 a6 60 00 	cmp  %i1, 0                                    
 200c1e4:	02 80 00 2f 	be  200c2a0 <rtems_string_to_long_long+0xc4>   
 200c1e8:	82 10 20 09 	mov  9, %g1                                    
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
 200c1ec:	40 00 09 6b 	call  200e798 <__errno>                        
 200c1f0:	01 00 00 00 	nop                                            
 200c1f4:	c0 22 00 00 	clr  [ %o0 ]                                   
  *n = 0;                                                             
 200c1f8:	c0 26 40 00 	clr  [ %i1 ]                                   
 200c1fc:	c0 26 60 04 	clr  [ %i1 + 4 ]                               
                                                                      
  result = strtoll( s, &end, base );                                  
 200c200:	90 10 00 18 	mov  %i0, %o0                                  
 200c204:	92 07 bf fc 	add  %fp, -4, %o1                              
 200c208:	40 00 15 6b 	call  20117b4 <strtoll>                        
 200c20c:	94 10 00 1b 	mov  %i3, %o2                                  
                                                                      
  if ( endptr )                                                       
 200c210:	80 a6 a0 00 	cmp  %i2, 0                                    
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
  *n = 0;                                                             
                                                                      
  result = strtoll( s, &end, base );                                  
 200c214:	b8 10 00 08 	mov  %o0, %i4                                  
 200c218:	ba 10 00 09 	mov  %o1, %i5                                  
                                                                      
  if ( endptr )                                                       
 200c21c:	02 80 00 03 	be  200c228 <rtems_string_to_long_long+0x4c>   
 200c220:	c4 07 bf fc 	ld  [ %fp + -4 ], %g2                          
    *endptr = end;                                                    
 200c224:	c4 26 80 00 	st  %g2, [ %i2 ]                               
                                                                      
  if ( end == s )                                                     
 200c228:	80 a0 80 18 	cmp  %g2, %i0                                  
 200c22c:	02 80 00 1d 	be  200c2a0 <rtems_string_to_long_long+0xc4>   
 200c230:	82 10 20 0b 	mov  0xb, %g1                                  
    return RTEMS_NOT_DEFINED;                                         
                                                                      
  if ( ( errno == ERANGE ) &&                                         
 200c234:	40 00 09 59 	call  200e798 <__errno>                        
 200c238:	01 00 00 00 	nop                                            
 200c23c:	c2 02 00 00 	ld  [ %o0 ], %g1                               
 200c240:	80 a0 60 22 	cmp  %g1, 0x22                                 
 200c244:	32 80 00 16 	bne,a   200c29c <rtems_string_to_long_long+0xc0>
 200c248:	f8 3e 40 00 	std  %i4, [ %i1 ]                              
    (( result == 0 ) || ( result == LONG_LONG_MAX ) || ( result == LONG_LONG_MIN )))
 200c24c:	05 1f ff ff 	sethi  %hi(0x7ffffc00), %g2                    
 200c250:	07 3f ff ff 	sethi  %hi(0xfffffc00), %g3                    
 200c254:	84 10 a3 ff 	or  %g2, 0x3ff, %g2                            
 200c258:	86 10 e3 ff 	or  %g3, 0x3ff, %g3                            
 200c25c:	84 1f 00 02 	xor  %i4, %g2, %g2                             
 200c260:	86 1f 40 03 	xor  %i5, %g3, %g3                             
    *endptr = end;                                                    
                                                                      
  if ( end == s )                                                     
    return RTEMS_NOT_DEFINED;                                         
                                                                      
  if ( ( errno == ERANGE ) &&                                         
 200c264:	80 90 80 03 	orcc  %g2, %g3, %g0                            
 200c268:	02 80 00 0e 	be  200c2a0 <rtems_string_to_long_long+0xc4>   
 200c26c:	82 10 20 0a 	mov  0xa, %g1                                  
 200c270:	80 97 00 1d 	orcc  %i4, %i5, %g0                            
 200c274:	02 80 00 0b 	be  200c2a0 <rtems_string_to_long_long+0xc4>   <== NEVER TAKEN
 200c278:	01 00 00 00 	nop                                            
    (( result == 0 ) || ( result == LONG_LONG_MAX ) || ( result == LONG_LONG_MIN )))
 200c27c:	03 20 00 00 	sethi  %hi(0x80000000), %g1                    
 200c280:	80 a7 00 01 	cmp  %i4, %g1                                  
 200c284:	32 80 00 06 	bne,a   200c29c <rtems_string_to_long_long+0xc0><== NEVER TAKEN
 200c288:	f8 3e 40 00 	std  %i4, [ %i1 ]                              <== NOT EXECUTED
 200c28c:	80 a7 60 00 	cmp  %i5, 0                                    
 200c290:	22 80 00 04 	be,a   200c2a0 <rtems_string_to_long_long+0xc4><== ALWAYS TAKEN
 200c294:	82 10 20 0a 	mov  0xa, %g1                                  
      return RTEMS_INVALID_NUMBER;                                    
                                                                      
  *n = result;                                                        
 200c298:	f8 3e 40 00 	std  %i4, [ %i1 ]                              <== NOT EXECUTED
 200c29c:	82 10 20 00 	clr  %g1                                       
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
 200c2a0:	81 c7 e0 08 	ret                                            
 200c2a4:	91 e8 00 01 	restore  %g0, %g1, %o0                         
                                                                      

0200c360 <rtems_string_to_unsigned_char>: const char *s, unsigned char *n, char **endptr, int base ) {
 200c360:	9d e3 bf 98 	save  %sp, -104, %sp                           
 200c364:	ba 10 00 18 	mov  %i0, %i5                                  
  unsigned long result;                                               
  char *end;                                                          
                                                                      
  if ( !n )                                                           
 200c368:	80 a6 60 00 	cmp  %i1, 0                                    
 200c36c:	02 80 00 23 	be  200c3f8 <rtems_string_to_unsigned_char+0x98>
 200c370:	b0 10 20 09 	mov  9, %i0                                    
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
 200c374:	40 00 09 09 	call  200e798 <__errno>                        
 200c378:	01 00 00 00 	nop                                            
 200c37c:	c0 22 00 00 	clr  [ %o0 ]                                   
  *n = 0;                                                             
                                                                      
  result = strtoul( s, &end, base );                                  
 200c380:	94 10 00 1b 	mov  %i3, %o2                                  
                                                                      
  if ( !n )                                                           
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
  *n = 0;                                                             
 200c384:	c0 2e 40 00 	clrb  [ %i1 ]                                  
                                                                      
  result = strtoul( s, &end, base );                                  
 200c388:	90 10 00 1d 	mov  %i5, %o0                                  
 200c38c:	40 00 16 5a 	call  2011cf4 <strtoul>                        
 200c390:	92 07 bf fc 	add  %fp, -4, %o1                              
                                                                      
  if ( endptr )                                                       
 200c394:	80 a6 a0 00 	cmp  %i2, 0                                    
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
  *n = 0;                                                             
                                                                      
  result = strtoul( s, &end, base );                                  
 200c398:	b6 10 00 08 	mov  %o0, %i3                                  
                                                                      
  if ( endptr )                                                       
 200c39c:	02 80 00 03 	be  200c3a8 <rtems_string_to_unsigned_char+0x48>
 200c3a0:	c2 07 bf fc 	ld  [ %fp + -4 ], %g1                          
    *endptr = end;                                                    
 200c3a4:	c2 26 80 00 	st  %g1, [ %i2 ]                               
                                                                      
  if ( end == s )                                                     
 200c3a8:	80 a0 40 1d 	cmp  %g1, %i5                                  
 200c3ac:	02 80 00 13 	be  200c3f8 <rtems_string_to_unsigned_char+0x98>
 200c3b0:	b0 10 20 0b 	mov  0xb, %i0                                  
    return RTEMS_NOT_DEFINED;                                         
                                                                      
  if ( ( errno == ERANGE ) &&                                         
 200c3b4:	40 00 08 f9 	call  200e798 <__errno>                        
 200c3b8:	01 00 00 00 	nop                                            
 200c3bc:	c2 02 00 00 	ld  [ %o0 ], %g1                               
 200c3c0:	80 a0 60 22 	cmp  %g1, 0x22                                 
 200c3c4:	12 80 00 07 	bne  200c3e0 <rtems_string_to_unsigned_char+0x80>
 200c3c8:	80 a6 e0 ff 	cmp  %i3, 0xff                                 
    (( result == 0 ) || ( result == ULONG_MAX )))                     
 200c3cc:	82 06 ff ff 	add  %i3, -1, %g1                              
    *endptr = end;                                                    
                                                                      
  if ( end == s )                                                     
    return RTEMS_NOT_DEFINED;                                         
                                                                      
  if ( ( errno == ERANGE ) &&                                         
 200c3d0:	80 a0 7f fd 	cmp  %g1, -3                                   
 200c3d4:	18 80 00 09 	bgu  200c3f8 <rtems_string_to_unsigned_char+0x98><== ALWAYS TAKEN
 200c3d8:	b0 10 20 0a 	mov  0xa, %i0                                  
    (( result == 0 ) || ( result == ULONG_MAX )))                     
      return RTEMS_INVALID_NUMBER;                                    
                                                                      
#if (UCHAR_MAX < ULONG_MAX)                                           
  if ( result > UCHAR_MAX ) {                                         
 200c3dc:	80 a6 e0 ff 	cmp  %i3, 0xff                                 <== NOT EXECUTED
 200c3e0:	28 80 00 08 	bleu,a   200c400 <rtems_string_to_unsigned_char+0xa0>
 200c3e4:	f6 2e 40 00 	stb  %i3, [ %i1 ]                              
    errno = ERANGE;                                                   
 200c3e8:	40 00 08 ec 	call  200e798 <__errno>                        
 200c3ec:	b0 10 20 0a 	mov  0xa, %i0                                  
 200c3f0:	82 10 20 22 	mov  0x22, %g1                                 
 200c3f4:	c2 22 00 00 	st  %g1, [ %o0 ]                               
    return RTEMS_INVALID_NUMBER;                                      
 200c3f8:	81 c7 e0 08 	ret                                            
 200c3fc:	81 e8 00 00 	restore                                        
  }                                                                   
#endif                                                                
                                                                      
  *n = result;                                                        
                                                                      
  return RTEMS_SUCCESSFUL;                                            
 200c400:	b0 10 20 00 	clr  %i0                                       
}                                                                     
 200c404:	81 c7 e0 08 	ret                                            
 200c408:	81 e8 00 00 	restore                                        
                                                                      

0200c40c <rtems_string_to_unsigned_int>: const char *s, unsigned int *n, char **endptr, int base ) {
 200c40c:	9d e3 bf 98 	save  %sp, -104, %sp                           
 200c410:	ba 10 00 18 	mov  %i0, %i5                                  
  unsigned long result;                                               
  char *end;                                                          
                                                                      
  if ( !n )                                                           
 200c414:	80 a6 60 00 	cmp  %i1, 0                                    
 200c418:	02 80 00 1e 	be  200c490 <rtems_string_to_unsigned_int+0x84>
 200c41c:	b0 10 20 09 	mov  9, %i0                                    
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
 200c420:	40 00 08 de 	call  200e798 <__errno>                        
 200c424:	01 00 00 00 	nop                                            
 200c428:	c0 22 00 00 	clr  [ %o0 ]                                   
  *n = 0;                                                             
                                                                      
  result = strtoul( s, &end, base );                                  
 200c42c:	94 10 00 1b 	mov  %i3, %o2                                  
                                                                      
  if ( !n )                                                           
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
  *n = 0;                                                             
 200c430:	c0 26 40 00 	clr  [ %i1 ]                                   
                                                                      
  result = strtoul( s, &end, base );                                  
 200c434:	90 10 00 1d 	mov  %i5, %o0                                  
 200c438:	40 00 16 2f 	call  2011cf4 <strtoul>                        
 200c43c:	92 07 bf fc 	add  %fp, -4, %o1                              
                                                                      
  if ( endptr )                                                       
 200c440:	80 a6 a0 00 	cmp  %i2, 0                                    
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
  *n = 0;                                                             
                                                                      
  result = strtoul( s, &end, base );                                  
 200c444:	b6 10 00 08 	mov  %o0, %i3                                  
                                                                      
  if ( endptr )                                                       
 200c448:	02 80 00 03 	be  200c454 <rtems_string_to_unsigned_int+0x48>
 200c44c:	c2 07 bf fc 	ld  [ %fp + -4 ], %g1                          
    *endptr = end;                                                    
 200c450:	c2 26 80 00 	st  %g1, [ %i2 ]                               
                                                                      
  if ( end == s )                                                     
 200c454:	80 a0 40 1d 	cmp  %g1, %i5                                  
 200c458:	02 80 00 0e 	be  200c490 <rtems_string_to_unsigned_int+0x84>
 200c45c:	b0 10 20 0b 	mov  0xb, %i0                                  
    return RTEMS_NOT_DEFINED;                                         
                                                                      
  if ( ( errno == ERANGE ) &&                                         
 200c460:	40 00 08 ce 	call  200e798 <__errno>                        
 200c464:	01 00 00 00 	nop                                            
 200c468:	c2 02 00 00 	ld  [ %o0 ], %g1                               
 200c46c:	80 a0 60 22 	cmp  %g1, 0x22                                 
 200c470:	32 80 00 07 	bne,a   200c48c <rtems_string_to_unsigned_int+0x80>
 200c474:	f6 26 40 00 	st  %i3, [ %i1 ]                               
    (( result == 0 ) || ( result == ULONG_MAX )))                     
 200c478:	82 06 ff ff 	add  %i3, -1, %g1                              
    *endptr = end;                                                    
                                                                      
  if ( end == s )                                                     
    return RTEMS_NOT_DEFINED;                                         
                                                                      
  if ( ( errno == ERANGE ) &&                                         
 200c47c:	80 a0 7f fd 	cmp  %g1, -3                                   
 200c480:	18 80 00 04 	bgu  200c490 <rtems_string_to_unsigned_int+0x84><== ALWAYS TAKEN
 200c484:	b0 10 20 0a 	mov  0xa, %i0                                  
    errno = ERANGE;                                                   
    return RTEMS_INVALID_NUMBER;                                      
  }                                                                   
#endif                                                                
                                                                      
  *n = result;                                                        
 200c488:	f6 26 40 00 	st  %i3, [ %i1 ]                               <== NOT EXECUTED
                                                                      
  return RTEMS_SUCCESSFUL;                                            
 200c48c:	b0 10 20 00 	clr  %i0                                       
}                                                                     
 200c490:	81 c7 e0 08 	ret                                            
 200c494:	81 e8 00 00 	restore                                        
                                                                      

0200c534 <rtems_string_to_unsigned_long>: const char *s, unsigned long *n, char **endptr, int base ) {
 200c534:	9d e3 bf 98 	save  %sp, -104, %sp                           
 200c538:	ba 10 00 18 	mov  %i0, %i5                                  
  unsigned long result;                                               
  char *end;                                                          
                                                                      
  if ( !n )                                                           
 200c53c:	80 a6 60 00 	cmp  %i1, 0                                    
 200c540:	02 80 00 1e 	be  200c5b8 <rtems_string_to_unsigned_long+0x84>
 200c544:	b0 10 20 09 	mov  9, %i0                                    
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
 200c548:	40 00 08 94 	call  200e798 <__errno>                        
 200c54c:	01 00 00 00 	nop                                            
 200c550:	c0 22 00 00 	clr  [ %o0 ]                                   
  *n = 0;                                                             
                                                                      
  result = strtoul( s, &end, base );                                  
 200c554:	94 10 00 1b 	mov  %i3, %o2                                  
                                                                      
  if ( !n )                                                           
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
  *n = 0;                                                             
 200c558:	c0 26 40 00 	clr  [ %i1 ]                                   
                                                                      
  result = strtoul( s, &end, base );                                  
 200c55c:	90 10 00 1d 	mov  %i5, %o0                                  
 200c560:	40 00 15 e5 	call  2011cf4 <strtoul>                        
 200c564:	92 07 bf fc 	add  %fp, -4, %o1                              
                                                                      
  if ( endptr )                                                       
 200c568:	80 a6 a0 00 	cmp  %i2, 0                                    
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
  *n = 0;                                                             
                                                                      
  result = strtoul( s, &end, base );                                  
 200c56c:	b6 10 00 08 	mov  %o0, %i3                                  
                                                                      
  if ( endptr )                                                       
 200c570:	02 80 00 03 	be  200c57c <rtems_string_to_unsigned_long+0x48>
 200c574:	c2 07 bf fc 	ld  [ %fp + -4 ], %g1                          
    *endptr = end;                                                    
 200c578:	c2 26 80 00 	st  %g1, [ %i2 ]                               
                                                                      
  if ( end == s )                                                     
 200c57c:	80 a0 40 1d 	cmp  %g1, %i5                                  
 200c580:	02 80 00 0e 	be  200c5b8 <rtems_string_to_unsigned_long+0x84>
 200c584:	b0 10 20 0b 	mov  0xb, %i0                                  
    return RTEMS_NOT_DEFINED;                                         
                                                                      
  if ( ( errno == ERANGE ) &&                                         
 200c588:	40 00 08 84 	call  200e798 <__errno>                        
 200c58c:	01 00 00 00 	nop                                            
 200c590:	c2 02 00 00 	ld  [ %o0 ], %g1                               
 200c594:	80 a0 60 22 	cmp  %g1, 0x22                                 
 200c598:	32 80 00 07 	bne,a   200c5b4 <rtems_string_to_unsigned_long+0x80>
 200c59c:	f6 26 40 00 	st  %i3, [ %i1 ]                               
    (( result == 0 ) || ( result == ULONG_MAX )))                     
 200c5a0:	82 06 ff ff 	add  %i3, -1, %g1                              
    *endptr = end;                                                    
                                                                      
  if ( end == s )                                                     
    return RTEMS_NOT_DEFINED;                                         
                                                                      
  if ( ( errno == ERANGE ) &&                                         
 200c5a4:	80 a0 7f fd 	cmp  %g1, -3                                   
 200c5a8:	18 80 00 04 	bgu  200c5b8 <rtems_string_to_unsigned_long+0x84><== ALWAYS TAKEN
 200c5ac:	b0 10 20 0a 	mov  0xa, %i0                                  
    (( result == 0 ) || ( result == ULONG_MAX )))                     
      return RTEMS_INVALID_NUMBER;                                    
                                                                      
  *n = result;                                                        
 200c5b0:	f6 26 40 00 	st  %i3, [ %i1 ]                               <== NOT EXECUTED
                                                                      
  return RTEMS_SUCCESSFUL;                                            
 200c5b4:	b0 10 20 00 	clr  %i0                                       
}                                                                     
 200c5b8:	81 c7 e0 08 	ret                                            
 200c5bc:	81 e8 00 00 	restore                                        
                                                                      

0200c498 <rtems_string_to_unsigned_long_long>: const char *s, unsigned long long *n, char **endptr, int base ) {
 200c498:	9d e3 bf 98 	save  %sp, -104, %sp                           
  unsigned long long result;                                          
  char *end;                                                          
                                                                      
  if ( !n )                                                           
 200c49c:	80 a6 60 00 	cmp  %i1, 0                                    
 200c4a0:	02 80 00 23 	be  200c52c <rtems_string_to_unsigned_long_long+0x94>
 200c4a4:	82 10 20 09 	mov  9, %g1                                    
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
 200c4a8:	40 00 08 bc 	call  200e798 <__errno>                        
 200c4ac:	01 00 00 00 	nop                                            
 200c4b0:	c0 22 00 00 	clr  [ %o0 ]                                   
  *n = 0;                                                             
 200c4b4:	c0 26 40 00 	clr  [ %i1 ]                                   
 200c4b8:	c0 26 60 04 	clr  [ %i1 + 4 ]                               
                                                                      
  result = strtoull( s, &end, base );                                 
 200c4bc:	90 10 00 18 	mov  %i0, %o0                                  
 200c4c0:	92 07 bf fc 	add  %fp, -4, %o1                              
 200c4c4:	40 00 16 15 	call  2011d18 <strtoull>                       
 200c4c8:	94 10 00 1b 	mov  %i3, %o2                                  
                                                                      
  if ( endptr )                                                       
 200c4cc:	80 a6 a0 00 	cmp  %i2, 0                                    
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
  *n = 0;                                                             
                                                                      
  result = strtoull( s, &end, base );                                 
 200c4d0:	b8 10 00 08 	mov  %o0, %i4                                  
 200c4d4:	ba 10 00 09 	mov  %o1, %i5                                  
                                                                      
  if ( endptr )                                                       
 200c4d8:	02 80 00 03 	be  200c4e4 <rtems_string_to_unsigned_long_long+0x4c>
 200c4dc:	c4 07 bf fc 	ld  [ %fp + -4 ], %g2                          
    *endptr = end;                                                    
 200c4e0:	c4 26 80 00 	st  %g2, [ %i2 ]                               
                                                                      
  if ( end == s )                                                     
 200c4e4:	80 a0 80 18 	cmp  %g2, %i0                                  
 200c4e8:	02 80 00 11 	be  200c52c <rtems_string_to_unsigned_long_long+0x94>
 200c4ec:	82 10 20 0b 	mov  0xb, %g1                                  
    return RTEMS_NOT_DEFINED;                                         
                                                                      
  if ( ( errno == ERANGE ) &&                                         
 200c4f0:	40 00 08 aa 	call  200e798 <__errno>                        
 200c4f4:	01 00 00 00 	nop                                            
 200c4f8:	c2 02 00 00 	ld  [ %o0 ], %g1                               
 200c4fc:	80 a0 60 22 	cmp  %g1, 0x22                                 
 200c500:	32 80 00 0a 	bne,a   200c528 <rtems_string_to_unsigned_long_long+0x90>
 200c504:	f8 3e 40 00 	std  %i4, [ %i1 ]                              
    (( result == 0 ) || ( result == ULONG_LONG_MAX )))                
 200c508:	86 87 7f ff 	addcc  %i5, -1, %g3                            
 200c50c:	84 47 3f ff 	addx  %i4, -1, %g2                             
    *endptr = end;                                                    
                                                                      
  if ( end == s )                                                     
    return RTEMS_NOT_DEFINED;                                         
                                                                      
  if ( ( errno == ERANGE ) &&                                         
 200c510:	80 a0 bf ff 	cmp  %g2, -1                                   
 200c514:	12 80 00 04 	bne  200c524 <rtems_string_to_unsigned_long_long+0x8c><== NEVER TAKEN
 200c518:	80 a0 ff fd 	cmp  %g3, -3                                   
 200c51c:	18 80 00 04 	bgu  200c52c <rtems_string_to_unsigned_long_long+0x94><== ALWAYS TAKEN
 200c520:	82 10 20 0a 	mov  0xa, %g1                                  
    (( result == 0 ) || ( result == ULONG_LONG_MAX )))                
      return RTEMS_INVALID_NUMBER;                                    
                                                                      
  *n = result;                                                        
 200c524:	f8 3e 40 00 	std  %i4, [ %i1 ]                              <== NOT EXECUTED
                                                                      
  return RTEMS_SUCCESSFUL;                                            
 200c528:	82 10 20 00 	clr  %g1                                       
}                                                                     
 200c52c:	81 c7 e0 08 	ret                                            
 200c530:	91 e8 00 01 	restore  %g0, %g1, %o0                         
                                                                      

02002528 <rtems_tarfs_load>: int rtems_tarfs_load( char *mountpoint, uint8_t *tar_image, size_t tar_size ) {
 2002528:	9d e3 be 10 	save  %sp, -496, %sp                           
   int                              offset;                           
   unsigned long                    nblocks;                          
   IMFS_jnode_t                    *node;                             
   int                              status;                           
                                                                      
   status = rtems_filesystem_evaluate_path(                           
 200252c:	40 00 3e 4b 	call  2011e58 <strlen>                         
 2002530:	90 10 00 18 	mov  %i0, %o0                                  
int rtems_tarfs_load(                                                 
  char    *mountpoint,                                                
  uint8_t *tar_image,                                                 
  size_t   tar_size                                                   
)                                                                     
{                                                                     
 2002534:	ba 10 00 18 	mov  %i0, %i5                                  
   int                              offset;                           
   unsigned long                    nblocks;                          
   IMFS_jnode_t                    *node;                             
   int                              status;                           
                                                                      
   status = rtems_filesystem_evaluate_path(                           
 2002538:	92 10 00 08 	mov  %o0, %o1                                  
 200253c:	94 10 20 00 	clr  %o2                                       
 2002540:	90 10 00 18 	mov  %i0, %o0                                  
 2002544:	96 07 bf d4 	add  %fp, -44, %o3                             
 2002548:	40 00 02 b6 	call  2003020 <rtems_filesystem_evaluate_path> 
 200254c:	98 10 20 00 	clr  %o4                                       
      strlen(mountpoint),                                             
      0,                                                              
      &root_loc,                                                      
      0                                                               
   );                                                                 
   if (status != 0)                                                   
 2002550:	b0 92 20 00 	orcc  %o0, 0, %i0                              
 2002554:	12 80 00 69 	bne  20026f8 <rtems_tarfs_load+0x1d0>          
 2002558:	c2 07 bf e0 	ld  [ %fp + -32 ], %g1                         
     return -1;                                                       
                                                                      
   if (root_loc.ops != &IMFS_ops && root_loc.ops != &fifoIMFS_ops)    
 200255c:	05 00 80 76 	sethi  %hi(0x201d800), %g2                     
 2002560:	84 10 a2 08 	or  %g2, 0x208, %g2	! 201da08 <IMFS_ops>       
 2002564:	80 a0 40 02 	cmp  %g1, %g2                                  
 2002568:	02 80 00 0a 	be  2002590 <rtems_tarfs_load+0x68>            
 200256c:	05 00 80 78 	sethi  %hi(0x201e000), %g2                     
 2002570:	84 10 a2 bc 	or  %g2, 0x2bc, %g2	! 201e2bc <fifoIMFS_ops>   
 2002574:	80 a0 40 02 	cmp  %g1, %g2                                  
 2002578:	02 80 00 07 	be  2002594 <rtems_tarfs_load+0x6c>            <== NEVER TAKEN
 200257c:	23 00 80 76 	sethi  %hi(0x201d800), %l1                     
     return -1;                                                       
 2002580:	81 c7 e0 08 	ret                                            
 2002584:	91 e8 3f ff 	restore  %g0, -1, %o0                          
      0                                                               
   );                                                                 
   if (status != 0)                                                   
     return -1;                                                       
                                                                      
   if (root_loc.ops != &IMFS_ops && root_loc.ops != &fifoIMFS_ops)    
 2002588:	10 80 00 07 	b  20025a4 <rtems_tarfs_load+0x7c>             
 200258c:	a4 10 00 1c 	mov  %i4, %l2                                  
    /*                                                                
     * Read a header.                                                 
     */                                                               
    hdr_ptr = (char *) &tar_image[offset];                            
    offset += 512;                                                    
    if (strncmp(&hdr_ptr[257], "ustar", 5))                           
 2002590:	23 00 80 76 	sethi  %hi(0x201d800), %l1                     
     * - For files, create a file node with special tarfs properties. 
     */                                                               
    if (linkflag == DIRTYPE) {                                        
      strcpy(full_filename, mountpoint);                              
      if (full_filename[strlen(full_filename)-1] != '/')              
        strcat(full_filename, "/");                                   
 2002594:	21 00 80 6a 	sethi  %hi(0x201a800), %l0                     
      0                                                               
   );                                                                 
   if (status != 0)                                                   
     return -1;                                                       
                                                                      
   if (root_loc.ops != &IMFS_ops && root_loc.ops != &fifoIMFS_ops)    
 2002598:	a4 10 20 00 	clr  %l2                                       
    /*                                                                
     * Read a header.                                                 
     */                                                               
    hdr_ptr = (char *) &tar_image[offset];                            
    offset += 512;                                                    
    if (strncmp(&hdr_ptr[257], "ustar", 5))                           
 200259c:	a2 14 62 50 	or  %l1, 0x250, %l1                            
     * - For files, create a file node with special tarfs properties. 
     */                                                               
    if (linkflag == DIRTYPE) {                                        
      strcpy(full_filename, mountpoint);                              
      if (full_filename[strlen(full_filename)-1] != '/')              
        strcat(full_filename, "/");                                   
 20025a0:	a0 14 23 20 	or  %l0, 0x320, %l0                            
   /*                                                                 
    * Create an IMFS node structure pointing to tar image memory.     
    */                                                                
   offset = 0;                                                        
   while (1) {                                                        
    if (offset + 512 > tar_size)                                      
 20025a4:	b8 04 a2 00 	add  %l2, 0x200, %i4                           
 20025a8:	80 a7 00 1a 	cmp  %i4, %i2                                  
 20025ac:	18 80 00 54 	bgu  20026fc <rtems_tarfs_load+0x1d4>          <== NEVER TAKEN
 20025b0:	a4 06 40 12 	add  %i1, %l2, %l2                             
    /*                                                                
     * Read a header.                                                 
     */                                                               
    hdr_ptr = (char *) &tar_image[offset];                            
    offset += 512;                                                    
    if (strncmp(&hdr_ptr[257], "ustar", 5))                           
 20025b4:	92 10 00 11 	mov  %l1, %o1                                  
 20025b8:	90 04 a1 01 	add  %l2, 0x101, %o0                           
 20025bc:	40 00 3e 58 	call  2011f1c <strncmp>                        
 20025c0:	94 10 20 05 	mov  5, %o2                                    
 20025c4:	80 a2 20 00 	cmp  %o0, 0                                    
 20025c8:	12 80 00 4d 	bne  20026fc <rtems_tarfs_load+0x1d4>          
 20025cc:	94 10 20 63 	mov  0x63, %o2                                 
      break;                                                          
                                                                      
    strncpy(filename, hdr_ptr, MAX_NAME_FIELD_SIZE);                  
 20025d0:	92 10 00 12 	mov  %l2, %o1                                  
 20025d4:	40 00 3e a7 	call  2012070 <strncpy>                        
 20025d8:	90 07 bf 70 	add  %fp, -144, %o0                            
    filename[MAX_NAME_FIELD_SIZE] = '\0';                             
                                                                      
    linkflag   = hdr_ptr[156];                                        
    file_mode  = _rtems_octal2ulong(&hdr_ptr[100], 8);                
 20025dc:	92 10 20 08 	mov  8, %o1                                    
    offset += 512;                                                    
    if (strncmp(&hdr_ptr[257], "ustar", 5))                           
      break;                                                          
                                                                      
    strncpy(filename, hdr_ptr, MAX_NAME_FIELD_SIZE);                  
    filename[MAX_NAME_FIELD_SIZE] = '\0';                             
 20025e0:	c0 2f bf d3 	clrb  [ %fp + -45 ]                            
                                                                      
    linkflag   = hdr_ptr[156];                                        
 20025e4:	e8 0c a0 9c 	ldub  [ %l2 + 0x9c ], %l4                      
    file_mode  = _rtems_octal2ulong(&hdr_ptr[100], 8);                
 20025e8:	40 00 1f 8b 	call  200a414 <_rtems_octal2ulong>             
 20025ec:	90 04 a0 64 	add  %l2, 0x64, %o0                            
    file_size  = _rtems_octal2ulong(&hdr_ptr[124], 12);               
 20025f0:	92 10 20 0c 	mov  0xc, %o1                                  
                                                                      
    strncpy(filename, hdr_ptr, MAX_NAME_FIELD_SIZE);                  
    filename[MAX_NAME_FIELD_SIZE] = '\0';                             
                                                                      
    linkflag   = hdr_ptr[156];                                        
    file_mode  = _rtems_octal2ulong(&hdr_ptr[100], 8);                
 20025f4:	a6 10 00 08 	mov  %o0, %l3                                  
    file_size  = _rtems_octal2ulong(&hdr_ptr[124], 12);               
 20025f8:	40 00 1f 87 	call  200a414 <_rtems_octal2ulong>             
 20025fc:	90 04 a0 7c 	add  %l2, 0x7c, %o0                            
    hdr_chksum = _rtems_octal2ulong(&hdr_ptr[148], 8);                
 2002600:	92 10 20 08 	mov  8, %o1                                    
    strncpy(filename, hdr_ptr, MAX_NAME_FIELD_SIZE);                  
    filename[MAX_NAME_FIELD_SIZE] = '\0';                             
                                                                      
    linkflag   = hdr_ptr[156];                                        
    file_mode  = _rtems_octal2ulong(&hdr_ptr[100], 8);                
    file_size  = _rtems_octal2ulong(&hdr_ptr[124], 12);               
 2002604:	b6 10 00 08 	mov  %o0, %i3                                  
    hdr_chksum = _rtems_octal2ulong(&hdr_ptr[148], 8);                
 2002608:	40 00 1f 83 	call  200a414 <_rtems_octal2ulong>             
 200260c:	90 04 a0 94 	add  %l2, 0x94, %o0                            
 2002610:	aa 10 00 08 	mov  %o0, %l5                                  
                                                                      
    if (_rtems_tar_header_checksum(hdr_ptr) != hdr_chksum)            
 2002614:	40 00 1f 93 	call  200a460 <_rtems_tar_header_checksum>     
 2002618:	90 10 00 12 	mov  %l2, %o0                                  
 200261c:	80 a2 00 15 	cmp  %o0, %l5                                  
 2002620:	12 80 00 37 	bne  20026fc <rtems_tarfs_load+0x1d4>          <== NEVER TAKEN
 2002624:	a8 0d 20 ff 	and  %l4, 0xff, %l4                            
     * Generate an IMFS node depending on the file type.              
     * - For directories, just create directories as usual.  IMFS     
     *   will take care of the rest.                                  
     * - For files, create a file node with special tarfs properties. 
     */                                                               
    if (linkflag == DIRTYPE) {                                        
 2002628:	80 a5 20 35 	cmp  %l4, 0x35                                 
 200262c:	12 80 00 16 	bne  2002684 <rtems_tarfs_load+0x15c>          
 2002630:	80 a5 20 30 	cmp  %l4, 0x30                                 
      strcpy(full_filename, mountpoint);                              
 2002634:	92 10 00 1d 	mov  %i5, %o1                                  
 2002638:	40 00 3c 44 	call  2011748 <strcpy>                         
 200263c:	90 07 be 70 	add  %fp, -400, %o0                            
      if (full_filename[strlen(full_filename)-1] != '/')              
 2002640:	40 00 3e 06 	call  2011e58 <strlen>                         
 2002644:	90 07 be 70 	add  %fp, -400, %o0                            
 2002648:	90 07 80 08 	add  %fp, %o0, %o0                             
 200264c:	c2 4a 3e 6f 	ldsb  [ %o0 + -401 ], %g1                      
 2002650:	80 a0 60 2f 	cmp  %g1, 0x2f                                 
 2002654:	02 80 00 04 	be  2002664 <rtems_tarfs_load+0x13c>           <== ALWAYS TAKEN
 2002658:	90 07 be 70 	add  %fp, -400, %o0                            
        strcat(full_filename, "/");                                   
 200265c:	40 00 3b e7 	call  20115f8 <strcat>                         <== NOT EXECUTED
 2002660:	92 10 00 10 	mov  %l0, %o1                                  <== NOT EXECUTED
      strcat(full_filename, filename);                                
 2002664:	92 07 bf 70 	add  %fp, -144, %o1                            
 2002668:	40 00 3b e4 	call  20115f8 <strcat>                         
 200266c:	90 07 be 70 	add  %fp, -400, %o0                            
      mkdir(full_filename, S_IRWXU | S_IRWXG | S_IRWXO);              
 2002670:	90 07 be 70 	add  %fp, -400, %o0                            
 2002674:	40 00 04 9b 	call  20038e0 <mkdir>                          
 2002678:	92 10 21 ff 	mov  0x1ff, %o1                                
 200267c:	10 bf ff ca 	b  20025a4 <rtems_tarfs_load+0x7c>             
 2002680:	a4 10 00 1c 	mov  %i4, %l2                                  
     *        IMFS_create_node was ONLY passed a NULL when we created the
     *        root node.  We added a new IMFS_create_root_node() so this
     *        path no longer existed.  The result was simpler code which
     *        should not have this path.                              
     */                                                               
    else if (linkflag == REGTYPE) {                                   
 2002684:	12 bf ff c8 	bne  20025a4 <rtems_tarfs_load+0x7c>           
 2002688:	a4 10 00 1c 	mov  %i4, %l2                                  
      const char  *name;                                              
                                                                      
      loc = root_loc;                                                 
 200268c:	92 07 bf d4 	add  %fp, -44, %o1                             
 2002690:	94 10 20 14 	mov  0x14, %o2                                 
 2002694:	40 00 39 2e 	call  2010b4c <memcpy>                         
 2002698:	90 07 bf e8 	add  %fp, -24, %o0                             
      if (IMFS_evaluate_for_make(filename, &loc, &name) == 0) {       
 200269c:	90 07 bf 70 	add  %fp, -144, %o0                            
 20026a0:	92 07 bf e8 	add  %fp, -24, %o1                             
 20026a4:	40 00 22 91 	call  200b0e8 <IMFS_evaluate_for_make>         
 20026a8:	94 07 bf fc 	add  %fp, -4, %o2                              
 20026ac:	80 a2 20 00 	cmp  %o0, 0                                    
 20026b0:	32 80 00 0f 	bne,a   20026ec <rtems_tarfs_load+0x1c4>       <== NEVER TAKEN
 20026b4:	b6 06 e1 ff 	add  %i3, 0x1ff, %i3                           <== NOT EXECUTED
        node = IMFS_create_node(                                      
 20026b8:	d4 07 bf fc 	ld  [ %fp + -4 ], %o2                          
 20026bc:	03 00 00 20 	sethi  %hi(0x8000), %g1                        
          &loc,                                                       
          IMFS_LINEAR_FILE, (char *)name,                             
          (file_mode & (S_IRWXU | S_IRWXG | S_IRWXO)) | S_IFREG,      
 20026c0:	96 0c e1 ff 	and  %l3, 0x1ff, %o3                           
    else if (linkflag == REGTYPE) {                                   
      const char  *name;                                              
                                                                      
      loc = root_loc;                                                 
      if (IMFS_evaluate_for_make(filename, &loc, &name) == 0) {       
        node = IMFS_create_node(                                      
 20026c4:	90 07 bf e8 	add  %fp, -24, %o0                             
 20026c8:	96 12 c0 01 	or  %o3, %g1, %o3                              
 20026cc:	92 10 20 06 	mov  6, %o1                                    
 20026d0:	40 00 20 b9 	call  200a9b4 <IMFS_create_node>               
 20026d4:	98 10 20 00 	clr  %o4                                       
          IMFS_LINEAR_FILE, (char *)name,                             
          (file_mode & (S_IRWXU | S_IRWXG | S_IRWXO)) | S_IFREG,      
          NULL                                                        
        );                                                            
        node->info.linearfile.size   = file_size;                     
        node->info.linearfile.direct = &tar_image[offset];            
 20026d8:	82 06 40 1c 	add  %i1, %i4, %g1                             
          &loc,                                                       
          IMFS_LINEAR_FILE, (char *)name,                             
          (file_mode & (S_IRWXU | S_IRWXG | S_IRWXO)) | S_IFREG,      
          NULL                                                        
        );                                                            
        node->info.linearfile.size   = file_size;                     
 20026dc:	c0 22 20 50 	clr  [ %o0 + 0x50 ]                            
 20026e0:	f6 22 20 54 	st  %i3, [ %o0 + 0x54 ]                        
        node->info.linearfile.direct = &tar_image[offset];            
 20026e4:	c2 22 20 58 	st  %g1, [ %o0 + 0x58 ]                        
      }                                                               
                                                                      
      nblocks = (((file_size) + 511) & ~511) / 512;                   
 20026e8:	b6 06 e1 ff 	add  %i3, 0x1ff, %i3                           
      offset += 512 * nblocks;                                        
 20026ec:	b6 0e fe 00 	and  %i3, -512, %i3                            
 20026f0:	10 bf ff a6 	b  2002588 <rtems_tarfs_load+0x60>             
 20026f4:	b8 06 c0 1c 	add  %i3, %i4, %i4                             
 20026f8:	b0 10 3f ff 	mov  -1, %i0                                   
    }                                                                 
  }                                                                   
  return status;                                                      
}                                                                     
 20026fc:	81 c7 e0 08 	ret                                            
 2002700:	81 e8 00 00 	restore                                        
                                                                      

0200d800 <rtems_task_mode>: rtems_status_code rtems_task_mode( rtems_mode mode_set, rtems_mode mask, rtems_mode *previous_mode_set ) {
 200d800:	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 )                                           
 200d804:	80 a6 a0 00 	cmp  %i2, 0                                    
 200d808:	02 80 00 5a 	be  200d970 <rtems_task_mode+0x170>            
 200d80c:	82 10 20 09 	mov  9, %g1                                    
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  executing     = _Thread_Executing;                                  
 200d810:	03 00 80 6d 	sethi  %hi(0x201b400), %g1                     
 200d814:	f8 00 63 5c 	ld  [ %g1 + 0x35c ], %i4	! 201b75c <_Per_CPU_Information+0xc>
  api = executing->API_Extensions[ THREAD_API_RTEMS ];                
  asr = &api->Signal;                                                 
                                                                      
  old_mode  = (executing->is_preemptible) ? RTEMS_PREEMPT : RTEMS_NO_PREEMPT;
 200d818:	c2 0f 20 74 	ldub  [ %i4 + 0x74 ], %g1                      
                                                                      
  if ( !previous_mode_set )                                           
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  executing     = _Thread_Executing;                                  
  api = executing->API_Extensions[ THREAD_API_RTEMS ];                
 200d81c:	fa 07 21 58 	ld  [ %i4 + 0x158 ], %i5                       
  asr = &api->Signal;                                                 
                                                                      
  old_mode  = (executing->is_preemptible) ? RTEMS_PREEMPT : RTEMS_NO_PREEMPT;
 200d820:	80 a0 00 01 	cmp  %g0, %g1                                  
                                                                      
  if ( executing->budget_algorithm == THREAD_CPU_BUDGET_ALGORITHM_NONE )
 200d824:	c2 07 20 7c 	ld  [ %i4 + 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;
 200d828:	b6 60 3f ff 	subx  %g0, -1, %i3                             
                                                                      
  if ( executing->budget_algorithm == THREAD_CPU_BUDGET_ALGORITHM_NONE )
 200d82c:	80 a0 60 00 	cmp  %g1, 0                                    
 200d830:	02 80 00 03 	be  200d83c <rtems_task_mode+0x3c>             
 200d834:	b7 2e e0 08 	sll  %i3, 8, %i3                               
    old_mode |= RTEMS_NO_TIMESLICE;                                   
  else                                                                
    old_mode |= RTEMS_TIMESLICE;                                      
 200d838:	b6 16 e2 00 	or  %i3, 0x200, %i3                            
                                                                      
  old_mode |= (asr->is_enabled) ? RTEMS_ASR : RTEMS_NO_ASR;           
 200d83c:	c2 0f 60 08 	ldub  [ %i5 + 8 ], %g1                         
 200d840:	80 a0 00 01 	cmp  %g0, %g1                                  
  old_mode |= _ISR_Get_level();                                       
 200d844:	7f ff f1 ea 	call  2009fec <_CPU_ISR_Get_level>             
 200d848:	a0 60 3f ff 	subx  %g0, -1, %l0                             
  if ( executing->budget_algorithm == THREAD_CPU_BUDGET_ALGORITHM_NONE )
    old_mode |= RTEMS_NO_TIMESLICE;                                   
  else                                                                
    old_mode |= RTEMS_TIMESLICE;                                      
                                                                      
  old_mode |= (asr->is_enabled) ? RTEMS_ASR : RTEMS_NO_ASR;           
 200d84c:	a1 2c 20 0a 	sll  %l0, 0xa, %l0                             
 200d850:	a0 14 00 08 	or  %l0, %o0, %l0                              
  old_mode |= _ISR_Get_level();                                       
 200d854:	b6 14 00 1b 	or  %l0, %i3, %i3                              
  *previous_mode_set = old_mode;                                      
                                                                      
  /*                                                                  
   *  These are generic thread scheduling characteristics.            
   */                                                                 
  if ( mask & RTEMS_PREEMPT_MASK )                                    
 200d858:	80 8e 61 00 	btst  0x100, %i1                               
 200d85c:	02 80 00 06 	be  200d874 <rtems_task_mode+0x74>             
 200d860:	f6 26 80 00 	st  %i3, [ %i2 ]                               
 */                                                                   
RTEMS_INLINE_ROUTINE bool _Modes_Is_preempt (                         
  Modes_Control mode_set                                              
)                                                                     
{                                                                     
   return (mode_set & RTEMS_PREEMPT_MASK) == RTEMS_PREEMPT;           
 200d864:	82 0e 21 00 	and  %i0, 0x100, %g1                           
    executing->is_preemptible = _Modes_Is_preempt(mode_set) ? true : false;
 200d868:	80 a0 00 01 	cmp  %g0, %g1                                  
 200d86c:	82 60 3f ff 	subx  %g0, -1, %g1                             
 200d870:	c2 2f 20 74 	stb  %g1, [ %i4 + 0x74 ]                       
                                                                      
  if ( mask & RTEMS_TIMESLICE_MASK ) {                                
 200d874:	80 8e 62 00 	btst  0x200, %i1                               
 200d878:	02 80 00 0b 	be  200d8a4 <rtems_task_mode+0xa4>             
 200d87c:	80 8e 60 0f 	btst  0xf, %i1                                 
    if ( _Modes_Is_timeslice(mode_set) ) {                            
 200d880:	80 8e 22 00 	btst  0x200, %i0                               
 200d884:	22 80 00 07 	be,a   200d8a0 <rtems_task_mode+0xa0>          
 200d888:	c0 27 20 7c 	clr  [ %i4 + 0x7c ]                            
      executing->budget_algorithm = THREAD_CPU_BUDGET_ALGORITHM_RESET_TIMESLICE;
 200d88c:	82 10 20 01 	mov  1, %g1                                    
 200d890:	c2 27 20 7c 	st  %g1, [ %i4 + 0x7c ]                        
      executing->cpu_time_budget  = _Thread_Ticks_per_timeslice;      
 200d894:	03 00 80 6d 	sethi  %hi(0x201b400), %g1                     
 200d898:	c2 00 60 84 	ld  [ %g1 + 0x84 ], %g1	! 201b484 <_Thread_Ticks_per_timeslice>
 200d89c:	c2 27 20 78 	st  %g1, [ %i4 + 0x78 ]                        
  }                                                                   
                                                                      
  /*                                                                  
   *  Set the new interrupt level                                     
   */                                                                 
  if ( mask & RTEMS_INTERRUPT_MASK )                                  
 200d8a0:	80 8e 60 0f 	btst  0xf, %i1                                 
 200d8a4:	02 80 00 06 	be  200d8bc <rtems_task_mode+0xbc>             
 200d8a8:	80 8e 64 00 	btst  0x400, %i1                               
 */                                                                   
RTEMS_INLINE_ROUTINE ISR_Level _Modes_Get_interrupt_level (           
  Modes_Control mode_set                                              
)                                                                     
{                                                                     
  return ( mode_set & RTEMS_INTERRUPT_MASK );                         
 200d8ac:	90 0e 20 0f 	and  %i0, 0xf, %o0                             
 */                                                                   
RTEMS_INLINE_ROUTINE void _Modes_Set_interrupt_level (                
  Modes_Control mode_set                                              
)                                                                     
{                                                                     
  _ISR_Set_level( _Modes_Get_interrupt_level( mode_set ) );           
 200d8b0:	7f ff d2 37 	call  200218c <sparc_enable_interrupts>        
 200d8b4:	91 2a 20 08 	sll  %o0, 8, %o0                               
   *  This is specific to the RTEMS API                               
   */                                                                 
  is_asr_enabled = false;                                             
  needs_asr_dispatching = false;                                      
                                                                      
  if ( mask & RTEMS_ASR_MASK ) {                                      
 200d8b8:	80 8e 64 00 	btst  0x400, %i1                               
 200d8bc:	02 80 00 14 	be  200d90c <rtems_task_mode+0x10c>            
 200d8c0:	88 10 20 00 	clr  %g4                                       
    is_asr_enabled = _Modes_Is_asr_disabled( mode_set ) ? false : true;
    if ( is_asr_enabled != asr->is_enabled ) {                        
 200d8c4:	c4 0f 60 08 	ldub  [ %i5 + 8 ], %g2                         
 */                                                                   
RTEMS_INLINE_ROUTINE bool _Modes_Is_asr_disabled (                    
  Modes_Control mode_set                                              
)                                                                     
{                                                                     
   return (mode_set & RTEMS_ASR_MASK) == RTEMS_NO_ASR;                
 200d8c8:	b0 0e 24 00 	and  %i0, 0x400, %i0                           
 *  Output:                                                           
 *    *previous_mode_set - previous mode set                          
 *     always return RTEMS_SUCCESSFUL;                                
 */                                                                   
                                                                      
rtems_status_code rtems_task_mode(                                    
 200d8cc:	80 a0 00 18 	cmp  %g0, %i0                                  
 200d8d0:	82 60 3f ff 	subx  %g0, -1, %g1                             
  is_asr_enabled = false;                                             
  needs_asr_dispatching = false;                                      
                                                                      
  if ( mask & RTEMS_ASR_MASK ) {                                      
    is_asr_enabled = _Modes_Is_asr_disabled( mode_set ) ? false : true;
    if ( is_asr_enabled != asr->is_enabled ) {                        
 200d8d4:	80 a0 40 02 	cmp  %g1, %g2                                  
 200d8d8:	22 80 00 0e 	be,a   200d910 <rtems_task_mode+0x110>         
 200d8dc:	03 00 80 6d 	sethi  %hi(0x201b400), %g1                     
)                                                                     
{                                                                     
  rtems_signal_set _signals;                                          
  ISR_Level        _level;                                            
                                                                      
  _ISR_Disable( _level );                                             
 200d8e0:	7f ff d2 27 	call  200217c <sparc_disable_interrupts>       
 200d8e4:	c2 2f 60 08 	stb  %g1, [ %i5 + 8 ]                          
    _signals                     = information->signals_pending;      
 200d8e8:	c2 07 60 18 	ld  [ %i5 + 0x18 ], %g1                        
    information->signals_pending = information->signals_posted;       
 200d8ec:	c4 07 60 14 	ld  [ %i5 + 0x14 ], %g2                        
    information->signals_posted  = _signals;                          
 200d8f0:	c2 27 60 14 	st  %g1, [ %i5 + 0x14 ]                        
  rtems_signal_set _signals;                                          
  ISR_Level        _level;                                            
                                                                      
  _ISR_Disable( _level );                                             
    _signals                     = information->signals_pending;      
    information->signals_pending = information->signals_posted;       
 200d8f4:	c4 27 60 18 	st  %g2, [ %i5 + 0x18 ]                        
    information->signals_posted  = _signals;                          
  _ISR_Enable( _level );                                              
 200d8f8:	7f ff d2 25 	call  200218c <sparc_enable_interrupts>        
 200d8fc:	01 00 00 00 	nop                                            
      asr->is_enabled = is_asr_enabled;                               
      _ASR_Swap_signals( asr );                                       
      if ( _ASR_Are_signals_pending( asr ) ) {                        
 200d900:	c2 07 60 14 	ld  [ %i5 + 0x14 ], %g1                        
                                                                      
  /*                                                                  
   *  This is specific to the RTEMS API                               
   */                                                                 
  is_asr_enabled = false;                                             
  needs_asr_dispatching = false;                                      
 200d904:	80 a0 00 01 	cmp  %g0, %g1                                  
 200d908:	88 40 20 00 	addx  %g0, 0, %g4                              
        needs_asr_dispatching = true;                                 
      }                                                               
    }                                                                 
  }                                                                   
                                                                      
  if ( _System_state_Is_up( _System_state_Get() ) ) {                 
 200d90c:	03 00 80 6d 	sethi  %hi(0x201b400), %g1                     
 200d910:	c4 00 62 74 	ld  [ %g1 + 0x274 ], %g2	! 201b674 <_System_state_Current>
 200d914:	80 a0 a0 03 	cmp  %g2, 3                                    
 200d918:	12 80 00 16 	bne  200d970 <rtems_task_mode+0x170>           
 200d91c:	82 10 20 00 	clr  %g1                                       
  bool are_signals_pending                                            
)                                                                     
{                                                                     
  Thread_Control     *executing;                                      
                                                                      
  executing = _Thread_Executing;                                      
 200d920:	07 00 80 6d 	sethi  %hi(0x201b400), %g3                     
                                                                      
  if ( are_signals_pending ||                                         
 200d924:	80 89 20 ff 	btst  0xff, %g4                                
  bool are_signals_pending                                            
)                                                                     
{                                                                     
  Thread_Control     *executing;                                      
                                                                      
  executing = _Thread_Executing;                                      
 200d928:	86 10 e3 50 	or  %g3, 0x350, %g3                            
                                                                      
  if ( are_signals_pending ||                                         
 200d92c:	12 80 00 0a 	bne  200d954 <rtems_task_mode+0x154>           
 200d930:	c4 00 e0 0c 	ld  [ %g3 + 0xc ], %g2                         
 200d934:	c6 00 e0 10 	ld  [ %g3 + 0x10 ], %g3                        
 200d938:	80 a0 80 03 	cmp  %g2, %g3                                  
 200d93c:	02 80 00 0d 	be  200d970 <rtems_task_mode+0x170>            
 200d940:	01 00 00 00 	nop                                            
       (!_Thread_Is_heir( executing ) && executing->is_preemptible) ) {
 200d944:	c4 08 a0 74 	ldub  [ %g2 + 0x74 ], %g2                      
 200d948:	80 a0 a0 00 	cmp  %g2, 0                                    
 200d94c:	02 80 00 09 	be  200d970 <rtems_task_mode+0x170>            <== NEVER TAKEN
 200d950:	01 00 00 00 	nop                                            
    _Thread_Dispatch_necessary = true;                                
 200d954:	84 10 20 01 	mov  1, %g2	! 1 <PROM_START+0x1>               
 200d958:	03 00 80 6d 	sethi  %hi(0x201b400), %g1                     
 200d95c:	82 10 63 50 	or  %g1, 0x350, %g1	! 201b750 <_Per_CPU_Information>
 200d960:	c4 28 60 18 	stb  %g2, [ %g1 + 0x18 ]                       
     if (_Thread_Evaluate_is_dispatch_needed( needs_asr_dispatching ) )
      _Thread_Dispatch();                                             
 200d964:	7f ff ec 74 	call  2008b34 <_Thread_Dispatch>               
 200d968:	01 00 00 00 	nop                                            
  }                                                                   
                                                                      
  return RTEMS_SUCCESSFUL;                                            
 200d96c:	82 10 20 00 	clr  %g1	! 0 <PROM_START>                      
}                                                                     
 200d970:	81 c7 e0 08 	ret                                            
 200d974:	91 e8 00 01 	restore  %g0, %g1, %o0                         
                                                                      

0200aa28 <rtems_task_set_priority>: rtems_status_code rtems_task_set_priority( rtems_id id, rtems_task_priority new_priority, rtems_task_priority *old_priority ) {
 200aa28:	9d e3 bf 98 	save  %sp, -104, %sp                           
  register Thread_Control *the_thread;                                
  Objects_Locations        location;                                  
                                                                      
  if ( new_priority != RTEMS_CURRENT_PRIORITY &&                      
 200aa2c:	80 a6 60 00 	cmp  %i1, 0                                    
 200aa30:	02 80 00 07 	be  200aa4c <rtems_task_set_priority+0x24>     
 200aa34:	90 10 00 18 	mov  %i0, %o0                                  
RTEMS_INLINE_ROUTINE bool _RTEMS_tasks_Priority_is_valid (            
  rtems_task_priority the_priority                                    
)                                                                     
{                                                                     
  return (  ( the_priority >= RTEMS_MINIMUM_PRIORITY ) &&             
            ( the_priority <= RTEMS_MAXIMUM_PRIORITY ) );             
 200aa38:	03 00 80 61 	sethi  %hi(0x2018400), %g1                     
 200aa3c:	c2 08 63 0c 	ldub  [ %g1 + 0x30c ], %g1	! 201870c <rtems_maximum_priority>
 200aa40:	80 a6 40 01 	cmp  %i1, %g1                                  
 200aa44:	18 80 00 1c 	bgu  200aab4 <rtems_task_set_priority+0x8c>    
 200aa48:	b0 10 20 13 	mov  0x13, %i0                                 
       !_RTEMS_tasks_Priority_is_valid( new_priority ) )              
    return RTEMS_INVALID_PRIORITY;                                    
                                                                      
  if ( !old_priority )                                                
 200aa4c:	80 a6 a0 00 	cmp  %i2, 0                                    
 200aa50:	02 80 00 19 	be  200aab4 <rtems_task_set_priority+0x8c>     
 200aa54:	b0 10 20 09 	mov  9, %i0                                    
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  the_thread = _Thread_Get( id, &location );                          
 200aa58:	40 00 09 69 	call  200cffc <_Thread_Get>                    
 200aa5c:	92 07 bf fc 	add  %fp, -4, %o1                              
  switch ( location ) {                                               
 200aa60:	c2 07 bf fc 	ld  [ %fp + -4 ], %g1                          
 200aa64:	80 a0 60 00 	cmp  %g1, 0                                    
 200aa68:	12 80 00 13 	bne  200aab4 <rtems_task_set_priority+0x8c>    
 200aa6c:	b0 10 20 04 	mov  4, %i0                                    
                                                                      
    case OBJECTS_LOCAL:                                               
      /* XXX need helper to "convert" from core priority */           
      *old_priority = the_thread->current_priority;                   
 200aa70:	c2 02 20 14 	ld  [ %o0 + 0x14 ], %g1                        
      if ( new_priority != RTEMS_CURRENT_PRIORITY ) {                 
 200aa74:	80 a6 60 00 	cmp  %i1, 0                                    
 200aa78:	02 80 00 0d 	be  200aaac <rtems_task_set_priority+0x84>     
 200aa7c:	c2 26 80 00 	st  %g1, [ %i2 ]                               
        the_thread->real_priority = new_priority;                     
        if ( the_thread->resource_count == 0 ||                       
 200aa80:	c2 02 20 1c 	ld  [ %o0 + 0x1c ], %g1                        
 200aa84:	80 a0 60 00 	cmp  %g1, 0                                    
 200aa88:	02 80 00 06 	be  200aaa0 <rtems_task_set_priority+0x78>     
 200aa8c:	f2 22 20 18 	st  %i1, [ %o0 + 0x18 ]                        
 200aa90:	c2 02 20 14 	ld  [ %o0 + 0x14 ], %g1                        
 200aa94:	80 a0 40 19 	cmp  %g1, %i1                                  
 200aa98:	08 80 00 05 	bleu  200aaac <rtems_task_set_priority+0x84>   <== ALWAYS TAKEN
 200aa9c:	01 00 00 00 	nop                                            
             the_thread->current_priority > new_priority )            
          _Thread_Change_priority( the_thread, new_priority, false ); 
 200aaa0:	92 10 00 19 	mov  %i1, %o1                                  
 200aaa4:	40 00 08 22 	call  200cb2c <_Thread_Change_priority>        
 200aaa8:	94 10 20 00 	clr  %o2                                       
      }                                                               
      _Thread_Enable_dispatch();                                      
 200aaac:	40 00 09 47 	call  200cfc8 <_Thread_Enable_dispatch>        
 200aab0:	b0 10 20 00 	clr  %i0                                       
      return RTEMS_SUCCESSFUL;                                        
 200aab4:	81 c7 e0 08 	ret                                            
 200aab8:	81 e8 00 00 	restore                                        
                                                                      

02005498 <rtems_termios_baud_to_index>: #include <rtems/termiostypes.h> int rtems_termios_baud_to_index( rtems_termios_baud_t termios_baud ) {
 2005498:	82 10 00 08 	mov  %o0, %g1                                  
  int baud_index;                                                     
                                                                      
  switch (termios_baud) {                                             
 200549c:	80 a0 60 09 	cmp  %g1, 9                                    
 20054a0:	02 80 00 19 	be  2005504 <rtems_termios_baud_to_index+0x6c> 
 20054a4:	90 10 20 09 	mov  9, %o0                                    
 20054a8:	80 a0 60 09 	cmp  %g1, 9                                    
 20054ac:	14 80 00 25 	bg  2005540 <rtems_termios_baud_to_index+0xa8> 
 20054b0:	80 a0 60 0e 	cmp  %g1, 0xe                                  
 20054b4:	80 a0 60 04 	cmp  %g1, 4                                    
 20054b8:	02 80 00 13 	be  2005504 <rtems_termios_baud_to_index+0x6c> 
 20054bc:	90 10 20 04 	mov  4, %o0                                    
 20054c0:	80 a0 60 04 	cmp  %g1, 4                                    
 20054c4:	14 80 00 12 	bg  200550c <rtems_termios_baud_to_index+0x74> 
 20054c8:	80 a0 60 06 	cmp  %g1, 6                                    
 20054cc:	80 a0 60 01 	cmp  %g1, 1                                    
 20054d0:	02 80 00 0d 	be  2005504 <rtems_termios_baud_to_index+0x6c> 
 20054d4:	90 10 20 01 	mov  1, %o0                                    
 20054d8:	80 a0 60 01 	cmp  %g1, 1                                    
 20054dc:	34 80 00 05 	bg,a   20054f0 <rtems_termios_baud_to_index+0x58>
 20054e0:	80 a0 60 02 	cmp  %g1, 2                                    
    case B0:        baud_index =  0;  break;                          
 20054e4:	90 10 20 00 	clr  %o0                                       
  rtems_termios_baud_t termios_baud                                   
)                                                                     
{                                                                     
  int baud_index;                                                     
                                                                      
  switch (termios_baud) {                                             
 20054e8:	10 80 00 3f 	b  20055e4 <rtems_termios_baud_to_index+0x14c> 
 20054ec:	80 a0 60 00 	cmp  %g1, 0                                    
 20054f0:	02 80 00 05 	be  2005504 <rtems_termios_baud_to_index+0x6c> 
 20054f4:	90 10 20 02 	mov  2, %o0                                    
 20054f8:	80 a0 60 03 	cmp  %g1, 3                                    
 20054fc:	12 80 00 3c 	bne  20055ec <rtems_termios_baud_to_index+0x154><== NEVER TAKEN
 2005500:	90 10 20 03 	mov  3, %o0                                    
 2005504:	81 c3 e0 08 	retl                                           
 2005508:	01 00 00 00 	nop                                            
 200550c:	02 bf ff fe 	be  2005504 <rtems_termios_baud_to_index+0x6c> 
 2005510:	90 10 20 06 	mov  6, %o0	! 6 <PROM_START+0x6>               
 2005514:	80 a0 60 06 	cmp  %g1, 6                                    
 2005518:	06 bf ff fb 	bl  2005504 <rtems_termios_baud_to_index+0x6c> 
 200551c:	90 10 20 05 	mov  5, %o0                                    
 2005520:	80 a0 60 07 	cmp  %g1, 7                                    
 2005524:	02 bf ff f8 	be  2005504 <rtems_termios_baud_to_index+0x6c> 
 2005528:	90 10 20 07 	mov  7, %o0                                    
 200552c:	80 a0 60 08 	cmp  %g1, 8                                    
 2005530:	12 80 00 2f 	bne  20055ec <rtems_termios_baud_to_index+0x154><== NEVER TAKEN
 2005534:	90 10 20 08 	mov  8, %o0                                    
 2005538:	81 c3 e0 08 	retl                                           
 200553c:	01 00 00 00 	nop                                            
 2005540:	02 bf ff f1 	be  2005504 <rtems_termios_baud_to_index+0x6c> 
 2005544:	90 10 20 0e 	mov  0xe, %o0	! e <PROM_START+0xe>             
 2005548:	80 a0 60 0e 	cmp  %g1, 0xe                                  
 200554c:	14 80 00 10 	bg  200558c <rtems_termios_baud_to_index+0xf4> 
 2005550:	05 00 00 04 	sethi  %hi(0x1000), %g2                        
 2005554:	80 a0 60 0b 	cmp  %g1, 0xb                                  
 2005558:	02 bf ff eb 	be  2005504 <rtems_termios_baud_to_index+0x6c> 
 200555c:	90 10 20 0b 	mov  0xb, %o0                                  
 2005560:	80 a0 60 0b 	cmp  %g1, 0xb                                  
 2005564:	06 bf ff e8 	bl  2005504 <rtems_termios_baud_to_index+0x6c> 
 2005568:	90 10 20 0a 	mov  0xa, %o0                                  
 200556c:	80 a0 60 0c 	cmp  %g1, 0xc                                  
 2005570:	02 bf ff e5 	be  2005504 <rtems_termios_baud_to_index+0x6c> 
 2005574:	90 10 20 0c 	mov  0xc, %o0                                  
 2005578:	80 a0 60 0d 	cmp  %g1, 0xd                                  
 200557c:	12 80 00 1c 	bne  20055ec <rtems_termios_baud_to_index+0x154><== NEVER TAKEN
 2005580:	90 10 20 0d 	mov  0xd, %o0                                  
 2005584:	81 c3 e0 08 	retl                                           
 2005588:	01 00 00 00 	nop                                            
 200558c:	86 10 a0 02 	or  %g2, 2, %g3                                
 2005590:	80 a0 40 03 	cmp  %g1, %g3                                  
 2005594:	02 bf ff dc 	be  2005504 <rtems_termios_baud_to_index+0x6c> 
 2005598:	90 10 20 11 	mov  0x11, %o0                                 
 200559c:	80 a0 40 03 	cmp  %g1, %g3                                  
 20055a0:	34 80 00 0b 	bg,a   20055cc <rtems_termios_baud_to_index+0x134>
 20055a4:	86 10 a0 03 	or  %g2, 3, %g3                                
 20055a8:	80 a0 60 0f 	cmp  %g1, 0xf                                  
 20055ac:	02 bf ff d6 	be  2005504 <rtems_termios_baud_to_index+0x6c> 
 20055b0:	90 10 20 0f 	mov  0xf, %o0                                  
 20055b4:	84 10 a0 01 	or  %g2, 1, %g2                                
 20055b8:	80 a0 40 02 	cmp  %g1, %g2                                  
 20055bc:	12 80 00 0c 	bne  20055ec <rtems_termios_baud_to_index+0x154><== NEVER TAKEN
 20055c0:	90 10 20 10 	mov  0x10, %o0                                 
 20055c4:	81 c3 e0 08 	retl                                           
 20055c8:	01 00 00 00 	nop                                            
 20055cc:	80 a0 40 03 	cmp  %g1, %g3                                  
 20055d0:	02 bf ff cd 	be  2005504 <rtems_termios_baud_to_index+0x6c> 
 20055d4:	90 10 20 12 	mov  0x12, %o0                                 
 20055d8:	84 10 a0 04 	or  %g2, 4, %g2                                
    case B19200:    baud_index = 14;  break;                          
    case B38400:    baud_index = 15;  break;                          
    case B57600:    baud_index = 16;  break;                          
    case B115200:   baud_index = 17;  break;                          
    case B230400:   baud_index = 18;  break;                          
    case B460800:   baud_index = 19;  break;                          
 20055dc:	90 10 20 13 	mov  0x13, %o0                                 
  rtems_termios_baud_t termios_baud                                   
)                                                                     
{                                                                     
  int baud_index;                                                     
                                                                      
  switch (termios_baud) {                                             
 20055e0:	80 a0 40 02 	cmp  %g1, %g2                                  
 20055e4:	02 80 00 03 	be  20055f0 <rtems_termios_baud_to_index+0x158>
 20055e8:	01 00 00 00 	nop                                            
    case B38400:    baud_index = 15;  break;                          
    case B57600:    baud_index = 16;  break;                          
    case B115200:   baud_index = 17;  break;                          
    case B230400:   baud_index = 18;  break;                          
    case B460800:   baud_index = 19;  break;                          
    default:        baud_index = -1;  break;                          
 20055ec:	90 10 3f ff 	mov  -1, %o0	! ffffffff <RAM_END+0xfdbfffff>   
  }                                                                   
                                                                      
  return baud_index;                                                  
}                                                                     
 20055f0:	81 c3 e0 08 	retl                                           
                                                                      

020041f8 <rtems_termios_close>: } } rtems_status_code rtems_termios_close (void *arg) {
 20041f8:	9d e3 bf a0 	save  %sp, -96, %sp                            
  rtems_libio_open_close_args_t *args = arg;                          
  struct rtems_termios_tty *tty = args->iop->data1;                   
 20041fc:	c2 06 00 00 	ld  [ %i0 ], %g1                               
  rtems_status_code sc;                                               
                                                                      
  sc = rtems_semaphore_obtain(                                        
 2004200:	92 10 20 00 	clr  %o1                                       
                                                                      
rtems_status_code                                                     
rtems_termios_close (void *arg)                                       
{                                                                     
  rtems_libio_open_close_args_t *args = arg;                          
  struct rtems_termios_tty *tty = args->iop->data1;                   
 2004204:	fa 00 60 38 	ld  [ %g1 + 0x38 ], %i5                        
  rtems_status_code sc;                                               
                                                                      
  sc = rtems_semaphore_obtain(                                        
 2004208:	03 00 80 6c 	sethi  %hi(0x201b000), %g1                     
 200420c:	d0 00 63 a0 	ld  [ %g1 + 0x3a0 ], %o0	! 201b3a0 <rtems_termios_ttyMutex>
 2004210:	40 00 08 a4 	call  20064a0 <rtems_semaphore_obtain>         
 2004214:	94 10 20 00 	clr  %o2                                       
    rtems_termios_ttyMutex, RTEMS_WAIT, RTEMS_NO_TIMEOUT);            
  if (sc != RTEMS_SUCCESSFUL)                                         
 2004218:	80 a2 20 00 	cmp  %o0, 0                                    
 200421c:	12 80 00 32 	bne  20042e4 <rtems_termios_close+0xec>        <== NEVER TAKEN
 2004220:	01 00 00 00 	nop                                            
    rtems_fatal_error_occurred (sc);                                  
  if (--tty->refcount == 0) {                                         
 2004224:	c2 07 60 08 	ld  [ %i5 + 8 ], %g1                           
 2004228:	82 00 7f ff 	add  %g1, -1, %g1                              
 200422c:	80 a0 60 00 	cmp  %g1, 0                                    
 2004230:	12 80 00 64 	bne  20043c0 <rtems_termios_close+0x1c8>       
 2004234:	c2 27 60 08 	st  %g1, [ %i5 + 8 ]                           
    if (rtems_termios_linesw[tty->t_line].l_close != NULL) {          
 2004238:	c4 07 60 cc 	ld  [ %i5 + 0xcc ], %g2                        
 200423c:	03 00 80 6c 	sethi  %hi(0x201b000), %g1                     
 2004240:	85 28 a0 05 	sll  %g2, 5, %g2                               
 2004244:	82 10 60 d4 	or  %g1, 0xd4, %g1                             
 2004248:	82 00 40 02 	add  %g1, %g2, %g1                             
 200424c:	c2 00 60 04 	ld  [ %g1 + 4 ], %g1                           
 2004250:	80 a0 60 00 	cmp  %g1, 0                                    
 2004254:	22 80 00 06 	be,a   200426c <rtems_termios_close+0x74>      
 2004258:	d0 07 60 18 	ld  [ %i5 + 0x18 ], %o0                        
      /*                                                              
       * call discipline-specific close                               
       */                                                             
      sc = rtems_termios_linesw[tty->t_line].l_close(tty);            
 200425c:	9f c0 40 00 	call  %g1                                      
 2004260:	90 10 00 1d 	mov  %i5, %o0                                  
      }                                                               
      drainOutput (tty);                                              
      rtems_semaphore_release (tty->osem);                            
    }                                                                 
                                                                      
    if (tty->device.outputUsesInterrupts == TERMIOS_TASK_DRIVEN) {    
 2004264:	10 80 00 11 	b  20042a8 <rtems_termios_close+0xb0>          
 2004268:	c2 07 60 b4 	ld  [ %i5 + 0xb4 ], %g1                        
      sc = rtems_termios_linesw[tty->t_line].l_close(tty);            
    } else {                                                          
      /*                                                              
       * default: just flush output buffer                            
       */                                                             
      sc = rtems_semaphore_obtain(tty->osem, RTEMS_WAIT, RTEMS_NO_TIMEOUT);
 200426c:	92 10 20 00 	clr  %o1                                       
 2004270:	40 00 08 8c 	call  20064a0 <rtems_semaphore_obtain>         
 2004274:	94 10 20 00 	clr  %o2                                       
      if (sc != RTEMS_SUCCESSFUL) {                                   
 2004278:	80 a2 20 00 	cmp  %o0, 0                                    
 200427c:	12 80 00 1a 	bne  20042e4 <rtems_termios_close+0xec>        <== NEVER TAKEN
 2004280:	01 00 00 00 	nop                                            
drainOutput (struct rtems_termios_tty *tty)                           
{                                                                     
  rtems_interrupt_level level;                                        
  rtems_status_code sc;                                               
                                                                      
  if (tty->device.outputUsesInterrupts != TERMIOS_POLLED) {           
 2004284:	c2 07 60 b4 	ld  [ %i5 + 0xb4 ], %g1                        
 2004288:	80 a0 60 00 	cmp  %g1, 0                                    
 200428c:	02 80 00 04 	be  200429c <rtems_termios_close+0xa4>         
 2004290:	01 00 00 00 	nop                                            
 2004294:	7f ff fe ad 	call  2003d48 <drainOutput.part.0>             
 2004298:	90 10 00 1d 	mov  %i5, %o0                                  
      sc = rtems_semaphore_obtain(tty->osem, RTEMS_WAIT, RTEMS_NO_TIMEOUT);
      if (sc != RTEMS_SUCCESSFUL) {                                   
        rtems_fatal_error_occurred (sc);                              
      }                                                               
      drainOutput (tty);                                              
      rtems_semaphore_release (tty->osem);                            
 200429c:	40 00 08 cb 	call  20065c8 <rtems_semaphore_release>        
 20042a0:	d0 07 60 18 	ld  [ %i5 + 0x18 ], %o0                        
    }                                                                 
                                                                      
    if (tty->device.outputUsesInterrupts == TERMIOS_TASK_DRIVEN) {    
 20042a4:	c2 07 60 b4 	ld  [ %i5 + 0xb4 ], %g1                        
 20042a8:	80 a0 60 02 	cmp  %g1, 2                                    
 20042ac:	32 80 00 10 	bne,a   20042ec <rtems_termios_close+0xf4>     
 20042b0:	c2 07 60 9c 	ld  [ %i5 + 0x9c ], %g1                        
      /*                                                              
       * send "terminate" to I/O tasks                                
       */                                                             
      sc = rtems_event_send( tty->rxTaskId, TERMIOS_RX_TERMINATE_EVENT );
 20042b4:	d0 07 60 c4 	ld  [ %i5 + 0xc4 ], %o0                        
 20042b8:	40 00 07 45 	call  2005fcc <rtems_event_send>               
 20042bc:	92 10 20 01 	mov  1, %o1                                    
      if (sc != RTEMS_SUCCESSFUL)                                     
 20042c0:	80 a2 20 00 	cmp  %o0, 0                                    
 20042c4:	12 80 00 08 	bne  20042e4 <rtems_termios_close+0xec>        <== NEVER TAKEN
 20042c8:	01 00 00 00 	nop                                            
        rtems_fatal_error_occurred (sc);                              
      sc = rtems_event_send( tty->txTaskId, TERMIOS_TX_TERMINATE_EVENT );
 20042cc:	d0 07 60 c8 	ld  [ %i5 + 0xc8 ], %o0                        
 20042d0:	40 00 07 3f 	call  2005fcc <rtems_event_send>               
 20042d4:	92 10 20 01 	mov  1, %o1                                    
      if (sc != RTEMS_SUCCESSFUL)                                     
 20042d8:	80 a2 20 00 	cmp  %o0, 0                                    
 20042dc:	22 80 00 04 	be,a   20042ec <rtems_termios_close+0xf4>      <== ALWAYS TAKEN
 20042e0:	c2 07 60 9c 	ld  [ %i5 + 0x9c ], %g1                        
        rtems_fatal_error_occurred (sc);                              
 20042e4:	40 00 0a 31 	call  2006ba8 <rtems_fatal_error_occurred>     <== NOT EXECUTED
 20042e8:	01 00 00 00 	nop                                            <== NOT EXECUTED
    }                                                                 
    if (tty->device.lastClose)                                        
 20042ec:	80 a0 60 00 	cmp  %g1, 0                                    
 20042f0:	22 80 00 07 	be,a   200430c <rtems_termios_close+0x114>     <== ALWAYS TAKEN
 20042f4:	c4 07 40 00 	ld  [ %i5 ], %g2                               
       (*tty->device.lastClose)(tty->major, tty->minor, arg);         
 20042f8:	d0 07 60 0c 	ld  [ %i5 + 0xc ], %o0                         <== NOT EXECUTED
 20042fc:	d2 07 60 10 	ld  [ %i5 + 0x10 ], %o1                        <== NOT EXECUTED
 2004300:	9f c0 40 00 	call  %g1                                      <== NOT EXECUTED
 2004304:	94 10 00 18 	mov  %i0, %o2                                  <== NOT EXECUTED
    if (tty->forw == NULL) {                                          
 2004308:	c4 07 40 00 	ld  [ %i5 ], %g2                               <== NOT EXECUTED
 200430c:	80 a0 a0 00 	cmp  %g2, 0                                    
 2004310:	12 80 00 08 	bne  2004330 <rtems_termios_close+0x138>       
 2004314:	c2 07 60 04 	ld  [ %i5 + 4 ], %g1                           
      rtems_termios_ttyTail = tty->back;                              
 2004318:	05 00 80 6c 	sethi  %hi(0x201b000), %g2                     
      if ( rtems_termios_ttyTail != NULL ) {                          
 200431c:	80 a0 60 00 	cmp  %g1, 0                                    
 2004320:	02 80 00 05 	be  2004334 <rtems_termios_close+0x13c>        <== ALWAYS TAKEN
 2004324:	c2 20 a3 a4 	st  %g1, [ %g2 + 0x3a4 ]                       
        rtems_termios_ttyTail->forw = NULL;                           
 2004328:	10 80 00 03 	b  2004334 <rtems_termios_close+0x13c>         <== NOT EXECUTED
 200432c:	c0 20 40 00 	clr  [ %g1 ]                                   <== NOT EXECUTED
      }                                                               
    } else {                                                          
      tty->forw->back = tty->back;                                    
 2004330:	c2 20 a0 04 	st  %g1, [ %g2 + 4 ]                           
    }                                                                 
                                                                      
    if (tty->back == NULL) {                                          
 2004334:	c4 07 60 04 	ld  [ %i5 + 4 ], %g2                           
 2004338:	80 a0 a0 00 	cmp  %g2, 0                                    
 200433c:	12 80 00 08 	bne  200435c <rtems_termios_close+0x164>       <== NEVER TAKEN
 2004340:	c2 07 40 00 	ld  [ %i5 ], %g1                               
      rtems_termios_ttyHead = tty->forw;                              
 2004344:	05 00 80 6c 	sethi  %hi(0x201b000), %g2                     
      if ( rtems_termios_ttyHead != NULL ) {                          
 2004348:	80 a0 60 00 	cmp  %g1, 0                                    
 200434c:	02 80 00 05 	be  2004360 <rtems_termios_close+0x168>        
 2004350:	c2 20 a3 a8 	st  %g1, [ %g2 + 0x3a8 ]                       
        rtems_termios_ttyHead->back = NULL;                           
 2004354:	10 80 00 03 	b  2004360 <rtems_termios_close+0x168>         
 2004358:	c0 20 60 04 	clr  [ %g1 + 4 ]                               
      }                                                               
    } else {                                                          
      tty->back->forw = tty->forw;                                    
 200435c:	c2 20 80 00 	st  %g1, [ %g2 ]                               <== NOT EXECUTED
    }                                                                 
                                                                      
    rtems_semaphore_delete (tty->isem);                               
 2004360:	40 00 08 21 	call  20063e4 <rtems_semaphore_delete>         
 2004364:	d0 07 60 14 	ld  [ %i5 + 0x14 ], %o0                        
    rtems_semaphore_delete (tty->osem);                               
 2004368:	40 00 08 1f 	call  20063e4 <rtems_semaphore_delete>         
 200436c:	d0 07 60 18 	ld  [ %i5 + 0x18 ], %o0                        
    rtems_semaphore_delete (tty->rawOutBuf.Semaphore);                
 2004370:	40 00 08 1d 	call  20063e4 <rtems_semaphore_delete>         
 2004374:	d0 07 60 8c 	ld  [ %i5 + 0x8c ], %o0                        
    if ((tty->device.pollRead == NULL) ||                             
 2004378:	c2 07 60 a0 	ld  [ %i5 + 0xa0 ], %g1                        
 200437c:	80 a0 60 00 	cmp  %g1, 0                                    
 2004380:	02 80 00 06 	be  2004398 <rtems_termios_close+0x1a0>        
 2004384:	01 00 00 00 	nop                                            
 2004388:	c2 07 60 b4 	ld  [ %i5 + 0xb4 ], %g1                        
 200438c:	80 a0 60 02 	cmp  %g1, 2                                    
 2004390:	12 80 00 04 	bne  20043a0 <rtems_termios_close+0x1a8>       
 2004394:	01 00 00 00 	nop                                            
        (tty->device.outputUsesInterrupts == TERMIOS_TASK_DRIVEN))    
      rtems_semaphore_delete (tty->rawInBuf.Semaphore);               
 2004398:	40 00 08 13 	call  20063e4 <rtems_semaphore_delete>         
 200439c:	d0 07 60 68 	ld  [ %i5 + 0x68 ], %o0                        
    free (tty->rawInBuf.theBuf);                                      
 20043a0:	7f ff fa 8d 	call  2002dd4 <free>                           
 20043a4:	d0 07 60 58 	ld  [ %i5 + 0x58 ], %o0                        
    free (tty->rawOutBuf.theBuf);                                     
 20043a8:	7f ff fa 8b 	call  2002dd4 <free>                           
 20043ac:	d0 07 60 7c 	ld  [ %i5 + 0x7c ], %o0                        
    free (tty->cbuf);                                                 
 20043b0:	7f ff fa 89 	call  2002dd4 <free>                           
 20043b4:	d0 07 60 1c 	ld  [ %i5 + 0x1c ], %o0                        
    free (tty);                                                       
 20043b8:	7f ff fa 87 	call  2002dd4 <free>                           
 20043bc:	90 10 00 1d 	mov  %i5, %o0                                  
  }                                                                   
  rtems_semaphore_release (rtems_termios_ttyMutex);                   
 20043c0:	03 00 80 6c 	sethi  %hi(0x201b000), %g1                     
 20043c4:	d0 00 63 a0 	ld  [ %g1 + 0x3a0 ], %o0	! 201b3a0 <rtems_termios_ttyMutex>
 20043c8:	40 00 08 80 	call  20065c8 <rtems_semaphore_release>        
 20043cc:	b0 10 20 00 	clr  %i0                                       
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
 20043d0:	81 c7 e0 08 	ret                                            
 20043d4:	81 e8 00 00 	restore                                        
                                                                      

0200598c <rtems_termios_dequeue_characters>: * for each transmitted character. * It returns number of characters left to transmit */ int rtems_termios_dequeue_characters (void *ttyp, int len) {
 200598c:	9d e3 bf a0 	save  %sp, -96, %sp                            
  rtems_status_code sc;                                               
                                                                      
  /*                                                                  
   * sum up character count already sent                              
   */                                                                 
  tty->t_dqlen += len;                                                
 2005990:	c2 06 20 90 	ld  [ %i0 + 0x90 ], %g1                        
 2005994:	82 00 40 19 	add  %g1, %i1, %g1                             
 2005998:	c2 26 20 90 	st  %g1, [ %i0 + 0x90 ]                        
                                                                      
  if (tty->device.outputUsesInterrupts == TERMIOS_TASK_DRIVEN) {      
 200599c:	c2 06 20 b4 	ld  [ %i0 + 0xb4 ], %g1                        
 20059a0:	80 a0 60 02 	cmp  %g1, 2                                    
 20059a4:	12 80 00 0a 	bne  20059cc <rtems_termios_dequeue_characters+0x40>
 20059a8:	90 10 00 18 	mov  %i0, %o0                                  
    /*                                                                
     * send wake up to transmitter task                               
     */                                                               
    sc = rtems_event_send(tty->txTaskId, TERMIOS_TX_START_EVENT);     
 20059ac:	d0 06 20 c8 	ld  [ %i0 + 0xc8 ], %o0                        
 20059b0:	40 00 01 87 	call  2005fcc <rtems_event_send>               
 20059b4:	92 10 20 02 	mov  2, %o1                                    
    if (sc != RTEMS_SUCCESSFUL)                                       
 20059b8:	80 a2 20 00 	cmp  %o0, 0                                    
 20059bc:	02 80 00 11 	be  2005a00 <rtems_termios_dequeue_characters+0x74><== ALWAYS TAKEN
 20059c0:	b0 10 20 00 	clr  %i0                                       
      rtems_fatal_error_occurred (sc);                                
 20059c4:	40 00 04 79 	call  2006ba8 <rtems_fatal_error_occurred>     <== NOT EXECUTED
 20059c8:	01 00 00 00 	nop                                            <== NOT EXECUTED
    return 0; /* nothing to output in IRQ... */                       
  }                                                                   
                                                                      
  if (tty->t_line == PPPDISC ) {                                      
 20059cc:	c2 06 20 cc 	ld  [ %i0 + 0xcc ], %g1                        
 20059d0:	80 a0 60 05 	cmp  %g1, 5                                    
 20059d4:	12 80 00 09 	bne  20059f8 <rtems_termios_dequeue_characters+0x6c>
 20059d8:	03 00 80 6c 	sethi  %hi(0x201b000), %g1                     
    /*                                                                
     * call any line discipline start function                        
     */                                                               
    if (rtems_termios_linesw[tty->t_line].l_start != NULL) {          
 20059dc:	c2 00 61 88 	ld  [ %g1 + 0x188 ], %g1	! 201b188 <rtems_termios_linesw+0xb4>
 20059e0:	80 a0 60 00 	cmp  %g1, 0                                    
 20059e4:	02 80 00 07 	be  2005a00 <rtems_termios_dequeue_characters+0x74><== NEVER TAKEN
 20059e8:	b0 10 20 00 	clr  %i0                                       
      rtems_termios_linesw[tty->t_line].l_start(tty);                 
 20059ec:	9f c0 40 00 	call  %g1                                      
 20059f0:	01 00 00 00 	nop                                            
 20059f4:	30 80 00 03 	b,a   2005a00 <rtems_termios_dequeue_characters+0x74>
    }                                                                 
    return 0; /* nothing to output in IRQ... */                       
  }                                                                   
                                                                      
  return rtems_termios_refill_transmitter(tty);                       
 20059f8:	7f ff ff 50 	call  2005738 <rtems_termios_refill_transmitter>
 20059fc:	81 e8 00 00 	restore                                        
}                                                                     
 2005a00:	81 c7 e0 08 	ret                                            
 2005a04:	81 e8 00 00 	restore                                        
                                                                      

020053e4 <rtems_termios_enqueue_raw_characters>: * device receive interrupt handler. * Returns the number of characters dropped because of overflow. */ int rtems_termios_enqueue_raw_characters (void *ttyp, const char *buf, int len) {
 20053e4:	9d e3 bf a0 	save  %sp, -96, %sp                            
  char c;                                                             
  int dropped = 0;                                                    
  bool flow_rcv = false; /* true, if flow control char received */    
  rtems_interrupt_level level;                                        
                                                                      
  if (rtems_termios_linesw[tty->t_line].l_rint != NULL) {             
 20053e8:	c2 06 20 cc 	ld  [ %i0 + 0xcc ], %g1                        
 20053ec:	37 00 80 6c 	sethi  %hi(0x201b000), %i3                     
 20053f0:	83 28 60 05 	sll  %g1, 5, %g1                               
 20053f4:	b6 16 e0 d4 	or  %i3, 0xd4, %i3                             
 20053f8:	82 06 c0 01 	add  %i3, %g1, %g1                             
 20053fc:	c2 00 60 10 	ld  [ %g1 + 0x10 ], %g1                        
 *       device receive interrupt handler.                            
 * Returns the number of characters dropped because of overflow.      
 */                                                                   
int                                                                   
rtems_termios_enqueue_raw_characters (void *ttyp, const char *buf, int len)
{                                                                     
 2005400:	ba 10 00 18 	mov  %i0, %i5                                  
  char c;                                                             
  int dropped = 0;                                                    
  bool flow_rcv = false; /* true, if flow control char received */    
  rtems_interrupt_level level;                                        
                                                                      
  if (rtems_termios_linesw[tty->t_line].l_rint != NULL) {             
 2005404:	80 a0 60 00 	cmp  %g1, 0                                    
 2005408:	12 80 00 0e 	bne  2005440 <rtems_termios_enqueue_raw_characters+0x5c>
 200540c:	b8 10 20 00 	clr  %i4                                       
 * NOTE: This routine runs in the context of the                      
 *       device receive interrupt handler.                            
 * Returns the number of characters dropped because of overflow.      
 */                                                                   
int                                                                   
rtems_termios_enqueue_raw_characters (void *ttyp, const char *buf, int len)
 2005410:	a0 10 20 00 	clr  %l0                                       
 2005414:	b0 10 20 00 	clr  %i0                                       
                                                                      
        /*                                                            
         * check to see if rcv wakeup callback was set                
         */                                                           
        if (( !tty->tty_rcvwakeup ) && ( tty->tty_rcv.sw_pfn != NULL )) {
          (*tty->tty_rcv.sw_pfn)(&tty->termios, tty->tty_rcv.sw_arg); 
 2005418:	a6 07 60 30 	add  %i5, 0x30, %l3                            
          if ((tty->flow_ctrl & FL_OSTOP) ||                          
              (tty->rawOutBufState == rob_idle)) {                    
            /* if tx is stopped due to XOFF or out of data */         
            /*    call write function here                 */         
            tty->flow_ctrl |= FL_ISNTXOF;                             
            (*tty->device.write)(tty->minor,                          
 200541c:	10 80 00 a3 	b  20056a8 <rtems_termios_enqueue_raw_characters+0x2c4>
 2005420:	a4 07 60 4a 	add  %i5, 0x4a, %l2                            
  rtems_interrupt_level level;                                        
                                                                      
  if (rtems_termios_linesw[tty->t_line].l_rint != NULL) {             
    while (len--) {                                                   
      c = *buf++;                                                     
      rtems_termios_linesw[tty->t_line].l_rint(c,tty);                
 2005424:	d0 4e 40 1c 	ldsb  [ %i1 + %i4 ], %o0                       
 2005428:	83 28 60 05 	sll  %g1, 5, %g1                               
 200542c:	82 06 c0 01 	add  %i3, %g1, %g1                             
 2005430:	c2 00 60 10 	ld  [ %g1 + 0x10 ], %g1                        
 2005434:	92 10 00 1d 	mov  %i5, %o1                                  
 2005438:	9f c0 40 00 	call  %g1                                      
 200543c:	b8 07 20 01 	inc  %i4                                       
  int dropped = 0;                                                    
  bool flow_rcv = false; /* true, if flow control char received */    
  rtems_interrupt_level level;                                        
                                                                      
  if (rtems_termios_linesw[tty->t_line].l_rint != NULL) {             
    while (len--) {                                                   
 2005440:	80 a7 00 1a 	cmp  %i4, %i2                                  
 2005444:	32 bf ff f8 	bne,a   2005424 <rtems_termios_enqueue_raw_characters+0x40>
 2005448:	c2 07 60 cc 	ld  [ %i5 + 0xcc ], %g1                        
    }                                                                 
                                                                      
    /*                                                                
     * check to see if rcv wakeup callback was set                    
     */                                                               
    if (( !tty->tty_rcvwakeup ) && ( tty->tty_rcv.sw_pfn != NULL )) { 
 200544c:	c2 07 60 e4 	ld  [ %i5 + 0xe4 ], %g1                        
 2005450:	80 a0 60 00 	cmp  %g1, 0                                    
 2005454:	12 80 00 0b 	bne  2005480 <rtems_termios_enqueue_raw_characters+0x9c><== NEVER TAKEN
 2005458:	b0 10 20 00 	clr  %i0                                       
 200545c:	c2 07 60 dc 	ld  [ %i5 + 0xdc ], %g1                        
 2005460:	80 a0 60 00 	cmp  %g1, 0                                    
 2005464:	02 80 00 99 	be  20056c8 <rtems_termios_enqueue_raw_characters+0x2e4>
 2005468:	01 00 00 00 	nop                                            
      (*tty->tty_rcv.sw_pfn)(&tty->termios, tty->tty_rcv.sw_arg);     
 200546c:	d2 07 60 e0 	ld  [ %i5 + 0xe0 ], %o1                        
 2005470:	9f c0 40 00 	call  %g1                                      
 2005474:	90 07 60 30 	add  %i5, 0x30, %o0                            
      tty->tty_rcvwakeup = 1;                                         
 2005478:	82 10 20 01 	mov  1, %g1                                    
 200547c:	c2 27 60 e4 	st  %g1, [ %i5 + 0xe4 ]                        
 2005480:	81 c7 e0 08 	ret                                            
 2005484:	81 e8 00 00 	restore                                        
                                                                      
  while (len--) {                                                     
    c = *buf++;                                                       
    /* FIXME: implement IXANY: any character restarts output */       
    /* if incoming XON/XOFF controls outgoing stream: */              
    if (tty->flow_ctrl & FL_MDXON) {                                  
 2005488:	c2 07 60 b8 	ld  [ %i5 + 0xb8 ], %g1                        
 200548c:	80 88 62 00 	btst  0x200, %g1                               
 2005490:	02 80 00 17 	be  20054ec <rtems_termios_enqueue_raw_characters+0x108>
 2005494:	e2 0e 40 1c 	ldub  [ %i1 + %i4 ], %l1                       
      /* if received char is V_STOP and V_START (both are equal value) */
      if (c == tty->termios.c_cc[VSTOP]) {                            
 2005498:	c4 0f 60 4a 	ldub  [ %i5 + 0x4a ], %g2                      
 200549c:	83 2c 60 18 	sll  %l1, 0x18, %g1                            
 20054a0:	83 38 60 18 	sra  %g1, 0x18, %g1                            
 20054a4:	80 a0 40 02 	cmp  %g1, %g2                                  
 20054a8:	c4 0f 60 49 	ldub  [ %i5 + 0x49 ], %g2                      
 20054ac:	12 80 00 0a 	bne  20054d4 <rtems_termios_enqueue_raw_characters+0xf0>
 20054b0:	84 08 a0 ff 	and  %g2, 0xff, %g2                            
        if (c == tty->termios.c_cc[VSTART]) {                         
 20054b4:	80 a0 40 02 	cmp  %g1, %g2                                  
          /* received VSTOP and VSTART==VSTOP? */                     
          /* then toggle "stop output" status  */                     
          tty->flow_ctrl = tty->flow_ctrl ^ FL_ORCVXOF;               
 20054b8:	c2 07 60 b8 	ld  [ %i5 + 0xb8 ], %g1                        
    /* FIXME: implement IXANY: any character restarts output */       
    /* if incoming XON/XOFF controls outgoing stream: */              
    if (tty->flow_ctrl & FL_MDXON) {                                  
      /* if received char is V_STOP and V_START (both are equal value) */
      if (c == tty->termios.c_cc[VSTOP]) {                            
        if (c == tty->termios.c_cc[VSTART]) {                         
 20054bc:	32 80 00 03 	bne,a   20054c8 <rtems_termios_enqueue_raw_characters+0xe4><== ALWAYS TAKEN
 20054c0:	82 10 60 10 	or  %g1, 0x10, %g1                             
 20054c4:	82 18 60 10 	xor  %g1, 0x10, %g1                            <== NOT EXECUTED
          tty->flow_ctrl = tty->flow_ctrl ^ FL_ORCVXOF;               
        }                                                             
        else {                                                        
          /* VSTOP received (other code than VSTART) */               
          /* stop output                             */               
          tty->flow_ctrl |= FL_ORCVXOF;                               
 20054c8:	c2 27 60 b8 	st  %g1, [ %i5 + 0xb8 ]                        
 * NOTE: This routine runs in the context of the                      
 *       device receive interrupt handler.                            
 * Returns the number of characters dropped because of overflow.      
 */                                                                   
int                                                                   
rtems_termios_enqueue_raw_characters (void *ttyp, const char *buf, int len)
 20054cc:	10 80 00 0b 	b  20054f8 <rtems_termios_enqueue_raw_characters+0x114>
 20054d0:	a0 10 20 01 	mov  1, %l0                                    
          /* stop output                             */               
          tty->flow_ctrl |= FL_ORCVXOF;                               
        }                                                             
        flow_rcv = true;                                              
      }                                                               
      else if (c == tty->termios.c_cc[VSTART]) {                      
 20054d4:	80 a0 40 02 	cmp  %g1, %g2                                  
 20054d8:	12 80 00 06 	bne  20054f0 <rtems_termios_enqueue_raw_characters+0x10c><== ALWAYS TAKEN
 20054dc:	80 8c 20 ff 	btst  0xff, %l0                                
        /* VSTART received */                                         
        /* restart output  */                                         
        tty->flow_ctrl &= ~FL_ORCVXOF;                                
 20054e0:	c2 07 60 b8 	ld  [ %i5 + 0xb8 ], %g1                        <== NOT EXECUTED
 20054e4:	10 bf ff f9 	b  20054c8 <rtems_termios_enqueue_raw_characters+0xe4><== NOT EXECUTED
 20054e8:	82 08 7f ef 	and  %g1, -17, %g1                             <== NOT EXECUTED
        flow_rcv = true;                                              
      }                                                               
    }                                                                 
    if (flow_rcv) {                                                   
 20054ec:	80 8c 20 ff 	btst  0xff, %l0                                
 20054f0:	02 80 00 1c 	be  2005560 <rtems_termios_enqueue_raw_characters+0x17c><== ALWAYS TAKEN
 20054f4:	01 00 00 00 	nop                                            
      /* restart output according to FL_ORCVXOF flag */               
      if ((tty->flow_ctrl & (FL_ORCVXOF | FL_OSTOP)) == FL_OSTOP) {   
 20054f8:	c2 07 60 b8 	ld  [ %i5 + 0xb8 ], %g1                        
 20054fc:	82 08 60 30 	and  %g1, 0x30, %g1                            
 2005500:	80 a0 60 20 	cmp  %g1, 0x20                                 
 2005504:	32 80 00 69 	bne,a   20056a8 <rtems_termios_enqueue_raw_characters+0x2c4><== ALWAYS TAKEN
 2005508:	b8 07 20 01 	inc  %i4                                       
        /* disable interrupts    */                                   
        rtems_interrupt_disable(level);                               
 200550c:	7f ff f3 1c 	call  200217c <sparc_disable_interrupts>       <== NOT EXECUTED
 2005510:	01 00 00 00 	nop                                            <== NOT EXECUTED
 2005514:	b6 10 00 08 	mov  %o0, %i3                                  <== NOT EXECUTED
        tty->flow_ctrl &= ~FL_OSTOP;                                  
 2005518:	c2 07 60 b8 	ld  [ %i5 + 0xb8 ], %g1                        <== NOT EXECUTED
 200551c:	82 08 7f df 	and  %g1, -33, %g1                             <== NOT EXECUTED
 2005520:	c2 27 60 b8 	st  %g1, [ %i5 + 0xb8 ]                        <== NOT EXECUTED
        /* check for chars in output buffer (or rob_state?) */        
        if (tty->rawOutBufState != rob_idle) {                        
 2005524:	c2 07 60 94 	ld  [ %i5 + 0x94 ], %g1                        <== NOT EXECUTED
 2005528:	80 a0 60 00 	cmp  %g1, 0                                    <== NOT EXECUTED
 200552c:	02 80 00 09 	be  2005550 <rtems_termios_enqueue_raw_characters+0x16c><== NOT EXECUTED
 2005530:	01 00 00 00 	nop                                            <== NOT EXECUTED
          /* if chars available, call write function... */            
          (*tty->device.write)(                                       
            tty->minor, &tty->rawOutBuf.theBuf[tty->rawOutBuf.Tail], 1);
 2005534:	c4 07 60 84 	ld  [ %i5 + 0x84 ], %g2                        <== NOT EXECUTED
        rtems_interrupt_disable(level);                               
        tty->flow_ctrl &= ~FL_OSTOP;                                  
        /* check for chars in output buffer (or rob_state?) */        
        if (tty->rawOutBufState != rob_idle) {                        
          /* if chars available, call write function... */            
          (*tty->device.write)(                                       
 2005538:	d2 07 60 7c 	ld  [ %i5 + 0x7c ], %o1                        <== NOT EXECUTED
 200553c:	c2 07 60 a4 	ld  [ %i5 + 0xa4 ], %g1                        <== NOT EXECUTED
 2005540:	d0 07 60 10 	ld  [ %i5 + 0x10 ], %o0                        <== NOT EXECUTED
 2005544:	92 02 40 02 	add  %o1, %g2, %o1                             <== NOT EXECUTED
 2005548:	9f c0 40 00 	call  %g1                                      <== NOT EXECUTED
 200554c:	94 10 20 01 	mov  1, %o2                                    <== NOT EXECUTED
            tty->minor, &tty->rawOutBuf.theBuf[tty->rawOutBuf.Tail], 1);
        }                                                             
        /* reenable interrupts */                                     
        rtems_interrupt_enable(level);                                
 2005550:	7f ff f3 0f 	call  200218c <sparc_enable_interrupts>        <== NOT EXECUTED
 2005554:	90 10 00 1b 	mov  %i3, %o0                                  <== NOT EXECUTED
        /*                                                            
         * check to see if rcv wakeup callback was set                
         */                                                           
        if (( !tty->tty_rcvwakeup ) && ( tty->tty_rcv.sw_pfn != NULL )) {
          (*tty->tty_rcv.sw_pfn)(&tty->termios, tty->tty_rcv.sw_arg); 
          tty->tty_rcvwakeup = 1;                                     
 2005558:	10 80 00 54 	b  20056a8 <rtems_termios_enqueue_raw_characters+0x2c4><== NOT EXECUTED
 200555c:	b8 07 20 01 	inc  %i4                                       <== NOT EXECUTED
        }                                                             
        /* reenable interrupts */                                     
        rtems_interrupt_enable(level);                                
      }                                                               
    } else {                                                          
      newTail = (tty->rawInBuf.Tail + 1) % tty->rawInBuf.Size;        
 2005560:	d0 07 60 60 	ld  [ %i5 + 0x60 ], %o0                        
 2005564:	d2 07 60 64 	ld  [ %i5 + 0x64 ], %o1                        
 2005568:	40 00 46 09 	call  2016d8c <.urem>                          
 200556c:	90 02 20 01 	inc  %o0                                       
      /* if chars_in_buffer > highwater                */             
      rtems_interrupt_disable(level);                                 
 2005570:	7f ff f3 03 	call  200217c <sparc_disable_interrupts>       
 2005574:	b6 10 00 08 	mov  %o0, %i3                                  
 2005578:	a8 10 00 08 	mov  %o0, %l4                                  
      if ((((newTail - tty->rawInBuf.Head + tty->rawInBuf.Size)       
 200557c:	c2 07 60 5c 	ld  [ %i5 + 0x5c ], %g1                        
 2005580:	d0 07 60 64 	ld  [ %i5 + 0x64 ], %o0                        
            % tty->rawInBuf.Size) > tty->highwater) &&                
 2005584:	d2 07 60 64 	ld  [ %i5 + 0x64 ], %o1                        
      }                                                               
    } else {                                                          
      newTail = (tty->rawInBuf.Tail + 1) % tty->rawInBuf.Size;        
      /* if chars_in_buffer > highwater                */             
      rtems_interrupt_disable(level);                                 
      if ((((newTail - tty->rawInBuf.Head + tty->rawInBuf.Size)       
 2005588:	90 22 00 01 	sub  %o0, %g1, %o0                             
            % tty->rawInBuf.Size) > tty->highwater) &&                
 200558c:	40 00 46 00 	call  2016d8c <.urem>                          
 2005590:	90 02 00 1b 	add  %o0, %i3, %o0                             
      }                                                               
    } else {                                                          
      newTail = (tty->rawInBuf.Tail + 1) % tty->rawInBuf.Size;        
      /* if chars_in_buffer > highwater                */             
      rtems_interrupt_disable(level);                                 
      if ((((newTail - tty->rawInBuf.Head + tty->rawInBuf.Size)       
 2005594:	c2 07 60 c0 	ld  [ %i5 + 0xc0 ], %g1                        
 2005598:	80 a2 00 01 	cmp  %o0, %g1                                  
 200559c:	08 80 00 2b 	bleu  2005648 <rtems_termios_enqueue_raw_characters+0x264><== ALWAYS TAKEN
 20055a0:	01 00 00 00 	nop                                            
            % tty->rawInBuf.Size) > tty->highwater) &&                
          !(tty->flow_ctrl & FL_IREQXOF)) {                           
 20055a4:	c2 07 60 b8 	ld  [ %i5 + 0xb8 ], %g1                        <== NOT EXECUTED
    } else {                                                          
      newTail = (tty->rawInBuf.Tail + 1) % tty->rawInBuf.Size;        
      /* if chars_in_buffer > highwater                */             
      rtems_interrupt_disable(level);                                 
      if ((((newTail - tty->rawInBuf.Head + tty->rawInBuf.Size)       
            % tty->rawInBuf.Size) > tty->highwater) &&                
 20055a8:	80 88 60 01 	btst  1, %g1                                   <== NOT EXECUTED
 20055ac:	12 80 00 27 	bne  2005648 <rtems_termios_enqueue_raw_characters+0x264><== NOT EXECUTED
 20055b0:	01 00 00 00 	nop                                            <== NOT EXECUTED
          !(tty->flow_ctrl & FL_IREQXOF)) {                           
        /* incoming data stream should be stopped */                  
        tty->flow_ctrl |= FL_IREQXOF;                                 
 20055b4:	c2 07 60 b8 	ld  [ %i5 + 0xb8 ], %g1                        <== NOT EXECUTED
 20055b8:	82 10 60 01 	or  %g1, 1, %g1                                <== NOT EXECUTED
 20055bc:	c2 27 60 b8 	st  %g1, [ %i5 + 0xb8 ]                        <== NOT EXECUTED
        if ((tty->flow_ctrl & (FL_MDXOF | FL_ISNTXOF))                
 20055c0:	c2 07 60 b8 	ld  [ %i5 + 0xb8 ], %g1                        <== NOT EXECUTED
 20055c4:	82 08 64 02 	and  %g1, 0x402, %g1                           <== NOT EXECUTED
 20055c8:	80 a0 64 00 	cmp  %g1, 0x400                                <== NOT EXECUTED
            ==                (FL_MDXOF             ) ) {             
          if ((tty->flow_ctrl & FL_OSTOP) ||                          
 20055cc:	c2 07 60 b8 	ld  [ %i5 + 0xb8 ], %g1                        <== NOT EXECUTED
      if ((((newTail - tty->rawInBuf.Head + tty->rawInBuf.Size)       
            % tty->rawInBuf.Size) > tty->highwater) &&                
          !(tty->flow_ctrl & FL_IREQXOF)) {                           
        /* incoming data stream should be stopped */                  
        tty->flow_ctrl |= FL_IREQXOF;                                 
        if ((tty->flow_ctrl & (FL_MDXOF | FL_ISNTXOF))                
 20055d0:	32 80 00 12 	bne,a   2005618 <rtems_termios_enqueue_raw_characters+0x234><== NOT EXECUTED
 20055d4:	82 08 61 04 	and  %g1, 0x104, %g1                           <== NOT EXECUTED
            ==                (FL_MDXOF             ) ) {             
          if ((tty->flow_ctrl & FL_OSTOP) ||                          
 20055d8:	80 88 60 20 	btst  0x20, %g1                                <== NOT EXECUTED
 20055dc:	12 80 00 06 	bne  20055f4 <rtems_termios_enqueue_raw_characters+0x210><== NOT EXECUTED
 20055e0:	01 00 00 00 	nop                                            <== NOT EXECUTED
 20055e4:	c2 07 60 94 	ld  [ %i5 + 0x94 ], %g1                        <== NOT EXECUTED
 20055e8:	80 a0 60 00 	cmp  %g1, 0                                    <== NOT EXECUTED
 20055ec:	12 80 00 17 	bne  2005648 <rtems_termios_enqueue_raw_characters+0x264><== NOT EXECUTED
 20055f0:	01 00 00 00 	nop                                            <== NOT EXECUTED
              (tty->rawOutBufState == rob_idle)) {                    
            /* if tx is stopped due to XOFF or out of data */         
            /*    call write function here                 */         
            tty->flow_ctrl |= FL_ISNTXOF;                             
 20055f4:	c2 07 60 b8 	ld  [ %i5 + 0xb8 ], %g1                        <== NOT EXECUTED
            (*tty->device.write)(tty->minor,                          
 20055f8:	d0 07 60 10 	ld  [ %i5 + 0x10 ], %o0                        <== NOT EXECUTED
            ==                (FL_MDXOF             ) ) {             
          if ((tty->flow_ctrl & FL_OSTOP) ||                          
              (tty->rawOutBufState == rob_idle)) {                    
            /* if tx is stopped due to XOFF or out of data */         
            /*    call write function here                 */         
            tty->flow_ctrl |= FL_ISNTXOF;                             
 20055fc:	82 10 60 02 	or  %g1, 2, %g1                                <== NOT EXECUTED
 2005600:	c2 27 60 b8 	st  %g1, [ %i5 + 0xb8 ]                        <== NOT EXECUTED
            (*tty->device.write)(tty->minor,                          
 2005604:	c2 07 60 a4 	ld  [ %i5 + 0xa4 ], %g1                        <== NOT EXECUTED
 2005608:	92 10 00 12 	mov  %l2, %o1                                  <== NOT EXECUTED
 200560c:	9f c0 40 00 	call  %g1                                      <== NOT EXECUTED
 2005610:	94 10 20 01 	mov  1, %o2                                    <== NOT EXECUTED
 2005614:	30 80 00 0d 	b,a   2005648 <rtems_termios_enqueue_raw_characters+0x264><== NOT EXECUTED
                (void *)&(tty->termios.c_cc[VSTOP]), 1);              
          }                                                           
        } else if ((tty->flow_ctrl & (FL_MDRTS | FL_IRTSOFF)) == (FL_MDRTS) ) {
 2005618:	80 a0 61 00 	cmp  %g1, 0x100                                <== NOT EXECUTED
 200561c:	12 80 00 0b 	bne  2005648 <rtems_termios_enqueue_raw_characters+0x264><== NOT EXECUTED
 2005620:	01 00 00 00 	nop                                            <== NOT EXECUTED
          tty->flow_ctrl |= FL_IRTSOFF;                               
 2005624:	c2 07 60 b8 	ld  [ %i5 + 0xb8 ], %g1                        <== NOT EXECUTED
 2005628:	82 10 60 04 	or  %g1, 4, %g1                                <== NOT EXECUTED
 200562c:	c2 27 60 b8 	st  %g1, [ %i5 + 0xb8 ]                        <== NOT EXECUTED
          /* deactivate RTS line */                                   
          if (tty->device.stopRemoteTx != NULL) {                     
 2005630:	c2 07 60 ac 	ld  [ %i5 + 0xac ], %g1                        <== NOT EXECUTED
 2005634:	80 a0 60 00 	cmp  %g1, 0                                    <== NOT EXECUTED
 2005638:	02 80 00 04 	be  2005648 <rtems_termios_enqueue_raw_characters+0x264><== NOT EXECUTED
 200563c:	01 00 00 00 	nop                                            <== NOT EXECUTED
            tty->device.stopRemoteTx(tty->minor);                     
 2005640:	9f c0 40 00 	call  %g1                                      <== NOT EXECUTED
 2005644:	d0 07 60 10 	ld  [ %i5 + 0x10 ], %o0                        <== NOT EXECUTED
          }                                                           
        }                                                             
      }                                                               
                                                                      
      /* reenable interrupts */                                       
      rtems_interrupt_enable(level);                                  
 2005648:	7f ff f2 d1 	call  200218c <sparc_enable_interrupts>        
 200564c:	90 10 00 14 	mov  %l4, %o0                                  
                                                                      
      if (newTail == tty->rawInBuf.Head) {                            
 2005650:	c2 07 60 5c 	ld  [ %i5 + 0x5c ], %g1                        
 2005654:	80 a6 c0 01 	cmp  %i3, %g1                                  
 2005658:	32 80 00 04 	bne,a   2005668 <rtems_termios_enqueue_raw_characters+0x284><== ALWAYS TAKEN
 200565c:	c2 07 60 58 	ld  [ %i5 + 0x58 ], %g1                        
        dropped++;                                                    
 2005660:	10 80 00 11 	b  20056a4 <rtems_termios_enqueue_raw_characters+0x2c0><== NOT EXECUTED
 2005664:	b0 06 20 01 	inc  %i0                                       <== NOT EXECUTED
      } else {                                                        
        tty->rawInBuf.theBuf[newTail] = c;                            
 2005668:	e2 28 40 1b 	stb  %l1, [ %g1 + %i3 ]                        
        tty->rawInBuf.Tail = newTail;                                 
                                                                      
        /*                                                            
         * check to see if rcv wakeup callback was set                
         */                                                           
        if (( !tty->tty_rcvwakeup ) && ( tty->tty_rcv.sw_pfn != NULL )) {
 200566c:	c2 07 60 e4 	ld  [ %i5 + 0xe4 ], %g1                        
                                                                      
      if (newTail == tty->rawInBuf.Head) {                            
        dropped++;                                                    
      } else {                                                        
        tty->rawInBuf.theBuf[newTail] = c;                            
        tty->rawInBuf.Tail = newTail;                                 
 2005670:	f6 27 60 60 	st  %i3, [ %i5 + 0x60 ]                        
                                                                      
        /*                                                            
         * check to see if rcv wakeup callback was set                
         */                                                           
        if (( !tty->tty_rcvwakeup ) && ( tty->tty_rcv.sw_pfn != NULL )) {
 2005674:	80 a0 60 00 	cmp  %g1, 0                                    
 2005678:	32 80 00 0c 	bne,a   20056a8 <rtems_termios_enqueue_raw_characters+0x2c4><== NEVER TAKEN
 200567c:	b8 07 20 01 	inc  %i4                                       <== NOT EXECUTED
 2005680:	c2 07 60 dc 	ld  [ %i5 + 0xdc ], %g1                        
 2005684:	80 a0 60 00 	cmp  %g1, 0                                    
 2005688:	22 80 00 08 	be,a   20056a8 <rtems_termios_enqueue_raw_characters+0x2c4><== ALWAYS TAKEN
 200568c:	b8 07 20 01 	inc  %i4                                       
          (*tty->tty_rcv.sw_pfn)(&tty->termios, tty->tty_rcv.sw_arg); 
 2005690:	d2 07 60 e0 	ld  [ %i5 + 0xe0 ], %o1                        <== NOT EXECUTED
 2005694:	9f c0 40 00 	call  %g1                                      <== NOT EXECUTED
 2005698:	90 10 00 13 	mov  %l3, %o0                                  <== NOT EXECUTED
          tty->tty_rcvwakeup = 1;                                     
 200569c:	82 10 20 01 	mov  1, %g1                                    <== NOT EXECUTED
 20056a0:	c2 27 60 e4 	st  %g1, [ %i5 + 0xe4 ]                        <== NOT EXECUTED
 20056a4:	b8 07 20 01 	inc  %i4                                       <== NOT EXECUTED
      tty->tty_rcvwakeup = 1;                                         
        }                                                             
    return 0;                                                         
  }                                                                   
                                                                      
  while (len--) {                                                     
 20056a8:	80 a7 00 1a 	cmp  %i4, %i2                                  
 20056ac:	12 bf ff 77 	bne  2005488 <rtems_termios_enqueue_raw_characters+0xa4>
 20056b0:	01 00 00 00 	nop                                            
        }                                                             
      }                                                               
    }                                                                 
  }                                                                   
                                                                      
  tty->rawInBufDropped += dropped;                                    
 20056b4:	c2 07 60 78 	ld  [ %i5 + 0x78 ], %g1                        
  rtems_semaphore_release (tty->rawInBuf.Semaphore);                  
 20056b8:	d0 07 60 68 	ld  [ %i5 + 0x68 ], %o0                        
        }                                                             
      }                                                               
    }                                                                 
  }                                                                   
                                                                      
  tty->rawInBufDropped += dropped;                                    
 20056bc:	82 00 40 18 	add  %g1, %i0, %g1                             
  rtems_semaphore_release (tty->rawInBuf.Semaphore);                  
 20056c0:	40 00 03 c2 	call  20065c8 <rtems_semaphore_release>        
 20056c4:	c2 27 60 78 	st  %g1, [ %i5 + 0x78 ]                        
  return dropped;                                                     
}                                                                     
 20056c8:	81 c7 e0 08 	ret                                            
 20056cc:	81 e8 00 00 	restore                                        
                                                                      

020043f8 <rtems_termios_ioctl>: } } rtems_status_code rtems_termios_ioctl (void *arg) {
 20043f8:	9d e3 bf a0 	save  %sp, -96, %sp                            
  rtems_libio_ioctl_args_t *args = arg;                               
  struct rtems_termios_tty *tty = args->iop->data1;                   
 20043fc:	c2 06 00 00 	ld  [ %i0 ], %g1                               
  struct ttywakeup         *wakeup = (struct ttywakeup *)args->buffer;
 2004400:	f6 06 20 08 	ld  [ %i0 + 8 ], %i3                           
                                                                      
rtems_status_code                                                     
rtems_termios_ioctl (void *arg)                                       
{                                                                     
  rtems_libio_ioctl_args_t *args = arg;                               
  struct rtems_termios_tty *tty = args->iop->data1;                   
 2004404:	fa 00 60 38 	ld  [ %g1 + 0x38 ], %i5                        
  }                                                                   
}                                                                     
                                                                      
rtems_status_code                                                     
rtems_termios_ioctl (void *arg)                                       
{                                                                     
 2004408:	b8 10 00 18 	mov  %i0, %i4                                  
  struct rtems_termios_tty *tty = args->iop->data1;                   
  struct ttywakeup         *wakeup = (struct ttywakeup *)args->buffer;
  rtems_status_code sc;                                               
                                                                      
   args->ioctl_return = 0;                                            
  sc = rtems_semaphore_obtain (tty->osem, RTEMS_WAIT, RTEMS_NO_TIMEOUT);
 200440c:	d0 07 60 18 	ld  [ %i5 + 0x18 ], %o0                        
  rtems_libio_ioctl_args_t *args = arg;                               
  struct rtems_termios_tty *tty = args->iop->data1;                   
  struct ttywakeup         *wakeup = (struct ttywakeup *)args->buffer;
  rtems_status_code sc;                                               
                                                                      
   args->ioctl_return = 0;                                            
 2004410:	c0 26 20 0c 	clr  [ %i0 + 0xc ]                             
  sc = rtems_semaphore_obtain (tty->osem, RTEMS_WAIT, RTEMS_NO_TIMEOUT);
 2004414:	92 10 20 00 	clr  %o1                                       
 2004418:	40 00 08 22 	call  20064a0 <rtems_semaphore_obtain>         
 200441c:	94 10 20 00 	clr  %o2                                       
  if (sc != RTEMS_SUCCESSFUL) {                                       
 2004420:	b0 92 20 00 	orcc  %o0, 0, %i0                              
 2004424:	22 80 00 05 	be,a   2004438 <rtems_termios_ioctl+0x40>      <== ALWAYS TAKEN
 2004428:	c2 07 20 04 	ld  [ %i4 + 4 ], %g1                           
    args->ioctl_return = sc;                                          
 200442c:	f0 27 20 0c 	st  %i0, [ %i4 + 0xc ]                         <== NOT EXECUTED
    return sc;                                                        
 2004430:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2004434:	81 e8 00 00 	restore                                        <== NOT EXECUTED
  }                                                                   
  switch (args->command) {                                            
 2004438:	80 a0 60 04 	cmp  %g1, 4                                    
 200443c:	22 80 00 c1 	be,a   2004740 <rtems_termios_ioctl+0x348>     
 2004440:	c2 06 c0 00 	ld  [ %i3 ], %g1                               
 2004444:	18 80 00 0c 	bgu  2004474 <rtems_termios_ioctl+0x7c>        
 2004448:	05 10 01 19 	sethi  %hi(0x40046400), %g2                    
 200444c:	80 a0 60 02 	cmp  %g1, 2                                    
 2004450:	22 80 00 2e 	be,a   2004508 <rtems_termios_ioctl+0x110>     
 2004454:	d2 07 20 08 	ld  [ %i4 + 8 ], %o1                           
 2004458:	38 80 00 b0 	bgu,a   2004718 <rtems_termios_ioctl+0x320>    
 200445c:	c2 07 60 b4 	ld  [ %i5 + 0xb4 ], %g1                        
 2004460:	80 a0 60 01 	cmp  %g1, 1                                    
 2004464:	32 80 00 18 	bne,a   20044c4 <rtems_termios_ioctl+0xcc>     <== NEVER TAKEN
 2004468:	c4 07 60 cc 	ld  [ %i5 + 0xcc ], %g2                        <== NOT EXECUTED
      sc = RTEMS_INVALID_NUMBER;                                      
    }                                                                 
    break;                                                            
                                                                      
  case RTEMS_IO_GET_ATTRIBUTES:                                       
    *(struct termios *)args->buffer = tty->termios;                   
 200446c:	10 80 00 23 	b  20044f8 <rtems_termios_ioctl+0x100>         
 2004470:	d0 07 20 08 	ld  [ %i4 + 8 ], %o0                           
  sc = rtems_semaphore_obtain (tty->osem, RTEMS_WAIT, RTEMS_NO_TIMEOUT);
  if (sc != RTEMS_SUCCESSFUL) {                                       
    args->ioctl_return = sc;                                          
    return sc;                                                        
  }                                                                   
  switch (args->command) {                                            
 2004474:	84 10 a2 7f 	or  %g2, 0x27f, %g2                            
 2004478:	80 a0 40 02 	cmp  %g1, %g2                                  
 200447c:	02 80 00 d0 	be  20047bc <rtems_termios_ioctl+0x3c4>        <== NEVER TAKEN
 2004480:	01 00 00 00 	nop                                            
 2004484:	18 80 00 07 	bgu  20044a0 <rtems_termios_ioctl+0xa8>        
 2004488:	05 10 01 1d 	sethi  %hi(0x40047400), %g2                    
 200448c:	80 a0 60 05 	cmp  %g1, 5                                    
 2004490:	32 80 00 0d 	bne,a   20044c4 <rtems_termios_ioctl+0xcc>     
 2004494:	c4 07 60 cc 	ld  [ %i5 + 0xcc ], %g2                        
  case RTEMS_IO_TCDRAIN:                                              
    drainOutput (tty);                                                
    break;                                                            
                                                                      
  case RTEMS_IO_SNDWAKEUP:                                            
    tty->tty_snd = *wakeup;                                           
 2004498:	10 80 00 a6 	b  2004730 <rtems_termios_ioctl+0x338>         
 200449c:	c2 06 c0 00 	ld  [ %i3 ], %g1                               
  sc = rtems_semaphore_obtain (tty->osem, RTEMS_WAIT, RTEMS_NO_TIMEOUT);
  if (sc != RTEMS_SUCCESSFUL) {                                       
    args->ioctl_return = sc;                                          
    return sc;                                                        
  }                                                                   
  switch (args->command) {                                            
 20044a0:	84 10 a0 1a 	or  %g2, 0x1a, %g2                             
 20044a4:	80 a0 40 02 	cmp  %g1, %g2                                  
 20044a8:	02 80 00 c2 	be  20047b0 <rtems_termios_ioctl+0x3b8>        
 20044ac:	c4 07 60 cc 	ld  [ %i5 + 0xcc ], %g2                        
 20044b0:	07 20 01 1d 	sethi  %hi(0x80047400), %g3                    
 20044b4:	86 10 e0 1b 	or  %g3, 0x1b, %g3	! 8004741b <RAM_END+0x7dc4741b>
 20044b8:	80 a0 40 03 	cmp  %g1, %g3                                  
 20044bc:	02 80 00 a5 	be  2004750 <rtems_termios_ioctl+0x358>        <== ALWAYS TAKEN
 20044c0:	03 00 80 6c 	sethi  %hi(0x201b000), %g1                     
  default:                                                            
    if (rtems_termios_linesw[tty->t_line].l_ioctl != NULL) {          
 20044c4:	03 00 80 6c 	sethi  %hi(0x201b000), %g1                     
 20044c8:	85 28 a0 05 	sll  %g2, 5, %g2                               
 20044cc:	82 10 60 d4 	or  %g1, 0xd4, %g1                             
 20044d0:	82 00 40 02 	add  %g1, %g2, %g1                             
 20044d4:	c2 00 60 18 	ld  [ %g1 + 0x18 ], %g1                        
 20044d8:	80 a0 60 00 	cmp  %g1, 0                                    
 20044dc:	02 80 00 c5 	be  20047f0 <rtems_termios_ioctl+0x3f8>        <== NEVER TAKEN
 20044e0:	b0 10 20 0a 	mov  0xa, %i0                                  
      sc = rtems_termios_linesw[tty->t_line].l_ioctl(tty,args);       
 20044e4:	90 10 00 1d 	mov  %i5, %o0                                  
 20044e8:	9f c0 40 00 	call  %g1                                      
 20044ec:	92 10 00 1c 	mov  %i4, %o1                                  
    tty->t_sc = NULL; /* ensure that no more valid data */            
    /*                                                                
     * open new line discipline                                       
     */                                                               
    if (rtems_termios_linesw[tty->t_line].l_open != NULL) {           
      sc = rtems_termios_linesw[tty->t_line].l_open(tty);             
 20044f0:	10 80 00 c0 	b  20047f0 <rtems_termios_ioctl+0x3f8>         
 20044f4:	b0 10 00 08 	mov  %o0, %i0                                  
      sc = RTEMS_INVALID_NUMBER;                                      
    }                                                                 
    break;                                                            
                                                                      
  case RTEMS_IO_GET_ATTRIBUTES:                                       
    *(struct termios *)args->buffer = tty->termios;                   
 20044f8:	92 07 60 30 	add  %i5, 0x30, %o1                            
 20044fc:	40 00 28 5a 	call  200e664 <memcpy>                         
 2004500:	94 10 20 24 	mov  0x24, %o2                                 
    break;                                                            
 2004504:	30 80 00 bb 	b,a   20047f0 <rtems_termios_ioctl+0x3f8>      
                                                                      
  case RTEMS_IO_SET_ATTRIBUTES:                                       
    tty->termios = *(struct termios *)args->buffer;                   
 2004508:	90 07 60 30 	add  %i5, 0x30, %o0                            
 200450c:	40 00 28 56 	call  200e664 <memcpy>                         
 2004510:	94 10 20 24 	mov  0x24, %o2                                 
  /*                                                                  
   * check for flow control options to be switched off                
   */                                                                 
                                                                      
  /* check for outgoing XON/XOFF flow control switched off */         
  if (( tty->flow_ctrl & FL_MDXON) &&                                 
 2004514:	c2 07 60 b8 	ld  [ %i5 + 0xb8 ], %g1                        
 2004518:	80 88 62 00 	btst  0x200, %g1                               
 200451c:	02 80 00 20 	be  200459c <rtems_termios_ioctl+0x1a4>        
 2004520:	01 00 00 00 	nop                                            
      !(tty->termios.c_iflag & IXON)) {                               
 2004524:	c2 07 60 30 	ld  [ %i5 + 0x30 ], %g1                        
  /*                                                                  
   * check for flow control options to be switched off                
   */                                                                 
                                                                      
  /* check for outgoing XON/XOFF flow control switched off */         
  if (( tty->flow_ctrl & FL_MDXON) &&                                 
 2004528:	80 88 64 00 	btst  0x400, %g1                               
 200452c:	12 80 00 1c 	bne  200459c <rtems_termios_ioctl+0x1a4>       
 2004530:	01 00 00 00 	nop                                            
      !(tty->termios.c_iflag & IXON)) {                               
    /* clear related flags in flow_ctrl */                            
    tty->flow_ctrl &= ~(FL_MDXON | FL_ORCVXOF);                       
 2004534:	c2 07 60 b8 	ld  [ %i5 + 0xb8 ], %g1                        
 2004538:	82 08 7d ef 	and  %g1, -529, %g1                            
 200453c:	c2 27 60 b8 	st  %g1, [ %i5 + 0xb8 ]                        
                                                                      
    /* has output been stopped due to received XOFF? */               
    if (tty->flow_ctrl & FL_OSTOP) {                                  
 2004540:	c2 07 60 b8 	ld  [ %i5 + 0xb8 ], %g1                        
 2004544:	80 88 60 20 	btst  0x20, %g1                                
 2004548:	02 80 00 15 	be  200459c <rtems_termios_ioctl+0x1a4>        <== ALWAYS TAKEN
 200454c:	01 00 00 00 	nop                                            
      /* disable interrupts    */                                     
      rtems_interrupt_disable(level);                                 
 2004550:	7f ff f7 0b 	call  200217c <sparc_disable_interrupts>       <== NOT EXECUTED
 2004554:	01 00 00 00 	nop                                            <== NOT EXECUTED
 2004558:	b6 10 00 08 	mov  %o0, %i3                                  <== NOT EXECUTED
      tty->flow_ctrl &= ~FL_OSTOP;                                    
 200455c:	c2 07 60 b8 	ld  [ %i5 + 0xb8 ], %g1                        <== NOT EXECUTED
 2004560:	82 08 7f df 	and  %g1, -33, %g1                             <== NOT EXECUTED
 2004564:	c2 27 60 b8 	st  %g1, [ %i5 + 0xb8 ]                        <== NOT EXECUTED
      /* check for chars in output buffer (or rob_state?) */          
      if (tty->rawOutBufState != rob_idle) {                          
 2004568:	c2 07 60 94 	ld  [ %i5 + 0x94 ], %g1                        <== NOT EXECUTED
 200456c:	80 a0 60 00 	cmp  %g1, 0                                    <== NOT EXECUTED
 2004570:	02 80 00 09 	be  2004594 <rtems_termios_ioctl+0x19c>        <== NOT EXECUTED
 2004574:	01 00 00 00 	nop                                            <== NOT EXECUTED
        /* if chars available, call write function... */              
        (*tty->device.write)(                                         
          tty->minor, &tty->rawOutBuf.theBuf[tty->rawOutBuf.Tail],1); 
 2004578:	c4 07 60 84 	ld  [ %i5 + 0x84 ], %g2                        <== NOT EXECUTED
      rtems_interrupt_disable(level);                                 
      tty->flow_ctrl &= ~FL_OSTOP;                                    
      /* check for chars in output buffer (or rob_state?) */          
      if (tty->rawOutBufState != rob_idle) {                          
        /* if chars available, call write function... */              
        (*tty->device.write)(                                         
 200457c:	d2 07 60 7c 	ld  [ %i5 + 0x7c ], %o1                        <== NOT EXECUTED
 2004580:	c2 07 60 a4 	ld  [ %i5 + 0xa4 ], %g1                        <== NOT EXECUTED
 2004584:	d0 07 60 10 	ld  [ %i5 + 0x10 ], %o0                        <== NOT EXECUTED
 2004588:	92 02 40 02 	add  %o1, %g2, %o1                             <== NOT EXECUTED
 200458c:	9f c0 40 00 	call  %g1                                      <== NOT EXECUTED
 2004590:	94 10 20 01 	mov  1, %o2                                    <== NOT EXECUTED
          tty->minor, &tty->rawOutBuf.theBuf[tty->rawOutBuf.Tail],1); 
      }                                                               
      /* reenable interrupts */                                       
      rtems_interrupt_enable(level);                                  
 2004594:	7f ff f6 fe 	call  200218c <sparc_enable_interrupts>        <== NOT EXECUTED
 2004598:	90 10 00 1b 	mov  %i3, %o0                                  <== NOT EXECUTED
    }                                                                 
  }                                                                   
  /* check for incoming XON/XOFF flow control switched off */         
  if (( tty->flow_ctrl & FL_MDXOF) && !(tty->termios.c_iflag & IXOFF)) {
 200459c:	c2 07 60 b8 	ld  [ %i5 + 0xb8 ], %g1                        
 20045a0:	80 88 64 00 	btst  0x400, %g1                               
 20045a4:	02 80 00 0c 	be  20045d4 <rtems_termios_ioctl+0x1dc>        
 20045a8:	03 00 00 04 	sethi  %hi(0x1000), %g1                        
 20045ac:	c4 07 60 30 	ld  [ %i5 + 0x30 ], %g2                        
 20045b0:	80 88 80 01 	btst  %g2, %g1                                 
 20045b4:	12 80 00 08 	bne  20045d4 <rtems_termios_ioctl+0x1dc>       <== NEVER TAKEN
 20045b8:	01 00 00 00 	nop                                            
    /* clear related flags in flow_ctrl */                            
    tty->flow_ctrl &= ~(FL_MDXOF);                                    
 20045bc:	c2 07 60 b8 	ld  [ %i5 + 0xb8 ], %g1                        
 20045c0:	82 08 7b ff 	and  %g1, -1025, %g1                           
 20045c4:	c2 27 60 b8 	st  %g1, [ %i5 + 0xb8 ]                        
    /* FIXME: what happens, if we had sent XOFF but not yet XON? */   
    tty->flow_ctrl &= ~(FL_ISNTXOF);                                  
 20045c8:	c2 07 60 b8 	ld  [ %i5 + 0xb8 ], %g1                        
 20045cc:	82 08 7f fd 	and  %g1, -3, %g1                              
 20045d0:	c2 27 60 b8 	st  %g1, [ %i5 + 0xb8 ]                        
  }                                                                   
                                                                      
  /* check for incoming RTS/CTS flow control switched off */          
  if (( tty->flow_ctrl & FL_MDRTS) && !(tty->termios.c_cflag & CRTSCTS)) {
 20045d4:	c2 07 60 b8 	ld  [ %i5 + 0xb8 ], %g1                        
 20045d8:	80 88 61 00 	btst  0x100, %g1                               
 20045dc:	02 80 00 16 	be  2004634 <rtems_termios_ioctl+0x23c>        <== ALWAYS TAKEN
 20045e0:	c2 07 60 38 	ld  [ %i5 + 0x38 ], %g1                        
 20045e4:	80 a0 60 00 	cmp  %g1, 0                                    <== NOT EXECUTED
 20045e8:	06 80 00 14 	bl  2004638 <rtems_termios_ioctl+0x240>        <== NOT EXECUTED
 20045ec:	01 00 00 00 	nop                                            <== NOT EXECUTED
    /* clear related flags in flow_ctrl */                            
    tty->flow_ctrl &= ~(FL_MDRTS);                                    
 20045f0:	c2 07 60 b8 	ld  [ %i5 + 0xb8 ], %g1                        <== NOT EXECUTED
 20045f4:	82 08 7e ff 	and  %g1, -257, %g1                            <== NOT EXECUTED
 20045f8:	c2 27 60 b8 	st  %g1, [ %i5 + 0xb8 ]                        <== NOT EXECUTED
                                                                      
    /* restart remote Tx, if it was stopped */                        
    if ((tty->flow_ctrl & FL_IRTSOFF) && (tty->device.startRemoteTx != NULL)) {
 20045fc:	c2 07 60 b8 	ld  [ %i5 + 0xb8 ], %g1                        <== NOT EXECUTED
 2004600:	80 88 60 04 	btst  4, %g1                                   <== NOT EXECUTED
 2004604:	02 80 00 08 	be  2004624 <rtems_termios_ioctl+0x22c>        <== NOT EXECUTED
 2004608:	01 00 00 00 	nop                                            <== NOT EXECUTED
 200460c:	c2 07 60 b0 	ld  [ %i5 + 0xb0 ], %g1                        <== NOT EXECUTED
 2004610:	80 a0 60 00 	cmp  %g1, 0                                    <== NOT EXECUTED
 2004614:	02 80 00 04 	be  2004624 <rtems_termios_ioctl+0x22c>        <== NOT EXECUTED
 2004618:	01 00 00 00 	nop                                            <== NOT EXECUTED
      tty->device.startRemoteTx(tty->minor);                          
 200461c:	9f c0 40 00 	call  %g1                                      <== NOT EXECUTED
 2004620:	d0 07 60 10 	ld  [ %i5 + 0x10 ], %o0                        <== NOT EXECUTED
    }                                                                 
    tty->flow_ctrl &= ~(FL_IRTSOFF);                                  
 2004624:	c2 07 60 b8 	ld  [ %i5 + 0xb8 ], %g1                        <== NOT EXECUTED
 2004628:	82 08 7f fb 	and  %g1, -5, %g1                              <== NOT EXECUTED
 200462c:	c2 27 60 b8 	st  %g1, [ %i5 + 0xb8 ]                        <== NOT EXECUTED
                                                                      
  /*                                                                  
   * check for flow control options to be switched on                 
   */                                                                 
  /* check for incoming RTS/CTS flow control switched on */           
  if (tty->termios.c_cflag & CRTSCTS) {                               
 2004630:	c2 07 60 38 	ld  [ %i5 + 0x38 ], %g1                        <== NOT EXECUTED
 2004634:	80 a0 60 00 	cmp  %g1, 0                                    
 2004638:	36 80 00 06 	bge,a   2004650 <rtems_termios_ioctl+0x258>    <== ALWAYS TAKEN
 200463c:	c2 07 60 30 	ld  [ %i5 + 0x30 ], %g1                        
    tty->flow_ctrl |= FL_MDRTS;                                       
 2004640:	c2 07 60 b8 	ld  [ %i5 + 0xb8 ], %g1                        <== NOT EXECUTED
 2004644:	82 10 61 00 	or  %g1, 0x100, %g1                            <== NOT EXECUTED
 2004648:	c2 27 60 b8 	st  %g1, [ %i5 + 0xb8 ]                        <== NOT EXECUTED
  }                                                                   
  /* check for incoming XON/XOF flow control switched on */           
  if (tty->termios.c_iflag & IXOFF) {                                 
 200464c:	c2 07 60 30 	ld  [ %i5 + 0x30 ], %g1                        <== NOT EXECUTED
 2004650:	05 00 00 04 	sethi  %hi(0x1000), %g2                        
 2004654:	80 88 40 02 	btst  %g1, %g2                                 
 2004658:	02 80 00 06 	be  2004670 <rtems_termios_ioctl+0x278>        
 200465c:	80 88 64 00 	btst  0x400, %g1                               
    tty->flow_ctrl |= FL_MDXOF;                                       
 2004660:	c4 07 60 b8 	ld  [ %i5 + 0xb8 ], %g2                        
 2004664:	84 10 a4 00 	or  %g2, 0x400, %g2                            
 2004668:	c4 27 60 b8 	st  %g2, [ %i5 + 0xb8 ]                        
  }                                                                   
  /* check for outgoing XON/XOF flow control switched on */           
  if (tty->termios.c_iflag & IXON) {                                  
 200466c:	80 88 64 00 	btst  0x400, %g1                               
 2004670:	22 80 00 06 	be,a   2004688 <rtems_termios_ioctl+0x290>     
 2004674:	c2 07 60 3c 	ld  [ %i5 + 0x3c ], %g1                        
    tty->flow_ctrl |= FL_MDXON;                                       
 2004678:	c2 07 60 b8 	ld  [ %i5 + 0xb8 ], %g1                        
 200467c:	82 10 62 00 	or  %g1, 0x200, %g1                            
 2004680:	c2 27 60 b8 	st  %g1, [ %i5 + 0xb8 ]                        
    tty->termios = *(struct termios *)args->buffer;                   
                                                                      
    /* check for and process change in flow control options */        
    termios_set_flowctrl(tty);                                        
                                                                      
    if (tty->termios.c_lflag & ICANON) {                              
 2004684:	c2 07 60 3c 	ld  [ %i5 + 0x3c ], %g1                        
 2004688:	80 88 60 02 	btst  2, %g1                                   
 200468c:	32 80 00 17 	bne,a   20046e8 <rtems_termios_ioctl+0x2f0>    
 2004690:	c0 27 60 6c 	clr  [ %i5 + 0x6c ]                            
      tty->rawInBufSemaphoreOptions = RTEMS_WAIT;                     
      tty->rawInBufSemaphoreTimeout = RTEMS_NO_TIMEOUT;               
      tty->rawInBufSemaphoreFirstTimeout = RTEMS_NO_TIMEOUT;          
    } else {                                                          
      tty->vtimeTicks = tty->termios.c_cc[VTIME] *                    
                    rtems_clock_get_ticks_per_second() / 10;          
 2004694:	40 00 05 be 	call  2005d8c <rtems_clock_get_ticks_per_second>
 2004698:	f6 0f 60 46 	ldub  [ %i5 + 0x46 ], %i3                      
    if (tty->termios.c_lflag & ICANON) {                              
      tty->rawInBufSemaphoreOptions = RTEMS_WAIT;                     
      tty->rawInBufSemaphoreTimeout = RTEMS_NO_TIMEOUT;               
      tty->rawInBufSemaphoreFirstTimeout = RTEMS_NO_TIMEOUT;          
    } else {                                                          
      tty->vtimeTicks = tty->termios.c_cc[VTIME] *                    
 200469c:	40 00 48 d6 	call  20169f4 <.umul>                          
 20046a0:	92 10 00 1b 	mov  %i3, %o1                                  
                    rtems_clock_get_ticks_per_second() / 10;          
 20046a4:	40 00 49 0e 	call  2016adc <.udiv>                          
 20046a8:	92 10 20 0a 	mov  0xa, %o1                                  
      if (tty->termios.c_cc[VTIME]) {                                 
 20046ac:	c2 0f 60 46 	ldub  [ %i5 + 0x46 ], %g1                      
    if (tty->termios.c_lflag & ICANON) {                              
      tty->rawInBufSemaphoreOptions = RTEMS_WAIT;                     
      tty->rawInBufSemaphoreTimeout = RTEMS_NO_TIMEOUT;               
      tty->rawInBufSemaphoreFirstTimeout = RTEMS_NO_TIMEOUT;          
    } else {                                                          
      tty->vtimeTicks = tty->termios.c_cc[VTIME] *                    
 20046b0:	d0 27 60 54 	st  %o0, [ %i5 + 0x54 ]                        
                    rtems_clock_get_ticks_per_second() / 10;          
      if (tty->termios.c_cc[VTIME]) {                                 
 20046b4:	80 a0 60 00 	cmp  %g1, 0                                    
 20046b8:	02 80 00 08 	be  20046d8 <rtems_termios_ioctl+0x2e0>        
 20046bc:	c2 0f 60 47 	ldub  [ %i5 + 0x47 ], %g1                      
        tty->rawInBufSemaphoreOptions = RTEMS_WAIT;                   
 20046c0:	c0 27 60 6c 	clr  [ %i5 + 0x6c ]                            
        tty->rawInBufSemaphoreTimeout = tty->vtimeTicks;              
        if (tty->termios.c_cc[VMIN])                                  
 20046c4:	80 88 60 ff 	btst  0xff, %g1                                
 20046c8:	12 80 00 09 	bne  20046ec <rtems_termios_ioctl+0x2f4>       
 20046cc:	d0 27 60 70 	st  %o0, [ %i5 + 0x70 ]                        
          tty->rawInBufSemaphoreFirstTimeout = RTEMS_NO_TIMEOUT;      
        else                                                          
          tty->rawInBufSemaphoreFirstTimeout = tty->vtimeTicks;       
 20046d0:	10 80 00 0a 	b  20046f8 <rtems_termios_ioctl+0x300>         
 20046d4:	d0 27 60 74 	st  %o0, [ %i5 + 0x74 ]                        
      } else {                                                        
        if (tty->termios.c_cc[VMIN]) {                                
 20046d8:	80 88 60 ff 	btst  0xff, %g1                                
 20046dc:	02 80 00 06 	be  20046f4 <rtems_termios_ioctl+0x2fc>        <== ALWAYS TAKEN
 20046e0:	82 10 20 01 	mov  1, %g1                                    
          tty->rawInBufSemaphoreOptions = RTEMS_WAIT;                 
 20046e4:	c0 27 60 6c 	clr  [ %i5 + 0x6c ]                            <== NOT EXECUTED
          tty->rawInBufSemaphoreTimeout = RTEMS_NO_TIMEOUT;           
 20046e8:	c0 27 60 70 	clr  [ %i5 + 0x70 ]                            
          tty->rawInBufSemaphoreFirstTimeout = RTEMS_NO_TIMEOUT;      
 20046ec:	10 80 00 03 	b  20046f8 <rtems_termios_ioctl+0x300>         
 20046f0:	c0 27 60 74 	clr  [ %i5 + 0x74 ]                            
        } else {                                                      
          tty->rawInBufSemaphoreOptions = RTEMS_NO_WAIT;              
 20046f4:	c2 27 60 6c 	st  %g1, [ %i5 + 0x6c ]                        
        }                                                             
      }                                                               
    }                                                                 
    if (tty->device.setAttributes)                                    
 20046f8:	c2 07 60 a8 	ld  [ %i5 + 0xa8 ], %g1                        
 20046fc:	80 a0 60 00 	cmp  %g1, 0                                    
 2004700:	02 80 00 3c 	be  20047f0 <rtems_termios_ioctl+0x3f8>        <== NEVER TAKEN
 2004704:	01 00 00 00 	nop                                            
      (*tty->device.setAttributes)(tty->minor, &tty->termios);        
 2004708:	d0 07 60 10 	ld  [ %i5 + 0x10 ], %o0                        
 200470c:	9f c0 40 00 	call  %g1                                      
 2004710:	92 07 60 30 	add  %i5, 0x30, %o1                            
 2004714:	30 80 00 37 	b,a   20047f0 <rtems_termios_ioctl+0x3f8>      
drainOutput (struct rtems_termios_tty *tty)                           
{                                                                     
  rtems_interrupt_level level;                                        
  rtems_status_code sc;                                               
                                                                      
  if (tty->device.outputUsesInterrupts != TERMIOS_POLLED) {           
 2004718:	80 a0 60 00 	cmp  %g1, 0                                    
 200471c:	02 80 00 35 	be  20047f0 <rtems_termios_ioctl+0x3f8>        <== ALWAYS TAKEN
 2004720:	01 00 00 00 	nop                                            
 2004724:	7f ff fd 89 	call  2003d48 <drainOutput.part.0>             <== NOT EXECUTED
 2004728:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
 200472c:	30 80 00 31 	b,a   20047f0 <rtems_termios_ioctl+0x3f8>      <== NOT EXECUTED
  case RTEMS_IO_TCDRAIN:                                              
    drainOutput (tty);                                                
    break;                                                            
                                                                      
  case RTEMS_IO_SNDWAKEUP:                                            
    tty->tty_snd = *wakeup;                                           
 2004730:	c2 27 60 d4 	st  %g1, [ %i5 + 0xd4 ]                        
 2004734:	c2 06 e0 04 	ld  [ %i3 + 4 ], %g1                           
    break;                                                            
 2004738:	10 80 00 2e 	b  20047f0 <rtems_termios_ioctl+0x3f8>         
 200473c:	c2 27 60 d8 	st  %g1, [ %i5 + 0xd8 ]                        
                                                                      
  case RTEMS_IO_RCVWAKEUP:                                            
    tty->tty_rcv = *wakeup;                                           
 2004740:	c2 27 60 dc 	st  %g1, [ %i5 + 0xdc ]                        
 2004744:	c2 06 e0 04 	ld  [ %i3 + 4 ], %g1                           
    break;                                                            
 2004748:	10 80 00 2a 	b  20047f0 <rtems_termios_ioctl+0x3f8>         
 200474c:	c2 27 60 e0 	st  %g1, [ %i5 + 0xe0 ]                        
#if 1 /* FIXME */                                                     
  case TIOCSETD:                                                      
    /*                                                                
     * close old line discipline                                      
     */                                                               
    if (rtems_termios_linesw[tty->t_line].l_close != NULL) {          
 2004750:	82 10 60 d4 	or  %g1, 0xd4, %g1                             
 2004754:	85 28 a0 05 	sll  %g2, 5, %g2                               
 2004758:	84 00 40 02 	add  %g1, %g2, %g2                             
 200475c:	c2 00 a0 04 	ld  [ %g2 + 4 ], %g1                           
 2004760:	80 a0 60 00 	cmp  %g1, 0                                    
 2004764:	22 80 00 06 	be,a   200477c <rtems_termios_ioctl+0x384>     
 2004768:	c2 07 20 08 	ld  [ %i4 + 8 ], %g1                           
      sc = rtems_termios_linesw[tty->t_line].l_close(tty);            
 200476c:	9f c0 40 00 	call  %g1                                      
 2004770:	90 10 00 1d 	mov  %i5, %o0                                  
 2004774:	b0 10 00 08 	mov  %o0, %i0                                  
    }                                                                 
    tty->t_line=*(int*)(args->buffer);                                
 2004778:	c2 07 20 08 	ld  [ %i4 + 8 ], %g1                           
    tty->t_sc = NULL; /* ensure that no more valid data */            
    /*                                                                
     * open new line discipline                                       
     */                                                               
    if (rtems_termios_linesw[tty->t_line].l_open != NULL) {           
 200477c:	05 00 80 6c 	sethi  %hi(0x201b000), %g2                     
     * close old line discipline                                      
     */                                                               
    if (rtems_termios_linesw[tty->t_line].l_close != NULL) {          
      sc = rtems_termios_linesw[tty->t_line].l_close(tty);            
    }                                                                 
    tty->t_line=*(int*)(args->buffer);                                
 2004780:	c2 00 40 00 	ld  [ %g1 ], %g1                               
    tty->t_sc = NULL; /* ensure that no more valid data */            
    /*                                                                
     * open new line discipline                                       
     */                                                               
    if (rtems_termios_linesw[tty->t_line].l_open != NULL) {           
 2004784:	84 10 a0 d4 	or  %g2, 0xd4, %g2                             
     * close old line discipline                                      
     */                                                               
    if (rtems_termios_linesw[tty->t_line].l_close != NULL) {          
      sc = rtems_termios_linesw[tty->t_line].l_close(tty);            
    }                                                                 
    tty->t_line=*(int*)(args->buffer);                                
 2004788:	c2 27 60 cc 	st  %g1, [ %i5 + 0xcc ]                        
    tty->t_sc = NULL; /* ensure that no more valid data */            
    /*                                                                
     * open new line discipline                                       
     */                                                               
    if (rtems_termios_linesw[tty->t_line].l_open != NULL) {           
 200478c:	83 28 60 05 	sll  %g1, 5, %g1                               
 2004790:	c2 00 80 01 	ld  [ %g2 + %g1 ], %g1                         
 2004794:	80 a0 60 00 	cmp  %g1, 0                                    
 2004798:	02 80 00 16 	be  20047f0 <rtems_termios_ioctl+0x3f8>        
 200479c:	c0 27 60 d0 	clr  [ %i5 + 0xd0 ]                            
      sc = rtems_termios_linesw[tty->t_line].l_open(tty);             
 20047a0:	9f c0 40 00 	call  %g1                                      
 20047a4:	90 10 00 1d 	mov  %i5, %o0                                  
 20047a8:	10 80 00 12 	b  20047f0 <rtems_termios_ioctl+0x3f8>         
 20047ac:	b0 10 00 08 	mov  %o0, %i0                                  
    }                                                                 
    break;                                                            
  case TIOCGETD:                                                      
    *(int*)(args->buffer)=tty->t_line;                                
 20047b0:	c2 07 20 08 	ld  [ %i4 + 8 ], %g1                           
    break;                                                            
 20047b4:	10 80 00 0f 	b  20047f0 <rtems_termios_ioctl+0x3f8>         
 20047b8:	c4 20 40 00 	st  %g2, [ %g1 ]                               
#endif                                                                
   case FIONREAD: {                                                   
      int rawnc = tty->rawInBuf.Tail - tty->rawInBuf.Head;            
 20047bc:	c4 07 60 60 	ld  [ %i5 + 0x60 ], %g2                        <== NOT EXECUTED
 20047c0:	c2 07 60 5c 	ld  [ %i5 + 0x5c ], %g1                        <== NOT EXECUTED
      if ( rawnc < 0 )                                                
 20047c4:	82 a0 80 01 	subcc  %g2, %g1, %g1                           <== NOT EXECUTED
 20047c8:	3c 80 00 05 	bpos,a   20047dc <rtems_termios_ioctl+0x3e4>   <== NOT EXECUTED
 20047cc:	c8 07 60 20 	ld  [ %i5 + 0x20 ], %g4                        <== NOT EXECUTED
        rawnc += tty->rawInBuf.Size;                                  
 20047d0:	c4 07 60 64 	ld  [ %i5 + 0x64 ], %g2                        <== NOT EXECUTED
 20047d4:	82 00 40 02 	add  %g1, %g2, %g1                             <== NOT EXECUTED
      /* Half guess that this is the right operation */               
      *(int *)args->buffer = tty->ccount - tty->cindex + rawnc;       
 20047d8:	c8 07 60 20 	ld  [ %i5 + 0x20 ], %g4                        <== NOT EXECUTED
 20047dc:	c6 07 60 24 	ld  [ %i5 + 0x24 ], %g3                        <== NOT EXECUTED
 20047e0:	c4 07 20 08 	ld  [ %i4 + 8 ], %g2                           <== NOT EXECUTED
 20047e4:	86 21 00 03 	sub  %g4, %g3, %g3                             <== NOT EXECUTED
 20047e8:	82 00 c0 01 	add  %g3, %g1, %g1                             <== NOT EXECUTED
 20047ec:	c2 20 80 00 	st  %g1, [ %g2 ]                               <== NOT EXECUTED
    }                                                                 
    break;                                                            
  }                                                                   
                                                                      
  rtems_semaphore_release (tty->osem);                                
 20047f0:	40 00 07 76 	call  20065c8 <rtems_semaphore_release>        
 20047f4:	d0 07 60 18 	ld  [ %i5 + 0x18 ], %o0                        
  args->ioctl_return = sc;                                            
 20047f8:	f0 27 20 0c 	st  %i0, [ %i4 + 0xc ]                         
  return sc;                                                          
}                                                                     
 20047fc:	81 c7 e0 08 	ret                                            
 2004800:	81 e8 00 00 	restore                                        
                                                                      

02003dac <rtems_termios_open>: rtems_device_major_number major, rtems_device_minor_number minor, void *arg, const rtems_termios_callbacks *callbacks ) {
 2003dac:	9d e3 bf a0 	save  %sp, -96, %sp                            
  struct rtems_termios_tty *tty;                                      
                                                                      
  /*                                                                  
   * See if the device has already been opened                        
   */                                                                 
  sc = rtems_semaphore_obtain(                                        
 2003db0:	03 00 80 6c 	sethi  %hi(0x201b000), %g1                     
 2003db4:	d0 00 63 a0 	ld  [ %g1 + 0x3a0 ], %o0	! 201b3a0 <rtems_termios_ttyMutex>
  rtems_device_major_number      major,                               
  rtems_device_minor_number      minor,                               
  void                          *arg,                                 
  const rtems_termios_callbacks *callbacks                            
)                                                                     
{                                                                     
 2003db8:	ba 10 00 18 	mov  %i0, %i5                                  
  struct rtems_termios_tty *tty;                                      
                                                                      
  /*                                                                  
   * See if the device has already been opened                        
   */                                                                 
  sc = rtems_semaphore_obtain(                                        
 2003dbc:	92 10 20 00 	clr  %o1                                       
 2003dc0:	40 00 09 b8 	call  20064a0 <rtems_semaphore_obtain>         
 2003dc4:	94 10 20 00 	clr  %o2                                       
    rtems_termios_ttyMutex, RTEMS_WAIT, RTEMS_NO_TIMEOUT);            
  if (sc != RTEMS_SUCCESSFUL)                                         
 2003dc8:	b0 92 20 00 	orcc  %o0, 0, %i0                              
 2003dcc:	12 80 00 35 	bne  2003ea0 <rtems_termios_open+0xf4>         <== NEVER TAKEN
 2003dd0:	03 00 80 6c 	sethi  %hi(0x201b000), %g1                     
    return sc;                                                        
                                                                      
  for (tty = rtems_termios_ttyHead ; tty != NULL ; tty = tty->forw) { 
 2003dd4:	e0 00 63 a8 	ld  [ %g1 + 0x3a8 ], %l0	! 201b3a8 <rtems_termios_ttyHead>
 2003dd8:	10 80 00 0a 	b  2003e00 <rtems_termios_open+0x54>           
 2003ddc:	b8 10 00 10 	mov  %l0, %i4                                  
    if ((tty->major == major) && (tty->minor == minor))               
 2003de0:	80 a0 40 1d 	cmp  %g1, %i5                                  
 2003de4:	32 80 00 07 	bne,a   2003e00 <rtems_termios_open+0x54>      
 2003de8:	f8 07 00 00 	ld  [ %i4 ], %i4                               
 2003dec:	c2 07 20 10 	ld  [ %i4 + 0x10 ], %g1                        
 2003df0:	80 a0 40 19 	cmp  %g1, %i1                                  
 2003df4:	22 80 00 d2 	be,a   200413c <rtems_termios_open+0x390>      <== ALWAYS TAKEN
 2003df8:	c2 06 80 00 	ld  [ %i2 ], %g1                               
  sc = rtems_semaphore_obtain(                                        
    rtems_termios_ttyMutex, RTEMS_WAIT, RTEMS_NO_TIMEOUT);            
  if (sc != RTEMS_SUCCESSFUL)                                         
    return sc;                                                        
                                                                      
  for (tty = rtems_termios_ttyHead ; tty != NULL ; tty = tty->forw) { 
 2003dfc:	f8 07 00 00 	ld  [ %i4 ], %i4                               <== NOT EXECUTED
 2003e00:	80 a7 20 00 	cmp  %i4, 0                                    
 2003e04:	32 bf ff f7 	bne,a   2003de0 <rtems_termios_open+0x34>      
 2003e08:	c2 07 20 0c 	ld  [ %i4 + 0xc ], %g1                         
    static char c = 'a';                                              
                                                                      
    /*                                                                
     * Create a new device                                            
     */                                                               
    tty = calloc (1, sizeof (struct rtems_termios_tty));              
 2003e0c:	10 80 00 f4 	b  20041dc <rtems_termios_open+0x430>          
 2003e10:	90 10 20 01 	mov  1, %o0                                    
      return RTEMS_NO_MEMORY;                                         
    }                                                                 
    /*                                                                
     * allocate raw input buffer                                      
     */                                                               
    tty->rawInBuf.Size = RAW_INPUT_BUFFER_SIZE;                       
 2003e14:	c2 00 62 2c 	ld  [ %g1 + 0x22c ], %g1                       
 2003e18:	c2 27 20 64 	st  %g1, [ %i4 + 0x64 ]                        
    tty->rawInBuf.theBuf = malloc (tty->rawInBuf.Size);               
 2003e1c:	d0 07 20 64 	ld  [ %i4 + 0x64 ], %o0                        
 2003e20:	7f ff fc ca 	call  2003148 <malloc>                         
 2003e24:	01 00 00 00 	nop                                            
 2003e28:	d0 27 20 58 	st  %o0, [ %i4 + 0x58 ]                        
    if (tty->rawInBuf.theBuf == NULL) {                               
 2003e2c:	80 a2 20 00 	cmp  %o0, 0                                    
 2003e30:	02 80 00 16 	be  2003e88 <rtems_termios_open+0xdc>          
 2003e34:	a2 10 00 08 	mov  %o0, %l1                                  
      return RTEMS_NO_MEMORY;                                         
    }                                                                 
    /*                                                                
     * allocate raw output buffer                                     
     */                                                               
    tty->rawOutBuf.Size = RAW_OUTPUT_BUFFER_SIZE;                     
 2003e38:	03 00 80 6a 	sethi  %hi(0x201a800), %g1                     
 2003e3c:	c2 00 62 30 	ld  [ %g1 + 0x230 ], %g1	! 201aa30 <rtems_termios_raw_output_size>
 2003e40:	c2 27 20 88 	st  %g1, [ %i4 + 0x88 ]                        
    tty->rawOutBuf.theBuf = malloc (tty->rawOutBuf.Size);             
 2003e44:	d0 07 20 88 	ld  [ %i4 + 0x88 ], %o0                        
 2003e48:	7f ff fc c0 	call  2003148 <malloc>                         
 2003e4c:	01 00 00 00 	nop                                            
 2003e50:	d0 27 20 7c 	st  %o0, [ %i4 + 0x7c ]                        
    if (tty->rawOutBuf.theBuf == NULL) {                              
 2003e54:	80 a2 20 00 	cmp  %o0, 0                                    
 2003e58:	02 80 00 0a 	be  2003e80 <rtems_termios_open+0xd4>          
 2003e5c:	a4 10 00 08 	mov  %o0, %l2                                  
      return RTEMS_NO_MEMORY;                                         
    }                                                                 
    /*                                                                
     * allocate cooked buffer                                         
     */                                                               
    tty->cbuf  = malloc (CBUFSIZE);                                   
 2003e60:	03 00 80 6a 	sethi  %hi(0x201a800), %g1                     
 2003e64:	7f ff fc b9 	call  2003148 <malloc>                         
 2003e68:	d0 00 62 34 	ld  [ %g1 + 0x234 ], %o0	! 201aa34 <rtems_termios_cbufsize>
    if (tty->cbuf == NULL) {                                          
 2003e6c:	80 a2 20 00 	cmp  %o0, 0                                    
 2003e70:	12 80 00 0e 	bne  2003ea8 <rtems_termios_open+0xfc>         <== ALWAYS TAKEN
 2003e74:	d0 27 20 1c 	st  %o0, [ %i4 + 0x1c ]                        
            free((void *)(tty->rawOutBuf.theBuf));                    
 2003e78:	7f ff fb d7 	call  2002dd4 <free>                           <== NOT EXECUTED
 2003e7c:	90 10 00 12 	mov  %l2, %o0                                  <== NOT EXECUTED
            free((void *)(tty->rawInBuf.theBuf));                     
 2003e80:	7f ff fb d5 	call  2002dd4 <free>                           
 2003e84:	90 10 00 11 	mov  %l1, %o0                                  
            free(tty);                                                
 2003e88:	7f ff fb d3 	call  2002dd4 <free>                           
 2003e8c:	90 10 00 1c 	mov  %i4, %o0                                  
      rtems_semaphore_release (rtems_termios_ttyMutex);               
 2003e90:	03 00 80 6c 	sethi  %hi(0x201b000), %g1                     
 2003e94:	d0 00 63 a0 	ld  [ %g1 + 0x3a0 ], %o0	! 201b3a0 <rtems_termios_ttyMutex>
 2003e98:	40 00 09 cc 	call  20065c8 <rtems_semaphore_release>        
 2003e9c:	b0 10 20 1a 	mov  0x1a, %i0                                 
      return RTEMS_NO_MEMORY;                                         
 2003ea0:	81 c7 e0 08 	ret                                            
 2003ea4:	81 e8 00 00 	restore                                        
    }                                                                 
    /*                                                                
     * Initialize wakeup callbacks                                    
     */                                                               
    tty->tty_snd.sw_pfn = NULL;                                       
 2003ea8:	c0 27 20 d4 	clr  [ %i4 + 0xd4 ]                            
    tty->tty_snd.sw_arg = NULL;                                       
 2003eac:	c0 27 20 d8 	clr  [ %i4 + 0xd8 ]                            
    tty->tty_rcv.sw_pfn = NULL;                                       
 2003eb0:	c0 27 20 dc 	clr  [ %i4 + 0xdc ]                            
    tty->tty_rcv.sw_arg = NULL;                                       
 2003eb4:	c0 27 20 e0 	clr  [ %i4 + 0xe0 ]                            
    tty->tty_rcvwakeup  = 0;                                          
 2003eb8:	c0 27 20 e4 	clr  [ %i4 + 0xe4 ]                            
                                                                      
    /*                                                                
     * link tty                                                       
     */                                                               
    tty->forw = rtems_termios_ttyHead;                                
 2003ebc:	e0 27 00 00 	st  %l0, [ %i4 ]                               
    tty->back = NULL;                                                 
    if (rtems_termios_ttyHead != NULL)                                
 2003ec0:	80 a4 20 00 	cmp  %l0, 0                                    
 2003ec4:	02 80 00 03 	be  2003ed0 <rtems_termios_open+0x124>         
 2003ec8:	c0 27 20 04 	clr  [ %i4 + 4 ]                               
      rtems_termios_ttyHead->back = tty;                              
 2003ecc:	f8 24 20 04 	st  %i4, [ %l0 + 4 ]                           
    rtems_termios_ttyHead = tty;                                      
 2003ed0:	03 00 80 6c 	sethi  %hi(0x201b000), %g1                     
 2003ed4:	f8 20 63 a8 	st  %i4, [ %g1 + 0x3a8 ]	! 201b3a8 <rtems_termios_ttyHead>
    if (rtems_termios_ttyTail == NULL)                                
 2003ed8:	03 00 80 6c 	sethi  %hi(0x201b000), %g1                     
 2003edc:	c4 00 63 a4 	ld  [ %g1 + 0x3a4 ], %g2	! 201b3a4 <rtems_termios_ttyTail>
 2003ee0:	80 a0 a0 00 	cmp  %g2, 0                                    
 2003ee4:	22 80 00 02 	be,a   2003eec <rtems_termios_open+0x140>      
 2003ee8:	f8 20 63 a4 	st  %i4, [ %g1 + 0x3a4 ]                       
                                                                      
    /*                                                                
     * Set up mutex semaphores                                        
     */                                                               
    sc = rtems_semaphore_create (                                     
      rtems_build_name ('T', 'R', 'i', c),                            
 2003eec:	21 00 80 6a 	sethi  %hi(0x201a800), %l0                     
 2003ef0:	d0 4c 22 38 	ldsb  [ %l0 + 0x238 ], %o0	! 201aa38 <c.6441>  
    tty->major = major;                                               
                                                                      
    /*                                                                
     * Set up mutex semaphores                                        
     */                                                               
    sc = rtems_semaphore_create (                                     
 2003ef4:	03 15 14 9a 	sethi  %hi(0x54526800), %g1                    
 2003ef8:	82 10 61 00 	or  %g1, 0x100, %g1	! 54526900 <RAM_END+0x52126900>
      rtems_termios_ttyHead->back = tty;                              
    rtems_termios_ttyHead = tty;                                      
    if (rtems_termios_ttyTail == NULL)                                
      rtems_termios_ttyTail = tty;                                    
                                                                      
    tty->minor = minor;                                               
 2003efc:	f2 27 20 10 	st  %i1, [ %i4 + 0x10 ]                        
    tty->major = major;                                               
 2003f00:	fa 27 20 0c 	st  %i5, [ %i4 + 0xc ]                         
                                                                      
    /*                                                                
     * Set up mutex semaphores                                        
     */                                                               
    sc = rtems_semaphore_create (                                     
 2003f04:	90 12 00 01 	or  %o0, %g1, %o0                              
 2003f08:	92 10 20 01 	mov  1, %o1                                    
 2003f0c:	94 10 20 54 	mov  0x54, %o2                                 
 2003f10:	96 10 20 00 	clr  %o3                                       
 2003f14:	40 00 08 c9 	call  2006238 <rtems_semaphore_create>         
 2003f18:	98 07 20 14 	add  %i4, 0x14, %o4                            
      rtems_build_name ('T', 'R', 'i', c),                            
      1,                                                              
      RTEMS_BINARY_SEMAPHORE | RTEMS_INHERIT_PRIORITY | RTEMS_PRIORITY,
      RTEMS_NO_PRIORITY,                                              
      &tty->isem);                                                    
    if (sc != RTEMS_SUCCESSFUL)                                       
 2003f1c:	80 a2 20 00 	cmp  %o0, 0                                    
 2003f20:	12 80 00 a8 	bne  20041c0 <rtems_termios_open+0x414>        
 2003f24:	01 00 00 00 	nop                                            
      rtems_fatal_error_occurred (sc);                                
    sc = rtems_semaphore_create (                                     
      rtems_build_name ('T', 'R', 'o', c),                            
 2003f28:	d0 4c 22 38 	ldsb  [ %l0 + 0x238 ], %o0                     
      RTEMS_BINARY_SEMAPHORE | RTEMS_INHERIT_PRIORITY | RTEMS_PRIORITY,
      RTEMS_NO_PRIORITY,                                              
      &tty->isem);                                                    
    if (sc != RTEMS_SUCCESSFUL)                                       
      rtems_fatal_error_occurred (sc);                                
    sc = rtems_semaphore_create (                                     
 2003f2c:	03 15 14 9b 	sethi  %hi(0x54526c00), %g1                    
 2003f30:	82 10 63 00 	or  %g1, 0x300, %g1	! 54526f00 <RAM_END+0x52126f00>
 2003f34:	92 10 20 01 	mov  1, %o1                                    
 2003f38:	90 12 00 01 	or  %o0, %g1, %o0                              
 2003f3c:	94 10 20 54 	mov  0x54, %o2                                 
 2003f40:	96 10 20 00 	clr  %o3                                       
 2003f44:	40 00 08 bd 	call  2006238 <rtems_semaphore_create>         
 2003f48:	98 07 20 18 	add  %i4, 0x18, %o4                            
      rtems_build_name ('T', 'R', 'o', c),                            
      1,                                                              
      RTEMS_BINARY_SEMAPHORE | RTEMS_INHERIT_PRIORITY | RTEMS_PRIORITY,
      RTEMS_NO_PRIORITY,                                              
      &tty->osem);                                                    
    if (sc != RTEMS_SUCCESSFUL)                                       
 2003f4c:	80 a2 20 00 	cmp  %o0, 0                                    
 2003f50:	12 80 00 9c 	bne  20041c0 <rtems_termios_open+0x414>        
 2003f54:	01 00 00 00 	nop                                            
      rtems_fatal_error_occurred (sc);                                
    sc = rtems_semaphore_create (                                     
      rtems_build_name ('T', 'R', 'x', c),                            
 2003f58:	d0 4c 22 38 	ldsb  [ %l0 + 0x238 ], %o0                     
      RTEMS_BINARY_SEMAPHORE | RTEMS_INHERIT_PRIORITY | RTEMS_PRIORITY,
      RTEMS_NO_PRIORITY,                                              
      &tty->osem);                                                    
    if (sc != RTEMS_SUCCESSFUL)                                       
      rtems_fatal_error_occurred (sc);                                
    sc = rtems_semaphore_create (                                     
 2003f5c:	03 15 14 9e 	sethi  %hi(0x54527800), %g1                    
 2003f60:	92 10 20 00 	clr  %o1                                       
 2003f64:	90 12 00 01 	or  %o0, %g1, %o0                              
 2003f68:	94 10 20 20 	mov  0x20, %o2                                 
 2003f6c:	96 10 20 00 	clr  %o3                                       
 2003f70:	40 00 08 b2 	call  2006238 <rtems_semaphore_create>         
 2003f74:	98 07 20 8c 	add  %i4, 0x8c, %o4                            
      rtems_build_name ('T', 'R', 'x', c),                            
      0,                                                              
      RTEMS_SIMPLE_BINARY_SEMAPHORE | RTEMS_FIFO,                     
      RTEMS_NO_PRIORITY,                                              
      &tty->rawOutBuf.Semaphore);                                     
    if (sc != RTEMS_SUCCESSFUL)                                       
 2003f78:	80 a2 20 00 	cmp  %o0, 0                                    
 2003f7c:	12 80 00 91 	bne  20041c0 <rtems_termios_open+0x414>        
 2003f80:	01 00 00 00 	nop                                            
      rtems_fatal_error_occurred (sc);                                
    tty->rawOutBufState = rob_idle;                                   
 2003f84:	c0 27 20 94 	clr  [ %i4 + 0x94 ]                            
                                                                      
    /*                                                                
     * Set callbacks                                                  
     */                                                               
    tty->device = *callbacks;                                         
 2003f88:	90 07 20 98 	add  %i4, 0x98, %o0                            
 2003f8c:	92 10 00 1b 	mov  %i3, %o1                                  
 2003f90:	40 00 29 b5 	call  200e664 <memcpy>                         
 2003f94:	94 10 20 20 	mov  0x20, %o2                                 
                                                                      
    /*                                                                
     * Create I/O tasks                                               
     */                                                               
    if (tty->device.outputUsesInterrupts == TERMIOS_TASK_DRIVEN) {    
 2003f98:	c2 07 20 b4 	ld  [ %i4 + 0xb4 ], %g1                        
 2003f9c:	80 a0 60 02 	cmp  %g1, 2                                    
 2003fa0:	32 80 00 1b 	bne,a   200400c <rtems_termios_open+0x260>     
 2003fa4:	c2 07 20 a0 	ld  [ %i4 + 0xa0 ], %g1                        
      sc = rtems_task_create (                                        
                                   rtems_build_name ('T', 'x', 'T', c),
 2003fa8:	d0 4c 22 38 	ldsb  [ %l0 + 0x238 ], %o0                     
                                                                      
    /*                                                                
     * Create I/O tasks                                               
     */                                                               
    if (tty->device.outputUsesInterrupts == TERMIOS_TASK_DRIVEN) {    
      sc = rtems_task_create (                                        
 2003fac:	03 15 1e 15 	sethi  %hi(0x54785400), %g1                    
 2003fb0:	92 10 20 0a 	mov  0xa, %o1                                  
 2003fb4:	90 12 00 01 	or  %o0, %g1, %o0                              
 2003fb8:	94 10 24 00 	mov  0x400, %o2                                
 2003fbc:	96 10 25 00 	mov  0x500, %o3                                
 2003fc0:	98 10 20 00 	clr  %o4                                       
 2003fc4:	40 00 09 ae 	call  200667c <rtems_task_create>              
 2003fc8:	9a 07 20 c8 	add  %i4, 0xc8, %o5                            
           TERMIOS_TXTASK_STACKSIZE,                                  
           RTEMS_NO_PREEMPT | RTEMS_NO_TIMESLICE |                    
           RTEMS_NO_ASR,                                              
           RTEMS_NO_FLOATING_POINT | RTEMS_LOCAL,                     
           &tty->txTaskId);                                           
      if (sc != RTEMS_SUCCESSFUL)                                     
 2003fcc:	80 a2 20 00 	cmp  %o0, 0                                    
 2003fd0:	12 80 00 7c 	bne  20041c0 <rtems_termios_open+0x414>        <== NEVER TAKEN
 2003fd4:	01 00 00 00 	nop                                            
        rtems_fatal_error_occurred (sc);                              
      sc = rtems_task_create (                                        
                                   rtems_build_name ('R', 'x', 'T', c),
 2003fd8:	d0 4c 22 38 	ldsb  [ %l0 + 0x238 ], %o0                     
           RTEMS_NO_ASR,                                              
           RTEMS_NO_FLOATING_POINT | RTEMS_LOCAL,                     
           &tty->txTaskId);                                           
      if (sc != RTEMS_SUCCESSFUL)                                     
        rtems_fatal_error_occurred (sc);                              
      sc = rtems_task_create (                                        
 2003fdc:	03 14 9e 15 	sethi  %hi(0x52785400), %g1                    
 2003fe0:	92 10 20 09 	mov  9, %o1                                    
 2003fe4:	90 12 00 01 	or  %o0, %g1, %o0                              
 2003fe8:	94 10 24 00 	mov  0x400, %o2                                
 2003fec:	96 10 25 00 	mov  0x500, %o3                                
 2003ff0:	98 10 20 00 	clr  %o4                                       
 2003ff4:	40 00 09 a2 	call  200667c <rtems_task_create>              
 2003ff8:	9a 07 20 c4 	add  %i4, 0xc4, %o5                            
           TERMIOS_RXTASK_STACKSIZE,                                  
           RTEMS_NO_PREEMPT | RTEMS_NO_TIMESLICE |                    
           RTEMS_NO_ASR,                                              
           RTEMS_NO_FLOATING_POINT | RTEMS_LOCAL,                     
           &tty->rxTaskId);                                           
      if (sc != RTEMS_SUCCESSFUL)                                     
 2003ffc:	80 a2 20 00 	cmp  %o0, 0                                    
 2004000:	12 80 00 70 	bne  20041c0 <rtems_termios_open+0x414>        <== NEVER TAKEN
 2004004:	01 00 00 00 	nop                                            
        rtems_fatal_error_occurred (sc);                              
                                                                      
    }                                                                 
    if ((tty->device.pollRead == NULL) ||                             
 2004008:	c2 07 20 a0 	ld  [ %i4 + 0xa0 ], %g1                        
 200400c:	80 a0 60 00 	cmp  %g1, 0                                    
 2004010:	02 80 00 07 	be  200402c <rtems_termios_open+0x280>         
 2004014:	03 00 80 6a 	sethi  %hi(0x201a800), %g1                     
 2004018:	c2 07 20 b4 	ld  [ %i4 + 0xb4 ], %g1                        
 200401c:	80 a0 60 02 	cmp  %g1, 2                                    
 2004020:	12 80 00 0f 	bne  200405c <rtems_termios_open+0x2b0>        
 2004024:	03 00 00 09 	sethi  %hi(0x2400), %g1                        
        (tty->device.outputUsesInterrupts == TERMIOS_TASK_DRIVEN)){   
      sc = rtems_semaphore_create (                                   
        rtems_build_name ('T', 'R', 'r', c),                          
 2004028:	03 00 80 6a 	sethi  %hi(0x201a800), %g1                     
 200402c:	d0 48 62 38 	ldsb  [ %g1 + 0x238 ], %o0	! 201aa38 <c.6441>  
        rtems_fatal_error_occurred (sc);                              
                                                                      
    }                                                                 
    if ((tty->device.pollRead == NULL) ||                             
        (tty->device.outputUsesInterrupts == TERMIOS_TASK_DRIVEN)){   
      sc = rtems_semaphore_create (                                   
 2004030:	03 15 14 9c 	sethi  %hi(0x54527000), %g1                    
 2004034:	82 10 62 00 	or  %g1, 0x200, %g1	! 54527200 <RAM_END+0x52127200>
 2004038:	92 10 20 00 	clr  %o1                                       
 200403c:	90 12 00 01 	or  %o0, %g1, %o0                              
 2004040:	94 10 20 24 	mov  0x24, %o2                                 
 2004044:	96 10 20 00 	clr  %o3                                       
 2004048:	40 00 08 7c 	call  2006238 <rtems_semaphore_create>         
 200404c:	98 07 20 68 	add  %i4, 0x68, %o4                            
        rtems_build_name ('T', 'R', 'r', c),                          
        0,                                                            
        RTEMS_SIMPLE_BINARY_SEMAPHORE | RTEMS_PRIORITY,               
        RTEMS_NO_PRIORITY,                                            
        &tty->rawInBuf.Semaphore);                                    
      if (sc != RTEMS_SUCCESSFUL)                                     
 2004050:	80 a2 20 00 	cmp  %o0, 0                                    
 2004054:	12 80 00 5b 	bne  20041c0 <rtems_termios_open+0x414>        <== NEVER TAKEN
 2004058:	03 00 00 09 	sethi  %hi(0x2400), %g1                        
    }                                                                 
                                                                      
    /*                                                                
     * Set default parameters                                         
     */                                                               
    tty->termios.c_iflag = BRKINT | ICRNL | IXON | IMAXBEL;           
 200405c:	82 10 61 02 	or  %g1, 0x102, %g1	! 2502 <PROM_START+0x2502> 
 2004060:	c2 27 20 30 	st  %g1, [ %i4 + 0x30 ]                        
    tty->termios.c_oflag = OPOST | ONLCR | XTABS;                     
 2004064:	03 00 00 06 	sethi  %hi(0x1800), %g1                        
 2004068:	82 10 60 05 	or  %g1, 5, %g1	! 1805 <PROM_START+0x1805>     
 200406c:	c2 27 20 34 	st  %g1, [ %i4 + 0x34 ]                        
    tty->termios.c_cflag = B9600 | CS8 | CREAD | CLOCAL;              
 2004070:	82 10 28 bd 	mov  0x8bd, %g1                                
 2004074:	c2 27 20 38 	st  %g1, [ %i4 + 0x38 ]                        
    tty->termios.c_lflag =                                            
 2004078:	03 00 00 20 	sethi  %hi(0x8000), %g1                        
 200407c:	82 10 62 3b 	or  %g1, 0x23b, %g1	! 823b <PROM_START+0x823b> 
 2004080:	c2 27 20 3c 	st  %g1, [ %i4 + 0x3c ]                        
       ISIG | ICANON | IEXTEN | ECHO | ECHOK | ECHOE | ECHOCTL;       
                                                                      
    tty->termios.c_cc[VINTR] = '\003';                                
 2004084:	82 10 20 03 	mov  3, %g1                                    
 2004088:	c2 2f 20 41 	stb  %g1, [ %i4 + 0x41 ]                       
    tty->termios.c_cc[VQUIT] = '\034';                                
 200408c:	82 10 20 1c 	mov  0x1c, %g1                                 
 2004090:	c2 2f 20 42 	stb  %g1, [ %i4 + 0x42 ]                       
    tty->termios.c_cc[VERASE] = '\177';                               
 2004094:	82 10 20 7f 	mov  0x7f, %g1                                 
 2004098:	c2 2f 20 43 	stb  %g1, [ %i4 + 0x43 ]                       
    tty->termios.c_cc[VKILL] = '\025';                                
 200409c:	82 10 20 15 	mov  0x15, %g1                                 
 20040a0:	c2 2f 20 44 	stb  %g1, [ %i4 + 0x44 ]                       
    tty->termios.c_cc[VEOF] = '\004';                                 
 20040a4:	82 10 20 04 	mov  4, %g1                                    
 20040a8:	c2 2f 20 45 	stb  %g1, [ %i4 + 0x45 ]                       
    tty->termios.c_cc[VEOL] = '\000';                                 
    tty->termios.c_cc[VEOL2] = '\000';                                
    tty->termios.c_cc[VSTART] = '\021';                               
 20040ac:	82 10 20 11 	mov  0x11, %g1                                 
 20040b0:	c2 2f 20 49 	stb  %g1, [ %i4 + 0x49 ]                       
    tty->termios.c_cc[VSTOP] = '\023';                                
 20040b4:	82 10 20 13 	mov  0x13, %g1                                 
 20040b8:	c2 2f 20 4a 	stb  %g1, [ %i4 + 0x4a ]                       
    tty->termios.c_cc[VSUSP] = '\032';                                
 20040bc:	82 10 20 1a 	mov  0x1a, %g1                                 
 20040c0:	c2 2f 20 4b 	stb  %g1, [ %i4 + 0x4b ]                       
    tty->termios.c_cc[VREPRINT] = '\022';                             
 20040c4:	82 10 20 12 	mov  0x12, %g1                                 
 20040c8:	c2 2f 20 4d 	stb  %g1, [ %i4 + 0x4d ]                       
    tty->termios.c_cc[VDISCARD] = '\017';                             
 20040cc:	82 10 20 0f 	mov  0xf, %g1                                  
 20040d0:	c2 2f 20 4e 	stb  %g1, [ %i4 + 0x4e ]                       
    tty->termios.c_cc[VWERASE] = '\027';                              
 20040d4:	82 10 20 17 	mov  0x17, %g1                                 
 20040d8:	c2 2f 20 4f 	stb  %g1, [ %i4 + 0x4f ]                       
    tty->termios.c_cc[VLNEXT] = '\026';                               
 20040dc:	82 10 20 16 	mov  0x16, %g1                                 
                                                                      
    /* start with no flow control, clear flow control flags */        
    tty->flow_ctrl = 0;                                               
 20040e0:	c0 27 20 b8 	clr  [ %i4 + 0xb8 ]                            
    tty->termios.c_cc[VSTOP] = '\023';                                
    tty->termios.c_cc[VSUSP] = '\032';                                
    tty->termios.c_cc[VREPRINT] = '\022';                             
    tty->termios.c_cc[VDISCARD] = '\017';                             
    tty->termios.c_cc[VWERASE] = '\027';                              
    tty->termios.c_cc[VLNEXT] = '\026';                               
 20040e4:	c2 2f 20 50 	stb  %g1, [ %i4 + 0x50 ]                       
    /* start with no flow control, clear flow control flags */        
    tty->flow_ctrl = 0;                                               
    /*                                                                
     * set low/highwater mark for XON/XOFF support                    
     */                                                               
    tty->lowwater  = tty->rawInBuf.Size * 1/2;                        
 20040e8:	c2 07 20 64 	ld  [ %i4 + 0x64 ], %g1                        
    tty->termios.c_cc[VINTR] = '\003';                                
    tty->termios.c_cc[VQUIT] = '\034';                                
    tty->termios.c_cc[VERASE] = '\177';                               
    tty->termios.c_cc[VKILL] = '\025';                                
    tty->termios.c_cc[VEOF] = '\004';                                 
    tty->termios.c_cc[VEOL] = '\000';                                 
 20040ec:	c0 2f 20 4c 	clrb  [ %i4 + 0x4c ]                           
    /* start with no flow control, clear flow control flags */        
    tty->flow_ctrl = 0;                                               
    /*                                                                
     * set low/highwater mark for XON/XOFF support                    
     */                                                               
    tty->lowwater  = tty->rawInBuf.Size * 1/2;                        
 20040f0:	83 30 60 01 	srl  %g1, 1, %g1                               
 20040f4:	c2 27 20 bc 	st  %g1, [ %i4 + 0xbc ]                        
    tty->highwater = tty->rawInBuf.Size * 3/4;                        
 20040f8:	c2 07 20 64 	ld  [ %i4 + 0x64 ], %g1                        
    tty->termios.c_cc[VQUIT] = '\034';                                
    tty->termios.c_cc[VERASE] = '\177';                               
    tty->termios.c_cc[VKILL] = '\025';                                
    tty->termios.c_cc[VEOF] = '\004';                                 
    tty->termios.c_cc[VEOL] = '\000';                                 
    tty->termios.c_cc[VEOL2] = '\000';                                
 20040fc:	c0 2f 20 51 	clrb  [ %i4 + 0x51 ]                           
    tty->flow_ctrl = 0;                                               
    /*                                                                
     * set low/highwater mark for XON/XOFF support                    
     */                                                               
    tty->lowwater  = tty->rawInBuf.Size * 1/2;                        
    tty->highwater = tty->rawInBuf.Size * 3/4;                        
 2004100:	85 28 60 01 	sll  %g1, 1, %g2                               
 2004104:	82 00 80 01 	add  %g2, %g1, %g1                             
 2004108:	83 30 60 02 	srl  %g1, 2, %g1                               
 200410c:	c2 27 20 c0 	st  %g1, [ %i4 + 0xc0 ]                        
    /*                                                                
     * Bump name characer                                             
     */                                                               
    if (c++ == 'z')                                                   
 2004110:	03 00 80 6a 	sethi  %hi(0x201a800), %g1                     
 2004114:	c4 08 62 38 	ldub  [ %g1 + 0x238 ], %g2	! 201aa38 <c.6441>  
 2004118:	86 00 a0 01 	add  %g2, 1, %g3                               
 200411c:	85 28 a0 18 	sll  %g2, 0x18, %g2                            
 2004120:	85 38 a0 18 	sra  %g2, 0x18, %g2                            
 2004124:	80 a0 a0 7a 	cmp  %g2, 0x7a                                 
 2004128:	12 80 00 04 	bne  2004138 <rtems_termios_open+0x38c>        
 200412c:	c6 28 62 38 	stb  %g3, [ %g1 + 0x238 ]                      
      c = 'a';                                                        
 2004130:	84 10 20 61 	mov  0x61, %g2                                 
 2004134:	c4 28 62 38 	stb  %g2, [ %g1 + 0x238 ]                      
                                                                      
  }                                                                   
  args->iop->data1 = tty;                                             
 2004138:	c2 06 80 00 	ld  [ %i2 ], %g1                               
 200413c:	f8 20 60 38 	st  %i4, [ %g1 + 0x38 ]                        
  if (!tty->refcount++) {                                             
 2004140:	c2 07 20 08 	ld  [ %i4 + 8 ], %g1                           
 2004144:	84 00 60 01 	add  %g1, 1, %g2                               
 2004148:	80 a0 60 00 	cmp  %g1, 0                                    
 200414c:	12 80 00 1f 	bne  20041c8 <rtems_termios_open+0x41c>        
 2004150:	c4 27 20 08 	st  %g2, [ %i4 + 8 ]                           
    if (tty->device.firstOpen)                                        
 2004154:	c2 07 20 98 	ld  [ %i4 + 0x98 ], %g1                        
 2004158:	80 a0 60 00 	cmp  %g1, 0                                    
 200415c:	02 80 00 05 	be  2004170 <rtems_termios_open+0x3c4>         
 2004160:	90 10 00 1d 	mov  %i5, %o0                                  
      (*tty->device.firstOpen)(major, minor, arg);                    
 2004164:	92 10 00 19 	mov  %i1, %o1                                  
 2004168:	9f c0 40 00 	call  %g1                                      
 200416c:	94 10 00 1a 	mov  %i2, %o2                                  
                                                                      
    /*                                                                
     * start I/O tasks, if needed                                     
     */                                                               
    if (tty->device.outputUsesInterrupts == TERMIOS_TASK_DRIVEN) {    
 2004170:	c2 07 20 b4 	ld  [ %i4 + 0xb4 ], %g1                        
 2004174:	80 a0 60 02 	cmp  %g1, 2                                    
 2004178:	12 80 00 15 	bne  20041cc <rtems_termios_open+0x420>        
 200417c:	03 00 80 6c 	sethi  %hi(0x201b000), %g1                     
      sc = rtems_task_start(                                          
 2004180:	d0 07 20 c4 	ld  [ %i4 + 0xc4 ], %o0                        
 2004184:	13 00 80 15 	sethi  %hi(0x2005400), %o1                     
 2004188:	94 10 00 1c 	mov  %i4, %o2                                  
 200418c:	40 00 09 e1 	call  2006910 <rtems_task_start>               
 2004190:	92 12 62 d0 	or  %o1, 0x2d0, %o1                            
        tty->rxTaskId, rtems_termios_rxdaemon, (rtems_task_argument)tty);
      if (sc != RTEMS_SUCCESSFUL)                                     
 2004194:	80 a2 20 00 	cmp  %o0, 0                                    
 2004198:	12 80 00 0a 	bne  20041c0 <rtems_termios_open+0x414>        <== NEVER TAKEN
 200419c:	01 00 00 00 	nop                                            
        rtems_fatal_error_occurred (sc);                              
                                                                      
      sc = rtems_task_start(                                          
 20041a0:	d0 07 20 c8 	ld  [ %i4 + 0xc8 ], %o0                        
 20041a4:	13 00 80 16 	sethi  %hi(0x2005800), %o1                     
 20041a8:	94 10 00 1c 	mov  %i4, %o2                                  
 20041ac:	40 00 09 d9 	call  2006910 <rtems_task_start>               
 20041b0:	92 12 61 1c 	or  %o1, 0x11c, %o1                            
        tty->txTaskId, rtems_termios_txdaemon, (rtems_task_argument)tty);
      if (sc != RTEMS_SUCCESSFUL)                                     
 20041b4:	80 a2 20 00 	cmp  %o0, 0                                    
 20041b8:	02 80 00 05 	be  20041cc <rtems_termios_open+0x420>         <== ALWAYS TAKEN
 20041bc:	03 00 80 6c 	sethi  %hi(0x201b000), %g1                     
        rtems_fatal_error_occurred (sc);                              
 20041c0:	40 00 0a 7a 	call  2006ba8 <rtems_fatal_error_occurred>     
 20041c4:	01 00 00 00 	nop                                            
    }                                                                 
  }                                                                   
  rtems_semaphore_release (rtems_termios_ttyMutex);                   
 20041c8:	03 00 80 6c 	sethi  %hi(0x201b000), %g1                     
 20041cc:	40 00 08 ff 	call  20065c8 <rtems_semaphore_release>        
 20041d0:	d0 00 63 a0 	ld  [ %g1 + 0x3a0 ], %o0	! 201b3a0 <rtems_termios_ttyMutex>
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
 20041d4:	81 c7 e0 08 	ret                                            
 20041d8:	81 e8 00 00 	restore                                        
    static char c = 'a';                                              
                                                                      
    /*                                                                
     * Create a new device                                            
     */                                                               
    tty = calloc (1, sizeof (struct rtems_termios_tty));              
 20041dc:	7f ff f9 fd 	call  20029d0 <calloc>                         
 20041e0:	92 10 20 e8 	mov  0xe8, %o1                                 
    if (tty == NULL) {                                                
 20041e4:	b8 92 20 00 	orcc  %o0, 0, %i4                              
 20041e8:	32 bf ff 0b 	bne,a   2003e14 <rtems_termios_open+0x68>      
 20041ec:	03 00 80 6a 	sethi  %hi(0x201a800), %g1                     
    tty->cbuf  = malloc (CBUFSIZE);                                   
    if (tty->cbuf == NULL) {                                          
            free((void *)(tty->rawOutBuf.theBuf));                    
            free((void *)(tty->rawInBuf.theBuf));                     
            free(tty);                                                
      rtems_semaphore_release (rtems_termios_ttyMutex);               
 20041f0:	10 bf ff 29 	b  2003e94 <rtems_termios_open+0xe8>           
 20041f4:	03 00 80 6c 	sethi  %hi(0x201b000), %g1                     
                                                                      

02004804 <rtems_termios_puts>: * Send characters to device-specific code */ void rtems_termios_puts ( const void *_buf, int len, struct rtems_termios_tty *tty) {
 2004804:	9d e3 bf a0 	save  %sp, -96, %sp                            
  const unsigned char *buf = _buf;                                    
  unsigned int newHead;                                               
  rtems_interrupt_level level;                                        
  rtems_status_code sc;                                               
                                                                      
  if (tty->device.outputUsesInterrupts == TERMIOS_POLLED) {           
 2004808:	c2 06 a0 b4 	ld  [ %i2 + 0xb4 ], %g1                        
 200480c:	80 a0 60 00 	cmp  %g1, 0                                    
 2004810:	12 80 00 08 	bne  2004830 <rtems_termios_puts+0x2c>         
 2004814:	92 10 00 18 	mov  %i0, %o1                                  
    (*tty->device.write)(tty->minor, buf, len);                       
 2004818:	c2 06 a0 a4 	ld  [ %i2 + 0xa4 ], %g1                        
 200481c:	d0 06 a0 10 	ld  [ %i2 + 0x10 ], %o0                        
 2004820:	9f c0 40 00 	call  %g1                                      
 2004824:	94 10 00 19 	mov  %i1, %o2                                  
    return;                                                           
 2004828:	81 c7 e0 08 	ret                                            
 200482c:	81 e8 00 00 	restore                                        
  }                                                                   
  newHead = tty->rawOutBuf.Head;                                      
 2004830:	f8 06 a0 80 	ld  [ %i2 + 0x80 ], %i4                        
  while (len) {                                                       
 2004834:	ba 10 20 00 	clr  %i5                                       
     * with interrupts enabled.                                       
     */                                                               
    newHead = (newHead + 1) % tty->rawOutBuf.Size;                    
    rtems_interrupt_disable (level);                                  
    while (newHead == tty->rawOutBuf.Tail) {                          
      tty->rawOutBufState = rob_wait;                                 
 2004838:	a2 10 20 02 	mov  2, %l1                                    
  if (tty->device.outputUsesInterrupts == TERMIOS_POLLED) {           
    (*tty->device.write)(tty->minor, buf, len);                       
    return;                                                           
  }                                                                   
  newHead = tty->rawOutBuf.Head;                                      
  while (len) {                                                       
 200483c:	10 80 00 36 	b  2004914 <rtems_termios_puts+0x110>          
 2004840:	a0 10 20 01 	mov  1, %l0                                    
     *  len -= ncopy                                                  
     *                                                                
     * To minimize latency, the memcpy should be done                 
     * with interrupts enabled.                                       
     */                                                               
    newHead = (newHead + 1) % tty->rawOutBuf.Size;                    
 2004844:	d2 06 a0 88 	ld  [ %i2 + 0x88 ], %o1                        
 2004848:	40 00 49 51 	call  2016d8c <.urem>                          
 200484c:	90 07 20 01 	add  %i4, 1, %o0                               
 2004850:	10 80 00 0d 	b  2004884 <rtems_termios_puts+0x80>           
 2004854:	b8 10 00 08 	mov  %o0, %i4                                  
    rtems_interrupt_disable (level);                                  
    while (newHead == tty->rawOutBuf.Tail) {                          
      tty->rawOutBufState = rob_wait;                                 
      rtems_interrupt_enable (level);                                 
 2004858:	7f ff f6 4d 	call  200218c <sparc_enable_interrupts>        
 200485c:	90 10 00 1b 	mov  %i3, %o0                                  
      sc = rtems_semaphore_obtain(                                    
 2004860:	d0 06 a0 8c 	ld  [ %i2 + 0x8c ], %o0                        
 2004864:	92 10 20 00 	clr  %o1                                       
 2004868:	40 00 07 0e 	call  20064a0 <rtems_semaphore_obtain>         
 200486c:	94 10 20 00 	clr  %o2                                       
        tty->rawOutBuf.Semaphore, RTEMS_WAIT, RTEMS_NO_TIMEOUT);      
      if (sc != RTEMS_SUCCESSFUL)                                     
 2004870:	80 a2 20 00 	cmp  %o0, 0                                    
 2004874:	02 80 00 04 	be  2004884 <rtems_termios_puts+0x80>          <== ALWAYS TAKEN
 2004878:	01 00 00 00 	nop                                            
        rtems_fatal_error_occurred (sc);                              
 200487c:	40 00 08 cb 	call  2006ba8 <rtems_fatal_error_occurred>     <== NOT EXECUTED
 2004880:	01 00 00 00 	nop                                            <== NOT EXECUTED
      rtems_interrupt_disable (level);                                
 2004884:	7f ff f6 3e 	call  200217c <sparc_disable_interrupts>       
 2004888:	01 00 00 00 	nop                                            
 200488c:	b6 10 00 08 	mov  %o0, %i3                                  
     * To minimize latency, the memcpy should be done                 
     * with interrupts enabled.                                       
     */                                                               
    newHead = (newHead + 1) % tty->rawOutBuf.Size;                    
    rtems_interrupt_disable (level);                                  
    while (newHead == tty->rawOutBuf.Tail) {                          
 2004890:	c2 06 a0 84 	ld  [ %i2 + 0x84 ], %g1                        
 2004894:	80 a7 00 01 	cmp  %i4, %g1                                  
 2004898:	22 bf ff f0 	be,a   2004858 <rtems_termios_puts+0x54>       
 200489c:	e2 26 a0 94 	st  %l1, [ %i2 + 0x94 ]                        
        tty->rawOutBuf.Semaphore, RTEMS_WAIT, RTEMS_NO_TIMEOUT);      
      if (sc != RTEMS_SUCCESSFUL)                                     
        rtems_fatal_error_occurred (sc);                              
      rtems_interrupt_disable (level);                                
    }                                                                 
    tty->rawOutBuf.theBuf[tty->rawOutBuf.Head] = *buf++;              
 20048a0:	c2 06 a0 80 	ld  [ %i2 + 0x80 ], %g1                        
 20048a4:	c6 0e 00 1d 	ldub  [ %i0 + %i5 ], %g3                       
 20048a8:	c4 06 a0 7c 	ld  [ %i2 + 0x7c ], %g2                        
 20048ac:	c6 28 80 01 	stb  %g3, [ %g2 + %g1 ]                        
    tty->rawOutBuf.Head = newHead;                                    
    if (tty->rawOutBufState == rob_idle) {                            
 20048b0:	c2 06 a0 94 	ld  [ %i2 + 0x94 ], %g1                        
      if (sc != RTEMS_SUCCESSFUL)                                     
        rtems_fatal_error_occurred (sc);                              
      rtems_interrupt_disable (level);                                
    }                                                                 
    tty->rawOutBuf.theBuf[tty->rawOutBuf.Head] = *buf++;              
    tty->rawOutBuf.Head = newHead;                                    
 20048b4:	f8 26 a0 80 	st  %i4, [ %i2 + 0x80 ]                        
    if (tty->rawOutBufState == rob_idle) {                            
 20048b8:	80 a0 60 00 	cmp  %g1, 0                                    
 20048bc:	12 80 00 13 	bne  2004908 <rtems_termios_puts+0x104>        
 20048c0:	01 00 00 00 	nop                                            
      /* check, whether XOFF has been received */                     
      if (!(tty->flow_ctrl & FL_ORCVXOF)) {                           
 20048c4:	c2 06 a0 b8 	ld  [ %i2 + 0xb8 ], %g1                        
 20048c8:	80 88 60 10 	btst  0x10, %g1                                
 20048cc:	12 80 00 0b 	bne  20048f8 <rtems_termios_puts+0xf4>         <== NEVER TAKEN
 20048d0:	01 00 00 00 	nop                                            
        (*tty->device.write)(tty->minor,                              
      (char *)&tty->rawOutBuf.theBuf[tty->rawOutBuf.Tail],1);         
 20048d4:	c4 06 a0 84 	ld  [ %i2 + 0x84 ], %g2                        
    tty->rawOutBuf.theBuf[tty->rawOutBuf.Head] = *buf++;              
    tty->rawOutBuf.Head = newHead;                                    
    if (tty->rawOutBufState == rob_idle) {                            
      /* check, whether XOFF has been received */                     
      if (!(tty->flow_ctrl & FL_ORCVXOF)) {                           
        (*tty->device.write)(tty->minor,                              
 20048d8:	d2 06 a0 7c 	ld  [ %i2 + 0x7c ], %o1                        
 20048dc:	c2 06 a0 a4 	ld  [ %i2 + 0xa4 ], %g1                        
 20048e0:	d0 06 a0 10 	ld  [ %i2 + 0x10 ], %o0                        
 20048e4:	92 02 40 02 	add  %o1, %g2, %o1                             
 20048e8:	9f c0 40 00 	call  %g1                                      
 20048ec:	94 10 20 01 	mov  1, %o2                                    
      (char *)&tty->rawOutBuf.theBuf[tty->rawOutBuf.Tail],1);         
      } else {                                                        
        /* remember that output has been stopped due to flow ctrl*/   
        tty->flow_ctrl |= FL_OSTOP;                                   
      }                                                               
      tty->rawOutBufState = rob_busy;                                 
 20048f0:	10 80 00 06 	b  2004908 <rtems_termios_puts+0x104>          
 20048f4:	e0 26 a0 94 	st  %l0, [ %i2 + 0x94 ]                        
      if (!(tty->flow_ctrl & FL_ORCVXOF)) {                           
        (*tty->device.write)(tty->minor,                              
      (char *)&tty->rawOutBuf.theBuf[tty->rawOutBuf.Tail],1);         
      } else {                                                        
        /* remember that output has been stopped due to flow ctrl*/   
        tty->flow_ctrl |= FL_OSTOP;                                   
 20048f8:	c2 06 a0 b8 	ld  [ %i2 + 0xb8 ], %g1                        <== NOT EXECUTED
 20048fc:	82 10 60 20 	or  %g1, 0x20, %g1                             <== NOT EXECUTED
 2004900:	c2 26 a0 b8 	st  %g1, [ %i2 + 0xb8 ]                        <== NOT EXECUTED
      }                                                               
      tty->rawOutBufState = rob_busy;                                 
 2004904:	e0 26 a0 94 	st  %l0, [ %i2 + 0x94 ]                        <== NOT EXECUTED
    }                                                                 
    rtems_interrupt_enable (level);                                   
 2004908:	90 10 00 1b 	mov  %i3, %o0                                  
 200490c:	7f ff f6 20 	call  200218c <sparc_enable_interrupts>        
 2004910:	ba 07 60 01 	inc  %i5                                       
  if (tty->device.outputUsesInterrupts == TERMIOS_POLLED) {           
    (*tty->device.write)(tty->minor, buf, len);                       
    return;                                                           
  }                                                                   
  newHead = tty->rawOutBuf.Head;                                      
  while (len) {                                                       
 2004914:	80 a7 40 19 	cmp  %i5, %i1                                  
 2004918:	12 bf ff cb 	bne  2004844 <rtems_termios_puts+0x40>         
 200491c:	01 00 00 00 	nop                                            
 2004920:	81 c7 e0 08 	ret                                            
 2004924:	81 e8 00 00 	restore                                        
                                                                      

02005024 <rtems_termios_read>: return RTEMS_SUCCESSFUL; } rtems_status_code rtems_termios_read (void *arg) {
 2005024:	9d e3 bf a0 	save  %sp, -96, %sp                            
  rtems_libio_rw_args_t *args = arg;                                  
  struct rtems_termios_tty *tty = args->iop->data1;                   
 2005028:	c2 06 00 00 	ld  [ %i0 ], %g1                               
  uint32_t   count = args->count;                                     
 200502c:	f6 06 20 14 	ld  [ %i0 + 0x14 ], %i3                        
                                                                      
rtems_status_code                                                     
rtems_termios_read (void *arg)                                        
{                                                                     
  rtems_libio_rw_args_t *args = arg;                                  
  struct rtems_termios_tty *tty = args->iop->data1;                   
 2005030:	fa 00 60 38 	ld  [ %g1 + 0x38 ], %i5                        
  uint32_t   count = args->count;                                     
  char      *buffer = args->buffer;                                   
 2005034:	f2 06 20 10 	ld  [ %i0 + 0x10 ], %i1                        
  rtems_status_code sc;                                               
                                                                      
  sc = rtems_semaphore_obtain (tty->isem, RTEMS_WAIT, RTEMS_NO_TIMEOUT);
 2005038:	d0 07 60 14 	ld  [ %i5 + 0x14 ], %o0                        
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
                                                                      
rtems_status_code                                                     
rtems_termios_read (void *arg)                                        
{                                                                     
 200503c:	b8 10 00 18 	mov  %i0, %i4                                  
  struct rtems_termios_tty *tty = args->iop->data1;                   
  uint32_t   count = args->count;                                     
  char      *buffer = args->buffer;                                   
  rtems_status_code sc;                                               
                                                                      
  sc = rtems_semaphore_obtain (tty->isem, RTEMS_WAIT, RTEMS_NO_TIMEOUT);
 2005040:	92 10 20 00 	clr  %o1                                       
 2005044:	40 00 05 17 	call  20064a0 <rtems_semaphore_obtain>         
 2005048:	94 10 20 00 	clr  %o2                                       
  if (sc != RTEMS_SUCCESSFUL)                                         
 200504c:	b0 92 20 00 	orcc  %o0, 0, %i0                              
 2005050:	12 80 00 10 	bne  2005090 <rtems_termios_read+0x6c>         <== NEVER TAKEN
 2005054:	03 00 80 6c 	sethi  %hi(0x201b000), %g1                     
    return sc;                                                        
                                                                      
  if (rtems_termios_linesw[tty->t_line].l_read != NULL) {             
 2005058:	c4 07 60 cc 	ld  [ %i5 + 0xcc ], %g2                        
 200505c:	85 28 a0 05 	sll  %g2, 5, %g2                               
 2005060:	82 10 60 d4 	or  %g1, 0xd4, %g1                             
 2005064:	82 00 40 02 	add  %g1, %g2, %g1                             
 2005068:	c2 00 60 08 	ld  [ %g1 + 8 ], %g1                           
 200506c:	80 a0 60 00 	cmp  %g1, 0                                    
 2005070:	02 80 00 0a 	be  2005098 <rtems_termios_read+0x74>          
 2005074:	90 10 00 1d 	mov  %i5, %o0                                  
    sc = rtems_termios_linesw[tty->t_line].l_read(tty,args);          
 2005078:	9f c0 40 00 	call  %g1                                      
 200507c:	92 10 00 1c 	mov  %i4, %o1                                  
 2005080:	b0 10 00 08 	mov  %o0, %i0                                  
    tty->tty_rcvwakeup = 0;                                           
    rtems_semaphore_release (tty->isem);                              
 2005084:	d0 07 60 14 	ld  [ %i5 + 0x14 ], %o0                        
 2005088:	40 00 05 50 	call  20065c8 <rtems_semaphore_release>        
 200508c:	c0 27 60 e4 	clr  [ %i5 + 0xe4 ]                            
    return sc;                                                        
 2005090:	81 c7 e0 08 	ret                                            
 2005094:	81 e8 00 00 	restore                                        
  }                                                                   
                                                                      
  if (tty->cindex == tty->ccount) {                                   
 2005098:	c4 07 60 24 	ld  [ %i5 + 0x24 ], %g2                        
 200509c:	c2 07 60 20 	ld  [ %i5 + 0x20 ], %g1                        
 20050a0:	80 a0 80 01 	cmp  %g2, %g1                                  
 20050a4:	12 80 00 bc 	bne  2005394 <rtems_termios_read+0x370>        <== NEVER TAKEN
 20050a8:	80 a6 e0 00 	cmp  %i3, 0                                    
    tty->cindex = tty->ccount = 0;                                    
    tty->read_start_column = tty->column;                             
 20050ac:	c2 07 60 28 	ld  [ %i5 + 0x28 ], %g1                        
    rtems_semaphore_release (tty->isem);                              
    return sc;                                                        
  }                                                                   
                                                                      
  if (tty->cindex == tty->ccount) {                                   
    tty->cindex = tty->ccount = 0;                                    
 20050b0:	c0 27 60 20 	clr  [ %i5 + 0x20 ]                            
    tty->read_start_column = tty->column;                             
 20050b4:	c2 27 60 2c 	st  %g1, [ %i5 + 0x2c ]                        
    if (tty->device.pollRead != NULL &&                               
 20050b8:	c2 07 60 a0 	ld  [ %i5 + 0xa0 ], %g1                        
 20050bc:	80 a0 60 00 	cmp  %g1, 0                                    
 20050c0:	02 80 00 4c 	be  20051f0 <rtems_termios_read+0x1cc>         
 20050c4:	c0 27 60 24 	clr  [ %i5 + 0x24 ]                            
 20050c8:	c2 07 60 b4 	ld  [ %i5 + 0xb4 ], %g1                        
 20050cc:	80 a0 60 00 	cmp  %g1, 0                                    
 20050d0:	32 80 00 49 	bne,a   20051f4 <rtems_termios_read+0x1d0>     
 20050d4:	e0 07 60 74 	ld  [ %i5 + 0x74 ], %l0                        
static rtems_status_code                                              
fillBufferPoll (struct rtems_termios_tty *tty)                        
{                                                                     
  int n;                                                              
                                                                      
  if (tty->termios.c_lflag & ICANON) {                                
 20050d8:	c2 07 60 3c 	ld  [ %i5 + 0x3c ], %g1                        
 20050dc:	80 88 60 02 	btst  2, %g1                                   
 20050e0:	02 80 00 13 	be  200512c <rtems_termios_read+0x108>         
 20050e4:	01 00 00 00 	nop                                            
    for (;;) {                                                        
      n = (*tty->device.pollRead)(tty->minor);                        
 20050e8:	c2 07 60 a0 	ld  [ %i5 + 0xa0 ], %g1                        
 20050ec:	9f c0 40 00 	call  %g1                                      
 20050f0:	d0 07 60 10 	ld  [ %i5 + 0x10 ], %o0                        
      if (n < 0) {                                                    
 20050f4:	80 a2 20 00 	cmp  %o0, 0                                    
 20050f8:	16 80 00 06 	bge  2005110 <rtems_termios_read+0xec>         
 20050fc:	90 0a 20 ff 	and  %o0, 0xff, %o0                            
        rtems_task_wake_after (1);                                    
 2005100:	40 00 06 1f 	call  200697c <rtems_task_wake_after>          
 2005104:	90 10 20 01 	mov  1, %o0                                    
{                                                                     
  int n;                                                              
                                                                      
  if (tty->termios.c_lflag & ICANON) {                                
    for (;;) {                                                        
      n = (*tty->device.pollRead)(tty->minor);                        
 2005108:	10 bf ff f9 	b  20050ec <rtems_termios_read+0xc8>           
 200510c:	c2 07 60 a0 	ld  [ %i5 + 0xa0 ], %g1                        
      if (n < 0) {                                                    
        rtems_task_wake_after (1);                                    
      } else {                                                        
        if  (siproc (n, tty))                                         
 2005110:	7f ff ff 80 	call  2004f10 <siproc>                         
 2005114:	92 10 00 1d 	mov  %i5, %o1                                  
 2005118:	80 a2 20 00 	cmp  %o0, 0                                    
 200511c:	22 bf ff f4 	be,a   20050ec <rtems_termios_read+0xc8>       
 2005120:	c2 07 60 a0 	ld  [ %i5 + 0xa0 ], %g1                        
      sc = fillBufferQueue (tty);                                     
                                                                      
    if (sc != RTEMS_SUCCESSFUL)                                       
      tty->cindex = tty->ccount = 0;                                  
  }                                                                   
  while (count && (tty->cindex < tty->ccount)) {                      
 2005124:	10 80 00 9c 	b  2005394 <rtems_termios_read+0x370>          
 2005128:	80 a6 e0 00 	cmp  %i3, 0                                    
      }                                                               
    }                                                                 
  } else {                                                            
    rtems_interval then, now;                                         
                                                                      
    then = rtems_clock_get_ticks_since_boot();                        
 200512c:	40 00 03 20 	call  2005dac <rtems_clock_get_ticks_since_boot>
 2005130:	01 00 00 00 	nop                                            
 2005134:	b4 10 00 08 	mov  %o0, %i2                                  
    for (;;) {                                                        
      n = (*tty->device.pollRead)(tty->minor);                        
 2005138:	c2 07 60 a0 	ld  [ %i5 + 0xa0 ], %g1                        
 200513c:	9f c0 40 00 	call  %g1                                      
 2005140:	d0 07 60 10 	ld  [ %i5 + 0x10 ], %o0                        
      if (n < 0) {                                                    
 2005144:	80 a2 20 00 	cmp  %o0, 0                                    
 2005148:	36 80 00 1c 	bge,a   20051b8 <rtems_termios_read+0x194>     
 200514c:	90 0a 20 ff 	and  %o0, 0xff, %o0                            
        if (tty->termios.c_cc[VMIN]) {                                
 2005150:	c2 0f 60 47 	ldub  [ %i5 + 0x47 ], %g1                      
 2005154:	80 a0 60 00 	cmp  %g1, 0                                    
 2005158:	02 80 00 0a 	be  2005180 <rtems_termios_read+0x15c>         <== NEVER TAKEN
 200515c:	c2 0f 60 46 	ldub  [ %i5 + 0x46 ], %g1                      
          if (tty->termios.c_cc[VTIME] && tty->ccount) {              
 2005160:	80 88 60 ff 	btst  0xff, %g1                                
 2005164:	02 80 00 11 	be  20051a8 <rtems_termios_read+0x184>         <== NEVER TAKEN
 2005168:	01 00 00 00 	nop                                            
 200516c:	c2 07 60 20 	ld  [ %i5 + 0x20 ], %g1                        
 2005170:	80 a0 60 00 	cmp  %g1, 0                                    
 2005174:	02 80 00 0d 	be  20051a8 <rtems_termios_read+0x184>         
 2005178:	01 00 00 00 	nop                                            
 200517c:	30 80 00 04 	b,a   200518c <rtems_termios_read+0x168>       
            if ((now - then) > tty->vtimeTicks) {                     
              break;                                                  
            }                                                         
          }                                                           
        } else {                                                      
          if (!tty->termios.c_cc[VTIME])                              
 2005180:	80 88 60 ff 	btst  0xff, %g1                                <== NOT EXECUTED
 2005184:	02 80 00 84 	be  2005394 <rtems_termios_read+0x370>         <== NOT EXECUTED
 2005188:	80 a6 e0 00 	cmp  %i3, 0                                    <== NOT EXECUTED
            break;                                                    
          now = rtems_clock_get_ticks_since_boot();                   
 200518c:	40 00 03 08 	call  2005dac <rtems_clock_get_ticks_since_boot>
 2005190:	01 00 00 00 	nop                                            
          if ((now - then) > tty->vtimeTicks) {                       
 2005194:	c2 07 60 54 	ld  [ %i5 + 0x54 ], %g1                        
 2005198:	90 22 00 1a 	sub  %o0, %i2, %o0                             
 200519c:	80 a2 00 01 	cmp  %o0, %g1                                  
 20051a0:	18 80 00 7d 	bgu  2005394 <rtems_termios_read+0x370>        
 20051a4:	80 a6 e0 00 	cmp  %i3, 0                                    
            break;                                                    
          }                                                           
        }                                                             
        rtems_task_wake_after (1);                                    
 20051a8:	40 00 05 f5 	call  200697c <rtems_task_wake_after>          
 20051ac:	90 10 20 01 	mov  1, %o0                                    
  } else {                                                            
    rtems_interval then, now;                                         
                                                                      
    then = rtems_clock_get_ticks_since_boot();                        
    for (;;) {                                                        
      n = (*tty->device.pollRead)(tty->minor);                        
 20051b0:	10 bf ff e3 	b  200513c <rtems_termios_read+0x118>          
 20051b4:	c2 07 60 a0 	ld  [ %i5 + 0xa0 ], %g1                        
            break;                                                    
          }                                                           
        }                                                             
        rtems_task_wake_after (1);                                    
      } else {                                                        
        siproc (n, tty);                                              
 20051b8:	7f ff ff 56 	call  2004f10 <siproc>                         
 20051bc:	92 10 00 1d 	mov  %i5, %o1                                  
        if (tty->ccount >= tty->termios.c_cc[VMIN])                   
 20051c0:	c2 0f 60 47 	ldub  [ %i5 + 0x47 ], %g1                      
 20051c4:	c4 07 60 20 	ld  [ %i5 + 0x20 ], %g2                        
 20051c8:	80 a0 80 01 	cmp  %g2, %g1                                  
 20051cc:	16 80 00 71 	bge  2005390 <rtems_termios_read+0x36c>        
 20051d0:	80 a0 60 00 	cmp  %g1, 0                                    
          break;                                                      
        if (tty->termios.c_cc[VMIN] && tty->termios.c_cc[VTIME])      
 20051d4:	22 bf ff da 	be,a   200513c <rtems_termios_read+0x118>      <== NEVER TAKEN
 20051d8:	c2 07 60 a0 	ld  [ %i5 + 0xa0 ], %g1                        <== NOT EXECUTED
 20051dc:	c2 0f 60 46 	ldub  [ %i5 + 0x46 ], %g1                      
 20051e0:	80 a0 60 00 	cmp  %g1, 0                                    
 20051e4:	22 bf ff d6 	be,a   200513c <rtems_termios_read+0x118>      <== NEVER TAKEN
 20051e8:	c2 07 60 a0 	ld  [ %i5 + 0xa0 ], %g1                        <== NOT EXECUTED
 20051ec:	30 bf ff d0 	b,a   200512c <rtems_termios_read+0x108>       
 * Fill the input buffer from the raw input queue                     
 */                                                                   
static rtems_status_code                                              
fillBufferQueue (struct rtems_termios_tty *tty)                       
{                                                                     
  rtems_interval timeout = tty->rawInBufSemaphoreFirstTimeout;        
 20051f0:	e0 07 60 74 	ld  [ %i5 + 0x74 ], %l0                        
  rtems_status_code sc;                                               
  int               wait = (int)1;                                    
 20051f4:	b4 10 20 01 	mov  1, %i2                                    
  while ( wait ) {                                                    
    /*                                                                
     * Process characters read from raw queue                         
     */                                                               
    while ((tty->rawInBuf.Head != tty->rawInBuf.Tail) &&              
                       (tty->ccount < (CBUFSIZE-1))) {                
 20051f8:	25 00 80 6a 	sethi  %hi(0x201a800), %l2                     
        if (((tty->flow_ctrl & (FL_MDXON | FL_ISNTXOF))               
             ==                (FL_MDXON | FL_ISNTXOF))               
            && ((tty->rawOutBufState == rob_idle)                     
          || (tty->flow_ctrl & FL_OSTOP))) {                          
          /* XON should be sent now... */                             
          (*tty->device.write)(                                       
 20051fc:	10 80 00 4a 	b  2005324 <rtems_termios_read+0x300>          
 2005200:	a2 07 60 49 	add  %i5, 0x49, %l1                            
    while ((tty->rawInBuf.Head != tty->rawInBuf.Tail) &&              
                       (tty->ccount < (CBUFSIZE-1))) {                
      unsigned char c;                                                
      unsigned int newHead;                                           
                                                                      
      newHead = (tty->rawInBuf.Head + 1) % tty->rawInBuf.Size;        
 2005204:	d0 07 60 5c 	ld  [ %i5 + 0x5c ], %o0                        
 2005208:	d2 07 60 64 	ld  [ %i5 + 0x64 ], %o1                        
 200520c:	40 00 46 e0 	call  2016d8c <.urem>                          
 2005210:	90 02 20 01 	inc  %o0                                       
      c = tty->rawInBuf.theBuf[newHead];                              
 2005214:	c2 07 60 58 	ld  [ %i5 + 0x58 ], %g1                        
 2005218:	e0 08 40 08 	ldub  [ %g1 + %o0 ], %l0                       
      tty->rawInBuf.Head = newHead;                                   
 200521c:	d0 27 60 5c 	st  %o0, [ %i5 + 0x5c ]                        
      if(((tty->rawInBuf.Tail-newHead+tty->rawInBuf.Size)             
 2005220:	c2 07 60 60 	ld  [ %i5 + 0x60 ], %g1                        
 2005224:	c4 07 60 64 	ld  [ %i5 + 0x64 ], %g2                        
          % tty->rawInBuf.Size)                                       
 2005228:	d2 07 60 64 	ld  [ %i5 + 0x64 ], %o1                        
      unsigned int newHead;                                           
                                                                      
      newHead = (tty->rawInBuf.Head + 1) % tty->rawInBuf.Size;        
      c = tty->rawInBuf.theBuf[newHead];                              
      tty->rawInBuf.Head = newHead;                                   
      if(((tty->rawInBuf.Tail-newHead+tty->rawInBuf.Size)             
 200522c:	82 00 80 01 	add  %g2, %g1, %g1                             
          % tty->rawInBuf.Size)                                       
 2005230:	40 00 46 d7 	call  2016d8c <.urem>                          
 2005234:	90 20 40 08 	sub  %g1, %o0, %o0                             
      unsigned int newHead;                                           
                                                                      
      newHead = (tty->rawInBuf.Head + 1) % tty->rawInBuf.Size;        
      c = tty->rawInBuf.theBuf[newHead];                              
      tty->rawInBuf.Head = newHead;                                   
      if(((tty->rawInBuf.Tail-newHead+tty->rawInBuf.Size)             
 2005238:	c2 07 60 bc 	ld  [ %i5 + 0xbc ], %g1                        
 200523c:	80 a2 00 01 	cmp  %o0, %g1                                  
 2005240:	3a 80 00 27 	bcc,a   20052dc <rtems_termios_read+0x2b8>     <== NEVER TAKEN
 2005244:	c2 07 60 3c 	ld  [ %i5 + 0x3c ], %g1                        <== NOT EXECUTED
          % tty->rawInBuf.Size)                                       
         < tty->lowwater) {                                           
        tty->flow_ctrl &= ~FL_IREQXOF;                                
 2005248:	c2 07 60 b8 	ld  [ %i5 + 0xb8 ], %g1                        
 200524c:	82 08 7f fe 	and  %g1, -2, %g1                              
 2005250:	c2 27 60 b8 	st  %g1, [ %i5 + 0xb8 ]                        
        /* if tx stopped and XON should be sent... */                 
        if (((tty->flow_ctrl & (FL_MDXON | FL_ISNTXOF))               
 2005254:	c2 07 60 b8 	ld  [ %i5 + 0xb8 ], %g1                        
 2005258:	82 08 62 02 	and  %g1, 0x202, %g1                           
 200525c:	80 a0 62 02 	cmp  %g1, 0x202                                
 2005260:	12 80 00 11 	bne  20052a4 <rtems_termios_read+0x280>        <== ALWAYS TAKEN
 2005264:	01 00 00 00 	nop                                            
             ==                (FL_MDXON | FL_ISNTXOF))               
            && ((tty->rawOutBufState == rob_idle)                     
 2005268:	c2 07 60 94 	ld  [ %i5 + 0x94 ], %g1                        <== NOT EXECUTED
 200526c:	80 a0 60 00 	cmp  %g1, 0                                    <== NOT EXECUTED
 2005270:	22 80 00 07 	be,a   200528c <rtems_termios_read+0x268>      <== NOT EXECUTED
 2005274:	c2 07 60 a4 	ld  [ %i5 + 0xa4 ], %g1                        <== NOT EXECUTED
          || (tty->flow_ctrl & FL_OSTOP))) {                          
 2005278:	c2 07 60 b8 	ld  [ %i5 + 0xb8 ], %g1                        <== NOT EXECUTED
 200527c:	80 88 60 20 	btst  0x20, %g1                                <== NOT EXECUTED
 2005280:	02 80 00 09 	be  20052a4 <rtems_termios_read+0x280>         <== NOT EXECUTED
 2005284:	01 00 00 00 	nop                                            <== NOT EXECUTED
          /* XON should be sent now... */                             
          (*tty->device.write)(                                       
 2005288:	c2 07 60 a4 	ld  [ %i5 + 0xa4 ], %g1                        <== NOT EXECUTED
 200528c:	d0 07 60 10 	ld  [ %i5 + 0x10 ], %o0                        <== NOT EXECUTED
 2005290:	92 10 00 11 	mov  %l1, %o1                                  <== NOT EXECUTED
 2005294:	9f c0 40 00 	call  %g1                                      <== NOT EXECUTED
 2005298:	94 10 20 01 	mov  1, %o2                                    <== NOT EXECUTED
          }                                                           
        }                                                             
      }                                                               
                                                                      
      /* continue processing new character */                         
      if (tty->termios.c_lflag & ICANON) {                            
 200529c:	10 80 00 10 	b  20052dc <rtems_termios_read+0x2b8>          <== NOT EXECUTED
 20052a0:	c2 07 60 3c 	ld  [ %i5 + 0x3c ], %g1                        <== NOT EXECUTED
            && ((tty->rawOutBufState == rob_idle)                     
          || (tty->flow_ctrl & FL_OSTOP))) {                          
          /* XON should be sent now... */                             
          (*tty->device.write)(                                       
            tty->minor, (void *)&(tty->termios.c_cc[VSTART]), 1);     
        } else if (tty->flow_ctrl & FL_MDRTS) {                       
 20052a4:	c2 07 60 b8 	ld  [ %i5 + 0xb8 ], %g1                        
 20052a8:	80 88 61 00 	btst  0x100, %g1                               
 20052ac:	22 80 00 0c 	be,a   20052dc <rtems_termios_read+0x2b8>      <== ALWAYS TAKEN
 20052b0:	c2 07 60 3c 	ld  [ %i5 + 0x3c ], %g1                        
          tty->flow_ctrl &= ~FL_IRTSOFF;                              
 20052b4:	c2 07 60 b8 	ld  [ %i5 + 0xb8 ], %g1                        <== NOT EXECUTED
 20052b8:	82 08 7f fb 	and  %g1, -5, %g1                              <== NOT EXECUTED
 20052bc:	c2 27 60 b8 	st  %g1, [ %i5 + 0xb8 ]                        <== NOT EXECUTED
          /* activate RTS line */                                     
          if (tty->device.startRemoteTx != NULL) {                    
 20052c0:	c2 07 60 b0 	ld  [ %i5 + 0xb0 ], %g1                        <== NOT EXECUTED
 20052c4:	80 a0 60 00 	cmp  %g1, 0                                    <== NOT EXECUTED
 20052c8:	22 80 00 05 	be,a   20052dc <rtems_termios_read+0x2b8>      <== NOT EXECUTED
 20052cc:	c2 07 60 3c 	ld  [ %i5 + 0x3c ], %g1                        <== NOT EXECUTED
            tty->device.startRemoteTx(tty->minor);                    
 20052d0:	9f c0 40 00 	call  %g1                                      <== NOT EXECUTED
 20052d4:	d0 07 60 10 	ld  [ %i5 + 0x10 ], %o0                        <== NOT EXECUTED
          }                                                           
        }                                                             
      }                                                               
                                                                      
      /* continue processing new character */                         
      if (tty->termios.c_lflag & ICANON) {                            
 20052d8:	c2 07 60 3c 	ld  [ %i5 + 0x3c ], %g1                        <== NOT EXECUTED
        if (siproc (c, tty))                                          
 20052dc:	92 10 00 1d 	mov  %i5, %o1                                  
          }                                                           
        }                                                             
      }                                                               
                                                                      
      /* continue processing new character */                         
      if (tty->termios.c_lflag & ICANON) {                            
 20052e0:	80 88 60 02 	btst  2, %g1                                   
 20052e4:	02 80 00 08 	be  2005304 <rtems_termios_read+0x2e0>         <== NEVER TAKEN
 20052e8:	90 0c 20 ff 	and  %l0, 0xff, %o0                            
        if (siproc (c, tty))                                          
 20052ec:	7f ff ff 09 	call  2004f10 <siproc>                         
 20052f0:	01 00 00 00 	nop                                            
          wait = 0;                                                   
 20052f4:	80 a0 00 08 	cmp  %g0, %o0                                  
 20052f8:	82 40 3f ff 	addx  %g0, -1, %g1                             
 20052fc:	10 80 00 09 	b  2005320 <rtems_termios_read+0x2fc>          
 2005300:	b4 0e 80 01 	and  %i2, %g1, %i2                             
      } else {                                                        
        siproc (c, tty);                                              
 2005304:	7f ff ff 03 	call  2004f10 <siproc>                         <== NOT EXECUTED
 2005308:	01 00 00 00 	nop                                            <== NOT EXECUTED
        if (tty->ccount >= tty->termios.c_cc[VMIN])                   
 200530c:	c2 0f 60 47 	ldub  [ %i5 + 0x47 ], %g1                      <== NOT EXECUTED
 2005310:	c4 07 60 20 	ld  [ %i5 + 0x20 ], %g2                        <== NOT EXECUTED
 2005314:	80 a0 80 01 	cmp  %g2, %g1                                  <== NOT EXECUTED
 2005318:	36 80 00 02 	bge,a   2005320 <rtems_termios_read+0x2fc>     <== NOT EXECUTED
 200531c:	b4 10 20 00 	clr  %i2                                       <== NOT EXECUTED
          wait = 0;                                                   
      }                                                               
      timeout = tty->rawInBufSemaphoreTimeout;                        
 2005320:	e0 07 60 70 	ld  [ %i5 + 0x70 ], %l0                        
                                                                      
  while ( wait ) {                                                    
    /*                                                                
     * Process characters read from raw queue                         
     */                                                               
    while ((tty->rawInBuf.Head != tty->rawInBuf.Tail) &&              
 2005324:	c4 07 60 5c 	ld  [ %i5 + 0x5c ], %g2                        
 2005328:	c2 07 60 60 	ld  [ %i5 + 0x60 ], %g1                        
 200532c:	80 a0 80 01 	cmp  %g2, %g1                                  
 2005330:	02 80 00 07 	be  200534c <rtems_termios_read+0x328>         
 2005334:	c2 04 a2 34 	ld  [ %l2 + 0x234 ], %g1                       
 2005338:	c4 07 60 20 	ld  [ %i5 + 0x20 ], %g2                        
                       (tty->ccount < (CBUFSIZE-1))) {                
 200533c:	82 00 7f ff 	add  %g1, -1, %g1                              
                                                                      
  while ( wait ) {                                                    
    /*                                                                
     * Process characters read from raw queue                         
     */                                                               
    while ((tty->rawInBuf.Head != tty->rawInBuf.Tail) &&              
 2005340:	80 a0 80 01 	cmp  %g2, %g1                                  
 2005344:	06 bf ff b0 	bl  2005204 <rtems_termios_read+0x1e0>         <== ALWAYS TAKEN
 2005348:	01 00 00 00 	nop                                            
    }                                                                 
                                                                      
    /*                                                                
     * Wait for characters                                            
     */                                                               
    if ( wait ) {                                                     
 200534c:	80 a6 a0 00 	cmp  %i2, 0                                    
 2005350:	02 80 00 11 	be  2005394 <rtems_termios_read+0x370>         
 2005354:	80 a6 e0 00 	cmp  %i3, 0                                    
      sc = rtems_semaphore_obtain(                                    
 2005358:	d0 07 60 68 	ld  [ %i5 + 0x68 ], %o0                        
 200535c:	d2 07 60 6c 	ld  [ %i5 + 0x6c ], %o1                        
 2005360:	40 00 04 50 	call  20064a0 <rtems_semaphore_obtain>         
 2005364:	94 10 00 10 	mov  %l0, %o2                                  
        tty->rawInBuf.Semaphore, tty->rawInBufSemaphoreOptions, timeout);
      if (sc != RTEMS_SUCCESSFUL)                                     
 2005368:	80 a2 20 00 	cmp  %o0, 0                                    
 200536c:	02 bf ff ee 	be  2005324 <rtems_termios_read+0x300>         <== ALWAYS TAKEN
 2005370:	80 a6 e0 00 	cmp  %i3, 0                                    
 2005374:	30 80 00 08 	b,a   2005394 <rtems_termios_read+0x370>       <== NOT EXECUTED
    if (sc != RTEMS_SUCCESSFUL)                                       
      tty->cindex = tty->ccount = 0;                                  
  }                                                                   
  while (count && (tty->cindex < tty->ccount)) {                      
    *buffer++ = tty->cbuf[tty->cindex++];                             
    count--;                                                          
 2005378:	b6 06 ff ff 	add  %i3, -1, %i3                              
                                                                      
    if (sc != RTEMS_SUCCESSFUL)                                       
      tty->cindex = tty->ccount = 0;                                  
  }                                                                   
  while (count && (tty->cindex < tty->ccount)) {                      
    *buffer++ = tty->cbuf[tty->cindex++];                             
 200537c:	c4 08 80 01 	ldub  [ %g2 + %g1 ], %g2                       
 2005380:	82 00 60 01 	inc  %g1                                       
 2005384:	c4 2e 40 00 	stb  %g2, [ %i1 ]                              
 2005388:	c2 27 60 24 	st  %g1, [ %i5 + 0x24 ]                        
 200538c:	b2 06 60 01 	inc  %i1                                       
      sc = fillBufferQueue (tty);                                     
                                                                      
    if (sc != RTEMS_SUCCESSFUL)                                       
      tty->cindex = tty->ccount = 0;                                  
  }                                                                   
  while (count && (tty->cindex < tty->ccount)) {                      
 2005390:	80 a6 e0 00 	cmp  %i3, 0                                    
 2005394:	22 80 00 08 	be,a   20053b4 <rtems_termios_read+0x390>      
 2005398:	c2 07 20 14 	ld  [ %i4 + 0x14 ], %g1                        
 200539c:	c2 07 60 24 	ld  [ %i5 + 0x24 ], %g1                        
 20053a0:	c4 07 60 20 	ld  [ %i5 + 0x20 ], %g2                        
 20053a4:	80 a0 40 02 	cmp  %g1, %g2                                  
 20053a8:	26 bf ff f4 	bl,a   2005378 <rtems_termios_read+0x354>      
 20053ac:	c4 07 60 1c 	ld  [ %i5 + 0x1c ], %g2                        
    *buffer++ = tty->cbuf[tty->cindex++];                             
    count--;                                                          
  }                                                                   
  args->bytes_moved = args->count - count;                            
 20053b0:	c2 07 20 14 	ld  [ %i4 + 0x14 ], %g1                        
  tty->tty_rcvwakeup = 0;                                             
  rtems_semaphore_release (tty->isem);                                
 20053b4:	d0 07 60 14 	ld  [ %i5 + 0x14 ], %o0                        
  }                                                                   
  while (count && (tty->cindex < tty->ccount)) {                      
    *buffer++ = tty->cbuf[tty->cindex++];                             
    count--;                                                          
  }                                                                   
  args->bytes_moved = args->count - count;                            
 20053b8:	b6 20 40 1b 	sub  %g1, %i3, %i3                             
 20053bc:	f6 27 20 1c 	st  %i3, [ %i4 + 0x1c ]                        
  tty->tty_rcvwakeup = 0;                                             
  rtems_semaphore_release (tty->isem);                                
 20053c0:	40 00 04 82 	call  20065c8 <rtems_semaphore_release>        
 20053c4:	c0 27 60 e4 	clr  [ %i5 + 0xe4 ]                            
  return sc;                                                          
}                                                                     
 20053c8:	81 c7 e0 08 	ret                                            
 20053cc:	81 e8 00 00 	restore                                        
                                                                      

02005738 <rtems_termios_refill_transmitter>: * in task-driven mode, this function is called in Tx task context * in interrupt-driven mode, this function is called in TxIRQ context */ int rtems_termios_refill_transmitter (struct rtems_termios_tty *tty) {
 2005738:	9d e3 bf a0 	save  %sp, -96, %sp                            
  int nToSend;                                                        
  rtems_interrupt_level level;                                        
  int len;                                                            
                                                                      
  /* check for XOF/XON to send */                                     
  if ((tty->flow_ctrl & (FL_MDXOF | FL_IREQXOF | FL_ISNTXOF))         
 200573c:	c2 06 20 b8 	ld  [ %i0 + 0xb8 ], %g1                        
 2005740:	82 08 64 03 	and  %g1, 0x403, %g1                           
 2005744:	80 a0 64 01 	cmp  %g1, 0x401                                
 2005748:	12 80 00 0f 	bne  2005784 <rtems_termios_refill_transmitter+0x4c><== ALWAYS TAKEN
 200574c:	ba 10 00 18 	mov  %i0, %i5                                  
      == (FL_MDXOF | FL_IREQXOF)) {                                   
    /* XOFF should be sent now... */                                  
    (*tty->device.write)(tty->minor, (void *)&(tty->termios.c_cc[VSTOP]), 1);
 2005750:	c2 06 20 a4 	ld  [ %i0 + 0xa4 ], %g1                        <== NOT EXECUTED
 2005754:	d0 06 20 10 	ld  [ %i0 + 0x10 ], %o0                        <== NOT EXECUTED
 2005758:	92 06 20 4a 	add  %i0, 0x4a, %o1                            <== NOT EXECUTED
 200575c:	9f c0 40 00 	call  %g1                                      <== NOT EXECUTED
 2005760:	94 10 20 01 	mov  1, %o2                                    <== NOT EXECUTED
                                                                      
    rtems_interrupt_disable(level);                                   
 2005764:	7f ff f2 86 	call  200217c <sparc_disable_interrupts>       <== NOT EXECUTED
 2005768:	01 00 00 00 	nop                                            <== NOT EXECUTED
    tty->t_dqlen--;                                                   
 200576c:	c2 06 20 90 	ld  [ %i0 + 0x90 ], %g1                        <== NOT EXECUTED
 2005770:	82 00 7f ff 	add  %g1, -1, %g1                              <== NOT EXECUTED
 2005774:	c2 26 20 90 	st  %g1, [ %i0 + 0x90 ]                        <== NOT EXECUTED
    tty->flow_ctrl |= FL_ISNTXOF;                                     
 2005778:	c2 06 20 b8 	ld  [ %i0 + 0xb8 ], %g1                        <== NOT EXECUTED
 200577c:	10 80 00 12 	b  20057c4 <rtems_termios_refill_transmitter+0x8c><== NOT EXECUTED
 2005780:	82 10 60 02 	or  %g1, 2, %g1                                <== NOT EXECUTED
    rtems_interrupt_enable(level);                                    
                                                                      
    nToSend = 1;                                                      
                                                                      
  } else if ((tty->flow_ctrl & (FL_IREQXOF | FL_ISNTXOF)) == FL_ISNTXOF) {
 2005784:	c2 06 20 b8 	ld  [ %i0 + 0xb8 ], %g1                        
 2005788:	82 08 60 03 	and  %g1, 3, %g1                               
 200578c:	80 a0 60 02 	cmp  %g1, 2                                    
 2005790:	12 80 00 12 	bne  20057d8 <rtems_termios_refill_transmitter+0xa0><== ALWAYS TAKEN
 2005794:	92 06 20 49 	add  %i0, 0x49, %o1                            
     * FIXME: this .write call will generate another                  
     * dequeue callback. This will advance the "Tail" in the data     
     * buffer, although the corresponding data is not yet out!        
     * Therefore the dequeue "length" should be reduced by 1          
     */                                                               
    (*tty->device.write)(tty->minor, (void *)&(tty->termios.c_cc[VSTART]), 1);
 2005798:	c2 06 20 a4 	ld  [ %i0 + 0xa4 ], %g1                        <== NOT EXECUTED
 200579c:	d0 06 20 10 	ld  [ %i0 + 0x10 ], %o0                        <== NOT EXECUTED
 20057a0:	9f c0 40 00 	call  %g1                                      <== NOT EXECUTED
 20057a4:	94 10 20 01 	mov  1, %o2                                    <== NOT EXECUTED
                                                                      
    rtems_interrupt_disable(level);                                   
 20057a8:	7f ff f2 75 	call  200217c <sparc_disable_interrupts>       <== NOT EXECUTED
 20057ac:	01 00 00 00 	nop                                            <== NOT EXECUTED
    tty->t_dqlen--;                                                   
 20057b0:	c2 06 20 90 	ld  [ %i0 + 0x90 ], %g1                        <== NOT EXECUTED
 20057b4:	82 00 7f ff 	add  %g1, -1, %g1                              <== NOT EXECUTED
 20057b8:	c2 26 20 90 	st  %g1, [ %i0 + 0x90 ]                        <== NOT EXECUTED
    tty->flow_ctrl &= ~FL_ISNTXOF;                                    
 20057bc:	c2 06 20 b8 	ld  [ %i0 + 0xb8 ], %g1                        <== NOT EXECUTED
 20057c0:	82 08 7f fd 	and  %g1, -3, %g1                              <== NOT EXECUTED
 20057c4:	c2 27 60 b8 	st  %g1, [ %i5 + 0xb8 ]                        <== NOT EXECUTED
    rtems_interrupt_enable(level);                                    
 20057c8:	7f ff f2 71 	call  200218c <sparc_enable_interrupts>        <== NOT EXECUTED
 20057cc:	b0 10 20 01 	mov  1, %i0                                    <== NOT EXECUTED
 20057d0:	81 c7 e0 08 	ret                                            
 20057d4:	81 e8 00 00 	restore                                        
                                                                      
    nToSend = 1;                                                      
  } else {                                                            
    if ( tty->rawOutBuf.Head == tty->rawOutBuf.Tail ) {               
 20057d8:	c4 06 20 80 	ld  [ %i0 + 0x80 ], %g2                        
 20057dc:	c2 06 20 84 	ld  [ %i0 + 0x84 ], %g1                        
 20057e0:	80 a0 80 01 	cmp  %g2, %g1                                  
 20057e4:	12 80 00 0a 	bne  200580c <rtems_termios_refill_transmitter+0xd4>
 20057e8:	01 00 00 00 	nop                                            
      /*                                                              
       * buffer was empty                                             
       */                                                             
      if (tty->rawOutBufState == rob_wait) {                          
 20057ec:	c2 06 20 94 	ld  [ %i0 + 0x94 ], %g1                        
 20057f0:	80 a0 60 02 	cmp  %g1, 2                                    
 20057f4:	12 bf ff f7 	bne  20057d0 <rtems_termios_refill_transmitter+0x98><== ALWAYS TAKEN
 20057f8:	b0 10 20 00 	clr  %i0                                       
        /*                                                            
         * this should never happen...                                
         */                                                           
        rtems_semaphore_release (tty->rawOutBuf.Semaphore);           
 20057fc:	40 00 03 73 	call  20065c8 <rtems_semaphore_release>        <== NOT EXECUTED
 2005800:	d0 07 60 8c 	ld  [ %i5 + 0x8c ], %o0                        <== NOT EXECUTED
 2005804:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2005808:	81 e8 00 00 	restore                                        <== NOT EXECUTED
      }                                                               
      return 0;                                                       
    }                                                                 
                                                                      
    rtems_interrupt_disable(level);                                   
 200580c:	7f ff f2 5c 	call  200217c <sparc_disable_interrupts>       
 2005810:	01 00 00 00 	nop                                            
    len = tty->t_dqlen;                                               
 2005814:	f8 06 20 90 	ld  [ %i0 + 0x90 ], %i4                        
    tty->t_dqlen = 0;                                                 
 2005818:	c0 26 20 90 	clr  [ %i0 + 0x90 ]                            
    rtems_interrupt_enable(level);                                    
 200581c:	7f ff f2 5c 	call  200218c <sparc_enable_interrupts>        
 2005820:	01 00 00 00 	nop                                            
                                                                      
    newTail = (tty->rawOutBuf.Tail + len) % tty->rawOutBuf.Size;      
 2005824:	d0 06 20 84 	ld  [ %i0 + 0x84 ], %o0                        
 2005828:	d2 06 20 88 	ld  [ %i0 + 0x88 ], %o1                        
 200582c:	40 00 45 58 	call  2016d8c <.urem>                          
 2005830:	90 07 00 08 	add  %i4, %o0, %o0                             
    tty->rawOutBuf.Tail = newTail;                                    
    if (tty->rawOutBufState == rob_wait) {                            
 2005834:	c2 06 20 94 	ld  [ %i0 + 0x94 ], %g1                        
    len = tty->t_dqlen;                                               
    tty->t_dqlen = 0;                                                 
    rtems_interrupt_enable(level);                                    
                                                                      
    newTail = (tty->rawOutBuf.Tail + len) % tty->rawOutBuf.Size;      
    tty->rawOutBuf.Tail = newTail;                                    
 2005838:	d0 27 60 84 	st  %o0, [ %i5 + 0x84 ]                        
    if (tty->rawOutBufState == rob_wait) {                            
 200583c:	80 a0 60 02 	cmp  %g1, 2                                    
 2005840:	12 80 00 04 	bne  2005850 <rtems_termios_refill_transmitter+0x118>
 2005844:	b8 10 00 08 	mov  %o0, %i4                                  
      /*                                                              
       * wake up any pending writer task                              
       */                                                             
      rtems_semaphore_release (tty->rawOutBuf.Semaphore);             
 2005848:	40 00 03 60 	call  20065c8 <rtems_semaphore_release>        
 200584c:	d0 06 20 8c 	ld  [ %i0 + 0x8c ], %o0                        
    }                                                                 
                                                                      
    if (newTail == tty->rawOutBuf.Head) {                             
 2005850:	c2 07 60 80 	ld  [ %i5 + 0x80 ], %g1                        
 2005854:	80 a7 00 01 	cmp  %i4, %g1                                  
 2005858:	12 80 00 0b 	bne  2005884 <rtems_termios_refill_transmitter+0x14c>
 200585c:	01 00 00 00 	nop                                            
      nToSend = 0;                                                    
                                                                      
      /*                                                              
       * check to see if snd wakeup callback was set                  
       */                                                             
      if ( tty->tty_snd.sw_pfn != NULL) {                             
 2005860:	c2 07 60 d4 	ld  [ %i5 + 0xd4 ], %g1                        
                                                                      
    if (newTail == tty->rawOutBuf.Head) {                             
      /*                                                              
       * Buffer has become empty                                      
       */                                                             
      tty->rawOutBufState = rob_idle;                                 
 2005864:	c0 27 60 94 	clr  [ %i5 + 0x94 ]                            
      nToSend = 0;                                                    
                                                                      
      /*                                                              
       * check to see if snd wakeup callback was set                  
       */                                                             
      if ( tty->tty_snd.sw_pfn != NULL) {                             
 2005868:	80 a0 60 00 	cmp  %g1, 0                                    
 200586c:	02 80 00 29 	be  2005910 <rtems_termios_refill_transmitter+0x1d8><== ALWAYS TAKEN
 2005870:	b0 10 20 00 	clr  %i0                                       
        (*tty->tty_snd.sw_pfn)(&tty->termios, tty->tty_snd.sw_arg);   
 2005874:	d2 07 60 d8 	ld  [ %i5 + 0xd8 ], %o1                        <== NOT EXECUTED
 2005878:	9f c0 40 00 	call  %g1                                      <== NOT EXECUTED
 200587c:	90 07 60 30 	add  %i5, 0x30, %o0                            <== NOT EXECUTED
 2005880:	30 80 00 24 	b,a   2005910 <rtems_termios_refill_transmitter+0x1d8><== NOT EXECUTED
      }                                                               
    }                                                                 
    /* check, whether output should stop due to received XOFF */      
    else if ((tty->flow_ctrl & (FL_MDXON | FL_ORCVXOF))               
 2005884:	c2 07 60 b8 	ld  [ %i5 + 0xb8 ], %g1                        
 2005888:	82 08 62 10 	and  %g1, 0x210, %g1                           
 200588c:	80 a0 62 10 	cmp  %g1, 0x210                                
 2005890:	12 80 00 0c 	bne  20058c0 <rtems_termios_refill_transmitter+0x188><== ALWAYS TAKEN
 2005894:	01 00 00 00 	nop                                            
       ==                (FL_MDXON | FL_ORCVXOF)) {                   
      /* Buffer not empty, but output stops due to XOFF */            
      /* set flag, that output has been stopped */                    
      rtems_interrupt_disable(level);                                 
 2005898:	7f ff f2 39 	call  200217c <sparc_disable_interrupts>       <== NOT EXECUTED
 200589c:	01 00 00 00 	nop                                            <== NOT EXECUTED
      tty->flow_ctrl |= FL_OSTOP;                                     
 20058a0:	c2 07 60 b8 	ld  [ %i5 + 0xb8 ], %g1                        <== NOT EXECUTED
 20058a4:	82 10 60 20 	or  %g1, 0x20, %g1                             <== NOT EXECUTED
 20058a8:	c2 27 60 b8 	st  %g1, [ %i5 + 0xb8 ]                        <== NOT EXECUTED
      tty->rawOutBufState = rob_busy; /*apm*/                         
 20058ac:	82 10 20 01 	mov  1, %g1                                    <== NOT EXECUTED
 20058b0:	c2 27 60 94 	st  %g1, [ %i5 + 0x94 ]                        <== NOT EXECUTED
      rtems_interrupt_enable(level);                                  
 20058b4:	7f ff f2 36 	call  200218c <sparc_enable_interrupts>        <== NOT EXECUTED
 20058b8:	b0 10 20 00 	clr  %i0                                       <== NOT EXECUTED
 20058bc:	30 80 00 15 	b,a   2005910 <rtems_termios_refill_transmitter+0x1d8><== NOT EXECUTED
      nToSend = 0;                                                    
    } else {                                                          
      /*                                                              
       * Buffer not empty, start tranmitter                           
       */                                                             
      if (newTail > tty->rawOutBuf.Head)                              
 20058c0:	c2 07 60 80 	ld  [ %i5 + 0x80 ], %g1                        
 20058c4:	80 a7 00 01 	cmp  %i4, %g1                                  
 20058c8:	08 80 00 04 	bleu  20058d8 <rtems_termios_refill_transmitter+0x1a0>
 20058cc:	01 00 00 00 	nop                                            
        nToSend = tty->rawOutBuf.Size - newTail;                      
 20058d0:	f0 07 60 88 	ld  [ %i5 + 0x88 ], %i0                        
 20058d4:	30 80 00 02 	b,a   20058dc <rtems_termios_refill_transmitter+0x1a4>
      else                                                            
        nToSend = tty->rawOutBuf.Head - newTail;                      
 20058d8:	f0 07 60 80 	ld  [ %i5 + 0x80 ], %i0                        
      /* when flow control XON or XOF, don't send blocks of data     */
      /* to allow fast reaction on incoming flow ctrl and low latency*/
      /* for outgoing flow control                                   */
      if (tty->flow_ctrl & (FL_MDXON | FL_MDXOF)) {                   
 20058dc:	c2 07 60 b8 	ld  [ %i5 + 0xb8 ], %g1                        
 20058e0:	80 88 66 00 	btst  0x600, %g1                               
 20058e4:	02 80 00 03 	be  20058f0 <rtems_termios_refill_transmitter+0x1b8>
 20058e8:	b0 26 00 1c 	sub  %i0, %i4, %i0                             
        nToSend = 1;                                                  
 20058ec:	b0 10 20 01 	mov  1, %i0                                    
      }                                                               
      tty->rawOutBufState = rob_busy; /*apm*/                         
 20058f0:	82 10 20 01 	mov  1, %g1                                    
      (*tty->device.write)(                                           
 20058f4:	d2 07 60 7c 	ld  [ %i5 + 0x7c ], %o1                        
      /* to allow fast reaction on incoming flow ctrl and low latency*/
      /* for outgoing flow control                                   */
      if (tty->flow_ctrl & (FL_MDXON | FL_MDXOF)) {                   
        nToSend = 1;                                                  
      }                                                               
      tty->rawOutBufState = rob_busy; /*apm*/                         
 20058f8:	c2 27 60 94 	st  %g1, [ %i5 + 0x94 ]                        
      (*tty->device.write)(                                           
 20058fc:	d0 07 60 10 	ld  [ %i5 + 0x10 ], %o0                        
 2005900:	c2 07 60 a4 	ld  [ %i5 + 0xa4 ], %g1                        
 2005904:	92 02 40 1c 	add  %o1, %i4, %o1                             
 2005908:	9f c0 40 00 	call  %g1                                      
 200590c:	94 10 00 18 	mov  %i0, %o2                                  
        tty->minor, &tty->rawOutBuf.theBuf[newTail], nToSend);        
    }                                                                 
    tty->rawOutBuf.Tail = newTail; /*apm*/                            
 2005910:	f8 27 60 84 	st  %i4, [ %i5 + 0x84 ]                        
  }                                                                   
  return nToSend;                                                     
}                                                                     
 2005914:	81 c7 e0 08 	ret                                            
 2005918:	81 e8 00 00 	restore                                        
                                                                      

020056d0 <rtems_termios_rxdaemon>: /* * this task actually processes any receive events */ static rtems_task rtems_termios_rxdaemon(rtems_task_argument argument) {
 20056d0:	9d e3 bf 98 	save  %sp, -104, %sp                           
                                                                      
  while (1) {                                                         
    /*                                                                
     * wait for rtems event                                           
     */                                                               
    rtems_event_receive(                                              
 20056d4:	90 10 20 03 	mov  3, %o0                                    
 20056d8:	92 10 20 02 	mov  2, %o1                                    
 20056dc:	94 10 20 00 	clr  %o2                                       
 20056e0:	40 00 01 d6 	call  2005e38 <rtems_event_receive>            
 20056e4:	96 07 bf f8 	add  %fp, -8, %o3                              
      (TERMIOS_RX_PROC_EVENT | TERMIOS_RX_TERMINATE_EVENT),           
      RTEMS_EVENT_ANY | RTEMS_WAIT,                                   
      RTEMS_NO_TIMEOUT,                                               
      &the_event                                                      
    );                                                                
    if ((the_event & TERMIOS_RX_TERMINATE_EVENT) != 0) {              
 20056e8:	c2 07 bf f8 	ld  [ %fp + -8 ], %g1                          
 20056ec:	80 88 60 01 	btst  1, %g1                                   
 20056f0:	22 80 00 06 	be,a   2005708 <rtems_termios_rxdaemon+0x38>   <== ALWAYS TAKEN
 20056f4:	c2 06 20 a0 	ld  [ %i0 + 0xa0 ], %g1                        
      tty->rxTaskId = 0;                                              
 20056f8:	c0 26 20 c4 	clr  [ %i0 + 0xc4 ]                            <== NOT EXECUTED
      rtems_task_delete(RTEMS_SELF);                                  
 20056fc:	40 00 04 2b 	call  20067a8 <rtems_task_delete>              <== NOT EXECUTED
 2005700:	90 10 20 00 	clr  %o0                                       <== NOT EXECUTED
    }                                                                 
                                                                      
    /*                                                                
     * do something                                                   
     */                                                               
    c = tty->device.pollRead(tty->minor);                             
 2005704:	c2 06 20 a0 	ld  [ %i0 + 0xa0 ], %g1                        <== NOT EXECUTED
 2005708:	9f c0 40 00 	call  %g1                                      
 200570c:	d0 06 20 10 	ld  [ %i0 + 0x10 ], %o0                        
    if (c != EOF) {                                                   
 2005710:	80 a2 3f ff 	cmp  %o0, -1                                   
 2005714:	22 bf ff f1 	be,a   20056d8 <rtems_termios_rxdaemon+0x8>    
 2005718:	90 10 20 03 	mov  3, %o0                                    
      /*                                                              
       * pollRead did call enqueue on its own                         
       */                                                             
      c_buf = c;                                                      
 200571c:	d0 2f bf ff 	stb  %o0, [ %fp + -1 ]                         
      rtems_termios_enqueue_raw_characters ( tty,&c_buf,1);           
 2005720:	92 07 bf ff 	add  %fp, -1, %o1                              
 2005724:	90 10 00 18 	mov  %i0, %o0                                  
 2005728:	7f ff ff 2f 	call  20053e4 <rtems_termios_enqueue_raw_characters>
 200572c:	94 10 20 01 	mov  1, %o2                                    
                                                                      
  while (1) {                                                         
    /*                                                                
     * wait for rtems event                                           
     */                                                               
    rtems_event_receive(                                              
 2005730:	10 bf ff ea 	b  20056d8 <rtems_termios_rxdaemon+0x8>        
 2005734:	90 10 20 03 	mov  3, %o0                                    
                                                                      

0200591c <rtems_termios_txdaemon>: /* * this task actually processes any transmit events */ static rtems_task rtems_termios_txdaemon(rtems_task_argument argument) {
 200591c:	9d e3 bf 98 	save  %sp, -104, %sp                           
    }                                                                 
                                                                      
    /*                                                                
     * call any line discipline start function                        
     */                                                               
    if (rtems_termios_linesw[tty->t_line].l_start != NULL) {          
 2005920:	3b 00 80 6c 	sethi  %hi(0x201b000), %i5                     
 2005924:	ba 17 60 d4 	or  %i5, 0xd4, %i5	! 201b0d4 <rtems_termios_linesw>
                                                                      
  while (1) {                                                         
    /*                                                                
     * wait for rtems event                                           
     */                                                               
    rtems_event_receive(                                              
 2005928:	90 10 20 03 	mov  3, %o0                                    
 200592c:	92 10 20 02 	mov  2, %o1                                    
 2005930:	94 10 20 00 	clr  %o2                                       
 2005934:	40 00 01 41 	call  2005e38 <rtems_event_receive>            
 2005938:	96 07 bf fc 	add  %fp, -4, %o3                              
       (TERMIOS_TX_START_EVENT | TERMIOS_TX_TERMINATE_EVENT),         
       RTEMS_EVENT_ANY | RTEMS_WAIT,                                  
       RTEMS_NO_TIMEOUT,                                              
       &the_event                                                     
    );                                                                
    if ((the_event & TERMIOS_TX_TERMINATE_EVENT) != 0) {              
 200593c:	c2 07 bf fc 	ld  [ %fp + -4 ], %g1                          
 2005940:	80 88 60 01 	btst  1, %g1                                   
 2005944:	22 80 00 06 	be,a   200595c <rtems_termios_txdaemon+0x40>   <== ALWAYS TAKEN
 2005948:	c2 06 20 cc 	ld  [ %i0 + 0xcc ], %g1                        
      tty->txTaskId = 0;                                              
 200594c:	c0 26 20 c8 	clr  [ %i0 + 0xc8 ]                            <== NOT EXECUTED
      rtems_task_delete(RTEMS_SELF);                                  
 2005950:	40 00 03 96 	call  20067a8 <rtems_task_delete>              <== NOT EXECUTED
 2005954:	90 10 20 00 	clr  %o0                                       <== NOT EXECUTED
    }                                                                 
                                                                      
    /*                                                                
     * call any line discipline start function                        
     */                                                               
    if (rtems_termios_linesw[tty->t_line].l_start != NULL) {          
 2005958:	c2 06 20 cc 	ld  [ %i0 + 0xcc ], %g1                        <== NOT EXECUTED
 200595c:	83 28 60 05 	sll  %g1, 5, %g1                               
 2005960:	82 07 40 01 	add  %i5, %g1, %g1                             
 2005964:	c2 00 60 14 	ld  [ %g1 + 0x14 ], %g1                        
 2005968:	80 a0 60 00 	cmp  %g1, 0                                    
 200596c:	02 80 00 04 	be  200597c <rtems_termios_txdaemon+0x60>      <== ALWAYS TAKEN
 2005970:	01 00 00 00 	nop                                            
      rtems_termios_linesw[tty->t_line].l_start(tty);                 
 2005974:	9f c0 40 00 	call  %g1                                      <== NOT EXECUTED
 2005978:	90 10 00 18 	mov  %i0, %o0                                  <== NOT EXECUTED
    }                                                                 
                                                                      
    /*                                                                
     * try to push further characters to device                       
     */                                                               
    rtems_termios_refill_transmitter(tty);                            
 200597c:	7f ff ff 6f 	call  2005738 <rtems_termios_refill_transmitter>
 2005980:	90 10 00 18 	mov  %i0, %o0                                  
  }                                                                   
 2005984:	10 bf ff ea 	b  200592c <rtems_termios_txdaemon+0x10>       
 2005988:	90 10 20 03 	mov  3, %o0                                    
                                                                      

02004f58 <rtems_termios_write>: rtems_termios_puts (&c, 1, tty); } rtems_status_code rtems_termios_write (void *arg) {
 2004f58:	9d e3 bf a0 	save  %sp, -96, %sp                            
  rtems_libio_rw_args_t *args = arg;                                  
  struct rtems_termios_tty *tty = args->iop->data1;                   
 2004f5c:	c2 06 00 00 	ld  [ %i0 ], %g1                               
  rtems_termios_puts (&c, 1, tty);                                    
}                                                                     
                                                                      
rtems_status_code                                                     
rtems_termios_write (void *arg)                                       
{                                                                     
 2004f60:	b8 10 00 18 	mov  %i0, %i4                                  
  rtems_libio_rw_args_t *args = arg;                                  
  struct rtems_termios_tty *tty = args->iop->data1;                   
 2004f64:	fa 00 60 38 	ld  [ %g1 + 0x38 ], %i5                        
  rtems_status_code sc;                                               
                                                                      
  sc = rtems_semaphore_obtain (tty->osem, RTEMS_WAIT, RTEMS_NO_TIMEOUT);
 2004f68:	92 10 20 00 	clr  %o1                                       
 2004f6c:	d0 07 60 18 	ld  [ %i5 + 0x18 ], %o0                        
 2004f70:	40 00 05 4c 	call  20064a0 <rtems_semaphore_obtain>         
 2004f74:	94 10 20 00 	clr  %o2                                       
  if (sc != RTEMS_SUCCESSFUL)                                         
 2004f78:	b0 92 20 00 	orcc  %o0, 0, %i0                              
 2004f7c:	12 80 00 0f 	bne  2004fb8 <rtems_termios_write+0x60>        <== NEVER TAKEN
 2004f80:	03 00 80 6c 	sethi  %hi(0x201b000), %g1                     
    return sc;                                                        
  if (rtems_termios_linesw[tty->t_line].l_write != NULL) {            
 2004f84:	c4 07 60 cc 	ld  [ %i5 + 0xcc ], %g2                        
 2004f88:	85 28 a0 05 	sll  %g2, 5, %g2                               
 2004f8c:	82 10 60 d4 	or  %g1, 0xd4, %g1                             
 2004f90:	82 00 40 02 	add  %g1, %g2, %g1                             
 2004f94:	c2 00 60 0c 	ld  [ %g1 + 0xc ], %g1                         
 2004f98:	80 a0 60 00 	cmp  %g1, 0                                    
 2004f9c:	02 80 00 09 	be  2004fc0 <rtems_termios_write+0x68>         
 2004fa0:	90 10 00 1d 	mov  %i5, %o0                                  
    sc = rtems_termios_linesw[tty->t_line].l_write(tty,args);         
 2004fa4:	9f c0 40 00 	call  %g1                                      
 2004fa8:	92 10 00 1c 	mov  %i4, %o1                                  
 2004fac:	b0 10 00 08 	mov  %o0, %i0                                  
    rtems_semaphore_release (tty->osem);                              
 2004fb0:	40 00 05 86 	call  20065c8 <rtems_semaphore_release>        
 2004fb4:	d0 07 60 18 	ld  [ %i5 + 0x18 ], %o0                        
    return sc;                                                        
 2004fb8:	81 c7 e0 08 	ret                                            
 2004fbc:	81 e8 00 00 	restore                                        
  }                                                                   
  if (tty->termios.c_oflag & OPOST) {                                 
 2004fc0:	c2 07 60 34 	ld  [ %i5 + 0x34 ], %g1                        
    uint32_t   count = args->count;                                   
    char      *buffer = args->buffer;                                 
    while (count--)                                                   
 2004fc4:	b6 10 20 00 	clr  %i3                                       
  if (rtems_termios_linesw[tty->t_line].l_write != NULL) {            
    sc = rtems_termios_linesw[tty->t_line].l_write(tty,args);         
    rtems_semaphore_release (tty->osem);                              
    return sc;                                                        
  }                                                                   
  if (tty->termios.c_oflag & OPOST) {                                 
 2004fc8:	80 88 60 01 	btst  1, %g1                                   
 2004fcc:	f4 07 20 14 	ld  [ %i4 + 0x14 ], %i2                        
 2004fd0:	12 80 00 07 	bne  2004fec <rtems_termios_write+0x94>        <== ALWAYS TAKEN
 2004fd4:	f2 07 20 10 	ld  [ %i4 + 0x10 ], %i1                        
    char      *buffer = args->buffer;                                 
    while (count--)                                                   
      oproc (*buffer++, tty);                                         
    args->bytes_moved = args->count;                                  
  } else {                                                            
    rtems_termios_puts (args->buffer, args->count, tty);              
 2004fd8:	10 80 00 0a 	b  2005000 <rtems_termios_write+0xa8>          <== NOT EXECUTED
 2004fdc:	90 10 00 19 	mov  %i1, %o0                                  <== NOT EXECUTED
  }                                                                   
  if (tty->termios.c_oflag & OPOST) {                                 
    uint32_t   count = args->count;                                   
    char      *buffer = args->buffer;                                 
    while (count--)                                                   
      oproc (*buffer++, tty);                                         
 2004fe0:	92 10 00 1d 	mov  %i5, %o1                                  
 2004fe4:	7f ff fe 51 	call  2004928 <oproc>                          
 2004fe8:	b6 06 e0 01 	inc  %i3                                       
    return sc;                                                        
  }                                                                   
  if (tty->termios.c_oflag & OPOST) {                                 
    uint32_t   count = args->count;                                   
    char      *buffer = args->buffer;                                 
    while (count--)                                                   
 2004fec:	80 a6 c0 1a 	cmp  %i3, %i2                                  
 2004ff0:	32 bf ff fc 	bne,a   2004fe0 <rtems_termios_write+0x88>     
 2004ff4:	d0 0e 40 1b 	ldub  [ %i1 + %i3 ], %o0                       
      oproc (*buffer++, tty);                                         
    args->bytes_moved = args->count;                                  
  } else {                                                            
    rtems_termios_puts (args->buffer, args->count, tty);              
    args->bytes_moved = args->count;                                  
 2004ff8:	10 80 00 06 	b  2005010 <rtems_termios_write+0xb8>          
 2004ffc:	c2 07 20 14 	ld  [ %i4 + 0x14 ], %g1                        
    char      *buffer = args->buffer;                                 
    while (count--)                                                   
      oproc (*buffer++, tty);                                         
    args->bytes_moved = args->count;                                  
  } else {                                                            
    rtems_termios_puts (args->buffer, args->count, tty);              
 2005000:	92 10 00 1a 	mov  %i2, %o1                                  <== NOT EXECUTED
 2005004:	7f ff fe 00 	call  2004804 <rtems_termios_puts>             <== NOT EXECUTED
 2005008:	94 10 00 1d 	mov  %i5, %o2                                  <== NOT EXECUTED
    args->bytes_moved = args->count;                                  
 200500c:	c2 07 20 14 	ld  [ %i4 + 0x14 ], %g1                        <== NOT EXECUTED
  }                                                                   
  rtems_semaphore_release (tty->osem);                                
 2005010:	d0 07 60 18 	ld  [ %i5 + 0x18 ], %o0                        
 2005014:	40 00 05 6d 	call  20065c8 <rtems_semaphore_release>        
 2005018:	c2 27 20 1c 	st  %g1, [ %i4 + 0x1c ]                        
  return sc;                                                          
}                                                                     
 200501c:	81 c7 e0 08 	ret                                            
 2005020:	81 e8 00 00 	restore                                        
                                                                      

02016b3c <rtems_timer_cancel>: */ rtems_status_code rtems_timer_cancel( rtems_id id ) {
 2016b3c:	9d e3 bf 98 	save  %sp, -104, %sp                           
RTEMS_INLINE_ROUTINE Timer_Control *_Timer_Get (                      
  Objects_Id         id,                                              
  Objects_Locations *location                                         
)                                                                     
{                                                                     
  return (Timer_Control *)                                            
 2016b40:	11 00 80 e8 	sethi  %hi(0x203a000), %o0                     
 2016b44:	92 10 00 18 	mov  %i0, %o1                                  
 2016b48:	90 12 23 54 	or  %o0, 0x354, %o0                            
 2016b4c:	40 00 0b b9 	call  2019a30 <_Objects_Get>                   
 2016b50:	94 07 bf fc 	add  %fp, -4, %o2                              
  Timer_Control   *the_timer;                                         
  Objects_Locations       location;                                   
                                                                      
  the_timer = _Timer_Get( id, &location );                            
  switch ( location ) {                                               
 2016b54:	c2 07 bf fc 	ld  [ %fp + -4 ], %g1                          
 2016b58:	80 a0 60 00 	cmp  %g1, 0                                    
 2016b5c:	12 80 00 0c 	bne  2016b8c <rtems_timer_cancel+0x50>         
 2016b60:	01 00 00 00 	nop                                            
                                                                      
    case OBJECTS_LOCAL:                                               
      if ( !_Timer_Is_dormant_class( the_timer->the_class ) )         
 2016b64:	c2 02 20 38 	ld  [ %o0 + 0x38 ], %g1                        
 2016b68:	80 a0 60 04 	cmp  %g1, 4                                    
 2016b6c:	02 80 00 04 	be  2016b7c <rtems_timer_cancel+0x40>          <== NEVER TAKEN
 2016b70:	01 00 00 00 	nop                                            
        (void) _Watchdog_Remove( &the_timer->Ticker );                
 2016b74:	40 00 13 d0 	call  201bab4 <_Watchdog_Remove>               
 2016b78:	90 02 20 10 	add  %o0, 0x10, %o0                            
      _Thread_Enable_dispatch();                                      
 2016b7c:	40 00 0f 61 	call  201a900 <_Thread_Enable_dispatch>        
 2016b80:	b0 10 20 00 	clr  %i0                                       
      return RTEMS_SUCCESSFUL;                                        
 2016b84:	81 c7 e0 08 	ret                                            
 2016b88:	81 e8 00 00 	restore                                        
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
 2016b8c:	81 c7 e0 08 	ret                                            
 2016b90:	91 e8 20 04 	restore  %g0, 4, %o0                           
                                                                      

02017038 <rtems_timer_server_fire_when>: rtems_id id, rtems_time_of_day *wall_time, rtems_timer_service_routine_entry routine, void *user_data ) {
 2017038:	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;                 
 201703c:	03 00 80 e8 	sethi  %hi(0x203a000), %g1                     
 2017040:	f8 00 63 94 	ld  [ %g1 + 0x394 ], %i4	! 203a394 <_Timer_server>
  rtems_id                           id,                              
  rtems_time_of_day                  *wall_time,                      
  rtems_timer_service_routine_entry  routine,                         
  void                              *user_data                        
)                                                                     
{                                                                     
 2017044:	ba 10 00 18 	mov  %i0, %i5                                  
  Timer_Control        *the_timer;                                    
  Objects_Locations     location;                                     
  rtems_interval        seconds;                                      
  Timer_server_Control *timer_server = _Timer_server;                 
                                                                      
  if ( !timer_server )                                                
 2017048:	80 a7 20 00 	cmp  %i4, 0                                    
 201704c:	02 80 00 32 	be  2017114 <rtems_timer_server_fire_when+0xdc>
 2017050:	b0 10 20 0e 	mov  0xe, %i0                                  
    return RTEMS_INCORRECT_STATE;                                     
                                                                      
  if ( !_TOD_Is_set )                                                 
 2017054:	03 00 80 e8 	sethi  %hi(0x203a000), %g1                     
 2017058:	c2 08 60 80 	ldub  [ %g1 + 0x80 ], %g1	! 203a080 <_TOD_Is_set>
 201705c:	80 a0 60 00 	cmp  %g1, 0                                    
 2017060:	02 80 00 2d 	be  2017114 <rtems_timer_server_fire_when+0xdc><== NEVER TAKEN
 2017064:	b0 10 20 0b 	mov  0xb, %i0                                  
    return RTEMS_NOT_DEFINED;                                         
                                                                      
  if ( !routine )                                                     
 2017068:	80 a6 a0 00 	cmp  %i2, 0                                    
 201706c:	02 80 00 2a 	be  2017114 <rtems_timer_server_fire_when+0xdc>
 2017070:	b0 10 20 09 	mov  9, %i0                                    
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  if ( !_TOD_Validate( wall_time ) )                                  
 2017074:	90 10 00 19 	mov  %i1, %o0                                  
 2017078:	7f ff f3 fb 	call  2014064 <_TOD_Validate>                  
 201707c:	b0 10 20 14 	mov  0x14, %i0                                 
 2017080:	80 8a 20 ff 	btst  0xff, %o0                                
 2017084:	02 80 00 27 	be  2017120 <rtems_timer_server_fire_when+0xe8>
 2017088:	01 00 00 00 	nop                                            
    return RTEMS_INVALID_CLOCK;                                       
                                                                      
  seconds = _TOD_To_seconds( wall_time );                             
 201708c:	7f ff f3 c2 	call  2013f94 <_TOD_To_seconds>                
 2017090:	90 10 00 19 	mov  %i1, %o0                                  
  if ( seconds <= _TOD_Seconds_since_epoch() )                        
 2017094:	21 00 80 e8 	sethi  %hi(0x203a000), %l0                     
 2017098:	c2 04 20 fc 	ld  [ %l0 + 0xfc ], %g1	! 203a0fc <_TOD_Now>   
 201709c:	80 a2 00 01 	cmp  %o0, %g1                                  
 20170a0:	08 80 00 1d 	bleu  2017114 <rtems_timer_server_fire_when+0xdc>
 20170a4:	b2 10 00 08 	mov  %o0, %i1                                  
 20170a8:	11 00 80 e8 	sethi  %hi(0x203a000), %o0                     
 20170ac:	92 10 00 1d 	mov  %i5, %o1                                  
 20170b0:	90 12 23 54 	or  %o0, 0x354, %o0                            
 20170b4:	40 00 0a 5f 	call  2019a30 <_Objects_Get>                   
 20170b8:	94 07 bf fc 	add  %fp, -4, %o2                              
    return RTEMS_INVALID_CLOCK;                                       
                                                                      
  the_timer = _Timer_Get( id, &location );                            
  switch ( location ) {                                               
 20170bc:	c2 07 bf fc 	ld  [ %fp + -4 ], %g1                          
 20170c0:	80 a0 60 00 	cmp  %g1, 0                                    
 20170c4:	12 80 00 16 	bne  201711c <rtems_timer_server_fire_when+0xe4>
 20170c8:	b0 10 00 08 	mov  %o0, %i0                                  
                                                                      
    case OBJECTS_LOCAL:                                               
      (void) _Watchdog_Remove( &the_timer->Ticker );                  
 20170cc:	40 00 12 7a 	call  201bab4 <_Watchdog_Remove>               
 20170d0:	90 02 20 10 	add  %o0, 0x10, %o0                            
      the_timer->the_class = TIMER_TIME_OF_DAY_ON_TASK;               
 20170d4:	82 10 20 03 	mov  3, %g1                                    
 20170d8:	c2 26 20 38 	st  %g1, [ %i0 + 0x38 ]                        
      _Watchdog_Initialize( &the_timer->Ticker, routine, id, user_data );
      the_timer->Ticker.initial = seconds - _TOD_Seconds_since_epoch();
 20170dc:	c2 04 20 fc 	ld  [ %l0 + 0xfc ], %g1                        
                                                                      
      (*timer_server->schedule_operation)( timer_server, the_timer ); 
 20170e0:	92 10 00 18 	mov  %i0, %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();
 20170e4:	b2 26 40 01 	sub  %i1, %g1, %i1                             
                                                                      
      (*timer_server->schedule_operation)( timer_server, the_timer ); 
 20170e8:	c2 07 20 04 	ld  [ %i4 + 4 ], %g1                           
 20170ec:	90 10 00 1c 	mov  %i4, %o0                                  
  Watchdog_Service_routine_entry  routine,                            
  Objects_Id                      id,                                 
  void                           *user_data                           
)                                                                     
{                                                                     
  the_watchdog->state     = WATCHDOG_INACTIVE;                        
 20170f0:	c0 26 20 18 	clr  [ %i0 + 0x18 ]                            
  the_watchdog->routine   = routine;                                  
 20170f4:	f4 26 20 2c 	st  %i2, [ %i0 + 0x2c ]                        
  the_watchdog->id        = id;                                       
 20170f8:	fa 26 20 30 	st  %i5, [ %i0 + 0x30 ]                        
  the_watchdog->user_data = user_data;                                
 20170fc:	f6 26 20 34 	st  %i3, [ %i0 + 0x34 ]                        
                                                                      
    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();
 2017100:	f2 26 20 1c 	st  %i1, [ %i0 + 0x1c ]                        
                                                                      
      (*timer_server->schedule_operation)( timer_server, the_timer ); 
 2017104:	9f c0 40 00 	call  %g1                                      
 2017108:	b0 10 20 00 	clr  %i0                                       
                                                                      
      _Thread_Enable_dispatch();                                      
 201710c:	40 00 0d fd 	call  201a900 <_Thread_Enable_dispatch>        
 2017110:	01 00 00 00 	nop                                            
      return RTEMS_SUCCESSFUL;                                        
 2017114:	81 c7 e0 08 	ret                                            
 2017118:	81 e8 00 00 	restore                                        
#endif                                                                
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
 201711c:	b0 10 20 04 	mov  4, %i0                                    
}                                                                     
 2017120:	81 c7 e0 08 	ret                                            
 2017124:	81 e8 00 00 	restore                                        
                                                                      

02002a44 <rtems_verror>: static int rtems_verror( rtems_error_code_t error_flag, const char *printf_format, va_list arglist ) {
 2002a44:	9d e3 bf a0 	save  %sp, -96, %sp                            
  int               local_errno = 0;                                  
  int               chars_written = 0;                                
  rtems_status_code status;                                           
                                                                      
  if (error_flag & RTEMS_ERROR_PANIC) {                               
 2002a48:	03 08 00 00 	sethi  %hi(0x20000000), %g1                    
 2002a4c:	80 8e 00 01 	btst  %i0, %g1                                 
 2002a50:	02 80 00 12 	be  2002a98 <rtems_verror+0x54>                
 2002a54:	b8 10 00 18 	mov  %i0, %i4                                  
    if (rtems_panic_in_progress++)                                    
 2002a58:	05 00 80 6c 	sethi  %hi(0x201b000), %g2                     
 2002a5c:	c2 00 a3 54 	ld  [ %g2 + 0x354 ], %g1	! 201b354 <rtems_panic_in_progress>
 2002a60:	86 00 60 01 	add  %g1, 1, %g3                               
 2002a64:	80 a0 60 00 	cmp  %g1, 0                                    
 2002a68:	02 80 00 07 	be  2002a84 <rtems_verror+0x40>                <== ALWAYS TAKEN
 2002a6c:	c6 20 a3 54 	st  %g3, [ %g2 + 0x354 ]                       
   *                                                                  
   * This rountine increments the thread dispatch level               
   */                                                                 
  RTEMS_INLINE_ROUTINE uint32_t _Thread_Dispatch_increment_disable_level(void)
  {                                                                   
    _Thread_Dispatch_disable_level++;                                 
 2002a70:	03 00 80 6d 	sethi  %hi(0x201b400), %g1                     <== NOT EXECUTED
 2002a74:	c4 00 61 20 	ld  [ %g1 + 0x120 ], %g2	! 201b520 <_Thread_Dispatch_disable_level><== NOT EXECUTED
 2002a78:	84 00 a0 01 	inc  %g2                                       <== NOT EXECUTED
 2002a7c:	c4 20 61 20 	st  %g2, [ %g1 + 0x120 ]                       <== NOT EXECUTED
    return _Thread_Dispatch_disable_level;                            
 2002a80:	c2 00 61 20 	ld  [ %g1 + 0x120 ], %g1                       <== NOT EXECUTED
      _Thread_Disable_dispatch();       /* disable task switches */   
                                                                      
    /* don't aggravate things */                                      
    if (rtems_panic_in_progress > 2)                                  
 2002a84:	03 00 80 6c 	sethi  %hi(0x201b000), %g1                     
 2002a88:	c2 00 63 54 	ld  [ %g1 + 0x354 ], %g1	! 201b354 <rtems_panic_in_progress>
 2002a8c:	80 a0 60 02 	cmp  %g1, 2                                    
 2002a90:	14 80 00 48 	bg  2002bb0 <rtems_verror+0x16c>               <== NEVER TAKEN
 2002a94:	b0 10 20 00 	clr  %i0                                       
      return 0;                                                       
  }                                                                   
                                                                      
  (void) fflush(stdout);            /* in case stdout/stderr same */  
 2002a98:	03 00 80 6a 	sethi  %hi(0x201a800), %g1                     
 2002a9c:	c2 00 63 c0 	ld  [ %g1 + 0x3c0 ], %g1	! 201abc0 <_impure_ptr>
                                                                      
  status = error_flag & ~RTEMS_ERROR_MASK;                            
 2002aa0:	37 1c 00 00 	sethi  %hi(0x70000000), %i3                    
    /* don't aggravate things */                                      
    if (rtems_panic_in_progress > 2)                                  
      return 0;                                                       
  }                                                                   
                                                                      
  (void) fflush(stdout);            /* in case stdout/stderr same */  
 2002aa4:	d0 00 60 08 	ld  [ %g1 + 8 ], %o0                           
 2002aa8:	40 00 2d a3 	call  200e134 <fflush>                         
 2002aac:	b6 2f 00 1b 	andn  %i4, %i3, %i3                            
                                                                      
  status = error_flag & ~RTEMS_ERROR_MASK;                            
  if (error_flag & RTEMS_ERROR_ERRNO)     /* include errno? */        
 2002ab0:	03 10 00 00 	sethi  %hi(0x40000000), %g1                    
 2002ab4:	80 8f 00 01 	btst  %i4, %g1                                 
 2002ab8:	02 80 00 05 	be  2002acc <rtems_verror+0x88>                
 2002abc:	ba 10 20 00 	clr  %i5                                       
    local_errno = errno;                                              
 2002ac0:	40 00 2c 8d 	call  200dcf4 <__errno>                        
 2002ac4:	01 00 00 00 	nop                                            
 2002ac8:	fa 02 00 00 	ld  [ %o0 ], %i5                               
  #if defined(RTEMS_MULTIPROCESSING)                                  
    if (_System_state_Is_multiprocessing)                             
      fprintf(stderr, "[%" PRIu32 "] ", _Configuration_MP_table->node);
  #endif                                                              
                                                                      
  chars_written += vfprintf(stderr, printf_format, arglist);          
 2002acc:	39 00 80 6a 	sethi  %hi(0x201a800), %i4                     
 2002ad0:	c2 07 23 c0 	ld  [ %i4 + 0x3c0 ], %g1	! 201abc0 <_impure_ptr>
 2002ad4:	92 10 00 19 	mov  %i1, %o1                                  
 2002ad8:	d0 00 60 0c 	ld  [ %g1 + 0xc ], %o0                         
 2002adc:	40 00 41 a3 	call  2013168 <vfprintf>                       
 2002ae0:	94 10 00 1a 	mov  %i2, %o2                                  
                                                                      
  if (status)                                                         
 2002ae4:	80 a6 e0 00 	cmp  %i3, 0                                    
 2002ae8:	02 80 00 0c 	be  2002b18 <rtems_verror+0xd4>                
 2002aec:	b0 10 00 08 	mov  %o0, %i0                                  
    chars_written +=                                                  
      fprintf(stderr, " (status: %s)", rtems_status_text(status));    
 2002af0:	c2 07 23 c0 	ld  [ %i4 + 0x3c0 ], %g1                       
 2002af4:	90 10 00 1b 	mov  %i3, %o0                                  
 2002af8:	7f ff ff cd 	call  2002a2c <rtems_status_text>              
 2002afc:	f8 00 60 0c 	ld  [ %g1 + 0xc ], %i4                         
 2002b00:	13 00 80 64 	sethi  %hi(0x2019000), %o1                     
 2002b04:	94 10 00 08 	mov  %o0, %o2                                  
 2002b08:	92 12 60 b0 	or  %o1, 0xb0, %o1                             
 2002b0c:	40 00 2e 83 	call  200e518 <fprintf>                        
 2002b10:	90 10 00 1c 	mov  %i4, %o0                                  
  #endif                                                              
                                                                      
  chars_written += vfprintf(stderr, printf_format, arglist);          
                                                                      
  if (status)                                                         
    chars_written +=                                                  
 2002b14:	b0 06 00 08 	add  %i0, %o0, %i0                             
      fprintf(stderr, " (status: %s)", rtems_status_text(status));    
                                                                      
  if (local_errno) {                                                  
 2002b18:	80 a7 60 00 	cmp  %i5, 0                                    
 2002b1c:	22 80 00 1c 	be,a   2002b8c <rtems_verror+0x148>            
 2002b20:	3b 00 80 6a 	sethi  %hi(0x201a800), %i5                     
    if ((local_errno > 0) && *strerror(local_errno))                  
 2002b24:	80 a7 60 00 	cmp  %i5, 0                                    
 2002b28:	04 80 00 11 	ble  2002b6c <rtems_verror+0x128>              
 2002b2c:	03 00 80 6a 	sethi  %hi(0x201a800), %g1                     
 2002b30:	40 00 32 01 	call  200f334 <strerror>                       
 2002b34:	90 10 00 1d 	mov  %i5, %o0                                  
 2002b38:	c2 4a 00 00 	ldsb  [ %o0 ], %g1                             
 2002b3c:	80 a0 60 00 	cmp  %g1, 0                                    
 2002b40:	02 80 00 0b 	be  2002b6c <rtems_verror+0x128>               <== NEVER TAKEN
 2002b44:	03 00 80 6a 	sethi  %hi(0x201a800), %g1                     
      chars_written += fprintf(stderr, " (errno: %s)", strerror(local_errno));
 2002b48:	c2 00 63 c0 	ld  [ %g1 + 0x3c0 ], %g1	! 201abc0 <_impure_ptr>
 2002b4c:	90 10 00 1d 	mov  %i5, %o0                                  
 2002b50:	40 00 31 f9 	call  200f334 <strerror>                       
 2002b54:	f8 00 60 0c 	ld  [ %g1 + 0xc ], %i4                         
 2002b58:	13 00 80 64 	sethi  %hi(0x2019000), %o1                     
 2002b5c:	94 10 00 08 	mov  %o0, %o2                                  
 2002b60:	92 12 60 c0 	or  %o1, 0xc0, %o1                             
 2002b64:	10 80 00 07 	b  2002b80 <rtems_verror+0x13c>                
 2002b68:	90 10 00 1c 	mov  %i4, %o0                                  
    else                                                              
      chars_written += fprintf(stderr, " (unknown errno=%d)", local_errno);
 2002b6c:	c2 00 63 c0 	ld  [ %g1 + 0x3c0 ], %g1                       
 2002b70:	13 00 80 64 	sethi  %hi(0x2019000), %o1                     
 2002b74:	d0 00 60 0c 	ld  [ %g1 + 0xc ], %o0                         
 2002b78:	92 12 60 d0 	or  %o1, 0xd0, %o1                             
 2002b7c:	94 10 00 1d 	mov  %i5, %o2                                  
 2002b80:	40 00 2e 66 	call  200e518 <fprintf>                        
 2002b84:	3b 00 80 6a 	sethi  %hi(0x201a800), %i5                     
 2002b88:	b0 06 00 08 	add  %i0, %o0, %i0                             
  }                                                                   
                                                                      
  chars_written += fprintf(stderr, "\n");                             
 2002b8c:	c2 07 63 c0 	ld  [ %i5 + 0x3c0 ], %g1                       
 2002b90:	13 00 80 63 	sethi  %hi(0x2018c00), %o1                     
 2002b94:	d0 00 60 0c 	ld  [ %g1 + 0xc ], %o0                         
 2002b98:	40 00 2e 60 	call  200e518 <fprintf>                        
 2002b9c:	92 12 63 58 	or  %o1, 0x358, %o1                            
                                                                      
  (void) fflush(stderr);                                              
 2002ba0:	c2 07 63 c0 	ld  [ %i5 + 0x3c0 ], %g1                       
      chars_written += fprintf(stderr, " (errno: %s)", strerror(local_errno));
    else                                                              
      chars_written += fprintf(stderr, " (unknown errno=%d)", local_errno);
  }                                                                   
                                                                      
  chars_written += fprintf(stderr, "\n");                             
 2002ba4:	b0 06 00 08 	add  %i0, %o0, %i0                             
                                                                      
  (void) fflush(stderr);                                              
 2002ba8:	40 00 2d 63 	call  200e134 <fflush>                         
 2002bac:	d0 00 60 0c 	ld  [ %g1 + 0xc ], %o0                         
                                                                      
  return chars_written;                                               
}                                                                     
 2002bb0:	81 c7 e0 08 	ret                                            
 2002bb4:	81 e8 00 00 	restore                                        
                                                                      

02003020 <scanInt>: /* * Extract an integer value from the database */ static int scanInt(FILE *fp, int *val) {
 2003020:	9d e3 bf a0 	save  %sp, -96, %sp                            
  int c;                                                              
  unsigned int i = 0;                                                 
  unsigned int limit = INT_MAX;                                       
 2003024:	35 1f ff ff 	sethi  %hi(0x7ffffc00), %i2                    
  int sign = 0;                                                       
 2003028:	b8 10 20 00 	clr  %i4                                       
static int                                                            
scanInt(FILE *fp, int *val)                                           
{                                                                     
  int c;                                                              
  unsigned int i = 0;                                                 
  unsigned int limit = INT_MAX;                                       
 200302c:	b4 16 a3 ff 	or  %i2, 0x3ff, %i2                            
 */                                                                   
static int                                                            
scanInt(FILE *fp, int *val)                                           
{                                                                     
  int c;                                                              
  unsigned int i = 0;                                                 
 2003030:	ba 10 20 00 	clr  %i5                                       
  unsigned int limit = INT_MAX;                                       
  int sign = 0;                                                       
  int d;                                                              
                                                                      
  for (;;) {                                                          
    c = getc(fp);                                                     
 2003034:	23 00 80 57 	sethi  %hi(0x2015c00), %l1                     
        limit++;                                                      
        continue;                                                     
      }                                                               
      sign = 1;                                                       
    }                                                                 
    if (!isdigit(c))                                                  
 2003038:	21 00 80 57 	sethi  %hi(0x2015c00), %l0                     
  unsigned int limit = INT_MAX;                                       
  int sign = 0;                                                       
  int d;                                                              
                                                                      
  for (;;) {                                                          
    c = getc(fp);                                                     
 200303c:	c2 06 20 04 	ld  [ %i0 + 4 ], %g1                           
 2003040:	82 00 7f ff 	add  %g1, -1, %g1                              
 2003044:	80 a0 60 00 	cmp  %g1, 0                                    
 2003048:	16 80 00 07 	bge  2003064 <scanInt+0x44>                    <== ALWAYS TAKEN
 200304c:	c2 26 20 04 	st  %g1, [ %i0 + 4 ]                           
 2003050:	d0 04 63 38 	ld  [ %l1 + 0x338 ], %o0                       <== NOT EXECUTED
 2003054:	40 00 34 f1 	call  2010418 <__srget_r>                      <== NOT EXECUTED
 2003058:	92 10 00 18 	mov  %i0, %o1                                  <== NOT EXECUTED
 200305c:	10 80 00 06 	b  2003074 <scanInt+0x54>                      <== NOT EXECUTED
 2003060:	b6 10 00 08 	mov  %o0, %i3                                  <== NOT EXECUTED
 2003064:	c2 06 00 00 	ld  [ %i0 ], %g1                               
 2003068:	f6 08 40 00 	ldub  [ %g1 ], %i3                             
 200306c:	82 00 60 01 	inc  %g1                                       
 2003070:	c2 26 00 00 	st  %g1, [ %i0 ]                               
    if (c == ':')                                                     
 2003074:	80 a6 e0 3a 	cmp  %i3, 0x3a                                 
 2003078:	02 80 00 21 	be  20030fc <scanInt+0xdc>                     
 200307c:	80 a7 20 00 	cmp  %i4, 0                                    
      break;                                                          
    if (sign == 0) {                                                  
 2003080:	12 80 00 08 	bne  20030a0 <scanInt+0x80>                    
 2003084:	c2 04 23 30 	ld  [ %l0 + 0x330 ], %g1                       
      if (c == '-') {                                                 
 2003088:	80 a6 e0 2d 	cmp  %i3, 0x2d                                 
 200308c:	12 80 00 05 	bne  20030a0 <scanInt+0x80>                    
 2003090:	b8 10 20 01 	mov  1, %i4                                    
        sign = -1;                                                    
        limit++;                                                      
 2003094:	b4 06 a0 01 	inc  %i2                                       
        continue;                                                     
 2003098:	10 bf ff e9 	b  200303c <scanInt+0x1c>                      
 200309c:	b8 10 3f ff 	mov  -1, %i4                                   
      }                                                               
      sign = 1;                                                       
    }                                                                 
    if (!isdigit(c))                                                  
 20030a0:	82 00 40 1b 	add  %g1, %i3, %g1                             
 20030a4:	c2 08 60 01 	ldub  [ %g1 + 1 ], %g1                         
 20030a8:	80 88 60 04 	btst  4, %g1                                   
 20030ac:	02 80 00 1d 	be  2003120 <scanInt+0x100>                    
 20030b0:	90 10 00 1a 	mov  %i2, %o0                                  
      return 0;                                                       
    d = c - '0';                                                      
    if ((i > (limit / 10))                                            
 20030b4:	40 00 3d ea 	call  201285c <.udiv>                          
 20030b8:	92 10 20 0a 	mov  0xa, %o1                                  
 20030bc:	80 a7 40 08 	cmp  %i5, %o0                                  
 20030c0:	38 80 00 16 	bgu,a   2003118 <scanInt+0xf8>                 
 20030c4:	b0 10 20 00 	clr  %i0                                       
     || ((i == (limit / 10)) && (d > (limit % 10))))                  
 20030c8:	12 80 00 08 	bne  20030e8 <scanInt+0xc8>                    
 20030cc:	b6 06 ff d0 	add  %i3, -48, %i3                             
 20030d0:	90 10 00 1a 	mov  %i2, %o0                                  
 20030d4:	40 00 3e 8e 	call  2012b0c <.urem>                          
 20030d8:	92 10 20 0a 	mov  0xa, %o1                                  
 20030dc:	80 a6 c0 08 	cmp  %i3, %o0                                  
 20030e0:	38 80 00 0e 	bgu,a   2003118 <scanInt+0xf8>                 <== ALWAYS TAKEN
 20030e4:	b0 10 20 00 	clr  %i0                                       
      return 0;                                                       
    i = i * 10 + d;                                                   
 20030e8:	83 2f 60 01 	sll  %i5, 1, %g1                               
 20030ec:	bb 2f 60 03 	sll  %i5, 3, %i5                               
 20030f0:	ba 00 40 1d 	add  %g1, %i5, %i5                             
 20030f4:	10 bf ff d2 	b  200303c <scanInt+0x1c>                      
 20030f8:	ba 06 c0 1d 	add  %i3, %i5, %i5                             
  }                                                                   
  if (sign == 0)                                                      
 20030fc:	02 80 00 07 	be  2003118 <scanInt+0xf8>                     <== NEVER TAKEN
 2003100:	b0 10 20 00 	clr  %i0                                       
    return 0;                                                         
  *val = i * sign;                                                    
 2003104:	90 10 00 1c 	mov  %i4, %o0                                  
 2003108:	92 10 00 1d 	mov  %i5, %o1                                  
 200310c:	40 00 3d 9a 	call  2012774 <.umul>                          
 2003110:	b0 10 20 01 	mov  1, %i0                                    
 2003114:	d0 26 40 00 	st  %o0, [ %i1 ]                               
  return 1;                                                           
 2003118:	81 c7 e0 08 	ret                                            
 200311c:	81 e8 00 00 	restore                                        
 2003120:	b0 10 20 00 	clr  %i0                                       
}                                                                     
 2003124:	81 c7 e0 08 	ret                                            
 2003128:	81 e8 00 00 	restore                                        
                                                                      

02003224 <scangr>: FILE *fp, struct group *grp, char *buffer, size_t bufsize ) {
 2003224:	9d e3 bf 98 	save  %sp, -104, %sp                           
  int grgid;                                                          
  char *grmem, *cp;                                                   
  int memcount;                                                       
                                                                      
  if (!scanString(fp, &grp->gr_name, &buffer, &bufsize, 0)            
 2003228:	98 10 20 00 	clr  %o4                                       
 200322c:	90 10 00 18 	mov  %i0, %o0                                  
  FILE *fp,                                                           
  struct group *grp,                                                  
  char *buffer,                                                       
  size_t bufsize                                                      
)                                                                     
{                                                                     
 2003230:	ba 10 00 18 	mov  %i0, %i5                                  
 2003234:	f4 27 a0 4c 	st  %i2, [ %fp + 0x4c ]                        
 2003238:	f6 27 a0 50 	st  %i3, [ %fp + 0x50 ]                        
  int grgid;                                                          
  char *grmem, *cp;                                                   
  int memcount;                                                       
                                                                      
  if (!scanString(fp, &grp->gr_name, &buffer, &bufsize, 0)            
 200323c:	92 10 00 19 	mov  %i1, %o1                                  
 2003240:	94 07 a0 4c 	add  %fp, 0x4c, %o2                            
 2003244:	96 07 a0 50 	add  %fp, 0x50, %o3                            
 2003248:	7f ff ff b9 	call  200312c <scanString>                     
 200324c:	b0 10 20 00 	clr  %i0                                       
 2003250:	80 a2 20 00 	cmp  %o0, 0                                    
 2003254:	02 80 00 42 	be  200335c <scangr+0x138>                     
 2003258:	90 10 00 1d 	mov  %i5, %o0                                  
   || !scanString(fp, &grp->gr_passwd, &buffer, &bufsize, 0)          
 200325c:	92 06 60 04 	add  %i1, 4, %o1                               
 2003260:	94 07 a0 4c 	add  %fp, 0x4c, %o2                            
 2003264:	96 07 a0 50 	add  %fp, 0x50, %o3                            
 2003268:	7f ff ff b1 	call  200312c <scanString>                     
 200326c:	98 10 20 00 	clr  %o4                                       
 2003270:	80 a2 20 00 	cmp  %o0, 0                                    
 2003274:	02 80 00 3a 	be  200335c <scangr+0x138>                     <== NEVER TAKEN
 2003278:	90 10 00 1d 	mov  %i5, %o0                                  
   || !scanInt(fp, &grgid)                                            
 200327c:	7f ff ff 69 	call  2003020 <scanInt>                        
 2003280:	92 07 bf f8 	add  %fp, -8, %o1                              
 2003284:	80 a2 20 00 	cmp  %o0, 0                                    
 2003288:	02 80 00 35 	be  200335c <scangr+0x138>                     <== NEVER TAKEN
 200328c:	90 10 00 1d 	mov  %i5, %o0                                  
   || !scanString(fp, &grmem, &buffer, &bufsize, 1))                  
 2003290:	92 07 bf fc 	add  %fp, -4, %o1                              
 2003294:	94 07 a0 4c 	add  %fp, 0x4c, %o2                            
 2003298:	96 07 a0 50 	add  %fp, 0x50, %o3                            
 200329c:	7f ff ff a4 	call  200312c <scanString>                     
 20032a0:	98 10 20 01 	mov  1, %o4                                    
 20032a4:	80 a2 20 00 	cmp  %o0, 0                                    
 20032a8:	02 80 00 2d 	be  200335c <scangr+0x138>                     <== NEVER TAKEN
 20032ac:	c2 07 bf f8 	ld  [ %fp + -8 ], %g1                          
  grp->gr_gid = grgid;                                                
                                                                      
  /*                                                                  
   * Determine number of members                                      
   */                                                                 
  for (cp = grmem, memcount = 1 ; *cp != 0 ; cp++) {                  
 20032b0:	c6 07 bf fc 	ld  [ %fp + -4 ], %g3                          
  if (!scanString(fp, &grp->gr_name, &buffer, &bufsize, 0)            
   || !scanString(fp, &grp->gr_passwd, &buffer, &bufsize, 0)          
   || !scanInt(fp, &grgid)                                            
   || !scanString(fp, &grmem, &buffer, &bufsize, 1))                  
    return 0;                                                         
  grp->gr_gid = grgid;                                                
 20032b4:	c2 36 60 08 	sth  %g1, [ %i1 + 8 ]                          
                                                                      
  /*                                                                  
   * Determine number of members                                      
   */                                                                 
  for (cp = grmem, memcount = 1 ; *cp != 0 ; cp++) {                  
 20032b8:	84 10 00 03 	mov  %g3, %g2                                  
 20032bc:	10 80 00 05 	b  20032d0 <scangr+0xac>                       
 20032c0:	82 10 20 01 	mov  1, %g1                                    
 20032c4:	84 00 a0 01 	inc  %g2                                       
    if(*cp == ',')                                                    
      memcount++;                                                     
 20032c8:	80 a0 00 04 	cmp  %g0, %g4                                  
 20032cc:	82 60 7f ff 	subx  %g1, -1, %g1                             
  grp->gr_gid = grgid;                                                
                                                                      
  /*                                                                  
   * Determine number of members                                      
   */                                                                 
  for (cp = grmem, memcount = 1 ; *cp != 0 ; cp++) {                  
 20032d0:	c8 48 80 00 	ldsb  [ %g2 ], %g4                             
 20032d4:	80 a1 20 00 	cmp  %g4, 0                                    
 20032d8:	32 bf ff fb 	bne,a   20032c4 <scangr+0xa0>                  
 20032dc:	88 19 20 2c 	xor  %g4, 0x2c, %g4                            
  }                                                                   
                                                                      
  /*                                                                  
   * Hack to produce (hopefully) a suitably-aligned array of pointers 
   */                                                                 
  if (bufsize < (((memcount+1)*sizeof(char *)) + 15))                 
 20032e0:	c4 07 a0 50 	ld  [ %fp + 0x50 ], %g2                        
 20032e4:	83 28 60 02 	sll  %g1, 2, %g1                               
 20032e8:	82 00 60 13 	add  %g1, 0x13, %g1                            
 20032ec:	80 a0 80 01 	cmp  %g2, %g1                                  
 20032f0:	0a 80 00 1b 	bcs  200335c <scangr+0x138>                    <== NEVER TAKEN
 20032f4:	b0 10 20 00 	clr  %i0                                       
    return 0;                                                         
  grp->gr_mem = (char **)(((uintptr_t)buffer + 15) & ~15);            
 20032f8:	c2 07 a0 4c 	ld  [ %fp + 0x4c ], %g1                        
                                                                      
  /*                                                                  
   * Fill in pointer array                                            
   */                                                                 
  grp->gr_mem[0] = grmem;                                             
  for (cp = grmem, memcount = 1 ; *cp != 0 ; cp++) {                  
 20032fc:	84 10 20 01 	mov  1, %g2                                    
  /*                                                                  
   * Hack to produce (hopefully) a suitably-aligned array of pointers 
   */                                                                 
  if (bufsize < (((memcount+1)*sizeof(char *)) + 15))                 
    return 0;                                                         
  grp->gr_mem = (char **)(((uintptr_t)buffer + 15) & ~15);            
 2003300:	82 00 60 0f 	add  %g1, 0xf, %g1                             
 2003304:	82 08 7f f0 	and  %g1, -16, %g1                             
 2003308:	c2 26 60 0c 	st  %g1, [ %i1 + 0xc ]                         
                                                                      
  /*                                                                  
   * Fill in pointer array                                            
   */                                                                 
  grp->gr_mem[0] = grmem;                                             
 200330c:	c6 20 40 00 	st  %g3, [ %g1 ]                               
  for (cp = grmem, memcount = 1 ; *cp != 0 ; cp++) {                  
 2003310:	10 80 00 0b 	b  200333c <scangr+0x118>                      
 2003314:	c2 07 bf fc 	ld  [ %fp + -4 ], %g1                          
    if(*cp == ',') {                                                  
 2003318:	32 80 00 09 	bne,a   200333c <scangr+0x118>                 
 200331c:	82 00 60 01 	inc  %g1                                       
      *cp = '\0';                                                     
 2003320:	c0 28 40 00 	clrb  [ %g1 ]                                  
      grp->gr_mem[memcount++] = cp + 1;                               
 2003324:	c8 06 60 0c 	ld  [ %i1 + 0xc ], %g4                         
 2003328:	87 28 a0 02 	sll  %g2, 2, %g3                               
}                                                                     
                                                                      
/*                                                                    
 * Extract a single group record from the database                    
 */                                                                   
static int scangr(                                                    
 200332c:	ba 00 60 01 	add  %g1, 1, %i5                               
   */                                                                 
  grp->gr_mem[0] = grmem;                                             
  for (cp = grmem, memcount = 1 ; *cp != 0 ; cp++) {                  
    if(*cp == ',') {                                                  
      *cp = '\0';                                                     
      grp->gr_mem[memcount++] = cp + 1;                               
 2003330:	84 00 a0 01 	inc  %g2                                       
 2003334:	fa 21 00 03 	st  %i5, [ %g4 + %g3 ]                         
                                                                      
  /*                                                                  
   * Fill in pointer array                                            
   */                                                                 
  grp->gr_mem[0] = grmem;                                             
  for (cp = grmem, memcount = 1 ; *cp != 0 ; cp++) {                  
 2003338:	82 00 60 01 	inc  %g1                                       
 200333c:	c6 48 40 00 	ldsb  [ %g1 ], %g3                             
 2003340:	80 a0 e0 00 	cmp  %g3, 0                                    
 2003344:	12 bf ff f5 	bne  2003318 <scangr+0xf4>                     
 2003348:	80 a0 e0 2c 	cmp  %g3, 0x2c                                 
    if(*cp == ',') {                                                  
      *cp = '\0';                                                     
      grp->gr_mem[memcount++] = cp + 1;                               
    }                                                                 
  }                                                                   
  grp->gr_mem[memcount] = NULL;                                       
 200334c:	c2 06 60 0c 	ld  [ %i1 + 0xc ], %g1                         
 2003350:	85 28 a0 02 	sll  %g2, 2, %g2                               
  return 1;                                                           
 2003354:	b0 10 20 01 	mov  1, %i0                                    
    if(*cp == ',') {                                                  
      *cp = '\0';                                                     
      grp->gr_mem[memcount++] = cp + 1;                               
    }                                                                 
  }                                                                   
  grp->gr_mem[memcount] = NULL;                                       
 2003358:	c0 20 40 02 	clr  [ %g1 + %g2 ]                             
  return 1;                                                           
}                                                                     
 200335c:	81 c7 e0 08 	ret                                            
 2003360:	81 e8 00 00 	restore                                        
                                                                      

02003364 <scanpw>: FILE *fp, struct passwd *pwd, char *buffer, size_t bufsize ) {
 2003364:	9d e3 bf 98 	save  %sp, -104, %sp                           
  int pwuid, pwgid;                                                   
                                                                      
  if (!scanString(fp, &pwd->pw_name, &buffer, &bufsize, 0)            
 2003368:	98 10 20 00 	clr  %o4                                       
 200336c:	90 10 00 18 	mov  %i0, %o0                                  
  FILE *fp,                                                           
  struct passwd *pwd,                                                 
  char *buffer,                                                       
  size_t bufsize                                                      
)                                                                     
{                                                                     
 2003370:	ba 10 00 18 	mov  %i0, %i5                                  
 2003374:	f4 27 a0 4c 	st  %i2, [ %fp + 0x4c ]                        
 2003378:	f6 27 a0 50 	st  %i3, [ %fp + 0x50 ]                        
  int pwuid, pwgid;                                                   
                                                                      
  if (!scanString(fp, &pwd->pw_name, &buffer, &bufsize, 0)            
 200337c:	92 10 00 19 	mov  %i1, %o1                                  
 2003380:	94 07 a0 4c 	add  %fp, 0x4c, %o2                            
 2003384:	96 07 a0 50 	add  %fp, 0x50, %o3                            
 2003388:	7f ff ff 69 	call  200312c <scanString>                     
 200338c:	b0 10 20 00 	clr  %i0                                       
 2003390:	80 a2 20 00 	cmp  %o0, 0                                    
 2003394:	02 80 00 38 	be  2003474 <scanpw+0x110>                     
 2003398:	90 10 00 1d 	mov  %i5, %o0                                  
   || !scanString(fp, &pwd->pw_passwd, &buffer, &bufsize, 0)          
 200339c:	92 06 60 04 	add  %i1, 4, %o1                               
 20033a0:	94 07 a0 4c 	add  %fp, 0x4c, %o2                            
 20033a4:	96 07 a0 50 	add  %fp, 0x50, %o3                            
 20033a8:	7f ff ff 61 	call  200312c <scanString>                     
 20033ac:	98 10 20 00 	clr  %o4                                       
 20033b0:	80 a2 20 00 	cmp  %o0, 0                                    
 20033b4:	02 80 00 30 	be  2003474 <scanpw+0x110>                     <== NEVER TAKEN
 20033b8:	90 10 00 1d 	mov  %i5, %o0                                  
   || !scanInt(fp, &pwuid)                                            
 20033bc:	7f ff ff 19 	call  2003020 <scanInt>                        
 20033c0:	92 07 bf f8 	add  %fp, -8, %o1                              
 20033c4:	80 a2 20 00 	cmp  %o0, 0                                    
 20033c8:	02 80 00 2b 	be  2003474 <scanpw+0x110>                     
 20033cc:	90 10 00 1d 	mov  %i5, %o0                                  
   || !scanInt(fp, &pwgid)                                            
 20033d0:	7f ff ff 14 	call  2003020 <scanInt>                        
 20033d4:	92 07 bf fc 	add  %fp, -4, %o1                              
 20033d8:	80 a2 20 00 	cmp  %o0, 0                                    
 20033dc:	02 80 00 26 	be  2003474 <scanpw+0x110>                     
 20033e0:	90 10 00 1d 	mov  %i5, %o0                                  
   || !scanString(fp, &pwd->pw_comment, &buffer, &bufsize, 0)         
 20033e4:	92 06 60 0c 	add  %i1, 0xc, %o1                             
 20033e8:	94 07 a0 4c 	add  %fp, 0x4c, %o2                            
 20033ec:	96 07 a0 50 	add  %fp, 0x50, %o3                            
 20033f0:	7f ff ff 4f 	call  200312c <scanString>                     
 20033f4:	98 10 20 00 	clr  %o4                                       
 20033f8:	80 a2 20 00 	cmp  %o0, 0                                    
 20033fc:	02 80 00 1e 	be  2003474 <scanpw+0x110>                     <== NEVER TAKEN
 2003400:	90 10 00 1d 	mov  %i5, %o0                                  
   || !scanString(fp, &pwd->pw_gecos, &buffer, &bufsize, 0)           
 2003404:	92 06 60 10 	add  %i1, 0x10, %o1                            
 2003408:	94 07 a0 4c 	add  %fp, 0x4c, %o2                            
 200340c:	96 07 a0 50 	add  %fp, 0x50, %o3                            
 2003410:	7f ff ff 47 	call  200312c <scanString>                     
 2003414:	98 10 20 00 	clr  %o4                                       
 2003418:	80 a2 20 00 	cmp  %o0, 0                                    
 200341c:	02 80 00 16 	be  2003474 <scanpw+0x110>                     <== NEVER TAKEN
 2003420:	90 10 00 1d 	mov  %i5, %o0                                  
   || !scanString(fp, &pwd->pw_dir, &buffer, &bufsize, 0)             
 2003424:	92 06 60 14 	add  %i1, 0x14, %o1                            
 2003428:	94 07 a0 4c 	add  %fp, 0x4c, %o2                            
 200342c:	96 07 a0 50 	add  %fp, 0x50, %o3                            
 2003430:	7f ff ff 3f 	call  200312c <scanString>                     
 2003434:	98 10 20 00 	clr  %o4                                       
 2003438:	80 a2 20 00 	cmp  %o0, 0                                    
 200343c:	02 80 00 0e 	be  2003474 <scanpw+0x110>                     <== NEVER TAKEN
 2003440:	90 10 00 1d 	mov  %i5, %o0                                  
   || !scanString(fp, &pwd->pw_shell, &buffer, &bufsize, 1))          
 2003444:	92 06 60 18 	add  %i1, 0x18, %o1                            
 2003448:	94 07 a0 4c 	add  %fp, 0x4c, %o2                            
 200344c:	96 07 a0 50 	add  %fp, 0x50, %o3                            
 2003450:	7f ff ff 37 	call  200312c <scanString>                     
 2003454:	98 10 20 01 	mov  1, %o4                                    
 2003458:	80 a2 20 00 	cmp  %o0, 0                                    
 200345c:	02 80 00 06 	be  2003474 <scanpw+0x110>                     
 2003460:	c2 07 bf f8 	ld  [ %fp + -8 ], %g1                          
    return 0;                                                         
  pwd->pw_uid = pwuid;                                                
  pwd->pw_gid = pwgid;                                                
  return 1;                                                           
 2003464:	b0 10 20 01 	mov  1, %i0                                    
   || !scanString(fp, &pwd->pw_comment, &buffer, &bufsize, 0)         
   || !scanString(fp, &pwd->pw_gecos, &buffer, &bufsize, 0)           
   || !scanString(fp, &pwd->pw_dir, &buffer, &bufsize, 0)             
   || !scanString(fp, &pwd->pw_shell, &buffer, &bufsize, 1))          
    return 0;                                                         
  pwd->pw_uid = pwuid;                                                
 2003468:	c2 36 60 08 	sth  %g1, [ %i1 + 8 ]                          
  pwd->pw_gid = pwgid;                                                
 200346c:	c2 07 bf fc 	ld  [ %fp + -4 ], %g1                          
 2003470:	c2 36 60 0a 	sth  %g1, [ %i1 + 0xa ]                        
  return 1;                                                           
}                                                                     
 2003474:	81 c7 e0 08 	ret                                            
 2003478:	81 e8 00 00 	restore                                        
                                                                      

02004f10 <siproc>: /* * Process input character, with semaphore. */ static int siproc (unsigned char c, struct rtems_termios_tty *tty) {
 2004f10:	9d e3 bf a0 	save  %sp, -96, %sp                            
  int i;                                                              
                                                                      
  /*                                                                  
   * Obtain output semaphore if character will be echoed              
   */                                                                 
  if (tty->termios.c_lflag & (ECHO|ECHOE|ECHOK|ECHONL|ECHOPRT|ECHOCTL|ECHOKE)) {
 2004f14:	c2 06 60 3c 	ld  [ %i1 + 0x3c ], %g1                        
 2004f18:	80 88 6e 78 	btst  0xe78, %g1                               
 2004f1c:	02 80 00 0d 	be  2004f50 <siproc+0x40>                      <== NEVER TAKEN
 2004f20:	94 10 20 00 	clr  %o2                                       
    rtems_semaphore_obtain (tty->osem, RTEMS_WAIT, RTEMS_NO_TIMEOUT); 
 2004f24:	d0 06 60 18 	ld  [ %i1 + 0x18 ], %o0                        
 2004f28:	40 00 05 5e 	call  20064a0 <rtems_semaphore_obtain>         
 2004f2c:	92 10 20 00 	clr  %o1                                       
    i = iproc (c, tty);                                               
 2004f30:	90 10 00 18 	mov  %i0, %o0                                  
 2004f34:	7f ff ff 85 	call  2004d48 <iproc>                          
 2004f38:	92 10 00 19 	mov  %i1, %o1                                  
 2004f3c:	b0 10 00 08 	mov  %o0, %i0                                  
    rtems_semaphore_release (tty->osem);                              
 2004f40:	40 00 05 a2 	call  20065c8 <rtems_semaphore_release>        
 2004f44:	d0 06 60 18 	ld  [ %i1 + 0x18 ], %o0                        
  }                                                                   
  else {                                                              
    i = iproc (c, tty);                                               
  }                                                                   
  return i;                                                           
}                                                                     
 2004f48:	81 c7 e0 08 	ret                                            
 2004f4c:	81 e8 00 00 	restore                                        
    rtems_semaphore_obtain (tty->osem, RTEMS_WAIT, RTEMS_NO_TIMEOUT); 
    i = iproc (c, tty);                                               
    rtems_semaphore_release (tty->osem);                              
  }                                                                   
  else {                                                              
    i = iproc (c, tty);                                               
 2004f50:	7f ff ff 7e 	call  2004d48 <iproc>                          <== NOT EXECUTED
 2004f54:	81 e8 00 00 	restore                                        <== NOT EXECUTED
                                                                      

02006040 <statvfs>: #include <sys/statvfs.h> int statvfs (const char *path, struct statvfs *sb) {
 2006040:	9d e3 bf 88 	save  %sp, -120, %sp                           
   *    The root node of the mounted filesytem.                       
   *    The node for the directory that the fileystem is mounted on.  
   *    The mount entry that is being refered to.                     
   */                                                                 
                                                                      
  if ( rtems_filesystem_evaluate_path( path, strlen( path ), 0x0, &loc, true ) )
 2006044:	40 00 30 d5 	call  2012398 <strlen>                         
 2006048:	90 10 00 18 	mov  %i0, %o0                                  
 200604c:	94 10 20 00 	clr  %o2                                       
 2006050:	92 10 00 08 	mov  %o0, %o1                                  
 2006054:	96 07 bf ec 	add  %fp, -20, %o3                             
 2006058:	90 10 00 18 	mov  %i0, %o0                                  
 200605c:	98 10 20 01 	mov  1, %o4                                    
 2006060:	7f ff fa f5 	call  2004c34 <rtems_filesystem_evaluate_path> 
 2006064:	b0 10 3f ff 	mov  -1, %i0                                   
 2006068:	80 a2 20 00 	cmp  %o0, 0                                    
 200606c:	12 80 00 0e 	bne  20060a4 <statvfs+0x64>                    <== NEVER TAKEN
 2006070:	fa 07 bf fc 	ld  [ %fp + -4 ], %i5                          
    return -1;                                                        
                                                                      
  mt_entry      = loc.mt_entry;                                       
  fs_mount_root = &mt_entry->mt_fs_root;                              
                                                                      
  memset (sb, 0, sizeof (struct statvfs));                            
 2006074:	92 10 20 00 	clr  %o1                                       
 2006078:	94 10 20 38 	mov  0x38, %o2                                 
 200607c:	40 00 2c 21 	call  2011100 <memset>                         
 2006080:	90 10 00 19 	mov  %i1, %o0                                  
                                                                      
  result = ( fs_mount_root->ops->statvfs_h )( fs_mount_root, sb );    
 2006084:	c2 07 60 28 	ld  [ %i5 + 0x28 ], %g1                        
 2006088:	90 07 60 1c 	add  %i5, 0x1c, %o0                            
 200608c:	c2 00 60 44 	ld  [ %g1 + 0x44 ], %g1                        
 2006090:	9f c0 40 00 	call  %g1                                      
 2006094:	92 10 00 19 	mov  %i1, %o1                                  
 2006098:	b0 10 00 08 	mov  %o0, %i0                                  
                                                                      
  rtems_filesystem_freenode( &loc );                                  
 200609c:	7f ff fb 16 	call  2004cf4 <rtems_filesystem_freenode>      
 20060a0:	90 07 bf ec 	add  %fp, -20, %o0                             
                                                                      
  return result;                                                      
}                                                                     
 20060a4:	81 c7 e0 08 	ret                                            
 20060a8:	81 e8 00 00 	restore                                        
                                                                      

02004a58 <sync_per_thread>: fdatasync(fn); } /* iterate over all FILE *'s for this thread */ static void sync_per_thread(Thread_Control *t) {
 2004a58:	9d e3 bf a0 	save  %sp, -96, %sp                            
                                                                      
   /*                                                                 
    *  The sync_wrapper() function will operate on the current thread's
    *  reent structure so we will temporarily use that.               
    */                                                                
   this_reent = t->libc_reent;                                        
 2004a5c:	c4 06 21 54 	ld  [ %i0 + 0x154 ], %g2                       
   if ( this_reent ) {                                                
 2004a60:	80 a0 a0 00 	cmp  %g2, 0                                    
 2004a64:	02 80 00 0c 	be  2004a94 <sync_per_thread+0x3c>             <== NEVER TAKEN
 2004a68:	3b 00 80 5a 	sethi  %hi(0x2016800), %i5                     
     current_reent = _Thread_Executing->libc_reent;                   
 2004a6c:	ba 17 62 80 	or  %i5, 0x280, %i5	! 2016a80 <_Per_CPU_Information>
 2004a70:	c2 07 60 0c 	ld  [ %i5 + 0xc ], %g1                         
     _Thread_Executing->libc_reent = this_reent;                      
     _fwalk (t->libc_reent, sync_wrapper);                            
 2004a74:	13 00 80 12 	sethi  %hi(0x2004800), %o1                     
    *  The sync_wrapper() function will operate on the current thread's
    *  reent structure so we will temporarily use that.               
    */                                                                
   this_reent = t->libc_reent;                                        
   if ( this_reent ) {                                                
     current_reent = _Thread_Executing->libc_reent;                   
 2004a78:	f8 00 61 54 	ld  [ %g1 + 0x154 ], %i4                       
     _Thread_Executing->libc_reent = this_reent;                      
 2004a7c:	c4 20 61 54 	st  %g2, [ %g1 + 0x154 ]                       
     _fwalk (t->libc_reent, sync_wrapper);                            
 2004a80:	d0 06 21 54 	ld  [ %i0 + 0x154 ], %o0                       
 2004a84:	40 00 2b 07 	call  200f6a0 <_fwalk>                         
 2004a88:	92 12 62 9c 	or  %o1, 0x29c, %o1                            
     _Thread_Executing->libc_reent = current_reent;                   
 2004a8c:	c2 07 60 0c 	ld  [ %i5 + 0xc ], %g1                         
 2004a90:	f8 20 61 54 	st  %i4, [ %g1 + 0x154 ]                       
 2004a94:	81 c7 e0 08 	ret                                            
 2004a98:	81 e8 00 00 	restore                                        
                                                                      

0200c4c4 <tcsetattr>: int tcsetattr( int fd, int opt, struct termios *tp ) {
 200c4c4:	9d e3 bf a0 	save  %sp, -96, %sp                            
  switch (opt) {                                                      
 200c4c8:	80 a6 60 00 	cmp  %i1, 0                                    
 200c4cc:	02 80 00 10 	be  200c50c <tcsetattr+0x48>                   
 200c4d0:	80 a6 60 01 	cmp  %i1, 1                                    
 200c4d4:	02 80 00 08 	be  200c4f4 <tcsetattr+0x30>                   
 200c4d8:	90 10 00 18 	mov  %i0, %o0                                  
  default:                                                            
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
 200c4dc:	40 00 0b d0 	call  200f41c <__errno>                        
 200c4e0:	b0 10 3f ff 	mov  -1, %i0                                   
 200c4e4:	82 10 20 86 	mov  0x86, %g1                                 
 200c4e8:	c2 22 00 00 	st  %g1, [ %o0 ]                               
 200c4ec:	81 c7 e0 08 	ret                                            
 200c4f0:	81 e8 00 00 	restore                                        
                                                                      
  case TCSADRAIN:                                                     
    if (ioctl( fd, RTEMS_IO_TCDRAIN, NULL ) < 0)                      
 200c4f4:	92 10 20 03 	mov  3, %o1                                    
 200c4f8:	7f ff ff 0f 	call  200c134 <ioctl>                          
 200c4fc:	94 10 20 00 	clr  %o2                                       
 200c500:	80 a2 20 00 	cmp  %o0, 0                                    
 200c504:	26 80 00 04 	bl,a   200c514 <tcsetattr+0x50>                <== NEVER TAKEN
 200c508:	b0 10 3f ff 	mov  -1, %i0                                   <== NOT EXECUTED
    	return -1;                                                       
    /*                                                                
     * Fall through to....                                            
     */                                                               
  case TCSANOW:                                                       
    return ioctl( fd, RTEMS_IO_SET_ATTRIBUTES, tp );                  
 200c50c:	7f ff ff 0a 	call  200c134 <ioctl>                          
 200c510:	93 e8 20 02 	restore  %g0, 2, %o1                           
  }                                                                   
}                                                                     
 200c514:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 200c518:	81 e8 00 00 	restore                                        <== NOT EXECUTED
                                                                      

02006664 <unlink>: #include <rtems/seterr.h> int unlink( const char *path ) {
 2006664:	9d e3 bf 70 	save  %sp, -144, %sp                           
                                                                      
  /*                                                                  
   * Get the node to be unlinked. Find the parent path first.         
   */                                                                 
                                                                      
  parentpathlen = rtems_filesystem_dirname ( path );                  
 2006668:	7f ff f4 91 	call  20038ac <rtems_filesystem_dirname>       
 200666c:	90 10 00 18 	mov  %i0, %o0                                  
#include <rtems/seterr.h>                                             
                                                                      
int unlink(                                                           
  const char *path                                                    
)                                                                     
{                                                                     
 2006670:	b8 10 00 18 	mov  %i0, %i4                                  
                                                                      
  /*                                                                  
   * Get the node to be unlinked. Find the parent path first.         
   */                                                                 
                                                                      
  parentpathlen = rtems_filesystem_dirname ( path );                  
 2006674:	b6 10 00 08 	mov  %o0, %i3                                  
                                                                      
  if ( parentpathlen == 0 )                                           
 2006678:	80 a6 e0 00 	cmp  %i3, 0                                    
 200667c:	12 80 00 08 	bne  200669c <unlink+0x38>                     
 2006680:	90 10 00 18 	mov  %i0, %o0                                  
    rtems_filesystem_get_start_loc( path, &i, &parentloc );           
 2006684:	92 07 bf fc 	add  %fp, -4, %o1                              
 2006688:	94 07 bf d4 	add  %fp, -44, %o2                             
 200668c:	7f ff f8 85 	call  20048a0 <rtems_filesystem_get_start_loc> 
 2006690:	ba 10 20 00 	clr  %i5                                       
                                                                      
  /*                                                                  
   * Start from the parent to find the node that should be under it.  
   */                                                                 
                                                                      
  loc = parentloc;                                                    
 2006694:	10 80 00 0c 	b  20066c4 <unlink+0x60>                       
 2006698:	94 10 20 14 	mov  0x14, %o2                                 
  parentpathlen = rtems_filesystem_dirname ( path );                  
                                                                      
  if ( parentpathlen == 0 )                                           
    rtems_filesystem_get_start_loc( path, &i, &parentloc );           
  else {                                                              
    result = rtems_filesystem_evaluate_path( path, parentpathlen,     
 200669c:	92 10 00 1b 	mov  %i3, %o1                                  
 20066a0:	94 10 20 02 	mov  2, %o2                                    
 20066a4:	96 07 bf d4 	add  %fp, -44, %o3                             
 20066a8:	98 10 20 00 	clr  %o4                                       
 20066ac:	7f ff f4 71 	call  2003870 <rtems_filesystem_evaluate_path> 
 20066b0:	b0 10 3f ff 	mov  -1, %i0                                   
                                             RTEMS_LIBIO_PERMS_WRITE, 
                                             &parentloc,              
                                             false );                 
    if ( result != 0 )                                                
 20066b4:	80 a2 20 00 	cmp  %o0, 0                                    
 20066b8:	12 80 00 1c 	bne  2006728 <unlink+0xc4>                     <== NEVER TAKEN
 20066bc:	ba 10 20 01 	mov  1, %i5                                    
                                                                      
  /*                                                                  
   * Start from the parent to find the node that should be under it.  
   */                                                                 
                                                                      
  loc = parentloc;                                                    
 20066c0:	94 10 20 14 	mov  0x14, %o2                                 
 20066c4:	92 07 bf d4 	add  %fp, -44, %o1                             
 20066c8:	40 00 2e b0 	call  2012188 <memcpy>                         
 20066cc:	90 07 bf e8 	add  %fp, -24, %o0                             
  name = path + parentpathlen;                                        
 20066d0:	b8 07 00 1b 	add  %i4, %i3, %i4                             
  name += rtems_filesystem_prefix_separators( name, strlen( name ) ); 
 20066d4:	40 00 2f db 	call  2012640 <strlen>                         
 20066d8:	90 10 00 1c 	mov  %i4, %o0                                  
 20066dc:	92 10 00 08 	mov  %o0, %o1                                  
 20066e0:	7f ff f4 82 	call  20038e8 <rtems_filesystem_prefix_separators>
 20066e4:	90 10 00 1c 	mov  %i4, %o0                                  
 20066e8:	b8 07 00 08 	add  %i4, %o0, %i4                             
                                                                      
  result = rtems_filesystem_evaluate_relative_path( name , strlen( name ),
 20066ec:	40 00 2f d5 	call  2012640 <strlen>                         
 20066f0:	90 10 00 1c 	mov  %i4, %o0                                  
 20066f4:	94 10 20 00 	clr  %o2                                       
 20066f8:	92 10 00 08 	mov  %o0, %o1                                  
 20066fc:	96 07 bf e8 	add  %fp, -24, %o3                             
 2006700:	90 10 00 1c 	mov  %i4, %o0                                  
 2006704:	7f ff f4 3f 	call  2003800 <rtems_filesystem_evaluate_relative_path>
 2006708:	98 10 20 00 	clr  %o4                                       
                                                    0, &loc, false ); 
  if ( result != 0 ) {                                                
 200670c:	80 a2 20 00 	cmp  %o0, 0                                    
 2006710:	02 80 00 08 	be  2006730 <unlink+0xcc>                      
 2006714:	80 8f 60 ff 	btst  0xff, %i5                                
    if ( free_parentloc )                                             
 2006718:	02 80 00 04 	be  2006728 <unlink+0xc4>                      
 200671c:	b0 10 3f ff 	mov  -1, %i0                                   
      rtems_filesystem_freenode( &parentloc );                        
 2006720:	7f ff f4 84 	call  2003930 <rtems_filesystem_freenode>      
 2006724:	90 07 bf d4 	add  %fp, -44, %o0                             
 2006728:	81 c7 e0 08 	ret                                            
 200672c:	81 e8 00 00 	restore                                        
    return -1;                                                        
  }                                                                   
                                                                      
  if (  (*loc.ops->node_type_h)( &loc ) == RTEMS_FILESYSTEM_DIRECTORY ) {
 2006730:	c2 07 bf f4 	ld  [ %fp + -12 ], %g1                         
 2006734:	c2 00 60 10 	ld  [ %g1 + 0x10 ], %g1                        
 2006738:	9f c0 40 00 	call  %g1                                      
 200673c:	90 07 bf e8 	add  %fp, -24, %o0                             
 2006740:	80 a2 20 01 	cmp  %o0, 1                                    
 2006744:	12 80 00 0f 	bne  2006780 <unlink+0x11c>                    
 2006748:	c2 07 bf f4 	ld  [ %fp + -12 ], %g1                         
    rtems_filesystem_freenode( &loc );                                
 200674c:	7f ff f4 79 	call  2003930 <rtems_filesystem_freenode>      
 2006750:	90 07 bf e8 	add  %fp, -24, %o0                             
    if ( free_parentloc )                                             
 2006754:	80 8f 60 ff 	btst  0xff, %i5                                
 2006758:	02 80 00 04 	be  2006768 <unlink+0x104>                     
 200675c:	01 00 00 00 	nop                                            
      rtems_filesystem_freenode( &parentloc );                        
 2006760:	7f ff f4 74 	call  2003930 <rtems_filesystem_freenode>      
 2006764:	90 07 bf d4 	add  %fp, -44, %o0                             
    rtems_set_errno_and_return_minus_one( EISDIR );                   
 2006768:	40 00 2c 46 	call  2011880 <__errno>                        
 200676c:	b0 10 3f ff 	mov  -1, %i0                                   
 2006770:	82 10 20 15 	mov  0x15, %g1                                 
 2006774:	c2 22 00 00 	st  %g1, [ %o0 ]                               
 2006778:	81 c7 e0 08 	ret                                            
 200677c:	81 e8 00 00 	restore                                        
  }                                                                   
                                                                      
  result = (*loc.ops->unlink_h)( &parentloc, &loc );                  
 2006780:	92 07 bf e8 	add  %fp, -24, %o1                             
 2006784:	c2 00 60 0c 	ld  [ %g1 + 0xc ], %g1                         
 2006788:	9f c0 40 00 	call  %g1                                      
 200678c:	90 07 bf d4 	add  %fp, -44, %o0                             
 2006790:	b0 10 00 08 	mov  %o0, %i0                                  
                                                                      
  rtems_filesystem_freenode( &loc );                                  
 2006794:	7f ff f4 67 	call  2003930 <rtems_filesystem_freenode>      
 2006798:	90 07 bf e8 	add  %fp, -24, %o0                             
  if ( free_parentloc )                                               
 200679c:	80 8f 60 ff 	btst  0xff, %i5                                
 20067a0:	02 80 00 04 	be  20067b0 <unlink+0x14c>                     
 20067a4:	01 00 00 00 	nop                                            
    rtems_filesystem_freenode( &parentloc );                          
 20067a8:	7f ff f4 62 	call  2003930 <rtems_filesystem_freenode>      
 20067ac:	90 07 bf d4 	add  %fp, -44, %o0                             
                                                                      
  return result;                                                      
}                                                                     
 20067b0:	81 c7 e0 08 	ret                                            
 20067b4:	81 e8 00 00 	restore                                        
                                                                      

02009334 <unmount>: */ int unmount( const char *path ) {
 2009334:	9d e3 bf 88 	save  %sp, -120, %sp                           
   *    The root node of the mounted filesytem.                       
   *    The node for the directory that the fileystem is mounted on.  
   *    The mount entry that is being refered to.                     
   */                                                                 
                                                                      
  if ( rtems_filesystem_evaluate_path( path, strlen( path ), 0x0, &loc, true ) )
 2009338:	40 00 4e 7c 	call  201cd28 <strlen>                         
 200933c:	90 10 00 18 	mov  %i0, %o0                                  
 2009340:	94 10 20 00 	clr  %o2                                       
 2009344:	92 10 00 08 	mov  %o0, %o1                                  
 2009348:	96 07 bf ec 	add  %fp, -20, %o3                             
 200934c:	90 10 00 18 	mov  %i0, %o0                                  
 2009350:	7f ff f1 ce 	call  2005a88 <rtems_filesystem_evaluate_path> 
 2009354:	98 10 20 01 	mov  1, %o4                                    
 2009358:	80 a2 20 00 	cmp  %o0, 0                                    
 200935c:	12 80 00 4c 	bne  200948c <unmount+0x158>                   
 2009360:	fa 07 bf fc 	ld  [ %fp + -4 ], %i5                          
                                                                      
  /*                                                                  
   * Verify this is the root node for the file system to be unmounted.
   */                                                                 
                                                                      
  if ( fs_root_loc->node_access != loc.node_access ){                 
 2009364:	c2 07 bf ec 	ld  [ %fp + -20 ], %g1                         
 2009368:	c4 07 60 1c 	ld  [ %i5 + 0x1c ], %g2                        
 200936c:	80 a0 80 01 	cmp  %g2, %g1                                  
 2009370:	02 80 00 08 	be  2009390 <unmount+0x5c>                     
 2009374:	90 07 bf ec 	add  %fp, -20, %o0                             
    rtems_filesystem_freenode( &loc );                                
 2009378:	7f ff f2 36 	call  2005c50 <rtems_filesystem_freenode>      
 200937c:	01 00 00 00 	nop                                            
    rtems_set_errno_and_return_minus_one( EACCES );                   
 2009380:	40 00 48 20 	call  201b400 <__errno>                        
 2009384:	01 00 00 00 	nop                                            
 2009388:	10 80 00 19 	b  20093ec <unmount+0xb8>                      
 200938c:	82 10 20 0d 	mov  0xd, %g1	! d <PROM_START+0xd>             
                                                                      
  /*                                                                  
   * Free the loc node and just use the nodes from the mt_entry .     
   */                                                                 
                                                                      
  rtems_filesystem_freenode( &loc );                                  
 2009390:	7f ff f2 30 	call  2005c50 <rtems_filesystem_freenode>      
 2009394:	01 00 00 00 	nop                                            
   *        that made the current node thread based instead           
   *        of system based?  I thought it was but it doesn't         
   *        look like it in this version.                             
   */                                                                 
                                                                      
  if ( rtems_filesystem_current.mt_entry == mt_entry )                
 2009398:	03 00 80 b1 	sethi  %hi(0x202c400), %g1                     
 200939c:	c2 00 60 ac 	ld  [ %g1 + 0xac ], %g1	! 202c4ac <rtems_current_user_env>
 20093a0:	c2 00 60 14 	ld  [ %g1 + 0x14 ], %g1                        
 20093a4:	80 a0 40 1d 	cmp  %g1, %i5                                  
 20093a8:	02 80 00 0e 	be  20093e0 <unmount+0xac>                     
 20093ac:	01 00 00 00 	nop                                            
                                                                      
  /*                                                                  
   *  Verify there are no file systems below the path specified       
   */                                                                 
                                                                      
  if ( rtems_filesystem_mount_iterate( is_fs_below_mount_point,       
 20093b0:	d2 07 60 2c 	ld  [ %i5 + 0x2c ], %o1                        
 20093b4:	11 00 80 24 	sethi  %hi(0x2009000), %o0                     
 20093b8:	7f ff f4 6f 	call  2006574 <rtems_filesystem_mount_iterate> 
 20093bc:	90 12 23 20 	or  %o0, 0x320, %o0	! 2009320 <is_fs_below_mount_point>
 20093c0:	80 8a 20 ff 	btst  0xff, %o0                                
 20093c4:	12 80 00 07 	bne  20093e0 <unmount+0xac>                    
 20093c8:	01 00 00 00 	nop                                            
   *  Run the file descriptor table to determine if there are any file
   *  descriptors that are currently active and reference nodes in the
   *  file system that we are trying to unmount                       
   */                                                                 
                                                                      
  if ( rtems_libio_is_open_files_in_fs( mt_entry ) == 1 )             
 20093cc:	7f ff f3 09 	call  2005ff0 <rtems_libio_is_open_files_in_fs>
 20093d0:	90 10 00 1d 	mov  %i5, %o0                                  
 20093d4:	80 a2 20 01 	cmp  %o0, 1                                    
 20093d8:	32 80 00 07 	bne,a   20093f4 <unmount+0xc0>                 
 20093dc:	c2 07 60 14 	ld  [ %i5 + 0x14 ], %g1                        
    rtems_set_errno_and_return_minus_one( EBUSY );                    
 20093e0:	40 00 48 08 	call  201b400 <__errno>                        
 20093e4:	01 00 00 00 	nop                                            
 20093e8:	82 10 20 10 	mov  0x10, %g1	! 10 <PROM_START+0x10>          
 20093ec:	10 80 00 28 	b  200948c <unmount+0x158>                     
 20093f0:	c2 22 00 00 	st  %g1, [ %o0 ]                               
   * Allow the file system being unmounted on to do its cleanup.      
   * If it fails it will set the errno to the approprate value        
   * and the fileystem will not be modified.                          
   */                                                                 
                                                                      
  if (( fs_mount_loc->ops->unmount_h )( mt_entry ) != 0 )             
 20093f4:	c2 00 60 28 	ld  [ %g1 + 0x28 ], %g1                        
 20093f8:	9f c0 40 00 	call  %g1                                      
 20093fc:	90 10 00 1d 	mov  %i5, %o0                                  
 2009400:	80 a2 20 00 	cmp  %o0, 0                                    
 2009404:	12 80 00 20 	bne  2009484 <unmount+0x150>                   <== NEVER TAKEN
 2009408:	b0 10 3f ff 	mov  -1, %i0                                   
   *  NOTE:  Fatal error is called in a case which should never happen
   *         This was response was questionable but the best we could 
   *         come up with.                                            
   */                                                                 
                                                                      
  if ((fs_root_loc->ops->fsunmount_me_h )( mt_entry ) != 0){          
 200940c:	c2 07 60 28 	ld  [ %i5 + 0x28 ], %g1                        
 2009410:	c2 00 60 2c 	ld  [ %g1 + 0x2c ], %g1                        
 2009414:	9f c0 40 00 	call  %g1                                      
 2009418:	90 10 00 1d 	mov  %i5, %o0                                  
 200941c:	80 a2 20 00 	cmp  %o0, 0                                    
 2009420:	02 80 00 0c 	be  2009450 <unmount+0x11c>                    <== ALWAYS TAKEN
 2009424:	39 00 80 b3 	sethi  %hi(0x202cc00), %i4                     
    if (( fs_mount_loc->ops->mount_h )( mt_entry ) != 0 )             
 2009428:	c2 07 60 14 	ld  [ %i5 + 0x14 ], %g1                        <== NOT EXECUTED
 200942c:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
 2009430:	c2 00 60 20 	ld  [ %g1 + 0x20 ], %g1                        <== NOT EXECUTED
 2009434:	9f c0 40 00 	call  %g1                                      <== NOT EXECUTED
 2009438:	b0 10 3f ff 	mov  -1, %i0                                   <== NOT EXECUTED
 200943c:	80 a2 20 00 	cmp  %o0, 0                                    <== NOT EXECUTED
 2009440:	02 80 00 14 	be  2009490 <unmount+0x15c>                    <== NOT EXECUTED
 2009444:	01 00 00 00 	nop                                            <== NOT EXECUTED
      rtems_fatal_error_occurred( 0 );                                
 2009448:	40 00 04 be 	call  200a740 <rtems_fatal_error_occurred>     <== NOT EXECUTED
 200944c:	90 10 20 00 	clr  %o0	! 0 <PROM_START>                      <== NOT EXECUTED
rtems_status_code rtems_libio_set_private_env(void);                  
rtems_status_code rtems_libio_share_private_env(rtems_id task_id) ;   
                                                                      
static inline void rtems_libio_lock( void )                           
{                                                                     
  rtems_semaphore_obtain( rtems_libio_semaphore, RTEMS_WAIT, RTEMS_NO_TIMEOUT );
 2009450:	d0 07 22 cc 	ld  [ %i4 + 0x2cc ], %o0                       
 2009454:	92 10 20 00 	clr  %o1                                       
 2009458:	40 00 02 d3 	call  2009fa4 <rtems_semaphore_obtain>         
 200945c:	94 10 20 00 	clr  %o2                                       
 */                                                                   
RTEMS_INLINE_ROUTINE void rtems_chain_extract(                        
  rtems_chain_node *the_node                                          
)                                                                     
{                                                                     
  _Chain_Extract( the_node );                                         
 2009460:	40 00 05 9e 	call  200aad8 <_Chain_Extract>                 
 2009464:	90 10 00 1d 	mov  %i5, %o0                                  
}                                                                     
                                                                      
static inline void rtems_libio_unlock( void )                         
{                                                                     
  rtems_semaphore_release( rtems_libio_semaphore );                   
 2009468:	d0 07 22 cc 	ld  [ %i4 + 0x2cc ], %o0                       
 200946c:	40 00 03 18 	call  200a0cc <rtems_semaphore_release>        
 2009470:	b0 10 20 00 	clr  %i0                                       
  /*                                                                  
   *  Free the memory node that was allocated in mount                
   *  Free the memory associated with the extracted mount table entry.
   */                                                                 
                                                                      
  rtems_filesystem_freenode( fs_mount_loc );                          
 2009474:	7f ff f1 f7 	call  2005c50 <rtems_filesystem_freenode>      
 2009478:	90 07 60 08 	add  %i5, 8, %o0                               
  free( mt_entry );                                                   
 200947c:	7f ff f1 fc 	call  2005c6c <free>                           
 2009480:	90 10 00 1d 	mov  %i5, %o0                                  
                                                                      
  return 0;                                                           
 2009484:	81 c7 e0 08 	ret                                            
 2009488:	81 e8 00 00 	restore                                        
 200948c:	b0 10 3f ff 	mov  -1, %i0                                   
}                                                                     
 2009490:	81 c7 e0 08 	ret                                            
 2009494:	81 e8 00 00 	restore                                        
                                                                      

02018610 <write>: ssize_t write( int fd, const void *buffer, size_t count ) {
 2018610:	9d e3 bf a0 	save  %sp, -96, %sp                            
  ssize_t  rc;                                                        
  rtems_libio_t     *iop;                                             
                                                                      
  rtems_libio_check_fd( fd );                                         
 2018614:	03 00 80 6a 	sethi  %hi(0x201a800), %g1                     
 2018618:	c2 00 61 58 	ld  [ %g1 + 0x158 ], %g1	! 201a958 <rtems_libio_number_iops>
ssize_t write(                                                        
  int         fd,                                                     
  const void *buffer,                                                 
  size_t      count                                                   
)                                                                     
{                                                                     
 201861c:	92 10 00 19 	mov  %i1, %o1                                  
  ssize_t  rc;                                                        
  rtems_libio_t     *iop;                                             
                                                                      
  rtems_libio_check_fd( fd );                                         
 2018620:	80 a6 00 01 	cmp  %i0, %g1                                  
 2018624:	1a 80 00 16 	bcc  201867c <write+0x6c>                      
 2018628:	94 10 00 1a 	mov  %i2, %o2                                  
  iop = rtems_libio_iop( fd );                                        
 201862c:	03 00 80 6c 	sethi  %hi(0x201b000), %g1                     
 2018630:	fa 00 63 58 	ld  [ %g1 + 0x358 ], %i5	! 201b358 <rtems_libio_iops>
 2018634:	b1 2e 20 06 	sll  %i0, 6, %i0                               
 2018638:	ba 07 40 18 	add  %i5, %i0, %i5                             
  rtems_libio_check_is_open( iop );                                   
 201863c:	c2 07 60 18 	ld  [ %i5 + 0x18 ], %g1                        
 2018640:	80 88 61 00 	btst  0x100, %g1                               
 2018644:	02 80 00 0e 	be  201867c <write+0x6c>                       
 2018648:	01 00 00 00 	nop                                            
  rtems_libio_check_buffer( buffer );                                 
 201864c:	80 a6 60 00 	cmp  %i1, 0                                    
 2018650:	12 80 00 06 	bne  2018668 <write+0x58>                      <== ALWAYS TAKEN
 2018654:	80 a6 a0 00 	cmp  %i2, 0                                    
 2018658:	7f ff d5 a7 	call  200dcf4 <__errno>                        <== NOT EXECUTED
 201865c:	01 00 00 00 	nop                                            <== NOT EXECUTED
 2018660:	10 80 00 0a 	b  2018688 <write+0x78>                        <== NOT EXECUTED
 2018664:	82 10 20 16 	mov  0x16, %g1	! 16 <PROM_START+0x16>          <== NOT EXECUTED
  rtems_libio_check_count( count );                                   
 2018668:	02 80 00 15 	be  20186bc <write+0xac>                       
 201866c:	b0 10 20 00 	clr  %i0                                       
  rtems_libio_check_permissions_with_error( iop, LIBIO_FLAGS_WRITE, EBADF );
 2018670:	80 88 60 04 	btst  4, %g1                                   
 2018674:	32 80 00 08 	bne,a   2018694 <write+0x84>                   
 2018678:	c2 07 60 24 	ld  [ %i5 + 0x24 ], %g1                        
 201867c:	7f ff d5 9e 	call  200dcf4 <__errno>                        
 2018680:	01 00 00 00 	nop                                            
 2018684:	82 10 20 09 	mov  9, %g1	! 9 <PROM_START+0x9>               
 2018688:	c2 22 00 00 	st  %g1, [ %o0 ]                               
 201868c:	81 c7 e0 08 	ret                                            
 2018690:	91 e8 3f ff 	restore  %g0, -1, %o0                          
                                                                      
  /*                                                                  
   *  Now process the write() request.                                
   */                                                                 
  rc = (*iop->pathinfo.handlers->write_h)( iop, buffer, count );      
 2018694:	c2 00 60 0c 	ld  [ %g1 + 0xc ], %g1                         
 2018698:	9f c0 40 00 	call  %g1                                      
 201869c:	90 10 00 1d 	mov  %i5, %o0                                  
                                                                      
  if ( rc > 0 )                                                       
 20186a0:	b0 92 20 00 	orcc  %o0, 0, %i0                              
 20186a4:	04 80 00 06 	ble  20186bc <write+0xac>                      
 20186a8:	85 3e 20 1f 	sra  %i0, 0x1f, %g2                            
    iop->offset += rc;                                                
 20186ac:	d8 1f 60 10 	ldd  [ %i5 + 0x10 ], %o4                       
 20186b0:	86 83 40 18 	addcc  %o5, %i0, %g3                           
 20186b4:	84 43 00 02 	addx  %o4, %g2, %g2                            
 20186b8:	c4 3f 60 10 	std  %g2, [ %i5 + 0x10 ]                       
                                                                      
  return rc;                                                          
}                                                                     
 20186bc:	81 c7 e0 08 	ret                                            
 20186c0:	81 e8 00 00 	restore                                        
                                                                      

02006ae0 <writev>: ssize_t writev( int fd, const struct iovec *iov, int iovcnt ) {
 2006ae0:	9d e3 bf a0 	save  %sp, -96, %sp                            
  int            bytes;                                               
  rtems_libio_t *iop;                                                 
  ssize_t        old;                                                 
  bool           all_zeros;                                           
                                                                      
  rtems_libio_check_fd( fd );                                         
 2006ae4:	03 00 80 56 	sethi  %hi(0x2015800), %g1                     
 2006ae8:	c2 00 63 68 	ld  [ %g1 + 0x368 ], %g1	! 2015b68 <rtems_libio_number_iops>
 2006aec:	80 a6 00 01 	cmp  %i0, %g1                                  
 2006af0:	1a 80 00 0d 	bcc  2006b24 <writev+0x44>                     
 2006af4:	01 00 00 00 	nop                                            
  iop = rtems_libio_iop( fd );                                        
 2006af8:	03 00 80 59 	sethi  %hi(0x2016400), %g1                     
 2006afc:	f6 00 61 34 	ld  [ %g1 + 0x134 ], %i3	! 2016534 <rtems_libio_iops>
 2006b00:	b1 2e 20 06 	sll  %i0, 6, %i0                               
 2006b04:	b6 06 c0 18 	add  %i3, %i0, %i3                             
  rtems_libio_check_is_open( iop );                                   
 2006b08:	c2 06 e0 18 	ld  [ %i3 + 0x18 ], %g1                        
 2006b0c:	80 88 61 00 	btst  0x100, %g1                               
 2006b10:	02 80 00 05 	be  2006b24 <writev+0x44>                      
 2006b14:	01 00 00 00 	nop                                            
  rtems_libio_check_permissions_with_error( iop, LIBIO_FLAGS_WRITE, EBADF );
 2006b18:	80 88 60 04 	btst  4, %g1                                   
 2006b1c:	12 80 00 06 	bne  2006b34 <writev+0x54>                     <== ALWAYS TAKEN
 2006b20:	80 a6 60 00 	cmp  %i1, 0                                    
 2006b24:	40 00 1e d0 	call  200e664 <__errno>                        
 2006b28:	01 00 00 00 	nop                                            
 2006b2c:	10 80 00 24 	b  2006bbc <writev+0xdc>                       
 2006b30:	82 10 20 09 	mov  9, %g1	! 9 <PROM_START+0x9>               
                                                                      
  /*                                                                  
   *  Argument validation on IO vector                                
   */                                                                 
  if ( !iov )                                                         
 2006b34:	02 80 00 1f 	be  2006bb0 <writev+0xd0>                      
 2006b38:	01 00 00 00 	nop                                            
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  if ( iovcnt <= 0 )                                                  
 2006b3c:	80 a6 a0 00 	cmp  %i2, 0                                    
 2006b40:	04 80 00 1c 	ble  2006bb0 <writev+0xd0>                     
 2006b44:	01 00 00 00 	nop                                            
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  if ( iovcnt > IOV_MAX )                                             
 2006b48:	80 a6 a4 00 	cmp  %i2, 0x400                                
 2006b4c:	14 80 00 19 	bg  2006bb0 <writev+0xd0>                      <== NEVER TAKEN
 2006b50:	01 00 00 00 	nop                                            
 2006b54:	84 10 00 19 	mov  %i1, %g2                                  
 2006b58:	86 10 20 01 	mov  1, %g3                                    
 2006b5c:	88 10 20 00 	clr  %g4                                       
 2006b60:	10 80 00 03 	b  2006b6c <writev+0x8c>                       
 2006b64:	82 10 20 00 	clr  %g1                                       
    if ( iov[v].iov_len )                                             
      all_zeros = false;                                              
                                                                      
    /* check for wrap */                                              
    old    = total;                                                   
    total += iov[v].iov_len;                                          
 2006b68:	82 10 00 18 	mov  %i0, %g1                                  
                                                                      
    /*                                                                
     *  iov[v].iov_len cannot be less than 0 because size_t is unsigned.
     *  So we only check for zero.                                    
     */                                                               
    if ( iov[v].iov_base == 0 )                                       
 2006b6c:	f0 00 80 00 	ld  [ %g2 ], %i0                               
 2006b70:	80 a6 20 00 	cmp  %i0, 0                                    
 2006b74:	02 80 00 0f 	be  2006bb0 <writev+0xd0>                      
 2006b78:	01 00 00 00 	nop                                            
      rtems_set_errno_and_return_minus_one( EINVAL );                 
                                                                      
    if ( iov[v].iov_len )                                             
 2006b7c:	f0 00 a0 04 	ld  [ %g2 + 4 ], %i0                           
      all_zeros = false;                                              
 2006b80:	80 a0 00 18 	cmp  %g0, %i0                                  
 2006b84:	9e 40 3f ff 	addx  %g0, -1, %o7                             
                                                                      
    /* check for wrap */                                              
    old    = total;                                                   
    total += iov[v].iov_len;                                          
    if ( total < old || total > SSIZE_MAX )                           
 2006b88:	b0 86 00 01 	addcc  %i0, %g1, %i0                           
 2006b8c:	0c 80 00 09 	bneg  2006bb0 <writev+0xd0>                    
 2006b90:	86 08 c0 0f 	and  %g3, %o7, %g3                             
 2006b94:	80 a6 00 01 	cmp  %i0, %g1                                  
 2006b98:	06 80 00 03 	bl  2006ba4 <writev+0xc4>                      
 2006b9c:	9e 10 20 01 	mov  1, %o7                                    
 2006ba0:	9e 10 20 00 	clr  %o7                                       
 2006ba4:	80 8b e0 ff 	btst  0xff, %o7                                
 2006ba8:	02 80 00 08 	be  2006bc8 <writev+0xe8>                      
 2006bac:	88 01 20 01 	inc  %g4                                       
      rtems_set_errno_and_return_minus_one( EINVAL );                 
 2006bb0:	40 00 1e ad 	call  200e664 <__errno>                        
 2006bb4:	01 00 00 00 	nop                                            
 2006bb8:	82 10 20 16 	mov  0x16, %g1	! 16 <PROM_START+0x16>          
 2006bbc:	c2 22 00 00 	st  %g1, [ %o0 ]                               
 2006bc0:	81 c7 e0 08 	ret                                            
 2006bc4:	91 e8 3f ff 	restore  %g0, -1, %o0                          
   *  this loop does that check as well and sets "all-zero" appropriately.
   *  The variable "all_zero" is used as an early exit point before   
   *  entering the write loop.                                        
   */                                                                 
  all_zeros = true;                                                   
  for ( old=0, total=0, v=0 ; v < iovcnt ; v++ ) {                    
 2006bc8:	80 a1 00 1a 	cmp  %g4, %i2                                  
 2006bcc:	12 bf ff e7 	bne  2006b68 <writev+0x88>                     
 2006bd0:	84 00 a0 08 	add  %g2, 8, %g2                               
  }                                                                   
                                                                      
  /*                                                                  
   * A writev with all zeros is supposed to have no effect per OpenGroup.
   */                                                                 
  if ( all_zeros == true ) {                                          
 2006bd4:	80 88 e0 ff 	btst  0xff, %g3                                
 2006bd8:	12 80 00 1d 	bne  2006c4c <writev+0x16c>                    
 2006bdc:	b0 10 20 00 	clr  %i0                                       
 2006be0:	a0 10 20 00 	clr  %l0                                       
  /*                                                                  
   *  Now process the writev().                                       
   */                                                                 
  for ( total=0, v=0 ; v < iovcnt ; v++ ) {                           
    /* all zero lengths has no effect */                              
    if ( iov[v].iov_len == 0 )                                        
 2006be4:	d4 06 60 04 	ld  [ %i1 + 4 ], %o2                           
 2006be8:	80 a2 a0 00 	cmp  %o2, 0                                    
 2006bec:	22 80 00 15 	be,a   2006c40 <writev+0x160>                  <== NEVER TAKEN
 2006bf0:	a0 04 20 01 	inc  %l0                                       <== NOT EXECUTED
      continue;                                                       
                                                                      
    bytes = (*iop->pathinfo.handlers->write_h)(                       
 2006bf4:	c2 06 e0 24 	ld  [ %i3 + 0x24 ], %g1                        
 2006bf8:	d2 06 40 00 	ld  [ %i1 ], %o1                               
 2006bfc:	c2 00 60 0c 	ld  [ %g1 + 0xc ], %g1                         
 2006c00:	9f c0 40 00 	call  %g1                                      
 2006c04:	90 10 00 1b 	mov  %i3, %o0                                  
      iop,                                                            
      iov[v].iov_base,                                                
      iov[v].iov_len                                                  
    );                                                                
                                                                      
    if ( bytes < 0 )                                                  
 2006c08:	80 a2 20 00 	cmp  %o0, 0                                    
 2006c0c:	26 80 00 10 	bl,a   2006c4c <writev+0x16c>                  <== NEVER TAKEN
 2006c10:	b0 10 3f ff 	mov  -1, %i0                                   <== NOT EXECUTED
      return -1;                                                      
                                                                      
    if ( bytes > 0 ) {                                                
 2006c14:	02 80 00 07 	be  2006c30 <writev+0x150>                     <== NEVER TAKEN
 2006c18:	b9 3a 20 1f 	sra  %o0, 0x1f, %i4                            
      iop->offset += bytes;                                           
 2006c1c:	c4 1e e0 10 	ldd  [ %i3 + 0x10 ], %g2                       
 2006c20:	86 80 c0 08 	addcc  %g3, %o0, %g3                           
      total       += bytes;                                           
 2006c24:	b0 06 00 08 	add  %i0, %o0, %i0                             
                                                                      
    if ( bytes < 0 )                                                  
      return -1;                                                      
                                                                      
    if ( bytes > 0 ) {                                                
      iop->offset += bytes;                                           
 2006c28:	84 40 80 1c 	addx  %g2, %i4, %g2                            
 2006c2c:	c4 3e e0 10 	std  %g2, [ %i3 + 0x10 ]                       
      total       += bytes;                                           
    }                                                                 
                                                                      
    if (bytes != iov[ v ].iov_len)                                    
 2006c30:	c2 06 60 04 	ld  [ %i1 + 4 ], %g1                           
 2006c34:	80 a2 00 01 	cmp  %o0, %g1                                  
 2006c38:	12 80 00 05 	bne  2006c4c <writev+0x16c>                    <== NEVER TAKEN
 2006c3c:	a0 04 20 01 	inc  %l0                                       
  }                                                                   
                                                                      
  /*                                                                  
   *  Now process the writev().                                       
   */                                                                 
  for ( total=0, v=0 ; v < iovcnt ; v++ ) {                           
 2006c40:	80 a4 00 1a 	cmp  %l0, %i2                                  
 2006c44:	12 bf ff e8 	bne  2006be4 <writev+0x104>                    
 2006c48:	b2 06 60 08 	add  %i1, 8, %i1                               
 2006c4c:	81 c7 e0 08 	ret                                            
 2006c50:	81 e8 00 00 	restore